Class CfnSecurityConfiguration

java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.emrcontainers.CfnSecurityConfiguration
All Implemented Interfaces:
IInspectable, ISecurityConfigurationRef, IEnvironmentAware, ITaggableV2, software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct, software.constructs.IDependable

@Generated(value="jsii-pacmak/1.126.0 (build 206d44b)", date="2026-02-03T13:58:23.402Z") @Stability(Stable) public class CfnSecurityConfiguration extends CfnResource implements IInspectable, ISecurityConfigurationRef, ITaggableV2
Resource Schema of AWS::EMRContainers::SecurityConfiguration Type.

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.emrcontainers.*;
 CfnSecurityConfiguration cfnSecurityConfiguration = CfnSecurityConfiguration.Builder.create(this, "MyCfnSecurityConfiguration")
         .securityConfigurationData(SecurityConfigurationDataProperty.builder()
                 .authenticationConfiguration(AuthenticationConfigurationProperty.builder()
                         .iamConfiguration(Map.of(
                                 "systemRole", "systemRole"))
                         .identityCenterConfiguration(IdentityCenterConfigurationProperty.builder()
                                 .enableIdentityCenter(false)
                                 .identityCenterApplicationAssignmentRequired(false)
                                 .identityCenterInstanceArn("identityCenterInstanceArn")
                                 .build())
                         .build())
                 .authorizationConfiguration(AuthorizationConfigurationProperty.builder()
                         .lakeFormationConfiguration(LakeFormationConfigurationProperty.builder()
                                 .authorizedSessionTagValue("authorizedSessionTagValue")
                                 .queryAccessControlEnabled(false)
                                 .queryEngineRoleArn("queryEngineRoleArn")
                                 .secureNamespaceInfo(SecureNamespaceInfoProperty.builder()
                                         .clusterId("clusterId")
                                         .namespace("namespace")
                                         .build())
                                 .build())
                         .build())
                 .encryptionConfiguration(EncryptionConfigurationProperty.builder()
                         .atRestEncryptionConfiguration(AtRestEncryptionConfigurationProperty.builder()
                                 .localDiskEncryptionConfiguration(LocalDiskEncryptionConfigurationProperty.builder()
                                         .awsKmsKeyId("awsKmsKeyId")
                                         .encryptionKeyProviderType("encryptionKeyProviderType")
                                         .build())
                                 .s3EncryptionConfiguration(S3EncryptionConfigurationProperty.builder()
                                         .encryptionOption("encryptionOption")
                                         .kmsKeyId("kmsKeyId")
                                         .build())
                                 .build())
                         .inTransitEncryptionConfiguration(InTransitEncryptionConfigurationProperty.builder()
                                 .tlsCertificateConfiguration(TLSCertificateConfigurationProperty.builder()
                                         .certificateProviderType("certificateProviderType")
                                         .privateKeySecretArn("privateKeySecretArn")
                                         .publicKeySecretArn("publicKeySecretArn")
                                         .build())
                                 .build())
                         .build())
                 .build())
         // the properties below are optional
         .containerProvider(ContainerProviderProperty.builder()
                 .id("id")
                 .type("type")
                 // the properties below are optional
                 .info(ContainerInfoProperty.builder()
                         .eksInfo(EksInfoProperty.builder()
                                 .namespace("namespace")
                                 .build())
                         .build())
                 .build())
         .name("name")
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also:
  • 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

    • CfnSecurityConfiguration

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

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

      @Stability(Stable) public CfnSecurityConfiguration(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnSecurityConfigurationProps props)
      Create a new AWS::EMRContainers::SecurityConfiguration.

      Parameters:
      scope - Scope in which this resource is defined. This parameter is required.
      id - Construct identifier for this resource (unique in its scope). This parameter is required.
      props - Resource properties. This parameter is required.
  • Method Details

    • arnForSecurityConfiguration

      @Stability(Stable) @NotNull public static String arnForSecurityConfiguration(@NotNull ISecurityConfigurationRef resource)
      Parameters:
      resource - This parameter is required.
    • isCfnSecurityConfiguration

      @Stability(Stable) @NotNull public static Boolean isCfnSecurityConfiguration(@NotNull Object x)
      Checks whether the given object is a CfnSecurityConfiguration.

      Parameters:
      x - This parameter is required.
    • 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.
    • getAttrArn

      @Stability(Stable) @NotNull public String getAttrArn()
      The ARN of the security configuration.
    • getAttrId

      @Stability(Stable) @NotNull public String getAttrId()
      The ID of the security configuration.
    • getCdkTagManager

      @Stability(Stable) @NotNull public TagManager getCdkTagManager()
      Tag Manager which manages the tags for this resource.
      Specified by:
      getCdkTagManager in interface ITaggableV2
    • getCfnProperties

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

      @Stability(Stable) @NotNull public SecurityConfigurationReference getSecurityConfigurationRef()
      A reference to a SecurityConfiguration resource.
      Specified by:
      getSecurityConfigurationRef in interface ISecurityConfigurationRef
    • getSecurityConfigurationData

      @Stability(Stable) @NotNull public Object getSecurityConfigurationData()
      Security configuration data containing encryption and authorization settings.

      Returns union: either IResolvable or CfnSecurityConfiguration.SecurityConfigurationDataProperty

    • setSecurityConfigurationData

      @Stability(Stable) public void setSecurityConfigurationData(@NotNull IResolvable value)
      Security configuration data containing encryption and authorization settings.
    • setSecurityConfigurationData

      @Stability(Stable) public void setSecurityConfigurationData(@NotNull CfnSecurityConfiguration.SecurityConfigurationDataProperty value)
      Security configuration data containing encryption and authorization settings.
    • getContainerProvider

      @Stability(Stable) @Nullable public Object getContainerProvider()
      Container provider information.

      Returns union: either IResolvable or CfnSecurityConfiguration.ContainerProviderProperty

    • setContainerProvider

      @Stability(Stable) public void setContainerProvider(@Nullable IResolvable value)
      Container provider information.
    • setContainerProvider

      @Stability(Stable) public void setContainerProvider(@Nullable CfnSecurityConfiguration.ContainerProviderProperty value)
      Container provider information.
    • 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.
    • getTags

      @Stability(Stable) @Nullable public List<CfnTag> getTags()
      An array of key-value pairs to apply to this security configuration.
    • setTags

      @Stability(Stable) public void setTags(@Nullable List<CfnTag> value)
      An array of key-value pairs to apply to this security configuration.