AWS::EC2::DHCPOptionsResource Type definition for AWS::EC2::DHCPOptions
7 configurable properties. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
DomainName | string | Create-only |
DomainNameServers | Array<string> | Create-only |
Ipv6AddressPreferredLeaseTime | integer | Create-only |
NetbiosNameServers | Array<string> | Create-only |
NetbiosNodeType | integer | Create-only |
NtpServers | Array<string> | Create-only |
Tags | Array<Tag> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
DhcpOptionsId | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::EC2::DHCPOptions
Resources:
MyResource:
Type: AWS::EC2::DHCPOptions
Properties:
Tags:
- Key: Environment
Value: ProductionPermissions CloudFormation needs in your IAM role to manage this resource.
ec2:CreateDhcpOptionsec2:DescribeDhcpOptionsec2:CreateTagsec2:DescribeDhcpOptionsec2:DescribeTagsec2:CreateTagsec2:DescribeDhcpOptionsec2:DeleteTagsec2:DeleteDhcpOptionsec2:DeleteTagsec2:DescribeDhcpOptionsec2:DescribeDhcpOptionsEverything you need to know about EC2 on one page. HD quality, print-friendly.
Download Free InfographicDhcpOptionsIdThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
NetbiosNameServersNetbiosNodeTypeNtpServersDomainNameDomainNameServersIpv6AddressPreferredLeaseTime