CfnEndpointAuthorizationProps¶
-
class
aws_cdk.aws_redshift.
CfnEndpointAuthorizationProps
(*, account, cluster_identifier, force=None, vpc_ids=None)¶ Bases:
object
Properties for defining a
CfnEndpointAuthorization
.- Parameters
account (
str
) – The A AWS account ID of either the cluster owner (grantor) or grantee. IfGrantee
parameter is true, then theAccount
value is of the grantor.cluster_identifier (
str
) – The cluster identifier.force (
Union
[bool
,IResolvable
,None
]) – Indicates whether to force the revoke action. If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.vpc_ids (
Optional
[Sequence
[str
]]) – The virtual private cloud (VPC) identifiers to grant access to.
- Link
- ExampleMetadata
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_redshift as redshift cfn_endpoint_authorization_props = redshift.CfnEndpointAuthorizationProps( account="account", cluster_identifier="clusterIdentifier", # the properties below are optional force=False, vpc_ids=["vpcIds"] )
Attributes
-
account
¶ The A AWS account ID of either the cluster owner (grantor) or grantee.
If
Grantee
parameter is true, then theAccount
value is of the grantor.
-
cluster_identifier
¶ The cluster identifier.
-
force
¶ Indicates whether to force the revoke action.
If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted.
-
vpc_ids
¶ The virtual private cloud (VPC) identifiers to grant access to.