Interface CfnSpaceProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSpaceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-08-10T14:51:09.422Z")
@Stability(Stable)
public interface CfnSpaceProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnSpace.
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.quicksight.*;
CfnSpaceProps cfnSpaceProps = CfnSpaceProps.builder()
.awsAccountId("awsAccountId")
.name("name")
.spaceId("spaceId")
// the properties below are optional
.description("description")
.permissions(List.of(ResourcePermissionProperty.builder()
.actions(List.of("actions"))
.principal("principal")
.build()))
.resources(List.of(SpaceResourceProperty.builder()
.resourceArn("resourceArn")
.resourceType("resourceType")
.build()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSpacePropsstatic final classAn implementation forCfnSpaceProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnSpaceProps.Builderbuilder()The ID of the Amazon Web Services account where the space is being created.default StringA description of the space.getName()The display name of the space.default ObjectA list of permissions granted on the space.default ObjectA list of QuickSight resources attached to the space.The unique identifier for the space.getTags()A list of key-value pairs to associate with the space resource.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAwsAccountId
The ID of the Amazon Web Services account where the space is being created.- See Also:
-
getName
The display name of the space.- See Also:
-
getSpaceId
The unique identifier for the space.- See Also:
-
getDescription
A description of the space.- See Also:
-
getPermissions
A list of permissions granted on the space.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnSpace.ResourcePermissionProperty>- See Also:
-
getResources
A list of QuickSight resources attached to the space.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnSpace.SpaceResourceProperty>- See Also:
-
getTags
A list of key-value pairs to associate with the space resource.- See Also:
-
builder
- Returns:
- a
CfnSpaceProps.BuilderofCfnSpaceProps
-