Class CfnStudio
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.emr.CfnStudio
- All Implemented Interfaces:
IInspectable,IStudioRef,IEnvironmentAware,ITaggable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:05.862Z")
@Stability(Stable)
public class CfnStudio
extends CfnResource
implements IInspectable, IStudioRef, ITaggable
The
AWS::EMR::Studio resource specifies an Amazon EMR Studio.
An EMR Studio is a web-based, integrated development environment for fully managed Jupyter notebooks that run on Amazon EMR clusters. For more information, see the Amazon EMR Management Guide .
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.emr.*;
CfnStudio cfnStudio = CfnStudio.Builder.create(this, "MyCfnStudio")
.authMode("authMode")
.defaultS3Location("defaultS3Location")
.engineSecurityGroupId("engineSecurityGroupId")
.name("name")
.serviceRole("serviceRole")
.subnetIds(List.of("subnetIds"))
.vpcId("vpcId")
.workspaceSecurityGroupId("workspaceSecurityGroupId")
// the properties below are optional
.description("description")
.encryptionKeyArn("encryptionKeyArn")
.idcInstanceArn("idcInstanceArn")
.idcUserAssignment("idcUserAssignment")
.idpAuthUrl("idpAuthUrl")
.idpRelayStateParameterName("idpRelayStateParameterName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.trustedIdentityPropagationEnabled(false)
.userRole("userRole")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesNested 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.emr.IStudioRef
IStudioRef.Jsii$Default, IStudioRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.ITaggable
ITaggable.Jsii$Default, ITaggable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnStudio(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnStudio(software.amazon.jsii.JsiiObjectRef objRef) CfnStudio(software.constructs.Construct scope, String id, CfnStudioProps props) Create a newAWS::EMR::Studio. -
Method Summary
Modifier and TypeMethodDescriptionstatic IStudioReffromStudioArn(software.constructs.Construct scope, String id, String arn) Creates a new IStudioRef from an ARN.static IStudioReffromStudioId(software.constructs.Construct scope, String id, String studioId) Creates a new IStudioRef from a studioId.The Amazon Resource Name (ARN) of the Amazon EMR Studio.The ID of the Amazon EMR Studio.The unique access URL of the Amazon EMR Studio.Specifies whether the Studio authenticates users using IAM Identity Center or IAM.The Amazon S3 location to back up EMR Studio Workspaces and notebook files.A detailed description of the Amazon EMR Studio.The AWS KMS key identifier (ARN) used to encrypt Amazon EMR Studio workspace and notebook files when backed up to Amazon S3.The ID of the Amazon EMR Studio Engine security group.The ARN of the IAM Identity Center instance the Studio application belongs to.Indicates whether the Studio hasREQUIREDorOPTIONALIAM Identity Center user assignment.Your identity provider's authentication endpoint.The name of your identity provider'sRelayStateparameter.getName()A descriptive name for the Amazon EMR Studio.The Amazon Resource Name (ARN) of the IAM role that will be assumed by the Amazon EMR Studio.A reference to a Studio resource.A list of subnet IDs to associate with the Amazon EMR Studio.getTags()Tag Manager which manages the tags for this resource.An array of key-value pairs to apply to this resource.Indicates whether the Studio has Trusted identity propagation enabled.The Amazon Resource Name (ARN) of the IAM user role that will be assumed by users and groups logged in to a Studio.getVpcId()The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.The ID of the Workspace security group associated with the Amazon EMR Studio.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAuthMode(String value) Specifies whether the Studio authenticates users using IAM Identity Center or IAM.voidsetDefaultS3Location(String value) The Amazon S3 location to back up EMR Studio Workspaces and notebook files.voidsetDescription(String value) A detailed description of the Amazon EMR Studio.voidsetEncryptionKeyArn(String value) The AWS KMS key identifier (ARN) used to encrypt Amazon EMR Studio workspace and notebook files when backed up to Amazon S3.voidsetEngineSecurityGroupId(String value) The ID of the Amazon EMR Studio Engine security group.voidsetIdcInstanceArn(String value) The ARN of the IAM Identity Center instance the Studio application belongs to.voidsetIdcUserAssignment(String value) Indicates whether the Studio hasREQUIREDorOPTIONALIAM Identity Center user assignment.voidsetIdpAuthUrl(String value) Your identity provider's authentication endpoint.voidThe name of your identity provider'sRelayStateparameter.voidA descriptive name for the Amazon EMR Studio.voidsetServiceRole(String value) The Amazon Resource Name (ARN) of the IAM role that will be assumed by the Amazon EMR Studio.voidsetSubnetIds(List<String> value) A list of subnet IDs to associate with the Amazon EMR Studio.voidsetTagsRaw(List<CfnTag> value) An array of key-value pairs to apply to this resource.voidIndicates whether the Studio has Trusted identity propagation enabled.voidIndicates whether the Studio has Trusted identity propagation enabled.voidsetUserRole(String value) The Amazon Resource Name (ARN) of the IAM user role that will be assumed by users and groups logged in to a Studio.voidThe ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.voidThe ID of the Workspace security group associated with the Amazon EMR Studio.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
-
CfnStudio
protected CfnStudio(software.amazon.jsii.JsiiObjectRef objRef) -
CfnStudio
protected CfnStudio(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnStudio
@Stability(Stable) public CfnStudio(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnStudioProps props) Create a newAWS::EMR::Studio.- 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
-
fromStudioArn
@Stability(Stable) @NotNull public static IStudioRef fromStudioArn(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String arn) Creates a new IStudioRef from an ARN.- Parameters:
scope- This parameter is required.id- This parameter is required.arn- This parameter is required.
-
fromStudioId
@Stability(Stable) @NotNull public static IStudioRef fromStudioId(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull String studioId) Creates a new IStudioRef from a studioId.- Parameters:
scope- This parameter is required.id- This parameter is required.studioId- 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 Amazon Resource Name (ARN) of the Amazon EMR Studio.For example:
arn:aws:elasticmapreduce:us-east-1:653XXXXXXXXX:studio/es-EXAMPLE12345678XXXXXXXXXXX. -
getAttrStudioId
The ID of the Amazon EMR Studio.For example:
es-EXAMPLE12345678XXXXXXXXXXX. -
getAttrUrl
The unique access URL of the Amazon EMR Studio.For example:
https://es-EXAMPLE12345678XXXXXXXXXXX.emrstudio-prod.us-east-1.amazonaws.com. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getStudioRef
A reference to a Studio resource.- Specified by:
getStudioRefin interfaceIStudioRef
-
getTags
Tag Manager which manages the tags for this resource. -
getAuthMode
Specifies whether the Studio authenticates users using IAM Identity Center or IAM. -
setAuthMode
Specifies whether the Studio authenticates users using IAM Identity Center or IAM. -
getDefaultS3Location
The Amazon S3 location to back up EMR Studio Workspaces and notebook files. -
setDefaultS3Location
The Amazon S3 location to back up EMR Studio Workspaces and notebook files. -
getEngineSecurityGroupId
The ID of the Amazon EMR Studio Engine security group. -
setEngineSecurityGroupId
The ID of the Amazon EMR Studio Engine security group. -
getName
A descriptive name for the Amazon EMR Studio. -
setName
A descriptive name for the Amazon EMR Studio. -
getServiceRole
The Amazon Resource Name (ARN) of the IAM role that will be assumed by the Amazon EMR Studio. -
setServiceRole
The Amazon Resource Name (ARN) of the IAM role that will be assumed by the Amazon EMR Studio. -
getSubnetIds
A list of subnet IDs to associate with the Amazon EMR Studio. -
setSubnetIds
A list of subnet IDs to associate with the Amazon EMR Studio. -
getVpcId
The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio. -
setVpcId
The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio. -
getWorkspaceSecurityGroupId
The ID of the Workspace security group associated with the Amazon EMR Studio. -
setWorkspaceSecurityGroupId
The ID of the Workspace security group associated with the Amazon EMR Studio. -
getDescription
A detailed description of the Amazon EMR Studio. -
setDescription
A detailed description of the Amazon EMR Studio. -
getEncryptionKeyArn
The AWS KMS key identifier (ARN) used to encrypt Amazon EMR Studio workspace and notebook files when backed up to Amazon S3. -
setEncryptionKeyArn
The AWS KMS key identifier (ARN) used to encrypt Amazon EMR Studio workspace and notebook files when backed up to Amazon S3. -
getIdcInstanceArn
The ARN of the IAM Identity Center instance the Studio application belongs to. -
setIdcInstanceArn
The ARN of the IAM Identity Center instance the Studio application belongs to. -
getIdcUserAssignment
Indicates whether the Studio hasREQUIREDorOPTIONALIAM Identity Center user assignment. -
setIdcUserAssignment
Indicates whether the Studio hasREQUIREDorOPTIONALIAM Identity Center user assignment. -
getIdpAuthUrl
Your identity provider's authentication endpoint. -
setIdpAuthUrl
Your identity provider's authentication endpoint. -
getIdpRelayStateParameterName
The name of your identity provider'sRelayStateparameter. -
setIdpRelayStateParameterName
The name of your identity provider'sRelayStateparameter. -
getTagsRaw
An array of key-value pairs to apply to this resource. -
setTagsRaw
An array of key-value pairs to apply to this resource. -
getTrustedIdentityPropagationEnabled
Indicates whether the Studio has Trusted identity propagation enabled.Returns union: either
BooleanorIResolvable -
setTrustedIdentityPropagationEnabled
Indicates whether the Studio has Trusted identity propagation enabled. -
setTrustedIdentityPropagationEnabled
Indicates whether the Studio has Trusted identity propagation enabled. -
getUserRole
The Amazon Resource Name (ARN) of the IAM user role that will be assumed by users and groups logged in to a Studio. -
setUserRole
The Amazon Resource Name (ARN) of the IAM user role that will be assumed by users and groups logged in to a Studio.
-