CfnDomainProps Struct
Properties for defining a CfnDomain.
| 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 cfnDomainProps: datazone.CfnDomainProps = {
name: 'name',
// the properties below are optional
description: 'description',
domainExecutionRole: 'domainExecutionRole',
domainVersion: 'domainVersion',
kmsKeyIdentifier: 'kmsKeyIdentifier',
serviceRole: 'serviceRole',
singleSignOn: {
idcInstanceArn: 'idcInstanceArn',
type: 'type',
userAssignment: 'userAssignment',
},
tags: [{
key: 'key',
value: 'value',
}],
};
python
from aws_cdk import CfnTag
# 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_domain_props = datazone.CfnDomainProps(
name="name",
# the properties below are optional
description="description",
domain_execution_role="domainExecutionRole",
domain_version="domainVersion",
kms_key_identifier="kmsKeyIdentifier",
service_role="serviceRole",
single_sign_on=datazone.CfnDomain.SingleSignOnProperty(
idc_instance_arn="idcInstanceArn",
type="type",
user_assignment="userAssignment"
),
tags=[CfnTag(
key="key",
value="value"
)]
)
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.*;
CfnDomainProps cfnDomainProps = CfnDomainProps.builder()
.name("name")
// the properties below are optional
.description("description")
.domainExecutionRole("domainExecutionRole")
.domainVersion("domainVersion")
.kmsKeyIdentifier("kmsKeyIdentifier")
.serviceRole("serviceRole")
.singleSignOn(SingleSignOnProperty.builder()
.idcInstanceArn("idcInstanceArn")
.type("type")
.userAssignment("userAssignment")
.build())
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.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 cfnDomainProps = new CfnDomainProps {
Name = "name",
// the properties below are optional
Description = "description",
DomainExecutionRole = "domainExecutionRole",
DomainVersion = "domainVersion",
KmsKeyIdentifier = "kmsKeyIdentifier",
ServiceRole = "serviceRole",
SingleSignOn = new SingleSignOnProperty {
IdcInstanceArn = "idcInstanceArn",
Type = "type",
UserAssignment = "userAssignment"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
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"
cfnDomainProps := &CfnDomainProps{
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
DomainExecutionRole: jsii.String("domainExecutionRole"),
DomainVersion: jsii.String("domainVersion"),
KmsKeyIdentifier: jsii.String("kmsKeyIdentifier"),
ServiceRole: jsii.String("serviceRole"),
SingleSignOn: &SingleSignOnProperty{
IdcInstanceArn: jsii.String("idcInstanceArn"),
Type: jsii.String("type"),
UserAssignment: jsii.String("userAssignment"),
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Properties
descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string #The description of the Amazon DataZone domain.
domainExecutionRoleoptionalstringdomain_execution_roleoptionalstrdomainExecutionRoleoptionalStringDomainExecutionRoleoptionalstringDomainExecutionRoleoptional*string #The domain execution role that is created when an Amazon DataZone domain is created.
The domain execution role is created in the AWS account that houses the Amazon DataZone domain.
domainVersionoptionalstringdomain_versionoptionalstrdomainVersionoptionalStringDomainVersionoptionalstringDomainVersionoptional*string #The domain version.
kmsKeyIdentifieroptionalstringkms_key_identifieroptionalstrkmsKeyIdentifieroptionalStringKmsKeyIdentifieroptionalstringKmsKeyIdentifieroptional*string #The identifier of the AWS Key Management Service (KMS) key that is used to encrypt the Amazon DataZone domain, metadata, and reporting data.
The name of the Amazon DataZone domain.
serviceRoleoptionalstringservice_roleoptionalstrserviceRoleoptionalStringServiceRoleoptionalstringServiceRoleoptional*string #The service role of the domain.
singleSignOnoptionalIResolvable | CfnDomain.SingleSignOnPropertysingle_sign_onoptionaltyping.Union[IResolvable, SingleSignOnProperty]singleSignOnoptionalIResolvableSingleSignOnoptionalIResolvableSingleSignOnoptionalinterface{} #The single sign-on details in Amazon DataZone.