Class ServiceSpecificCredentialArgs.Builder

    • Method Detail

      • credentialAgeDays

        public ServiceSpecificCredentialArgs.Builder credentialAgeDays​(@Nullable
                                                                       com.pulumi.core.Output<java.lang.Integer> credentialAgeDays)
        Parameters:
        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.
        Returns:
        builder
      • credentialAgeDays

        public ServiceSpecificCredentialArgs.Builder credentialAgeDays​(java.lang.Integer credentialAgeDays)
        Parameters:
        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.
        Returns:
        builder
      • serviceName

        public ServiceSpecificCredentialArgs.Builder serviceName​(com.pulumi.core.Output<java.lang.String> serviceName)
        Parameters:
        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`.
        Returns:
        builder
      • serviceName

        public ServiceSpecificCredentialArgs.Builder serviceName​(java.lang.String serviceName)
        Parameters:
        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`.
        Returns:
        builder
      • status

        public ServiceSpecificCredentialArgs.Builder status​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> status)
        Parameters:
        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.
        Returns:
        builder
      • status

        public ServiceSpecificCredentialArgs.Builder status​(java.lang.String status)
        Parameters:
        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.
        Returns:
        builder
      • userName

        public ServiceSpecificCredentialArgs.Builder userName​(com.pulumi.core.Output<java.lang.String> userName)
        Parameters:
        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.
        Returns:
        builder
      • userName

        public ServiceSpecificCredentialArgs.Builder userName​(java.lang.String userName)
        Parameters:
        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.
        Returns:
        builder