Interface CreateWorkloadIdentityProviderRequest.Builder

  • Method Details

    • providerName

      The friendly name of the provider to create. The name must be unique within the collection the provider is created in, and it becomes the resource name segment of the provider's ARN.

      Parameters:
      providerName - The friendly name of the provider to create. The name must be unique within the collection the provider is created in, and it becomes the resource name segment of the provider's ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      A description of the provider. If you omit it, the provider carries no description and responses omit the Description element.

      Parameters:
      description - A description of the provider. If you omit it, the provider carries no description and responses omit the Description element.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scheme

      The naming scheme of the identifiers minted under the provider.

      • SPIFFE – Renders the identifier in the form defined by SPIFFE (Secure Production Identity Framework For Everyone), an open standard for workload identity, rooted at the provider's WorkloadIdentityDomain.

      • NONE – Renders the path alone, with neither the spiffe:// prefix nor the domain.

      Parameters:
      scheme - The naming scheme of the identifiers minted under the provider.

      • SPIFFE – Renders the identifier in the form defined by SPIFFE (Secure Production Identity Framework For Everyone), an open standard for workload identity, rooted at the provider's WorkloadIdentityDomain.

      • NONE – Renders the path alone, with neither the spiffe:// prefix nor the domain.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scheme

      The naming scheme of the identifiers minted under the provider.

      • SPIFFE – Renders the identifier in the form defined by SPIFFE (Secure Production Identity Framework For Everyone), an open standard for workload identity, rooted at the provider's WorkloadIdentityDomain.

      • NONE – Renders the path alone, with neither the spiffe:// prefix nor the domain.

      Parameters:
      scheme - The naming scheme of the identifiers minted under the provider.

      • SPIFFE – Renders the identifier in the form defined by SPIFFE (Secure Production Identity Framework For Everyone), an open standard for workload identity, rooted at the provider's WorkloadIdentityDomain.

      • NONE – Renders the path alone, with neither the spiffe:// prefix nor the domain.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • workloadIdentityDomain

      CreateWorkloadIdentityProviderRequest.Builder workloadIdentityDomain(String workloadIdentityDomain)

      The domain that roots the identifiers minted under the provider. Use lowercase characters only.

      This parameter is required when Scheme is SPIFFE, because the domain is the naming root rendered into every identifier. Do not include it when Scheme is NONE.

      Parameters:
      workloadIdentityDomain - The domain that roots the identifiers minted under the provider. Use lowercase characters only.

      This parameter is required when Scheme is SPIFFE, because the domain is the naming root rendered into every identifier. Do not include it when Scheme is NONE.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceScope

      The scope the provider is created at, which is fixed at creation. ACCOUNT creates the provider in your account and ORGANIZATION creates it in your organization. If you do not include this parameter, it defaults to ACCOUNT.

      Parameters:
      resourceScope - The scope the provider is created at, which is fixed at creation. ACCOUNT creates the provider in your account and ORGANIZATION creates it in your organization. If you do not include this parameter, it defaults to ACCOUNT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • resourceScope

      The scope the provider is created at, which is fixed at creation. ACCOUNT creates the provider in your account and ORGANIZATION creates it in your organization. If you do not include this parameter, it defaults to ACCOUNT.

      Parameters:
      resourceScope - The scope the provider is created at, which is fixed at creation. ACCOUNT creates the provider in your account and ORGANIZATION creates it in your organization. If you do not include this parameter, it defaults to ACCOUNT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tags

      A list of tags that you want to attach to the new provider. Each tag consists of a key name and an associated value. Both members of a tag are required. Tag keys are case sensitive, and two tag keys that differ only in case are rejected with InvalidInputException. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

      If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created.

      Parameters:
      tags - A list of tags that you want to attach to the new provider. Each tag consists of a key name and an associated value. Both members of a tag are required. Tag keys are case sensitive, and two tag keys that differ only in case are rejected with InvalidInputException. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

      If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of tags that you want to attach to the new provider. Each tag consists of a key name and an associated value. Both members of a tag are required. Tag keys are case sensitive, and two tag keys that differ only in case are rejected with InvalidInputException. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

      If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created.

      Parameters:
      tags - A list of tags that you want to attach to the new provider. Each tag consists of a key name and an associated value. Both members of a tag are required. Tag keys are case sensitive, and two tag keys that differ only in case are rejected with InvalidInputException. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

      If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of tags that you want to attach to the new provider. Each tag consists of a key name and an associated value. Both members of a tag are required. Tag keys are case sensitive, and two tag keys that differ only in case are rejected with InvalidInputException. For more information about tagging, see Tagging IAM resources in the IAM User Guide.

      If any one of the tags is invalid or if you exceed the allowed maximum number of tags, then the entire request fails and the resource is not created.

      This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.