We recommend new projects start with resources from the AWS provider.
aws-native.redshift.getEndpointAuthorization
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Describes an endpoint authorization for authorizing Redshift-managed VPC endpoint access to a cluster across AWS accounts.
Using getEndpointAuthorization
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getEndpointAuthorization(args: GetEndpointAuthorizationArgs, opts?: InvokeOptions): Promise<GetEndpointAuthorizationResult>
function getEndpointAuthorizationOutput(args: GetEndpointAuthorizationOutputArgs, opts?: InvokeOptions): Output<GetEndpointAuthorizationResult>def get_endpoint_authorization(account: Optional[str] = None,
                               cluster_identifier: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetEndpointAuthorizationResult
def get_endpoint_authorization_output(account: Optional[pulumi.Input[str]] = None,
                               cluster_identifier: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetEndpointAuthorizationResult]func LookupEndpointAuthorization(ctx *Context, args *LookupEndpointAuthorizationArgs, opts ...InvokeOption) (*LookupEndpointAuthorizationResult, error)
func LookupEndpointAuthorizationOutput(ctx *Context, args *LookupEndpointAuthorizationOutputArgs, opts ...InvokeOption) LookupEndpointAuthorizationResultOutput> Note: This function is named LookupEndpointAuthorization in the Go SDK.
public static class GetEndpointAuthorization 
{
    public static Task<GetEndpointAuthorizationResult> InvokeAsync(GetEndpointAuthorizationArgs args, InvokeOptions? opts = null)
    public static Output<GetEndpointAuthorizationResult> Invoke(GetEndpointAuthorizationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEndpointAuthorizationResult> getEndpointAuthorization(GetEndpointAuthorizationArgs args, InvokeOptions options)
public static Output<GetEndpointAuthorizationResult> getEndpointAuthorization(GetEndpointAuthorizationArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:redshift:getEndpointAuthorization
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Account string
 - The target AWS account ID to grant or revoke access for.
 - Cluster
Identifier string - The cluster identifier.
 
- Account string
 - The target AWS account ID to grant or revoke access for.
 - Cluster
Identifier string - The cluster identifier.
 
- account String
 - The target AWS account ID to grant or revoke access for.
 - cluster
Identifier String - The cluster identifier.
 
- account string
 - The target AWS account ID to grant or revoke access for.
 - cluster
Identifier string - The cluster identifier.
 
- account str
 - The target AWS account ID to grant or revoke access for.
 - cluster_
identifier str - The cluster identifier.
 
- account String
 - The target AWS account ID to grant or revoke access for.
 - cluster
Identifier String - The cluster identifier.
 
getEndpointAuthorization Result
The following output properties are available:
- Allowed
All boolVpcs  - Indicates whether all VPCs in the grantee account are allowed access to the cluster.
 - Allowed
Vpcs List<string> - The VPCs allowed access to the cluster.
 - string
 - The time (UTC) when the authorization was created.
 - Cluster
Status string - The status of the cluster.
 - Endpoint
Count int - The number of Redshift-managed VPC endpoints created for the authorization.
 - Grantee string
 - The AWS account ID of the grantee of the cluster.
 - Grantor string
 - The AWS account ID of the cluster owner.
 - Status string
 - The status of the authorization action.
 - Vpc
Ids List<string> - The virtual private cloud (VPC) identifiers to grant or revoke access to.
 
- Allowed
All boolVpcs  - Indicates whether all VPCs in the grantee account are allowed access to the cluster.
 - Allowed
Vpcs []string - The VPCs allowed access to the cluster.
 - string
 - The time (UTC) when the authorization was created.
 - Cluster
Status string - The status of the cluster.
 - Endpoint
Count int - The number of Redshift-managed VPC endpoints created for the authorization.
 - Grantee string
 - The AWS account ID of the grantee of the cluster.
 - Grantor string
 - The AWS account ID of the cluster owner.
 - Status string
 - The status of the authorization action.
 - Vpc
Ids []string - The virtual private cloud (VPC) identifiers to grant or revoke access to.
 
- allowed
All BooleanVpcs  - Indicates whether all VPCs in the grantee account are allowed access to the cluster.
 - allowed
Vpcs List<String> - The VPCs allowed access to the cluster.
 - String
 - The time (UTC) when the authorization was created.
 - cluster
Status String - The status of the cluster.
 - endpoint
Count Integer - The number of Redshift-managed VPC endpoints created for the authorization.
 - grantee String
 - The AWS account ID of the grantee of the cluster.
 - grantor String
 - The AWS account ID of the cluster owner.
 - status String
 - The status of the authorization action.
 - vpc
Ids List<String> - The virtual private cloud (VPC) identifiers to grant or revoke access to.
 
- allowed
All booleanVpcs  - Indicates whether all VPCs in the grantee account are allowed access to the cluster.
 - allowed
Vpcs string[] - The VPCs allowed access to the cluster.
 - string
 - The time (UTC) when the authorization was created.
 - cluster
Status string - The status of the cluster.
 - endpoint
Count number - The number of Redshift-managed VPC endpoints created for the authorization.
 - grantee string
 - The AWS account ID of the grantee of the cluster.
 - grantor string
 - The AWS account ID of the cluster owner.
 - status string
 - The status of the authorization action.
 - vpc
Ids string[] - The virtual private cloud (VPC) identifiers to grant or revoke access to.
 
- allowed_
all_ boolvpcs  - Indicates whether all VPCs in the grantee account are allowed access to the cluster.
 - allowed_
vpcs Sequence[str] - The VPCs allowed access to the cluster.
 - str
 - The time (UTC) when the authorization was created.
 - cluster_
status str - The status of the cluster.
 - endpoint_
count int - The number of Redshift-managed VPC endpoints created for the authorization.
 - grantee str
 - The AWS account ID of the grantee of the cluster.
 - grantor str
 - The AWS account ID of the cluster owner.
 - status str
 - The status of the authorization action.
 - vpc_
ids Sequence[str] - The virtual private cloud (VPC) identifiers to grant or revoke access to.
 
- allowed
All BooleanVpcs  - Indicates whether all VPCs in the grantee account are allowed access to the cluster.
 - allowed
Vpcs List<String> - The VPCs allowed access to the cluster.
 - String
 - The time (UTC) when the authorization was created.
 - cluster
Status String - The status of the cluster.
 - endpoint
Count Number - The number of Redshift-managed VPC endpoints created for the authorization.
 - grantee String
 - The AWS account ID of the grantee of the cluster.
 - grantor String
 - The AWS account ID of the cluster owner.
 - status String
 - The status of the authorization action.
 - vpc
Ids List<String> - The virtual private cloud (VPC) identifiers to grant or revoke access to.
 
Package Details
- Repository
 - AWS Native pulumi/pulumi-aws-native
 - License
 - Apache-2.0
 
We recommend new projects start with resources from the AWS provider.