Skip to content
v2.278.0

EndpointAuthorizationReference Struct ​

A reference to a EndpointAuthorization resource.

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 interfaces_redshift } from 'aws-cdk-lib/interfaces';
const endpointAuthorizationReference: interfaces_redshift.EndpointAuthorizationReference = {
  account: 'account',
  clusterIdentifier: 'clusterIdentifier',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import aws_redshift as interfaces_redshift

endpoint_authorization_reference = interfaces_redshift.EndpointAuthorizationReference(
    account="account",
    cluster_identifier="clusterIdentifier"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.redshift.*;

EndpointAuthorizationReference endpointAuthorizationReference = EndpointAuthorizationReference.builder()
        .account("account")
        .clusterIdentifier("clusterIdentifier")
        .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.Interfaces.Redshift;

var endpointAuthorizationReference = new EndpointAuthorizationReference {
    Account = "account",
    ClusterIdentifier = "clusterIdentifier"
};
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"

endpointAuthorizationReference := &EndpointAuthorizationReference{
	Account: jsii.String("account"),
	ClusterIdentifier: jsii.String("clusterIdentifier"),
}

Properties ​

accountstringaccountstraccountStringAccountstringAccount*string required #
The Account of the EndpointAuthorization resource.
clusterIdentifierstringcluster_identifierstrclusterIdentifierStringClusterIdentifierstringClusterIdentifier*string required #
The ClusterIdentifier of the EndpointAuthorization resource.