Endpoint Authorization
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());
}
}
Content copied to clipboard
Import
Redshift endpoint authorization can be imported using the id
, e.g.,
$ pulumi import aws:redshift/endpointAuthorization:EndpointAuthorization example 01234567910:cluster-example-id
Content copied to clipboard
Properties
Link copied to clipboard
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
The number of Redshift-managed VPC endpoints created for the authorization.
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard