CfnDomainProps

class aws_cdk.aws_lightsail.CfnDomainProps(*, domain_name, domain_entries=None, tags=None)

Bases: object

Properties for defining a CfnDomain.

Parameters:
  • domain_name (str) – The fully qualified domain name in the certificate request.

  • domain_entries (Union[IResolvable, Sequence[Union[IResolvable, DomainEntryProperty, Dict[str, Any]]], None]) – An array of key-value pairs containing information about the domain entries.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-domain.html

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_lightsail as lightsail

cfn_domain_props = lightsail.CfnDomainProps(
    domain_name="domainName",

    # the properties below are optional
    domain_entries=[lightsail.CfnDomain.DomainEntryProperty(
        name="name",
        target="target",
        type="type",

        # the properties below are optional
        id="id",
        is_alias=False
    )],
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

domain_entries

An array of key-value pairs containing information about the domain entries.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-domain.html#cfn-lightsail-domain-domainentries

domain_name

The fully qualified domain name in the certificate request.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-domain.html#cfn-lightsail-domain-domainname

tags

The tag keys and optional values for the resource.

For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lightsail-domain.html#cfn-lightsail-domain-tags