EndpointAuthorization

class EndpointAuthorization : KotlinCustomResource

Creates a new Amazon Redshift endpoint authorization.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.redshift.EndpointAuthorization;
import com.pulumi.aws.redshift.EndpointAuthorizationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new EndpointAuthorization("example", EndpointAuthorizationArgs.builder()
.account("01234567910")
.clusterIdentifier(aws_redshift_cluster.example().cluster_identifier())
.build());
}
}

Import

Redshift endpoint authorization can be imported using the id, e.g.,

$ pulumi import aws:redshift/endpointAuthorization:EndpointAuthorization example 01234567910:cluster-example-id

Properties

Link copied to clipboard
val account: Output<String>

The Amazon Web Services account ID to grant access to.

Link copied to clipboard
val allowedAllVpcs: Output<Boolean>

Indicates whether all VPCs in the grantee account are allowed access to the cluster.

Link copied to clipboard

The cluster identifier of the cluster to grant access to.

Link copied to clipboard
val endpointCount: Output<Int>

The number of Redshift-managed VPC endpoints created for the authorization.

Link copied to clipboard
val forceDelete: Output<Boolean>?

Indicates whether to force the revoke action. If true, the Redshift-managed VPC endpoints associated with the endpoint authorization are also deleted. Default value is false.

Link copied to clipboard
val grantee: Output<String>

The Amazon Web Services account ID of the grantee of the cluster.

Link copied to clipboard
val grantor: Output<String>

The Amazon Web Services account ID of the cluster owner.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val vpcIds: Output<List<String>>?

The virtual private cloud (VPC) identifiers to grant access to. If none are specified all VPCs in shared account are allowed.