ServiceIntegrationsUnionProperty Struct
A list of service integrations.
| 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_redshift as redshift } from 'aws-cdk-lib';
const serviceIntegrationsUnionProperty: redshift.CfnRedshiftIdcApplication.ServiceIntegrationsUnionProperty = {
lakeFormation: [{
lakeFormationQuery: {
authorization: 'authorization',
},
}],
redshift: [{
connect: {
authorization: 'authorization',
},
}],
s3AccessGrants: [{
readWriteAccess: {
authorization: 'authorization',
},
}],
};
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_redshift as redshift
service_integrations_union_property = redshift.CfnRedshiftIdcApplication.ServiceIntegrationsUnionProperty(
lake_formation=[redshift.CfnRedshiftIdcApplication.LakeFormationScopeUnionProperty(
lake_formation_query=redshift.CfnRedshiftIdcApplication.LakeFormationQueryProperty(
authorization="authorization"
)
)],
redshift=[redshift.CfnRedshiftIdcApplication.RedshiftScopeUnionProperty(
connect=redshift.CfnRedshiftIdcApplication.ConnectProperty(
authorization="authorization"
)
)],
s3_access_grants=[redshift.CfnRedshiftIdcApplication.S3AccessGrantsScopeUnionProperty(
read_write_access=redshift.CfnRedshiftIdcApplication.ReadWriteAccessProperty(
authorization="authorization"
)
)]
)
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.redshift.*;
ServiceIntegrationsUnionProperty serviceIntegrationsUnionProperty = ServiceIntegrationsUnionProperty.builder()
.lakeFormation(List.of(LakeFormationScopeUnionProperty.builder()
.lakeFormationQuery(LakeFormationQueryProperty.builder()
.authorization("authorization")
.build())
.build()))
.redshift(List.of(RedshiftScopeUnionProperty.builder()
.connect(ConnectProperty.builder()
.authorization("authorization")
.build())
.build()))
.s3AccessGrants(List.of(S3AccessGrantsScopeUnionProperty.builder()
.readWriteAccess(ReadWriteAccessProperty.builder()
.authorization("authorization")
.build())
.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.Redshift;
var serviceIntegrationsUnionProperty = new ServiceIntegrationsUnionProperty {
LakeFormation = new [] { new LakeFormationScopeUnionProperty {
LakeFormationQuery = new LakeFormationQueryProperty {
Authorization = "authorization"
}
} },
Redshift = new [] { new RedshiftScopeUnionProperty {
Connect = new ConnectProperty {
Authorization = "authorization"
}
} },
S3AccessGrants = new [] { new S3AccessGrantsScopeUnionProperty {
ReadWriteAccess = new ReadWriteAccessProperty {
Authorization = "authorization"
}
} }
};
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"
serviceIntegrationsUnionProperty := &ServiceIntegrationsUnionProperty{
LakeFormation: []interface{}{
&LakeFormationScopeUnionProperty{
LakeFormationQuery: &LakeFormationQueryProperty{
Authorization: jsii.String("authorization"),
},
},
},
Redshift: []interface{}{
&RedshiftScopeUnionProperty{
Connect: &ConnectProperty{
Authorization: jsii.String("authorization"),
},
},
},
S3AccessGrants: []interface{}{
&S3AccessGrantsScopeUnionProperty{
ReadWriteAccess: &ReadWriteAccessProperty{
Authorization: jsii.String("authorization"),
},
},
},
}
Properties
lakeFormationoptionalIResolvable | IResolvable | CfnRedshiftIdcApplication.lake_formationoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, LakeFormationScopeUnionProperty]]]lakeFormationoptionalIResolvableLakeFormationoptionalIResolvableLakeFormationoptionalinterface{} #A list of scopes set up for Lake Formation integration.
redshiftoptionalIResolvable | IResolvable | CfnRedshiftIdcApplication.redshiftoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, RedshiftScopeUnionProperty]]]redshiftoptionalIResolvableRedshiftoptionalIResolvableRedshiftoptionalinterface{} #A list of scopes set up for Amazon Redshift integration.
s3AccessGrantsoptionalIResolvable | IResolvable | CfnRedshiftIdcApplication.s3_access_grantsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, S3AccessGrantsScopeUnionProperty]]]s3AccessGrantsoptionalIResolvableS3AccessGrantsoptionalIResolvableS3AccessGrantsoptionalinterface{} #A list of scopes set up for S3 Access Grants integration.