Skip to content
v2.278.0

S3AccessGrantsScopeUnionProperty ​

Struct External

A list of scopes set up for S3 Access Grants integration.

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 s3AccessGrantsScopeUnionProperty: redshift.CfnRedshiftIdcApplication.S3AccessGrantsScopeUnionProperty = {
  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

s3_access_grants_scope_union_property = 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.*;

S3AccessGrantsScopeUnionProperty s3AccessGrantsScopeUnionProperty = S3AccessGrantsScopeUnionProperty.builder()
        .readWriteAccess(ReadWriteAccessProperty.builder()
                .authorization("authorization")
                .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 s3AccessGrantsScopeUnionProperty = 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"

s3AccessGrantsScopeUnionProperty := &S3AccessGrantsScopeUnionProperty{
	ReadWriteAccess: &ReadWriteAccessProperty{
		Authorization: jsii.String("authorization"),
	},
}

Properties ​

readWriteAccessoptionalIResolvable | CfnRedshiftIdcApplication.ReadWriteAccessPropertyread_write_accessoptionaltyping.Union[IResolvable, ReadWriteAccessProperty]readWriteAccessoptionalIResolvableReadWriteAccessoptionalIResolvableReadWriteAccessoptionalinterface{} #
The S3 Access Grants scope.