ServiceSpecificCredentialArgs class
The set of arguments for ServiceSpecificCredential. The set of arguments for ServiceSpecificCredential.
Constructors
-
ServiceSpecificCredentialArgs({Input<
int?> ? credentialAgeDays, required Input<String> serviceName, Input<String?> ? status, required Input<String> userName}) -
Creates a new ServiceSpecificCredentialArgs.
credentialAgeDaysThe 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.serviceNameThe 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 arecodecommit.amazonaws.com,bedrock.amazonaws.com, andcassandra.amazonaws.com.statusThe status to be assigned to the service-specific credential. Valid values areActive,Inactive, andExpired. Default value isActive. Note thatExpiredis only used for read operations and cannot be set manually.userNameThe 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.const -
ServiceSpecificCredentialArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
credentialAgeDays
→ Input<
int?> ? -
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.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serviceName
→ Input<
String> -
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, andcassandra.amazonaws.com.final -
status
→ Input<
String?> ? -
The status to be assigned to the service-specific credential. Valid values are
Active,Inactive, andExpired. Default value isActive. Note thatExpiredis only used for read operations and cannot be set manually.final -
userName
→ Input<
String> -
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.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited