CfnStudioProps Struct
Properties for defining a CfnStudio.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_emr as emr } from 'aws-cdk-lib';
const cfnStudioProps: emr.CfnStudioProps = {
authMode: 'authMode',
defaultS3Location: 'defaultS3Location',
engineSecurityGroupId: 'engineSecurityGroupId',
name: 'name',
serviceRole: 'serviceRole',
subnetIds: ['subnetIds'],
vpcId: 'vpcId',
workspaceSecurityGroupId: 'workspaceSecurityGroupId',
// the properties below are optional
description: 'description',
encryptionKeyArn: 'encryptionKeyArn',
idcInstanceArn: 'idcInstanceArn',
idcUserAssignment: 'idcUserAssignment',
idpAuthUrl: 'idpAuthUrl',
idpRelayStateParameterName: 'idpRelayStateParameterName',
tags: [{
key: 'key',
value: 'value',
}],
trustedIdentityPropagationEnabled: false,
userRole: 'userRole',
};
from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_emr as emr
cfn_studio_props = emr.CfnStudioProps(
auth_mode="authMode",
default_s3_location="defaultS3Location",
engine_security_group_id="engineSecurityGroupId",
name="name",
service_role="serviceRole",
subnet_ids=["subnetIds"],
vpc_id="vpcId",
workspace_security_group_id="workspaceSecurityGroupId",
# the properties below are optional
description="description",
encryption_key_arn="encryptionKeyArn",
idc_instance_arn="idcInstanceArn",
idc_user_assignment="idcUserAssignment",
idp_auth_url="idpAuthUrl",
idp_relay_state_parameter_name="idpRelayStateParameterName",
tags=[CfnTag(
key="key",
value="value"
)],
trusted_identity_propagation_enabled=False,
user_role="userRole"
)
// 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.*;
CfnStudioProps cfnStudioProps = CfnStudioProps.builder()
.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();
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.EMR;
var cfnStudioProps = new CfnStudioProps {
AuthMode = "authMode",
DefaultS3Location = "defaultS3Location",
EngineSecurityGroupId = "engineSecurityGroupId",
Name = "name",
ServiceRole = "serviceRole",
SubnetIds = new [] { "subnetIds" },
VpcId = "vpcId",
WorkspaceSecurityGroupId = "workspaceSecurityGroupId",
// the properties below are optional
Description = "description",
EncryptionKeyArn = "encryptionKeyArn",
IdcInstanceArn = "idcInstanceArn",
IdcUserAssignment = "idcUserAssignment",
IdpAuthUrl = "idpAuthUrl",
IdpRelayStateParameterName = "idpRelayStateParameterName",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TrustedIdentityPropagationEnabled = false,
UserRole = "userRole"
};
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnStudioProps := &CfnStudioProps{
AuthMode: jsii.String("authMode"),
DefaultS3Location: jsii.String("defaultS3Location"),
EngineSecurityGroupId: jsii.String("engineSecurityGroupId"),
Name: jsii.String("name"),
ServiceRole: jsii.String("serviceRole"),
SubnetIds: []interface{}{
jsii.String("subnetIds"),
},
VpcId: jsii.String("vpcId"),
WorkspaceSecurityGroupId: jsii.String("workspaceSecurityGroupId"),
// the properties below are optional
Description: jsii.String("description"),
EncryptionKeyArn: jsii.String("encryptionKeyArn"),
IdcInstanceArn: jsii.String("idcInstanceArn"),
IdcUserAssignment: jsii.String("idcUserAssignment"),
IdpAuthUrl: jsii.String("idpAuthUrl"),
IdpRelayStateParameterName: jsii.String("idpRelayStateParameterName"),
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
TrustedIdentityPropagationEnabled: jsii.Boolean(false),
UserRole: jsii.String("userRole"),
}
Properties
defaultS3Locationstring | IBucketRefdefault_s3_locationtyping.Union[str, IBucketRef]defaultS3LocationStringDefaultS3LocationstringDefaultS3Locationinterface{}required#descriptionoptionalstringdescriptionoptionalstrdescriptionoptionalStringDescriptionoptionalstringDescriptionoptional*string#encryptionKeyArnoptionalstring | IKeyRefencryption_key_arnoptionaltyping.Union[str, IKeyRef]encryptionKeyArnoptionalStringEncryptionKeyArnoptionalstringEncryptionKeyArnoptionalinterface{}#engineSecurityGroupIdstring | ISecurityGroupRefengine_security_group_idtyping.Union[str, ISecurityGroupRef]engineSecurityGroupIdStringEngineSecurityGroupIdstringEngineSecurityGroupIdinterface{}required#The Engine security group allows inbound network traffic from the Workspace security group, and it must be in the same VPC specified by VpcId .
idcInstanceArnoptionalstringidc_instance_arnoptionalstridcInstanceArnoptionalStringIdcInstanceArnoptionalstringIdcInstanceArnoptional*string#idcUserAssignmentoptionalstringidc_user_assignmentoptionalstridcUserAssignmentoptionalStringIdcUserAssignmentoptionalstringIdcUserAssignmentoptional*string#If the value is set to REQUIRED , users must be explicitly assigned to the Studio application to access the Studio.
idpAuthUrloptionalstringidp_auth_urloptionalstridpAuthUrloptionalStringIdpAuthUrloptionalstringIdpAuthUrloptional*string#Amazon EMR Studio redirects federated users to this endpoint for authentication when logging in to a Studio with the Studio URL.
idpRelayStateParameterNameoptionalstringidp_relay_state_parameter_nameoptionalstridpRelayStateParameterNameoptionalStringIdpRelayStateParameterNameoptionalstringIdpRelayStateParameterNameoptional*string#serviceRolestring | IRoleRefservice_roletyping.Union[str, IRoleRef]serviceRoleStringServiceRolestringServiceRoleinterface{}required#The service role provides a way for Amazon EMR Studio to interoperate with other AWS services.
subnetIdsstring | ISubnetRef[]subnet_idstyping.List[typing.Union[str, ISubnetRef]]subnetIdsList<String>SubnetIdsstring[]SubnetIds*[]interface{}required#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.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#For more information, see Tag .
trustedIdentityPropagationEnabledoptionalboolean | IResolvabletrusted_identity_propagation_enabledoptionaltyping.Union[bool, IResolvable]trustedIdentityPropagationEnabledoptionalBooleanTrustedIdentityPropagationEnabledoptionalboolTrustedIdentityPropagationEnabledoptionalinterface{}#The default value is false .
userRoleoptionalstring | IRoleRefuser_roleoptionaltyping.Union[str, IRoleRef]userRoleoptionalStringUserRoleoptionalstringUserRoleoptionalinterface{}#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 .
vpcIdstring | IVPCRefvpc_idtyping.Union[str, IVPCRef]vpcIdStringVpcIdstringVpcIdinterface{}required#workspaceSecurityGroupIdstring | ISecurityGroupRefworkspace_security_group_idtyping.Union[str, ISecurityGroupRef]workspaceSecurityGroupIdStringWorkspaceSecurityGroupIdstringWorkspaceSecurityGroupIdinterface{}required#The Workspace security group allows outbound network traffic to resources in the Engine security group and to the internet.