CfnDomainProps

class aws_cdk.aws_amplify.CfnDomainProps(*, app_id, domain_name, sub_domain_settings, auto_sub_domain_creation_patterns=None, auto_sub_domain_iam_role=None, enable_auto_sub_domain=None)

Bases: object

__init__(*, app_id, domain_name, sub_domain_settings, auto_sub_domain_creation_patterns=None, auto_sub_domain_iam_role=None, enable_auto_sub_domain=None)

Properties for defining a AWS::Amplify::Domain.

Parameters
  • app_id (str) – AWS::Amplify::Domain.AppId.

  • domain_name (str) – AWS::Amplify::Domain.DomainName.

  • sub_domain_settings (Union[IResolvable, List[Union[IResolvable, SubDomainSettingProperty]]]) – AWS::Amplify::Domain.SubDomainSettings.

  • auto_sub_domain_creation_patterns (Optional[List[str]]) – AWS::Amplify::Domain.AutoSubDomainCreationPatterns.

  • auto_sub_domain_iam_role (Optional[str]) – AWS::Amplify::Domain.AutoSubDomainIAMRole.

  • enable_auto_sub_domain (Union[bool, IResolvable, None]) – AWS::Amplify::Domain.EnableAutoSubDomain.

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

Return type

None

Attributes

app_id

AWS::Amplify::Domain.AppId.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-domain.html#cfn-amplify-domain-appid

Return type

str

auto_sub_domain_creation_patterns

AWS::Amplify::Domain.AutoSubDomainCreationPatterns.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-domain.html#cfn-amplify-domain-autosubdomaincreationpatterns

Return type

Optional[List[str]]

auto_sub_domain_iam_role

AWS::Amplify::Domain.AutoSubDomainIAMRole.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-domain.html#cfn-amplify-domain-autosubdomainiamrole

Return type

Optional[str]

domain_name

AWS::Amplify::Domain.DomainName.

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

Return type

str

enable_auto_sub_domain

AWS::Amplify::Domain.EnableAutoSubDomain.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-domain.html#cfn-amplify-domain-enableautosubdomain

Return type

Union[bool, IResolvable, None]

sub_domain_settings

AWS::Amplify::Domain.SubDomainSettings.

see :see: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amplify-domain.html#cfn-amplify-domain-subdomainsettings

Return type

Union[IResolvable, List[Union[IResolvable, SubDomainSettingProperty]]]