Class CfnStudio
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
AWS::NimbleStudio::Studio.
The AWS::NimbleStudio::Studio resource creates a new studio resource. In , all other resources are contained in a studio.
When creating a studio, two IAM roles must be provided: the admin role and the user role. These roles are assumed by your users when they log in to the portal. The user role must have the AmazonNimbleStudio-StudioUser managed policy attached for the portal to function properly. The Admin Role must have the AmazonNimbleStudio-StudioAdmin managed policy attached for the portal to function properly.
You can optionally specify an AWS Key Management Service key in the StudioEncryptionConfiguration. In Nimble Studio, resource names, descriptions, initialization scripts, and other data you provide are always encrypted at rest using an AWS Key Management Service key. By default, this key is owned by AWS and managed on your behalf. You may provide your own AWS Key Management Service key when calling CreateStudio to encrypt this data using a key that you own and manage. When providing an AWS Key Management Service key during studio creation, creates AWS Key Management Service grants in your account to provide your studio user and admin roles access to these AWS Key Management Service keys. If you delete this grant, the studio will no longer be accessible to your portal users. If you delete the studio AWS Key Management Service key, your studio will no longer be accessible.
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.nimblestudio.*;
CfnStudio cfnStudio = CfnStudio.Builder.create(this, "MyCfnStudio")
.adminRoleArn("adminRoleArn")
.displayName("displayName")
.studioName("studioName")
.userRoleArn("userRoleArn")
// the properties below are optional
.studioEncryptionConfiguration(StudioEncryptionConfigurationProperty.builder()
.keyType("keyType")
// the properties below are optional
.keyArn("keyArn")
.build())
.tags(Map.of(
"tagsKey", "tags"))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnStudio.static interfaceConfiguration of the encryption method that is used for the studio.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe IAM role that studio admins assume when logging in to the Nimble Studio portal.The AWS Region where the studio resource is located.The IAM Identity Center application client ID that is used to integrate with IAM Identity Center , which enables IAM Identity Center users to log into the portal.The unique identifier for the studio resource.The unique identifier for the studio resource.A friendly name for the studio.Configuration of the encryption method that is used for the studio.The name of the studio, as included in the URL when accessing it in the Nimble Studio portal.getTags()An array of key-value pairs to apply to this resource.The IAM role that studio users assume when logging in to the Nimble Studio portal.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetAdminRoleArn(String value) The IAM role that studio admins assume when logging in to the Nimble Studio portal.voidsetDisplayName(String value) A friendly name for the studio.voidConfiguration of the encryption method that is used for the studio.voidConfiguration of the encryption method that is used for the studio.voidsetStudioName(String value) The name of the studio, as included in the URL when accessing it in the Nimble Studio portal.voidsetUserRoleArn(String value) The IAM role that studio users assume when logging in to the Nimble Studio portal.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods 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.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 Construct scope, @NotNull String id, @NotNull CfnStudioProps props) Create a newAWS::NimbleStudio::Studio.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrHomeRegion
The AWS Region where the studio resource is located.For example,
us-west-2. -
getAttrSsoClientId
The IAM Identity Center application client ID that is used to integrate with IAM Identity Center , which enables IAM Identity Center users to log into the portal. -
getAttrStudioId
The unique identifier for the studio resource. -
getAttrStudioUrl
The unique identifier for the studio resource. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getTags
An array of key-value pairs to apply to this resource.For more information, see Tag .
-
getAdminRoleArn
The IAM role that studio admins assume when logging in to the Nimble Studio portal. -
setAdminRoleArn
The IAM role that studio admins assume when logging in to the Nimble Studio portal. -
getDisplayName
A friendly name for the studio. -
setDisplayName
A friendly name for the studio. -
getStudioName
The name of the studio, as included in the URL when accessing it in the Nimble Studio portal. -
setStudioName
The name of the studio, as included in the URL when accessing it in the Nimble Studio portal. -
getUserRoleArn
The IAM role that studio users assume when logging in to the Nimble Studio portal. -
setUserRoleArn
The IAM role that studio users assume when logging in to the Nimble Studio portal. -
getStudioEncryptionConfiguration
Configuration of the encryption method that is used for the studio. -
setStudioEncryptionConfiguration
Configuration of the encryption method that is used for the studio. -
setStudioEncryptionConfiguration
@Stability(Stable) public void setStudioEncryptionConfiguration(@Nullable CfnStudio.StudioEncryptionConfigurationProperty value) Configuration of the encryption method that is used for the studio.
-