CfnDeploymentPropsMixin

class aws_cdk.cfn_property_mixins.aws_networksecuritymanager.CfnDeploymentPropsMixin(props, *, strategy=None)

Bases: Mixin

Resource Type definition for AWS::NetworkSecurityManager::Deployment.

Creates and manages a Network Security Manager deployment.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networksecuritymanager-deployment.html

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 x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

AssociatedPolicyProperty

class CfnDeploymentPropsMixin.AssociatedPolicyProperty(*, policy_arn=None)

Bases: object

Parameters:

policy_arn (Optional[str]) – ARN of the associated policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networksecuritymanager-deployment-associatedpolicy.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.cfn_property_mixins import aws_networksecuritymanager as networksecuritymanager

associated_policy_property = networksecuritymanager.CfnDeploymentPropsMixin.AssociatedPolicyProperty(
    policy_arn="policyArn"
)

Attributes

policy_arn

ARN of the associated policy.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networksecuritymanager-deployment-associatedpolicy.html#cfn-networksecuritymanager-deployment-associatedpolicy-policyarn

AssociatedScopeProperty

class CfnDeploymentPropsMixin.AssociatedScopeProperty(*, scope_arn=None)

Bases: object

Parameters:

scope_arn (Optional[str]) – ARN of the associated scope.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networksecuritymanager-deployment-associatedscope.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.cfn_property_mixins import aws_networksecuritymanager as networksecuritymanager

associated_scope_property = networksecuritymanager.CfnDeploymentPropsMixin.AssociatedScopeProperty(
    scope_arn="scopeArn"
)

Attributes

scope_arn

ARN of the associated scope.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networksecuritymanager-deployment-associatedscope.html#cfn-networksecuritymanager-deployment-associatedscope-scopearn

DeploymentConfigurationProperty

class CfnDeploymentPropsMixin.DeploymentConfigurationProperty(*, enable_cross_account_visibility=None)

Bases: object

Configuration settings for the deployment.

Parameters:

enable_cross_account_visibility (Union[bool, IResolvable, None]) – Whether cross-account visibility is enabled for the deployment.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networksecuritymanager-deployment-deploymentconfiguration.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.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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-networksecuritymanager-deployment-deploymentconfiguration.html#cfn-networksecuritymanager-deployment-deploymentconfiguration-enablecrossaccountvisibility