Class CfnSecurityConfig.Builder
java.lang.Object
software.amazon.awscdk.services.opensearchserverless.CfnSecurityConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityConfig>
- Enclosing class:
CfnSecurityConfig
@Stability(Stable)
public static final class CfnSecurityConfig.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityConfig>
A fluent builder for
CfnSecurityConfig
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnSecurityConfig.Builder
description
(String description) The description of the security configuration.The name of the security configuration.samlOptions
(IResolvable samlOptions) SAML options for the security configuration in the form of a key-value map.samlOptions
(CfnSecurityConfig.SamlConfigOptionsProperty samlOptions) SAML options for the security configuration in the form of a key-value map.The type of security configuration.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnSecurityConfig.Builder
.
-
description
The description of the security configuration.- Parameters:
description
- The description of the security configuration. This parameter is required.- Returns:
this
-
name
The name of the security configuration.- Parameters:
name
- The name of the security configuration. This parameter is required.- Returns:
this
-
samlOptions
@Stability(Stable) public CfnSecurityConfig.Builder samlOptions(CfnSecurityConfig.SamlConfigOptionsProperty samlOptions) SAML options for the security configuration in the form of a key-value map.- Parameters:
samlOptions
- SAML options for the security configuration in the form of a key-value map. This parameter is required.- Returns:
this
-
samlOptions
SAML options for the security configuration in the form of a key-value map.- Parameters:
samlOptions
- SAML options for the security configuration in the form of a key-value map. This parameter is required.- Returns:
this
-
type
The type of security configuration.Currently the only option is
saml
.- Parameters:
type
- The type of security configuration. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSecurityConfig>
- Returns:
- a newly built instance of
CfnSecurityConfig
.
-