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
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:23:59.686Z")
@Stability(Stable)
public class CfnSubscriptionTarget
extends CfnResource
implements IInspectable
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") .manageAccessRole("manageAccessRole") .name("name") .subscriptionTargetConfig(List.of(SubscriptionTargetFormProperty.builder() .content("content") .formName("formName") .build())) .type("type") // the properties below are optional .provider("provider") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnSubscriptionTarget
.static interface
The details of the subscription target configuration.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnSubscriptionTarget
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnSubscriptionTarget
(software.amazon.jsii.JsiiObjectRef objRef) CfnSubscriptionTarget
(software.constructs.Construct scope, String id, CfnSubscriptionTargetProps props) -
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.getType()
The type of the subscription target.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setApplicableAssetTypes
(List<String> value) The asset types included in the subscription target.void
setAuthorizedPrincipals
(List<String> value) The authorized principals included in the subscription target.void
setDomainIdentifier
(String value) The ID of the Amazon DataZone domain in which subscription target is created.void
setEnvironmentIdentifier
(String value) The ID of the environment in which subscription target is created.void
setManageAccessRole
(String value) The manage access role that is used to create the subscription target.void
The name of the subscription target.void
setProvider
(String value) The provider of the subscription target.void
setSubscriptionTargetConfig
(List<Object> value) The configuration of the subscription target.void
The configuration of the subscription target.void
The 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, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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) - 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
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in 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:
renderProperties
in 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:
getCfnProperties
in classCfnResource
-
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. -
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. -
getName
The name of the subscription target. -
setName
The name of the subscription target. -
getSubscriptionTargetConfig
The configuration of the subscription target. -
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. -
getProvider
The provider of the subscription target. -
setProvider
The provider of the subscription target.
-