EndpointAuthorizationArgs

data class EndpointAuthorizationArgs(val account: Output<String>? = null, val clusterIdentifier: Output<String>? = null, val forceDelete: Output<Boolean>? = null, val vpcIds: Output<List<String>>? = null) : ConvertibleToJava<EndpointAuthorizationArgs>

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

Constructors

Link copied to clipboard
constructor(account: Output<String>? = null, clusterIdentifier: Output<String>? = null, forceDelete: Output<Boolean>? = null, vpcIds: Output<List<String>>? = null)

Properties

Link copied to clipboard
val account: Output<String>? = null

The Amazon Web Services account ID to grant access to.

Link copied to clipboard
val clusterIdentifier: Output<String>? = null

The cluster identifier of the cluster to grant access to.

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

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 vpcIds: Output<List<String>>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): EndpointAuthorizationArgs