CfnSubscriptionTargetProps Struct
Properties for defining a CfnSubscriptionTarget.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_datazone as datazone } from 'aws-cdk-lib';
const cfnSubscriptionTargetProps: datazone.CfnSubscriptionTargetProps = {
applicableAssetTypes: ['applicableAssetTypes'],
authorizedPrincipals: ['authorizedPrincipals'],
domainIdentifier: 'domainIdentifier',
environmentIdentifier: 'environmentIdentifier',
name: 'name',
subscriptionTargetConfig: [{
content: 'content',
formName: 'formName',
}],
type: 'type',
// the properties below are optional
manageAccessRole: 'manageAccessRole',
provider: 'provider',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_datazone as datazone
cfn_subscription_target_props = datazone.CfnSubscriptionTargetProps(
applicable_asset_types=["applicableAssetTypes"],
authorized_principals=["authorizedPrincipals"],
domain_identifier="domainIdentifier",
environment_identifier="environmentIdentifier",
name="name",
subscription_target_config=[datazone.CfnSubscriptionTarget.SubscriptionTargetFormProperty(
content="content",
form_name="formName"
)],
type="type",
# the properties below are optional
manage_access_role="manageAccessRole",
provider="provider"
)
java
// 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.*;
CfnSubscriptionTargetProps cfnSubscriptionTargetProps = CfnSubscriptionTargetProps.builder()
.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();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.DataZone;
var cfnSubscriptionTargetProps = new CfnSubscriptionTargetProps {
ApplicableAssetTypes = new [] { "applicableAssetTypes" },
AuthorizedPrincipals = new [] { "authorizedPrincipals" },
DomainIdentifier = "domainIdentifier",
EnvironmentIdentifier = "environmentIdentifier",
Name = "name",
SubscriptionTargetConfig = new [] { new SubscriptionTargetFormProperty {
Content = "content",
FormName = "formName"
} },
Type = "type",
// the properties below are optional
ManageAccessRole = "manageAccessRole",
Provider = "provider"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnSubscriptionTargetProps := &CfnSubscriptionTargetProps{
ApplicableAssetTypes: []*string{
jsii.String("applicableAssetTypes"),
},
AuthorizedPrincipals: []*string{
jsii.String("authorizedPrincipals"),
},
DomainIdentifier: jsii.String("domainIdentifier"),
EnvironmentIdentifier: jsii.String("environmentIdentifier"),
Name: jsii.String("name"),
SubscriptionTargetConfig: []interface{}{
&SubscriptionTargetFormProperty{
Content: jsii.String("content"),
FormName: jsii.String("formName"),
},
},
Type: jsii.String("type"),
// the properties below are optional
ManageAccessRole: jsii.String("manageAccessRole"),
Provider: jsii.String("provider"),
}
Properties
applicableAssetTypesstring[]applicable_asset_typestyping.List[str]applicableAssetTypesList<String>ApplicableAssetTypesstring[]ApplicableAssetTypes*[]*string required #The asset types included in the subscription target.
authorizedPrincipalsstring[]authorized_principalstyping.List[str]authorizedPrincipalsList<String>AuthorizedPrincipalsstring[]AuthorizedPrincipals*[]*string required #The authorized principals included in the subscription target.
domainIdentifierstringdomain_identifierstrdomainIdentifierStringDomainIdentifierstringDomainIdentifier*string required #The ID of the Amazon DataZone domain in which subscription target is created.
environmentIdentifierstringenvironment_identifierstrenvironmentIdentifierStringEnvironmentIdentifierstringEnvironmentIdentifier*string required #The ID of the environment in which subscription target is created.
manageAccessRoleoptionalstringmanage_access_roleoptionalstrmanageAccessRoleoptionalStringManageAccessRoleoptionalstringManageAccessRoleoptional*string #The manage access role that is used to create the subscription target.
The name of the subscription target.
provideroptionalstringprovideroptionalstrprovideroptionalStringProvideroptionalstringProvideroptional*string #The provider of the subscription target.
subscriptionTargetConfigIResolvable | IResolvable | CfnSubscriptionTarget.subscription_target_configtyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SubscriptionTargetFormProperty]]]subscriptionTargetConfigIResolvableSubscriptionTargetConfigIResolvableSubscriptionTargetConfiginterface{} required #The configuration of the subscription target.
The type of the subscription target.