Class CfnSecurityConfiguration

All Implemented Interfaces:
IConstruct, IDependable, IInspectable,, software.constructs.IConstruct

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:56.655Z") @Stability(Stable) public class CfnSecurityConfiguration extends CfnResource implements IInspectable
A CloudFormation AWS::EMR::SecurityConfiguration.

Use a SecurityConfiguration resource to configure data encryption, Kerberos authentication (available in Amazon EMR release version 5.10.0 and later), and Amazon S3 authorization for EMRFS (available in EMR 5.10.0 and later). You can re-use a security configuration for any number of clusters in your account. For more information and example security configuration JSON objects, see Create a Security Configuration in the Amazon EMR Management Guide .


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 Object securityConfiguration;
 CfnSecurityConfiguration cfnSecurityConfiguration = CfnSecurityConfiguration.Builder.create(this, "MyCfnSecurityConfiguration")
         // the properties below are optional
  • Field Details


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

    • CfnSecurityConfiguration

      protected CfnSecurityConfiguration( objRef)
    • CfnSecurityConfiguration

      protected CfnSecurityConfiguration( initializationMode)
    • CfnSecurityConfiguration

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

      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.
      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
      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)
      renderProperties in class CfnResource
      props - This parameter is required.
    • getCfnProperties

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

      @Stability(Stable) @NotNull public Object getSecurityConfiguration()
      The security configuration details in JSON format.
    • setSecurityConfiguration

      @Stability(Stable) public void setSecurityConfiguration(@NotNull Object value)
      The security configuration details in JSON format.
    • 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.