ServiceSpecificCredentialState constructor

const ServiceSpecificCredentialState({
  1. Input<String?>? createDate,
  2. Input<int?>? credentialAgeDays,
  3. Input<String?>? expirationDate,
  4. Input<String?>? serviceCredentialAlias,
  5. Input<String?>? serviceCredentialSecret,
  6. Input<String?>? serviceName,
  7. Input<String?>? servicePassword,
  8. Input<String?>? serviceSpecificCredentialId,
  9. Input<String?>? serviceUserName,
  10. Input<String?>? status,
  11. Input<String?>? userName,
})

Creates a new ServiceSpecificCredentialState. createDate The date and time, in RFC3339 format, when the service-specific credential was created. credentialAgeDays The number of days until the service specific credential expires. This field is only valid for Bedrock API keys and must be between 1 and 36600 (approximately 100 years). When not specified, the credential will not expire. expirationDate The date and time, in RFC3339 format, when the service specific credential expires. This field is only present for Bedrock API keys that were created with an expiration period. serviceCredentialAlias For Bedrock API keys, this is the public portion of the credential that includes the IAM user name and a suffix containing version and creation information. serviceCredentialSecret For Bedrock API keys, this is the secret portion of the credential that should be used to authenticate API calls. This value is only available when the credential is created. serviceName The name of the AWS service that is to be associated with the credentials. The service you specify here is the only service that can be accessed using these credentials. Supported services are codecommit.amazonaws.com, bedrock.amazonaws.com, and cassandra.amazonaws.com. servicePassword The generated password for the service-specific credential. This value is only available when the credential is created. serviceSpecificCredentialId The unique identifier for the service-specific credential. serviceUserName The generated user name for the service-specific credential. This value is generated by combining the IAM user's name combined with the ID number of the AWS account, as in jane-at-123456789012, for example. status The status to be assigned to the service-specific credential. Valid values are Active, Inactive, and Expired. Default value is Active. Note that Expired is only used for read operations and cannot be set manually. userName The name of the IAM user that is to be associated with the credentials. The new service-specific credentials have the same permissions as the associated user except that they can be used only to access the specified service.

Implementation

const ServiceSpecificCredentialState({
  this.createDate,
  this.credentialAgeDays,
  this.expirationDate,
  this.serviceCredentialAlias,
  this.serviceCredentialSecret,
  this.serviceName,
  this.servicePassword,
  this.serviceSpecificCredentialId,
  this.serviceUserName,
  this.status,
  this.userName,
});