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

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

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

Attributes

app_id

AWS::Amplify::Domain.AppId.

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

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

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

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

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

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]]]