Sha256: ed3c866f0eb642b0160edb7a6eccea55a5902790c88d7338b47993df799a65e4

Contents?: true

Size: 1.11 KB

Versions: 67

Compression:

Stored size: 1.11 KB

Contents

require_relative '../resource'

module Convection
  module Model
    class Template
      class Resource
        ##
        # AWS::EC2::DHCPOptions
        #
        # @example
        #   ec2_dhcp_options 'TestOptions' do
        #     domain_name 'example.com'
        #     domain_name_servers  '10.0.0.1', '10.0.0.2'
        #     netbios_name_servers '10.0.0.1', '10.0.0.2'
        #     netbios_node_type 1
        #     ntp_servers '10.0.0.1', '10.0.0.2'
        #     tag 'Name', 'Test'
        #   end
        ##
        class EC2DHCPOptions < Resource
          include Model::Mixin::Taggable
          type 'AWS::EC2::DHCPOptions'
          property :domain_name, 'DomainName'
          property :domain_name_servers, 'DomainNameServers', :type => :list
          property :netbios_name_servers, 'NetbiosNameServers', :type => :list
          property :netbios_node_type, 'NetbiosNodeType'
          property :ntp_servers, 'NtpServers', :type => :list

          def render(*args)
            super.tap do |resource|
              render_tags(resource)
            end
          end
        end
      end
    end
  end
end

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
convection-2.3.1 lib/convection/model/template/resource/aws_ec2_dhcp_options.rb
convection-2.3.0 lib/convection/model/template/resource/aws_ec2_dhcp_options.rb
convection-2.2.29 lib/convection/model/template/resource/aws_ec2_dhcp_options.rb
convection-2.2.28.pre.beta.2 lib/convection/model/template/resource/aws_ec2_dhcp_options.rb
convection-2.2.28.pre.beta.1 lib/convection/model/template/resource/aws_ec2_dhcp_options.rb
convection-2.2.27 lib/convection/model/template/resource/aws_ec2_dhcp_options.rb
convection-2.2.26 lib/convection/model/template/resource/aws_ec2_dhcp_options.rb
convection-2.2.25 lib/convection/model/template/resource/aws_ec2_dhcp_options.rb
convection-2.2.24 lib/convection/model/template/resource/aws_ec2_dhcp_options.rb
convection-2.2.23 lib/convection/model/template/resource/aws_ec2_dhcp_options.rb
convection-2.2.22 lib/convection/model/template/resource/aws_ec2_dhcp_options.rb
convection-2.2.21 lib/convection/model/template/resource/aws_ec2_dhcp_options.rb
convection-2.2.20 lib/convection/model/template/resource/aws_ec2_dhcp_options.rb
convection-2.2.19 lib/convection/model/template/resource/aws_ec2_dhcp_options.rb
convection-2.2.18 lib/convection/model/template/resource/aws_ec2_dhcp_options.rb
convection-2.2.17 lib/convection/model/template/resource/aws_ec2_dhcp_options.rb
convection-2.2.16 lib/convection/model/template/resource/aws_ec2_dhcp_options.rb
convection-2.2.15 lib/convection/model/template/resource/aws_ec2_dhcp_options.rb
convection-2.2.14 lib/convection/model/template/resource/aws_ec2_dhcp_options.rb
convection-2.2.13 lib/convection/model/template/resource/aws_ec2_dhcp_options.rb