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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAt-rest encryption configuration.static interfaceAuthentication configuration for the security configuration.static interfaceAuthorization configuration for the security configuration.static final classA fluent builder forCfnSecurityConfiguration.static interfaceContainer information.static interfaceContainer provider information.static interfaceEKS information.static interfaceEncryption configuration for the security configuration.static interfaceIAM configuration.static interfaceIdentity Center configuration.static interfaceIn-transit encryption configuration.static interfaceLake Formation configuration.static interfaceLocal disk encryption configuration.static interfaceS3 encryption configuration.static interfaceSecure namespace information for Lake Formation.static interfaceSecurity configuration data containing encryption and authorization settings.static interfaceTLS certificate configuration for in-transit encryption.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.emrcontainers.ISecurityConfigurationRef
ISecurityConfigurationRef.Jsii$Default, ISecurityConfigurationRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnSecurityConfiguration(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnSecurityConfiguration(software.amazon.jsii.JsiiObjectRef objRef) CfnSecurityConfiguration(software.constructs.Construct scope, String id, CfnSecurityConfigurationProps props) Create a newAWS::EMRContainers::SecurityConfiguration. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringThe ARN of the security configuration.The ID of the security configuration.Tag Manager which manages the tags for this resource.Container provider information.getName()The name of the security configuration.Security configuration data containing encryption and authorization settings.A reference to a SecurityConfiguration resource.getTags()An array of key-value pairs to apply to this security configuration.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnSecurityConfiguration.renderProperties(Map<String, Object> props) voidsetContainerProvider(IResolvable value) Container provider information.voidContainer provider information.voidThe name of the security configuration.voidSecurity configuration data containing encryption and authorization settings.voidSecurity configuration data containing encryption and authorization settings.voidAn array of key-value pairs to apply to this security configuration.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
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 newAWS::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
Checks whether the given object is a CfnSecurityConfiguration.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- 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:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrArn
The ARN of the security configuration. -
getAttrId
The ID of the security configuration. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManagerin interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getSecurityConfigurationRef
A reference to a SecurityConfiguration resource.- Specified by:
getSecurityConfigurationRefin interfaceISecurityConfigurationRef
-
getSecurityConfigurationData
Security configuration data containing encryption and authorization settings.Returns union: either
IResolvableorCfnSecurityConfiguration.SecurityConfigurationDataProperty -
setSecurityConfigurationData
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
Container provider information.Returns union: either
IResolvableorCfnSecurityConfiguration.ContainerProviderProperty -
setContainerProvider
Container provider information. -
setContainerProvider
@Stability(Stable) public void setContainerProvider(@Nullable CfnSecurityConfiguration.ContainerProviderProperty value) Container provider information. -
getName
The name of the security configuration. -
setName
The name of the security configuration. -
getTags
An array of key-value pairs to apply to this security configuration. -
setTags
An array of key-value pairs to apply to this security configuration.
-