CfnTargetDomainPropsMixin
- class aws_cdk.cfn_property_mixins.aws_securityagent.CfnTargetDomainPropsMixin(props, *, strategy=None)
Bases:
MixinResource Type definition for AWS::SecurityAgent::TargetDomain.
- See:
- CloudformationResource:
AWS::SecurityAgent::TargetDomain
- Mixin:
true
- 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.cfn_property_mixins import aws_securityagent as securityagent import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_target_domain_props_mixin = securityagent.CfnTargetDomainPropsMixin(securityagent.CfnTargetDomainMixinProps( tags=[cdk.CfnTag( key="key", value="value" )], target_domain_name="targetDomainName", verification_method="verificationMethod" ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::SecurityAgent::TargetDomain.- Parameters:
props (
Union[CfnTargetDomainMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['tags', 'targetDomainName', 'verificationMethod']
Static Methods
- classmethod is_mixin(x)
Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
DnsVerificationProperty
- class CfnTargetDomainPropsMixin.DnsVerificationProperty(*, dns_record_name=None, dns_record_type=None, token=None)
Bases:
objectRepresents DNS TXT verification details.
- Parameters:
dns_record_name (
Optional[str]) – Record name to be added in DNS for target domain.dns_record_type (
Optional[str]) – Type of record to be added in DNS for target domain.token (
Optional[str]) – Token used to verify domain ownership.
- See:
- 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.cfn_property_mixins import aws_securityagent as securityagent dns_verification_property = securityagent.CfnTargetDomainPropsMixin.DnsVerificationProperty( dns_record_name="dnsRecordName", dns_record_type="dnsRecordType", token="token" )
Attributes
- dns_record_name
Record name to be added in DNS for target domain.
- dns_record_type
Type of record to be added in DNS for target domain.
- token
Token used to verify domain ownership.
HttpVerificationProperty
- class CfnTargetDomainPropsMixin.HttpVerificationProperty(*, route_path=None, token=None)
Bases:
objectRepresents HTTP route verification details.
- Parameters:
route_path (
Optional[str]) – Route path where verification token should be placed.token (
Optional[str]) – Token used to verify domain ownership.
- See:
- 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.cfn_property_mixins import aws_securityagent as securityagent http_verification_property = securityagent.CfnTargetDomainPropsMixin.HttpVerificationProperty( route_path="routePath", token="token" )
Attributes
- route_path
Route path where verification token should be placed.
- token
Token used to verify domain ownership.
VerificationDetailsProperty
- class CfnTargetDomainPropsMixin.VerificationDetailsProperty(*, dns_txt=None, http_route=None, method=None)
Bases:
objectVerification details to verify registered target domain.
- Parameters:
dns_txt (
Union[IResolvable,DnsVerificationProperty,Dict[str,Any],None]) – Represents DNS TXT verification details.http_route (
Union[IResolvable,HttpVerificationProperty,Dict[str,Any],None]) – Represents HTTP route verification details.method (
Optional[str]) – Type of domain ownership verification method.
- See:
- 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.cfn_property_mixins import aws_securityagent as securityagent verification_details_property = securityagent.CfnTargetDomainPropsMixin.VerificationDetailsProperty( dns_txt=securityagent.CfnTargetDomainPropsMixin.DnsVerificationProperty( dns_record_name="dnsRecordName", dns_record_type="dnsRecordType", token="token" ), http_route=securityagent.CfnTargetDomainPropsMixin.HttpVerificationProperty( route_path="routePath", token="token" ), method="method" )
Attributes
- dns_txt
Represents DNS TXT verification details.
- http_route
Represents HTTP route verification details.
- method
Type of domain ownership verification method.