Class CfnSubscriptionTarget
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.CfnSubscriptionTarget
- All Implemented Interfaces:
IInspectable,ISubscriptionTargetRef,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.926Z")
@Stability(Stable)
public class CfnSubscriptionTarget
extends CfnResource
implements IInspectable, ISubscriptionTargetRef
The
AWS::DataZone::SubscriptionTarget resource specifies an Amazon DataZone subscription target.
Subscription targets enable you to access the data to which you have subscribed in your projects. A subscription target specifies the location (for example, a database or a schema) and the required permissions (for example, an IAM role) that Amazon DataZone can use to establish a connection with the source data and to create the necessary grants so that members of the Amazon DataZone project can start querying the data to which they have subscribed.
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.*;
CfnSubscriptionTarget cfnSubscriptionTarget = CfnSubscriptionTarget.Builder.create(this, "MyCfnSubscriptionTarget")
.applicableAssetTypes(List.of("applicableAssetTypes"))
.authorizedPrincipals(List.of("authorizedPrincipals"))
.domainIdentifier("domainIdentifier")
.environmentIdentifier("environmentIdentifier")
.name("name")
.subscriptionTargetConfig(List.of(SubscriptionTargetFormProperty.builder()
.content("content")
.formName("formName")
.build()))
.type("type")
// the properties below are optional
.manageAccessRole("manageAccessRole")
.provider("provider")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnSubscriptionTarget.static interfaceThe details of the subscription target configuration.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.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.datazone.ISubscriptionTargetRef
ISubscriptionTargetRef.Jsii$Default, ISubscriptionTargetRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnSubscriptionTarget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnSubscriptionTarget(software.amazon.jsii.JsiiObjectRef objRef) CfnSubscriptionTarget(software.constructs.Construct scope, String id, CfnSubscriptionTargetProps props) Create a newAWS::DataZone::SubscriptionTarget. -
Method Summary
Modifier and TypeMethodDescriptionThe asset types included in the subscription target.The timestamp of when the subscription target was created.The Amazon DataZone user who created the subscription target.The identifier of the Amazon DataZone domain in which the subscription target exists.The identifier of the environment of the subscription target.The identifier of the subscription target.The identifier of the project specified in the subscription target.The timestamp of when the subscription target was updated.The Amazon DataZone user who updated the subscription target.The authorized principals included in the subscription target.The ID of the Amazon DataZone domain in which subscription target is created.The ID of the environment in which subscription target is created.The manage access role that is used to create the subscription target.getName()The name of the subscription target.The provider of the subscription target.The configuration of the subscription target.A reference to a SubscriptionTarget resource.getType()The type of the subscription target.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnSubscriptionTarget.renderProperties(Map<String, Object> props) voidsetApplicableAssetTypes(List<String> value) The asset types included in the subscription target.voidsetAuthorizedPrincipals(List<String> value) The authorized principals included in the subscription target.voidsetDomainIdentifier(String value) The ID of the Amazon DataZone domain in which subscription target is created.voidsetEnvironmentIdentifier(String value) The ID of the environment in which subscription target is created.voidsetManageAccessRole(String value) The manage access role that is used to create the subscription target.voidThe name of the subscription target.voidsetProvider(String value) The provider of the subscription target.voidsetSubscriptionTargetConfig(List<Object> value) The configuration of the subscription target.voidThe configuration of the subscription target.voidThe type of the subscription target.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
-
CfnSubscriptionTarget
protected CfnSubscriptionTarget(software.amazon.jsii.JsiiObjectRef objRef) -
CfnSubscriptionTarget
protected CfnSubscriptionTarget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnSubscriptionTarget
@Stability(Stable) public CfnSubscriptionTarget(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnSubscriptionTargetProps props) Create a newAWS::DataZone::SubscriptionTarget.- 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
-
isCfnSubscriptionTarget
Checks whether the given object is a CfnSubscriptionTarget.- 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.
-
getAttrCreatedAt
The timestamp of when the subscription target was created. -
getAttrCreatedBy
The Amazon DataZone user who created the subscription target. -
getAttrDomainId
The identifier of the Amazon DataZone domain in which the subscription target exists. -
getAttrEnvironmentId
The identifier of the environment of the subscription target. -
getAttrId
The identifier of the subscription target. -
getAttrProjectId
The identifier of the project specified in the subscription target. -
getAttrUpdatedAt
The timestamp of when the subscription target was updated. -
getAttrUpdatedBy
The Amazon DataZone user who updated the subscription target. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getSubscriptionTargetRef
A reference to a SubscriptionTarget resource.- Specified by:
getSubscriptionTargetRefin interfaceISubscriptionTargetRef
-
getApplicableAssetTypes
The asset types included in the subscription target. -
setApplicableAssetTypes
The asset types included in the subscription target. -
getAuthorizedPrincipals
The authorized principals included in the subscription target. -
setAuthorizedPrincipals
The authorized principals included in the subscription target. -
getDomainIdentifier
The ID of the Amazon DataZone domain in which subscription target is created. -
setDomainIdentifier
The ID of the Amazon DataZone domain in which subscription target is created. -
getEnvironmentIdentifier
The ID of the environment in which subscription target is created. -
setEnvironmentIdentifier
The ID of the environment in which subscription target is created. -
getName
The name of the subscription target. -
setName
The name of the subscription target. -
getSubscriptionTargetConfig
The configuration of the subscription target.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnSubscriptionTarget.SubscriptionTargetFormProperty> -
setSubscriptionTargetConfig
The configuration of the subscription target. -
setSubscriptionTargetConfig
The configuration of the subscription target. -
getType
The type of the subscription target. -
setType
The type of the subscription target. -
getManageAccessRole
The manage access role that is used to create the subscription target. -
setManageAccessRole
The manage access role that is used to create the subscription target. -
getProvider
The provider of the subscription target. -
setProvider
The provider of the subscription target.
-