![]() |
![]()
| ![]() |
![]()
NAMEPaws::RedShift::GetClusterCredentials - Arguments for method GetClusterCredentials on Paws::RedShift DESCRIPTIONThis class represents the parameters used for calling the method GetClusterCredentials on the Amazon Redshift service. Use the attributes of this class as arguments to method GetClusterCredentials. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetClusterCredentials. SYNOPSISmy $redshift = Paws->service('RedShift'); my $ClusterCredentials = $redshift->GetClusterCredentials( ClusterIdentifier => 'MyString', DbUser => 'MyString', AutoCreate => 1, # OPTIONAL DbGroups => [ 'MyString', ... # max: 2147483647 ], # OPTIONAL DbName => 'MyString', # OPTIONAL DurationSeconds => 1, # OPTIONAL ); # Results: my $DbPassword = $ClusterCredentials->DbPassword; my $DbUser = $ClusterCredentials->DbUser; my $Expiration = $ClusterCredentials->Expiration; # Returns a L<Paws::RedShift::ClusterCredentials> object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/redshift/GetClusterCredentials> ATTRIBUTESAutoCreate => BoolCreate a database user with the name specified for the user named in "DbUser" if one does not exist. REQUIRED ClusterIdentifier => StrThe unique identifier of the cluster that contains the database for which your are requesting credentials. This parameter is case sensitive. DbGroups => ArrayRef[Str|Undef]A 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. Database group name constraints
DbName => StrThe 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. Constraints:
REQUIRED DbUser => StrThe 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 "Autocreate" is "False", then the command succeeds but the connection attempt will fail because the user doesn't exist in the database. For more information, see CREATE USER (https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_USER.html) in the Amazon Redshift Database Developer Guide. Constraints:
DurationSeconds => IntThe number of seconds until the returned temporary password expires. Constraint: minimum 900, maximum 3600. Default: 900 SEE ALSOThis class forms part of Paws, documenting arguments for method GetClusterCredentials in Paws::RedShift BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|