endpoint_authorization
Gets an individual endpoint_authorization
resource
Overview
Name | endpoint_authorization |
Type | Resource |
Description | endpoint_authorization |
Id | awscc.redshift.endpoint_authorization |
Fields
Name | Datatype | Description |
---|---|---|
grantor | string | The AWS account ID of the cluster owner. |
grantee | string | The AWS account ID of the grantee of the cluster. |
cluster_identifier | string | The cluster identifier. |
authorize_time | string | The time (UTC) when the authorization was created. |
cluster_status | string | The status of the cluster. |
status | string | The status of the authorization action. |
allowed_all_vpcs | boolean | Indicates whether all VPCs in the grantee account are allowed access to the cluster. |
allowed_vpcs | array | The VPCs allowed access to the cluster. |
endpoint_count | integer | The number of Redshift-managed VPC endpoints created for the authorization. |
account | string | The target AWS account ID to grant or revoke access for. |
vpc_ids | array | The virtual private cloud (VPC) identifiers to grant or revoke access to. |
force | boolean | Indicates whether to force the revoke action. If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted. |
region | string | AWS region. |
Methods
Currently only SELECT
is supported for this resource resource.
Example
SELECT
region,
grantor,
grantee,
cluster_identifier,
authorize_time,
cluster_status,
status,
allowed_all_vpcs,
allowed_vpcs,
endpoint_count,
account,
vpc_ids,
force
FROM awscc.redshift.endpoint_authorization
WHERE data__Identifier = '<ClusterIdentifier>|<Account>';
Permissions
To operate on the endpoint_authorization
resource, the following permissions are required:
Read
redshift:DescribeEndpointAuthorization
Update
redshift:AuthorizeEndpointAccess,
redshift:DescribeEndpointAuthorization,
redshift:RevokeEndpointAccess
Delete
redshift:RevokeEndpointAccess,
redshift:DeleteEndpointAccess,
redshift:DescribeEndpointAuthorization,
ec2:DeleteClientVpnEndpoint,
ec2:DescribeVpcAttribute,
ec2:DescribeSecurityGroups,
ec2:DescribeAddresses,
ec2:DescribeInternetGateways,
ec2:DescribeSubnets