Package com.pulumi.aws.opensearch.inputs
Class DomainAdvancedSecurityOptionsJwtOptionsArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.opensearch.inputs.DomainAdvancedSecurityOptionsJwtOptionsArgs.Builder
-
- Enclosing class:
- DomainAdvancedSecurityOptionsJwtOptionsArgs
public static final class DomainAdvancedSecurityOptionsJwtOptionsArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(DomainAdvancedSecurityOptionsJwtOptionsArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(DomainAdvancedSecurityOptionsJwtOptionsArgs defaults)
-
-
Method Detail
-
enabled
public DomainAdvancedSecurityOptionsJwtOptionsArgs.Builder enabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> enabled)
- Parameters:
enabled- Whether JWT authentication is enabled.- Returns:
- builder
-
enabled
public DomainAdvancedSecurityOptionsJwtOptionsArgs.Builder enabled(java.lang.Boolean enabled)
- Parameters:
enabled- Whether JWT authentication is enabled.- Returns:
- builder
-
jwksUrl
public DomainAdvancedSecurityOptionsJwtOptionsArgs.Builder jwksUrl(@Nullable com.pulumi.core.Output<java.lang.String> jwksUrl)
- Parameters:
jwksUrl- URL endpoint that hosts the JSON Web Key Set (JWKS) containing public keys used to verify JWT signatures. This argument can be specified only with OpenSearch versions 3.3 and later. At least one of `jwksUrl` or `publicKey` must be specified when `enabled` is set to `true`.- Returns:
- builder
-
jwksUrl
public DomainAdvancedSecurityOptionsJwtOptionsArgs.Builder jwksUrl(java.lang.String jwksUrl)
- Parameters:
jwksUrl- URL endpoint that hosts the JSON Web Key Set (JWKS) containing public keys used to verify JWT signatures. This argument can be specified only with OpenSearch versions 3.3 and later. At least one of `jwksUrl` or `publicKey` must be specified when `enabled` is set to `true`.- Returns:
- builder
-
publicKey
public DomainAdvancedSecurityOptionsJwtOptionsArgs.Builder publicKey(@Nullable com.pulumi.core.Output<java.lang.String> publicKey)
- Parameters:
publicKey- PEM-encoded public key used to verify JWT signatures. At least one of `jwksUrl` or `publicKey` must be specified when `enabled` is set to `true`. If both `jwksUrl` and `publicKey` are specified, `publicKey` is ignored.- Returns:
- builder
-
publicKey
public DomainAdvancedSecurityOptionsJwtOptionsArgs.Builder publicKey(java.lang.String publicKey)
- Parameters:
publicKey- PEM-encoded public key used to verify JWT signatures. At least one of `jwksUrl` or `publicKey` must be specified when `enabled` is set to `true`. If both `jwksUrl` and `publicKey` are specified, `publicKey` is ignored.- Returns:
- builder
-
rolesKey
public DomainAdvancedSecurityOptionsJwtOptionsArgs.Builder rolesKey(@Nullable com.pulumi.core.Output<java.lang.String> rolesKey)
- Parameters:
rolesKey- Element of the JWT assertion to use for roles. Default is `roles`.- Returns:
- builder
-
rolesKey
public DomainAdvancedSecurityOptionsJwtOptionsArgs.Builder rolesKey(java.lang.String rolesKey)
- Parameters:
rolesKey- Element of the JWT assertion to use for roles. Default is `roles`.- Returns:
- builder
-
subjectKey
public DomainAdvancedSecurityOptionsJwtOptionsArgs.Builder subjectKey(@Nullable com.pulumi.core.Output<java.lang.String> subjectKey)
- Parameters:
subjectKey- Element of the JWT assertion to use for the user name. Default is `sub`.- Returns:
- builder
-
subjectKey
public DomainAdvancedSecurityOptionsJwtOptionsArgs.Builder subjectKey(java.lang.String subjectKey)
- Parameters:
subjectKey- Element of the JWT assertion to use for the user name. Default is `sub`.- Returns:
- builder
-
build
public DomainAdvancedSecurityOptionsJwtOptionsArgs build()
-
-