Class CfnEnvironment
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.datazone.CfnEnvironment
- All Implemented Interfaces:
IInspectable,IEnvironmentRef,IEnvironmentAware,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-12T17:54:10.877Z")
@Stability(Stable)
public class CfnEnvironment
extends CfnResource
implements IInspectable, IEnvironmentRef
The
AWS::DataZone::Environment resource specifies an Amazon DataZone environment, which is a collection of zero or more configured resources with a given set of IAM principals who can operate on those resources.
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.datazone.*;
CfnEnvironment cfnEnvironment = CfnEnvironment.Builder.create(this, "MyCfnEnvironment")
.domainIdentifier("domainIdentifier")
.name("name")
.projectIdentifier("projectIdentifier")
// the properties below are optional
.description("description")
.environmentAccountIdentifier("environmentAccountIdentifier")
.environmentAccountRegion("environmentAccountRegion")
.environmentProfileIdentifier("environmentProfileIdentifier")
.environmentRoleArn("environmentRoleArn")
.glossaryTerms(List.of("glossaryTerms"))
.userParameters(List.of(EnvironmentParameterProperty.builder()
.name("name")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnEnvironment.static interfaceThe parameter details of the environment.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.datazone.IEnvironmentRef
IEnvironmentRef.Jsii$Default, IEnvironmentRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnEnvironment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnEnvironment(software.amazon.jsii.JsiiObjectRef objRef) CfnEnvironment(software.constructs.Construct scope, String id, CfnEnvironmentProps props) Create a newAWS::DataZone::Environment. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarnForEnvironment(IEnvironmentRef resource) The identifier of the AWS account in which an environment exists.The AWS Region in which an environment exists.The timestamp of when the environment was created.The Amazon DataZone user who created the environment.The identifier of the Amazon DataZone domain in which the environment exists.The identifier of a blueprint with which an environment profile is created.The identifier of the environment profile with which the environment was created.The identifier of the environment.The identifier of the project in which the environment exists.The provider of the environment.The status of the environment.The timestamp of when the environment was updated.The description of the environment.The identifier of the Amazon DataZone domain in which the environment is created.The identifier of the AWS account in which an environment exists.The AWS Region in which an environment exists.The identifier of the environment profile that is used to create this Amazon DataZone environment.A reference to a Environment resource.The ARN of the environment role.The glossary terms that can be used in this Amazon DataZone environment.getName()The name of the Amazon DataZone environment.The identifier of the Amazon DataZone project in which this environment is created.The user parameters of this Amazon DataZone environment.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnEnvironment.renderProperties(Map<String, Object> props) voidsetDescription(String value) The description of the environment.voidsetDomainIdentifier(String value) The identifier of the Amazon DataZone domain in which the environment is created.voidThe identifier of the AWS account in which an environment exists.voidThe AWS Region in which an environment exists.voidThe identifier of the environment profile that is used to create this Amazon DataZone environment.voidsetEnvironmentRoleArn(String value) The ARN of the environment role.voidsetGlossaryTerms(List<String> value) The glossary terms that can be used in this Amazon DataZone environment.voidThe name of the Amazon DataZone environment.voidsetProjectIdentifier(String value) The identifier of the Amazon DataZone project in which this environment is created.voidsetUserParameters(List<Object> value) The user parameters of this Amazon DataZone environment.voidsetUserParameters(IResolvable value) The user parameters of this Amazon DataZone environment.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods 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
getNodeMethods 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
-
CfnEnvironment
protected CfnEnvironment(software.amazon.jsii.JsiiObjectRef objRef) -
CfnEnvironment
protected CfnEnvironment(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnEnvironment
@Stability(Stable) public CfnEnvironment(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnEnvironmentProps props) Create a newAWS::DataZone::Environment.- 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
-
arnForEnvironment
@Stability(Stable) @NotNull public static String arnForEnvironment(@NotNull IEnvironmentRef resource) - Parameters:
resource- This parameter is required.
-
isCfnEnvironment
Checks whether the given object is a CfnEnvironment.- 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.
-
getAttrAwsAccountId
The identifier of the AWS account in which an environment exists. -
getAttrAwsAccountRegion
The AWS Region in which an environment exists. -
getAttrCreatedAt
The timestamp of when the environment was created. -
getAttrCreatedBy
The Amazon DataZone user who created the environment. -
getAttrDomainId
The identifier of the Amazon DataZone domain in which the environment exists. -
getAttrEnvironmentBlueprintId
The identifier of a blueprint with which an environment profile is created. -
getAttrEnvironmentProfileId
The identifier of the environment profile with which the environment was created. -
getAttrId
The identifier of the environment. -
getAttrProjectId
The identifier of the project in which the environment exists. -
getAttrProvider
The provider of the environment. -
getAttrStatus
The status of the environment. -
getAttrUpdatedAt
The timestamp of when the environment was updated. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getEnvironmentRef
A reference to a Environment resource.- Specified by:
getEnvironmentRefin interfaceIEnvironmentRef
-
getDomainIdentifier
The identifier of the Amazon DataZone domain in which the environment is created. -
setDomainIdentifier
The identifier of the Amazon DataZone domain in which the environment is created. -
getName
The name of the Amazon DataZone environment. -
setName
The name of the Amazon DataZone environment. -
getProjectIdentifier
The identifier of the Amazon DataZone project in which this environment is created. -
setProjectIdentifier
The identifier of the Amazon DataZone project in which this environment is created. -
getDescription
The description of the environment. -
setDescription
The description of the environment. -
getEnvironmentAccountIdentifier
The identifier of the AWS account in which an environment exists. -
setEnvironmentAccountIdentifier
The identifier of the AWS account in which an environment exists. -
getEnvironmentAccountRegion
The AWS Region in which an environment exists. -
setEnvironmentAccountRegion
The AWS Region in which an environment exists. -
getEnvironmentProfileIdentifier
The identifier of the environment profile that is used to create this Amazon DataZone environment. -
setEnvironmentProfileIdentifier
The identifier of the environment profile that is used to create this Amazon DataZone environment. -
getEnvironmentRoleArn
The ARN of the environment role. -
setEnvironmentRoleArn
The ARN of the environment role. -
getGlossaryTerms
The glossary terms that can be used in this Amazon DataZone environment. -
setGlossaryTerms
The glossary terms that can be used in this Amazon DataZone environment. -
getUserParameters
The user parameters of this Amazon DataZone environment.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnEnvironment.EnvironmentParameterProperty> -
setUserParameters
The user parameters of this Amazon DataZone environment. -
setUserParameters
The user parameters of this Amazon DataZone environment.
-