Package com.pulumi.aws.redshift.inputs
Class GetClusterCredentialsArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.InvokeArgs
-
- com.pulumi.aws.redshift.inputs.GetClusterCredentialsArgs
-
public final class GetClusterCredentialsArgs extends com.pulumi.resources.InvokeArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetClusterCredentialsArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static GetClusterCredentialsArgsEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>autoCreate()static GetClusterCredentialsArgs.Builderbuilder()static GetClusterCredentialsArgs.Builderbuilder(GetClusterCredentialsArgs defaults)com.pulumi.core.Output<java.lang.String>clusterIdentifier()java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>dbGroups()java.util.Optional<com.pulumi.core.Output<java.lang.String>>dbName()com.pulumi.core.Output<java.lang.String>dbUser()java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>durationSeconds()java.util.Optional<com.pulumi.core.Output<java.lang.String>>region()
-
-
-
Field Detail
-
Empty
public static final GetClusterCredentialsArgs Empty
-
-
Method Detail
-
autoCreate
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> autoCreate()
- Returns:
- Create a database user with the name specified for the user named in `dbUser` if one does not exist.
-
clusterIdentifier
public com.pulumi.core.Output<java.lang.String> clusterIdentifier()
- Returns:
- Unique identifier of the cluster that contains the database for which your are requesting credentials.
-
dbGroups
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> dbGroups()
- Returns:
- List of the names of existing database groups that the user named in `dbUser` will join for the current session, in addition to any group memberships for an existing user. If not specified, a new user is added only to `PUBLIC`.
-
dbName
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> dbName()
- Returns:
- Name of a database that DbUser is authorized to log on to. If `dbName` is not specified, `dbUser` can log on to any existing database.
-
dbUser
public com.pulumi.core.Output<java.lang.String> dbUser()
- Returns:
- Name of a database user. If a user name matching `dbUser` exists in the database, the temporary user credentials have the same permissions as the existing user. If `dbUser` doesn't exist in the database and `autoCreate` is `True`, a new user is created using the value for `dbUser` with `PUBLIC` permissions. If a database user matching the value for `dbUser` doesn't exist and `not` is `False`, then the command succeeds but the connection attempt will fail because the user doesn't exist in the database.
-
durationSeconds
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> durationSeconds()
- Returns:
- The number of seconds until the returned temporary password expires. Valid values are between `900` and `3600`. Default value is `900`.
-
region
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
- Returns:
- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
-
builder
public static GetClusterCredentialsArgs.Builder builder()
-
builder
public static GetClusterCredentialsArgs.Builder builder(GetClusterCredentialsArgs defaults)
-
-