@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.236Z") @Stability(value=Stable) public class CfnStudio extends CfnResource implements IInspectable
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")
.idpAuthUrl("idpAuthUrl")
.idpRelayStateParameterName("idpRelayStateParameterName")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.userRole("userRole")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnStudio.Builder
A fluent builder for
CfnStudio. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnStudio(software.constructs.Construct scope,
String id,
CfnStudioProps props)
Create a new `AWS::EMR::Studio`.
|
protected |
CfnStudio(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnStudio(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrArn()
The Amazon Resource Name (ARN) of the Amazon EMR Studio.
|
String |
getAttrStudioId()
The ID of the Amazon EMR Studio.
|
String |
getAttrUrl()
The unique access URL of the Amazon EMR Studio.
|
String |
getAuthMode()
Specifies whether the Studio authenticates users using AWS SSO or IAM.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDefaultS3Location()
The Amazon S3 location to back up EMR Studio Workspaces and notebook files.
|
String |
getDescription()
A detailed description of the Amazon EMR Studio.
|
String |
getEngineSecurityGroupId()
The ID of the Amazon EMR Studio Engine security group.
|
String |
getIdpAuthUrl()
Your identity provider's authentication endpoint.
|
String |
getIdpRelayStateParameterName()
The name of your identity provider's `RelayState` parameter.
|
String |
getName()
A descriptive name for the Amazon EMR Studio.
|
String |
getServiceRole()
The Amazon Resource Name (ARN) of the IAM role that will be assumed by the Amazon EMR Studio.
|
List<String> |
getSubnetIds()
A list of subnet IDs to associate with the Amazon EMR Studio.
|
TagManager |
getTags()
An array of key-value pairs to apply to this resource.
|
String |
getUserRole()
The Amazon Resource Name (ARN) of the IAM user role that will be assumed by users and groups logged in to a Studio.
|
String |
getVpcId()
The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.
|
String |
getWorkspaceSecurityGroupId()
The ID of the Workspace security group associated with the Amazon EMR Studio.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAuthMode(String value)
Specifies whether the Studio authenticates users using AWS SSO or IAM.
|
void |
setDefaultS3Location(String value)
The Amazon S3 location to back up EMR Studio Workspaces and notebook files.
|
void |
setDescription(String value)
A detailed description of the Amazon EMR Studio.
|
void |
setEngineSecurityGroupId(String value)
The ID of the Amazon EMR Studio Engine security group.
|
void |
setIdpAuthUrl(String value)
Your identity provider's authentication endpoint.
|
void |
setIdpRelayStateParameterName(String value)
The name of your identity provider's `RelayState` parameter.
|
void |
setName(String value)
A descriptive name for the Amazon EMR Studio.
|
void |
setServiceRole(String value)
The Amazon Resource Name (ARN) of the IAM role that will be assumed by the Amazon EMR Studio.
|
void |
setSubnetIds(List<String> value)
A list of subnet IDs to associate with the Amazon EMR Studio.
|
void |
setUserRole(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.
|
void |
setVpcId(String value)
The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.
|
void |
setWorkspaceSecurityGroupId(String value)
The ID of the Workspace security group associated with the Amazon EMR Studio.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnStudio(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnStudio(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnStudio(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnStudioProps props)
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.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrArn()
For example: arn:aws:elasticmapreduce:us-east-1:653XXXXXXXXX:studio/es-EXAMPLE12345678XXXXXXXXXXX .
@Stability(value=Stable) @NotNull public String getAttrStudioId()
For example: es-EXAMPLE12345678XXXXXXXXXXX .
@Stability(value=Stable) @NotNull public String getAttrUrl()
For example: https://es-EXAMPLE12345678XXXXXXXXXXX.emrstudio-prod.us-east-1.amazonaws.com .
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public TagManager getTags()
For more information, see Tag .
@Stability(value=Stable) @NotNull public String getAuthMode()
@Stability(value=Stable)
public void setAuthMode(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getDefaultS3Location()
@Stability(value=Stable)
public void setDefaultS3Location(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getEngineSecurityGroupId()
The Engine security group allows inbound network traffic from the Workspace security group, and it must be in the same VPC specified by VpcId .
@Stability(value=Stable)
public void setEngineSecurityGroupId(@NotNull
String value)
The Engine security group allows inbound network traffic from the Workspace security group, and it must be in the same VPC specified by VpcId .
@Stability(value=Stable) @NotNull public String getName()
@Stability(value=Stable)
public void setName(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getServiceRole()
The service role provides a way for Amazon EMR Studio to interoperate with other AWS services.
@Stability(value=Stable)
public void setServiceRole(@NotNull
String value)
The service role provides a way for Amazon EMR Studio to interoperate with other AWS services.
@Stability(value=Stable) @NotNull public List<String> getSubnetIds()
A Studio can have a maximum of 5 subnets. The subnets must belong to the VPC specified by VpcId . Studio users can create a Workspace in any of the specified subnets.
@Stability(value=Stable)
public void setSubnetIds(@NotNull
List<String> value)
A Studio can have a maximum of 5 subnets. The subnets must belong to the VPC specified by VpcId . Studio users can create a Workspace in any of the specified subnets.
@Stability(value=Stable) @NotNull public String getVpcId()
@Stability(value=Stable)
public void setVpcId(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getWorkspaceSecurityGroupId()
The Workspace security group allows outbound network traffic to resources in the Engine security group and to the internet.
@Stability(value=Stable)
public void setWorkspaceSecurityGroupId(@NotNull
String value)
The Workspace security group allows outbound network traffic to resources in the Engine security group and to the internet.
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getIdpAuthUrl()
Amazon EMR Studio redirects federated users to this endpoint for authentication when logging in to a Studio with the Studio URL.
@Stability(value=Stable)
public void setIdpAuthUrl(@Nullable
String value)
Amazon EMR Studio redirects federated users to this endpoint for authentication when logging in to a Studio with the Studio URL.
@Stability(value=Stable) @Nullable public String getIdpRelayStateParameterName()
@Stability(value=Stable)
public void setIdpRelayStateParameterName(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getUserRole()
The permissions attached to this IAM role can be scoped down for each user or group using session policies. You only need to specify UserRole when you set AuthMode to SSO .
@Stability(value=Stable)
public void setUserRole(@Nullable
String value)
The permissions attached to this IAM role can be scoped down for each user or group using session policies. You only need to specify UserRole when you set AuthMode to SSO .
Copyright © 2022. All rights reserved.