Class CfnEndpointAuthorization
Describes an endpoint authorization for authorizing Redshift-managed VPC endpoint access to a cluster across AWS accounts .
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Redshift
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnEndpointAuthorization : CfnResource, IInspectable
Syntax (vb)
Public Class CfnEndpointAuthorization Inherits CfnResource Implements IInspectable
Remarks
CloudformationResource: AWS::Redshift::EndpointAuthorization
ExampleMetadata: fixture=_generated
Examples
// 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 cfnEndpointAuthorization = new CfnEndpointAuthorization(this, "MyCfnEndpointAuthorization", new CfnEndpointAuthorizationProps {
Account = "account",
ClusterIdentifier = "clusterIdentifier",
// the properties below are optional
Force = false,
VpcIds = new [] { "vpcIds" }
});
Synopsis
Constructors
CfnEndpointAuthorization(Construct, string, ICfnEndpointAuthorizationProps) | Describes an endpoint authorization for authorizing Redshift-managed VPC endpoint access to a cluster across AWS accounts . |
Properties
Account | The AWS account ID of either the cluster owner (grantor) or grantee. |
AttrAllowedAllVpCs | Indicates whether all VPCs in the grantee account are allowed access to the cluster. |
AttrAllowedVpCs | The VPCs allowed access to the cluster. |
AttrAuthorizeTime | The time (UTC) when the authorization was created. |
AttrClusterStatus | The status of the cluster. |
AttrEndpointCount | The number of Redshift-managed VPC endpoints created for the authorization. |
AttrGrantee | The AWS account ID of the grantee of the cluster. |
AttrGrantor | The AWS account ID of the cluster owner. |
AttrStatus | The status of the authorization action. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | Describes an endpoint authorization for authorizing Redshift-managed VPC endpoint access to a cluster across AWS accounts . |
ClusterIdentifier | The cluster identifier. |
Force | Indicates whether to force the revoke action. |
VpcIds | The virtual private cloud (VPC) identifiers to grant access to. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<string, object>) | Describes an endpoint authorization for authorizing Redshift-managed VPC endpoint access to a cluster across AWS accounts . |
Constructors
CfnEndpointAuthorization(Construct, string, ICfnEndpointAuthorizationProps)
Describes an endpoint authorization for authorizing Redshift-managed VPC endpoint access to a cluster across AWS accounts .
public CfnEndpointAuthorization(Construct scope, string id, ICfnEndpointAuthorizationProps props)
Parameters
- scope Construct
Scope in which this resource is defined.
- id string
Construct identifier for this resource (unique in its scope).
- props ICfnEndpointAuthorizationProps
Resource properties.
Remarks
CloudformationResource: AWS::Redshift::EndpointAuthorization
ExampleMetadata: fixture=_generated
Properties
Account
The AWS account ID of either the cluster owner (grantor) or grantee.
public virtual string Account { get; set; }
Property Value
Remarks
CloudformationResource: AWS::Redshift::EndpointAuthorization
ExampleMetadata: fixture=_generated
AttrAllowedAllVpCs
Indicates whether all VPCs in the grantee account are allowed access to the cluster.
public virtual IResolvable AttrAllowedAllVpCs { get; }
Property Value
Remarks
CloudformationAttribute: AllowedAllVPCs
AttrAllowedVpCs
The VPCs allowed access to the cluster.
public virtual string[] AttrAllowedVpCs { get; }
Property Value
string[]
Remarks
CloudformationAttribute: AllowedVPCs
AttrAuthorizeTime
The time (UTC) when the authorization was created.
public virtual string AttrAuthorizeTime { get; }
Property Value
Remarks
CloudformationAttribute: AuthorizeTime
AttrClusterStatus
The status of the cluster.
public virtual string AttrClusterStatus { get; }
Property Value
Remarks
CloudformationAttribute: ClusterStatus
AttrEndpointCount
The number of Redshift-managed VPC endpoints created for the authorization.
public virtual double AttrEndpointCount { get; }
Property Value
Remarks
CloudformationAttribute: EndpointCount
AttrGrantee
The AWS account ID of the grantee of the cluster.
public virtual string AttrGrantee { get; }
Property Value
Remarks
CloudformationAttribute: Grantee
AttrGrantor
The AWS account ID of the cluster owner.
public virtual string AttrGrantor { get; }
Property Value
Remarks
CloudformationAttribute: Grantor
AttrStatus
The status of the authorization action.
public virtual string AttrStatus { get; }
Property Value
Remarks
CloudformationAttribute: Status
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
Remarks
CloudformationResource: AWS::Redshift::EndpointAuthorization
ExampleMetadata: fixture=_generated
CfnProperties
Describes an endpoint authorization for authorizing Redshift-managed VPC endpoint access to a cluster across AWS accounts .
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
Overrides
Remarks
CloudformationResource: AWS::Redshift::EndpointAuthorization
ExampleMetadata: fixture=_generated
ClusterIdentifier
The cluster identifier.
public virtual string ClusterIdentifier { get; set; }
Property Value
Remarks
CloudformationResource: AWS::Redshift::EndpointAuthorization
ExampleMetadata: fixture=_generated
Force
Indicates whether to force the revoke action.
public virtual object? Force { get; set; }
Property Value
Remarks
CloudformationResource: AWS::Redshift::EndpointAuthorization
ExampleMetadata: fixture=_generated
VpcIds
The virtual private cloud (VPC) identifiers to grant access to.
public virtual string[]? VpcIds { get; set; }
Property Value
string[]
Remarks
CloudformationResource: AWS::Redshift::EndpointAuthorization
ExampleMetadata: fixture=_generated
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
Remarks
CloudformationResource: AWS::Redshift::EndpointAuthorization
ExampleMetadata: fixture=_generated
RenderProperties(IDictionary<string, object>)
Describes an endpoint authorization for authorizing Redshift-managed VPC endpoint access to a cluster across AWS accounts .
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props IDictionary<string, object>
Returns
Overrides
Remarks
CloudformationResource: AWS::Redshift::EndpointAuthorization
ExampleMetadata: fixture=_generated