Class CfnDeployment
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.networksecuritymanager.CfnDeployment
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IDeploymentRef,ITaggableV2,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.140.0 (build 79fd58c)",
date="2026-10-08T16:59:59.237Z")
@Stability(Stable)
public class CfnDeployment
extends CfnResource
implements IInspectable, IDeploymentRef, ITaggableV2
Resource Type definition for AWS::NetworkSecurityManager::Deployment.
Creates and manages a Network Security Manager deployment.
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.*;
CfnDeployment cfnDeployment = CfnDeployment.Builder.create(this, "MyCfnDeployment")
.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 TypeClassDescriptionstatic interfaceExample:static interfaceExample:static final classA fluent builder forCfnDeployment.static interfaceConfiguration settings for the deployment.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.networksecuritymanager.IDeploymentRef
IDeploymentRef.Jsii$Default, IDeploymentRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnDeployment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnDeployment(software.amazon.jsii.JsiiObjectRef objRef) CfnDeployment(software.constructs.Construct scope, String id, CfnDeploymentProps props) Create a newAWS::NetworkSecurityManager::Deployment. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForDeployment(IDeploymentRef resource) List of policies associated with this deployment.List of scopes associated with this deployment.The ARN of the deployment.The unique identifier of the deployment.The status of the deployment.The version number.Tag Manager which manages the tags for this resource.Configuration settings for the deployment.A description of the deployment.The name of the deployment.A reference to a Deployment resource.getTags()The tags associated with the deployment.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnDeployment.renderProperties(Map<String, Object> props) voidsetAssociatedPolicyList(List<Object> value) List of policies associated with this deployment.voidList of policies associated with this deployment.voidsetAssociatedScopeList(List<Object> value) List of scopes associated with this deployment.voidList of scopes associated with this deployment.voidConfiguration settings for the deployment.voidConfiguration settings for the deployment.voidsetDeploymentDescription(String value) A description of the deployment.voidsetDeploymentName(String value) The name of the deployment.voidThe tags associated with the deployment.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnDeployment
protected CfnDeployment(software.amazon.jsii.JsiiObjectRef objRef) -
CfnDeployment
protected CfnDeployment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnDeployment
@Stability(Stable) public CfnDeployment(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnDeploymentProps props) Create a newAWS::NetworkSecurityManager::Deployment.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForDeployment
- Parameters:
resource- This parameter is required.
-
isCfnDeployment
Checks whether the given object is a CfnDeployment.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrDeploymentArn
The ARN of the deployment. -
getAttrDeploymentId
The unique identifier of the deployment. -
getAttrStatus
The status of the deployment. -
getAttrVersion
The version number. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getDeploymentRef
A reference to a Deployment resource.- Specified by:
getDeploymentRefin interfaceIDeploymentRef
-
getDeploymentName
The name of the deployment. -
setDeploymentName
The name of the deployment. -
getAssociatedPolicyList
List of policies associated with this deployment.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDeployment.AssociatedPolicyProperty> -
setAssociatedPolicyList
List of policies associated with this deployment. -
setAssociatedPolicyList
List of policies associated with this deployment. -
getAssociatedScopeList
List of scopes associated with this deployment.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDeployment.AssociatedScopeProperty> -
setAssociatedScopeList
List of scopes associated with this deployment. -
setAssociatedScopeList
List of scopes associated with this deployment. -
getDeploymentConfiguration
Configuration settings for the deployment.Returns union: either
IResolvableorCfnDeployment.DeploymentConfigurationProperty -
setDeploymentConfiguration
Configuration settings for the deployment. -
setDeploymentConfiguration
@Stability(Stable) public void setDeploymentConfiguration(@Nullable CfnDeployment.DeploymentConfigurationProperty value) Configuration settings for the deployment. -
getDeploymentDescription
A description of the deployment. -
setDeploymentDescription
A description of the deployment. -
getTags
The tags associated with the deployment. -
setTags
The tags associated with the deployment.
-