Create Studio
emr_create_studio | R Documentation |
Creates a new Amazon EMR Studio¶
Description¶
Creates a new Amazon EMR Studio.
Usage¶
emr_create_studio(Name, Description, AuthMode, VpcId, SubnetIds,
ServiceRole, UserRole, WorkspaceSecurityGroupId, EngineSecurityGroupId,
DefaultS3Location, IdpAuthUrl, IdpRelayStateParameterName, Tags,
TrustedIdentityPropagationEnabled, IdcUserAssignment, IdcInstanceArn,
EncryptionKeyArn)
Arguments¶
Name
[required] A descriptive name for the Amazon EMR Studio.
Description
A detailed description of the Amazon EMR Studio.
AuthMode
[required] Specifies whether the Studio authenticates users using IAM or IAM Identity Center.
VpcId
[required] The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate with the Studio.
SubnetIds
[required] A list of subnet IDs to associate with the Amazon EMR Studio. 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.ServiceRole
[required] The IAM role that the Amazon EMR Studio assumes. The service role provides a way for Amazon EMR Studio to interoperate with other Amazon Web Services services.
UserRole
The IAM user role that users and groups assume when logged in to an Amazon EMR Studio. Only specify a
UserRole
when you use IAM Identity Center authentication. The permissions attached to theUserRole
can be scoped down for each user or group using session policies.WorkspaceSecurityGroupId
[required] The ID of the Amazon EMR Studio Workspace security group. The Workspace security group allows outbound network traffic to resources in the Engine security group, and it must be in the same VPC specified by
VpcId
.EngineSecurityGroupId
[required] The ID of the Amazon EMR Studio Engine security group. The Engine security group allows inbound network traffic from the Workspace security group, and it must be in the same VPC specified by
VpcId
.DefaultS3Location
[required] The Amazon S3 location to back up Amazon EMR Studio Workspaces and notebook files.
IdpAuthUrl
The authentication endpoint of your identity provider (IdP). Specify this value when you use IAM authentication and want to let federated users log in to a Studio with the Studio URL and credentials from your IdP. Amazon EMR Studio redirects users to this endpoint to enter credentials.
IdpRelayStateParameterName
The name that your identity provider (IdP) uses for its
RelayState
parameter. For example,RelayState
orTargetSource
. Specify this value when you use IAM authentication and want to let federated users log in to a Studio using the Studio URL. TheRelayState
parameter differs by IdP.Tags
A list of tags to associate with the Amazon EMR Studio. Tags are user-defined key-value pairs that consist of a required key string with a maximum of 128 characters, and an optional value string with a maximum of 256 characters.
TrustedIdentityPropagationEnabled
A Boolean indicating whether to enable Trusted identity propagation for the Studio. The default value is
false
.IdcUserAssignment
Specifies whether IAM Identity Center user assignment is
REQUIRED
orOPTIONAL
. If the value is set toREQUIRED
, users must be explicitly assigned to the Studio application to access the Studio.IdcInstanceArn
The ARN of the IAM Identity Center instance to create the Studio application.
EncryptionKeyArn
The KMS key identifier (ARN) used to encrypt Amazon EMR Studio workspace and notebook files when backed up to Amazon S3.
Value¶
A list with the following syntax:
Request syntax¶
svc$create_studio(
Name = "string",
Description = "string",
AuthMode = "SSO"|"IAM",
VpcId = "string",
SubnetIds = list(
"string"
),
ServiceRole = "string",
UserRole = "string",
WorkspaceSecurityGroupId = "string",
EngineSecurityGroupId = "string",
DefaultS3Location = "string",
IdpAuthUrl = "string",
IdpRelayStateParameterName = "string",
Tags = list(
list(
Key = "string",
Value = "string"
)
),
TrustedIdentityPropagationEnabled = TRUE|FALSE,
IdcUserAssignment = "REQUIRED"|"OPTIONAL",
IdcInstanceArn = "string",
EncryptionKeyArn = "string"
)