Package com.pulumi.aws.iam
Class ServiceSpecificCredentialArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.iam.ServiceSpecificCredentialArgs
-
public final class ServiceSpecificCredentialArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServiceSpecificCredentialArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static ServiceSpecificCredentialArgsEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceSpecificCredentialArgs.Builderbuilder()static ServiceSpecificCredentialArgs.Builderbuilder(ServiceSpecificCredentialArgs defaults)java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>credentialAgeDays()com.pulumi.core.Output<java.lang.String>serviceName()java.util.Optional<com.pulumi.core.Output<java.lang.String>>status()com.pulumi.core.Output<java.lang.String>userName()
-
-
-
Field Detail
-
Empty
public static final ServiceSpecificCredentialArgs Empty
-
-
Method Detail
-
credentialAgeDays
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> credentialAgeDays()
- Returns:
- 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.
-
serviceName
public com.pulumi.core.Output<java.lang.String> serviceName()
- Returns:
- 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`.
-
status
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> status()
- Returns:
- 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
public com.pulumi.core.Output<java.lang.String> userName()
- Returns:
- 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.
-
builder
public static ServiceSpecificCredentialArgs.Builder builder()
-
builder
public static ServiceSpecificCredentialArgs.Builder builder(ServiceSpecificCredentialArgs defaults)
-
-