Skip to content
v2.278.0

CfnRedshiftIdcApplicationProps Struct ​

Properties for defining a CfnRedshiftIdcApplication.

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 cfnRedshiftIdcApplicationProps: redshift.CfnRedshiftIdcApplicationProps = {
  iamRoleArn: 'iamRoleArn',
  idcDisplayName: 'idcDisplayName',
  idcInstanceArn: 'idcInstanceArn',
  redshiftIdcApplicationName: 'redshiftIdcApplicationName',

  // the properties below are optional
  applicationType: 'applicationType',
  authorizedTokenIssuerList: [{
    authorizedAudiencesList: ['authorizedAudiencesList'],
    trustedTokenIssuerArn: 'trustedTokenIssuerArn',
  }],
  identityNamespace: 'identityNamespace',
  serviceIntegrations: [{
    lakeFormation: [{
      lakeFormationQuery: {
        authorization: 'authorization',
      },
    }],
    redshift: [{
      connect: {
        authorization: 'authorization',
      },
    }],
    s3AccessGrants: [{
      readWriteAccess: {
        authorization: 'authorization',
      },
    }],
  }],
  ssoTagKeys: ['ssoTagKeys'],
  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_redshift as redshift

cfn_redshift_idc_application_props = redshift.CfnRedshiftIdcApplicationProps(
    iam_role_arn="iamRoleArn",
    idc_display_name="idcDisplayName",
    idc_instance_arn="idcInstanceArn",
    redshift_idc_application_name="redshiftIdcApplicationName",

    # the properties below are optional
    application_type="applicationType",
    authorized_token_issuer_list=[redshift.CfnRedshiftIdcApplication.AuthorizedTokenIssuerProperty(
        authorized_audiences_list=["authorizedAudiencesList"],
        trusted_token_issuer_arn="trustedTokenIssuerArn"
    )],
    identity_namespace="identityNamespace",
    service_integrations=[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"
            )
        )]
    )],
    sso_tag_keys=["ssoTagKeys"],
    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.redshift.*;

CfnRedshiftIdcApplicationProps cfnRedshiftIdcApplicationProps = CfnRedshiftIdcApplicationProps.builder()
        .iamRoleArn("iamRoleArn")
        .idcDisplayName("idcDisplayName")
        .idcInstanceArn("idcInstanceArn")
        .redshiftIdcApplicationName("redshiftIdcApplicationName")

        // the properties below are optional
        .applicationType("applicationType")
        .authorizedTokenIssuerList(List.of(AuthorizedTokenIssuerProperty.builder()
                .authorizedAudiencesList(List.of("authorizedAudiencesList"))
                .trustedTokenIssuerArn("trustedTokenIssuerArn")
                .build()))
        .identityNamespace("identityNamespace")
        .serviceIntegrations(List.of(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()))
        .ssoTagKeys(List.of("ssoTagKeys"))
        .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.Redshift;

var cfnRedshiftIdcApplicationProps = new CfnRedshiftIdcApplicationProps {
    IamRoleArn = "iamRoleArn",
    IdcDisplayName = "idcDisplayName",
    IdcInstanceArn = "idcInstanceArn",
    RedshiftIdcApplicationName = "redshiftIdcApplicationName",

    // the properties below are optional
    ApplicationType = "applicationType",
    AuthorizedTokenIssuerList = new [] { new AuthorizedTokenIssuerProperty {
        AuthorizedAudiencesList = new [] { "authorizedAudiencesList" },
        TrustedTokenIssuerArn = "trustedTokenIssuerArn"
    } },
    IdentityNamespace = "identityNamespace",
    ServiceIntegrations = new [] { 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"
            }
        } }
    } },
    SsoTagKeys = new [] { "ssoTagKeys" },
    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"

cfnRedshiftIdcApplicationProps := &CfnRedshiftIdcApplicationProps{
	IamRoleArn: jsii.String("iamRoleArn"),
	IdcDisplayName: jsii.String("idcDisplayName"),
	IdcInstanceArn: jsii.String("idcInstanceArn"),
	RedshiftIdcApplicationName: jsii.String("redshiftIdcApplicationName"),

	// the properties below are optional
	ApplicationType: jsii.String("applicationType"),
	AuthorizedTokenIssuerList: []interface{}{
		&AuthorizedTokenIssuerProperty{
			AuthorizedAudiencesList: []*string{
				jsii.String("authorizedAudiencesList"),
			},
			TrustedTokenIssuerArn: jsii.String("trustedTokenIssuerArn"),
		},
	},
	IdentityNamespace: jsii.String("identityNamespace"),
	ServiceIntegrations: []interface{}{
		&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"),
					},
				},
			},
		},
	},
	SsoTagKeys: []*string{
		jsii.String("ssoTagKeys"),
	},
	Tags: []CfnTag{
		&CfnTag{
			Key: jsii.String("key"),
			Value: jsii.String("value"),
		},
	},
}

Properties ​

applicationTypeoptionalstringapplication_typeoptionalstrapplicationTypeoptionalStringApplicationTypeoptionalstringApplicationTypeoptional*string #
The type of application being created.
authorizedTokenIssuerListoptionalIResolvable | IResolvable | CfnRedshiftIdcApplication.AuthorizedTokenIssuerProperty[]authorized_token_issuer_listoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, AuthorizedTokenIssuerProperty]]]authorizedTokenIssuerListoptionalIResolvableAuthorizedTokenIssuerListoptionalIResolvableAuthorizedTokenIssuerListoptionalinterface{} #
The token issuer list for the Amazon Redshift IAM Identity Center application instance.
iamRoleArnstringiam_role_arnstriamRoleArnStringIamRoleArnstringIamRoleArn*string required #
The IAM role ARN for the Amazon Redshift IAM Identity Center application instance.

It has the required permissions to be assumed and invoke the IDC Identity Center API.

idcDisplayNamestringidc_display_namestridcDisplayNameStringIdcDisplayNamestringIdcDisplayName*string required #
The display name for the Amazon Redshift IAM Identity Center application instance.

It appears in the console.

idcInstanceArnstringidc_instance_arnstridcInstanceArnStringIdcInstanceArnstringIdcInstanceArn*string required #
The Amazon resource name (ARN) of the IAM Identity Center instance where Amazon Redshift creates a new managed application.
identityNamespaceoptionalstringidentity_namespaceoptionalstridentityNamespaceoptionalStringIdentityNamespaceoptionalstringIdentityNamespaceoptional*string #
The namespace for the Amazon Redshift IAM Identity Center application instance.

It determines which managed application verifies the connection token.

redshiftIdcApplicationNamestringredshift_idc_application_namestrredshiftIdcApplicationNameStringRedshiftIdcApplicationNamestringRedshiftIdcApplicationName*string required #
The name of the Redshift application in IAM Identity Center.
serviceIntegrationsoptionalIResolvable | IResolvable | CfnRedshiftIdcApplication.ServiceIntegrationsUnionProperty[]service_integrationsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ServiceIntegrationsUnionProperty]]]serviceIntegrationsoptionalIResolvableServiceIntegrationsoptionalIResolvableServiceIntegrationsoptionalinterface{} #
A collection of service integrations for the Redshift IAM Identity Center application.
ssoTagKeysoptionalstring[]sso_tag_keysoptionaltyping.List[str]ssoTagKeysoptionalList<String>SsoTagKeysoptionalstring[]SsoTagKeysoptional*[]*string #
A list of tag keys that Redshift Identity Center applications copy to IAM Identity Center.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag #
An array of key-value pairs to apply to this resource.