CfnDeploymentPropsMixin
- class aws_cdk.cfn_property_mixins.aws_networksecuritymanager.CfnDeploymentPropsMixin(props, *, strategy=None)
Bases:
MixinResource Type definition for AWS::NetworkSecurityManager::Deployment.
Creates and manages a Network Security Manager deployment.
- See:
- CloudformationResource:
AWS::NetworkSecurityManager::Deployment
- 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_networksecuritymanager as networksecuritymanager import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_deployment_props_mixin = networksecuritymanager.CfnDeploymentPropsMixin(networksecuritymanager.CfnDeploymentMixinProps( associated_policy_list=[networksecuritymanager.CfnDeploymentPropsMixin.AssociatedPolicyProperty( policy_arn="policyArn" )], associated_scope_list=[networksecuritymanager.CfnDeploymentPropsMixin.AssociatedScopeProperty( scope_arn="scopeArn" )], deployment_configuration=networksecuritymanager.CfnDeploymentPropsMixin.DeploymentConfigurationProperty( enable_cross_account_visibility=False ), deployment_description="deploymentDescription", deployment_name="deploymentName", tags=[cdk.CfnTag( key="key", value="value" )] ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::NetworkSecurityManager::Deployment.- Parameters:
props (
Union[CfnDeploymentMixinProps,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 = ['associatedPolicyList', 'associatedScopeList', 'deploymentConfiguration', 'deploymentDescription', 'deploymentName', 'tags']
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.
AssociatedPolicyProperty
- class CfnDeploymentPropsMixin.AssociatedPolicyProperty(*, policy_arn=None)
Bases:
object- Parameters:
policy_arn (
Optional[str]) – ARN of the associated policy.- 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_networksecuritymanager as networksecuritymanager associated_policy_property = networksecuritymanager.CfnDeploymentPropsMixin.AssociatedPolicyProperty( policy_arn="policyArn" )
Attributes
AssociatedScopeProperty
- class CfnDeploymentPropsMixin.AssociatedScopeProperty(*, scope_arn=None)
Bases:
object- Parameters:
scope_arn (
Optional[str]) – ARN of the associated scope.- 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_networksecuritymanager as networksecuritymanager associated_scope_property = networksecuritymanager.CfnDeploymentPropsMixin.AssociatedScopeProperty( scope_arn="scopeArn" )
Attributes
DeploymentConfigurationProperty
- class CfnDeploymentPropsMixin.DeploymentConfigurationProperty(*, enable_cross_account_visibility=None)
Bases:
objectConfiguration settings for the deployment.
- Parameters:
enable_cross_account_visibility (
Union[bool,IResolvable,None]) – Whether cross-account visibility is enabled for the deployment.- 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_networksecuritymanager as networksecuritymanager deployment_configuration_property = networksecuritymanager.CfnDeploymentPropsMixin.DeploymentConfigurationProperty( enable_cross_account_visibility=False )
Attributes
- enable_cross_account_visibility
Whether cross-account visibility is enabled for the deployment.