Class CfnSecurityConfig

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
All Implemented Interfaces:
IConstruct, IDependable, IInspectable, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:00.555Z") @Stability(Stable) public class CfnSecurityConfig extends CfnResource implements IInspectable
A CloudFormation AWS::OpenSearchServerless::SecurityConfig.

Specifies a security configuration for OpenSearch Serverless. For more information, see SAML authentication for Amazon OpenSearch Serverless .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.opensearchserverless.*;
 CfnSecurityConfig cfnSecurityConfig = CfnSecurityConfig.Builder.create(this, "MyCfnSecurityConfig")
         .description("description")
         .name("name")
         .samlOptions(SamlConfigOptionsProperty.builder()
                 .metadata("metadata")
                 // the properties below are optional
                 .groupAttribute("groupAttribute")
                 .sessionTimeout(123)
                 .userAttribute("userAttribute")
                 .build())
         .type("type")
         .build();
 
  • Field Details

    • CFN_RESOURCE_TYPE_NAME

      @Stability(Stable) public static final String CFN_RESOURCE_TYPE_NAME
      The CloudFormation resource type name for this resource class.
  • Constructor Details

    • CfnSecurityConfig

      protected CfnSecurityConfig(software.amazon.jsii.JsiiObjectRef objRef)
    • CfnSecurityConfig

      protected CfnSecurityConfig(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • CfnSecurityConfig

      @Stability(Stable) public CfnSecurityConfig(@NotNull Construct scope, @NotNull String id, @Nullable CfnSecurityConfigProps props)
      Create a new AWS::OpenSearchServerless::SecurityConfig.

      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      props -
      • resource properties.
    • CfnSecurityConfig

      @Stability(Stable) public CfnSecurityConfig(@NotNull Construct scope, @NotNull String id)
      Create a new AWS::OpenSearchServerless::SecurityConfig.

      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
  • Method Details

    • inspect

      @Stability(Stable) public void inspect(@NotNull TreeInspector inspector)
      Examines the CloudFormation resource and discloses attributes.

      Specified by:
      inspect in interface IInspectable
      Parameters:
      inspector -
      • tree inspector to collect and process attributes.
      This parameter is required.
    • renderProperties

      @Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
      Overrides:
      renderProperties in class CfnResource
      Parameters:
      props - This parameter is required.
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
      The unique identifier of the security configuration.

      For example, saml/123456789012/myprovider .

    • getCfnProperties

      @Stability(Stable) @NotNull protected Map<String,Object> getCfnProperties()
      Overrides:
      getCfnProperties in class CfnResource
    • getDescription

      @Stability(Stable) @Nullable public String getDescription()
      The description of the security configuration.
    • setDescription

      @Stability(Stable) public void setDescription(@Nullable String value)
      The description of the security configuration.
    • getName

      @Stability(Stable) @Nullable public String getName()
      The name of the security configuration.
    • setName

      @Stability(Stable) public void setName(@Nullable String value)
      The name of the security configuration.
    • getSamlOptions

      @Stability(Stable) @Nullable public Object getSamlOptions()
      SAML options for the security configuration in the form of a key-value map.
    • setSamlOptions

      @Stability(Stable) public void setSamlOptions(@Nullable CfnSecurityConfig.SamlConfigOptionsProperty value)
      SAML options for the security configuration in the form of a key-value map.
    • setSamlOptions

      @Stability(Stable) public void setSamlOptions(@Nullable IResolvable value)
      SAML options for the security configuration in the form of a key-value map.
    • getType

      @Stability(Stable) @Nullable public String getType()
      The type of security configuration.

      Currently the only option is saml .

    • setType

      @Stability(Stable) public void setType(@Nullable String value)
      The type of security configuration.

      Currently the only option is saml .