@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.650Z") @Stability(value=Stable) public class CfnStackUserAssociation extends CfnResource implements IInspectable
The AWS::AppStream::StackUserAssociation resource associates the specified users with the specified stacks for Amazon AppStream 2.0. Users in an AppStream 2.0 user pool cannot be assigned to stacks with fleets that are joined to an Active Directory domain.
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.appstream.*;
CfnStackUserAssociation cfnStackUserAssociation = CfnStackUserAssociation.Builder.create(this, "MyCfnStackUserAssociation")
.authenticationType("authenticationType")
.stackName("stackName")
.userName("userName")
// the properties below are optional
.sendEmailNotification(false)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnStackUserAssociation.Builder
A fluent builder for
CfnStackUserAssociation. |
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 |
|---|---|
|
CfnStackUserAssociation(software.constructs.Construct scope,
String id,
CfnStackUserAssociationProps props)
Create a new `AWS::AppStream::StackUserAssociation`.
|
protected |
CfnStackUserAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnStackUserAssociation(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthenticationType()
The authentication type for the user who is associated with the stack.
|
protected Map<String,Object> |
getCfnProperties() |
Object |
getSendEmailNotification()
Specifies whether a welcome email is sent to a user after the user is created in the user pool.
|
String |
getStackName()
The name of the stack that is associated with the user.
|
String |
getUserName()
The email address of the user who is associated with the stack.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setAuthenticationType(String value)
The authentication type for the user who is associated with the stack.
|
void |
setSendEmailNotification(Boolean value)
Specifies whether a welcome email is sent to a user after the user is created in the user pool.
|
void |
setSendEmailNotification(IResolvable value)
Specifies whether a welcome email is sent to a user after the user is created in the user pool.
|
void |
setStackName(String value)
The name of the stack that is associated with the user.
|
void |
setUserName(String value)
The email address of the user who is associated with the stack.
|
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 CfnStackUserAssociation(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnStackUserAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnStackUserAssociation(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnStackUserAssociationProps 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 protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getAuthenticationType()
You must specify USERPOOL.
@Stability(value=Stable)
public void setAuthenticationType(@NotNull
String value)
You must specify USERPOOL.
@Stability(value=Stable) @NotNull public String getStackName()
@Stability(value=Stable)
public void setStackName(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getUserName()
Users' email addresses are case-sensitive.
@Stability(value=Stable)
public void setUserName(@NotNull
String value)
Users' email addresses are case-sensitive.
@Stability(value=Stable) @Nullable public Object getSendEmailNotification()
@Stability(value=Stable)
public void setSendEmailNotification(@Nullable
Boolean value)
@Stability(value=Stable)
public void setSendEmailNotification(@Nullable
IResolvable value)
Copyright © 2022. All rights reserved.