Interface CfnDeploymentProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDeploymentProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-10-08T16:59:59.239Z")
@Stability(Stable)
public interface CfnDeploymentProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnDeployment.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.networksecuritymanager.*;
CfnDeploymentProps cfnDeploymentProps = CfnDeploymentProps.builder()
.deploymentName("deploymentName")
// the properties below are optional
.associatedPolicyList(List.of(AssociatedPolicyProperty.builder()
.policyArn("policyArn")
.build()))
.associatedScopeList(List.of(AssociatedScopeProperty.builder()
.scopeArn("scopeArn")
.build()))
.deploymentConfiguration(DeploymentConfigurationProperty.builder()
.enableCrossAccountVisibility(false)
.build())
.deploymentDescription("deploymentDescription")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDeploymentPropsstatic final classAn implementation forCfnDeploymentProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnDeploymentProps.Builderbuilder()default ObjectList of policies associated with this deployment.default ObjectList of scopes associated with this deployment.default ObjectConfiguration settings for the deployment.default StringA description of the deployment.The name of the deployment.getTags()The tags associated with the deployment.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeploymentName
The name of the deployment.- See Also:
-
getAssociatedPolicyList
List of policies associated with this deployment.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDeployment.AssociatedPolicyProperty>- See Also:
-
getAssociatedScopeList
List of scopes associated with this deployment.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDeployment.AssociatedScopeProperty>- See Also:
-
getDeploymentConfiguration
Configuration settings for the deployment.Returns union: either
IResolvableorCfnDeployment.DeploymentConfigurationProperty- See Also:
-
getDeploymentDescription
A description of the deployment.- See Also:
-
getTags
The tags associated with the deployment.- See Also:
-
builder
- Returns:
- a
CfnDeploymentProps.BuilderofCfnDeploymentProps
-