@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:35.471Z") 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 . |
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
IConstruct.Jsii$Default
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnStackUserAssociation(Construct scope,
java.lang.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 |
---|---|
java.lang.String |
getAuthenticationType()
The authentication type for the user who is associated with the stack.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
getCfnProperties() |
java.lang.Object |
getSendEmailNotification()
Specifies whether a welcome email is sent to a user after the user is created in the user pool.
|
java.lang.String |
getStackName()
The name of the stack that is associated with the user.
|
java.lang.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 java.util.Map<java.lang.String,java.lang.Object> |
renderProperties(java.util.Map<java.lang.String,java.lang.Object> props) |
void |
setAuthenticationType(java.lang.String value)
The authentication type for the user who is associated with the stack.
|
void |
setSendEmailNotification(java.lang.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(java.lang.String value)
The name of the stack that is associated with the user.
|
void |
setUserName(java.lang.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, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
public static final java.lang.String CFN_RESOURCE_TYPE_NAME
protected CfnStackUserAssociation(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnStackUserAssociation(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public CfnStackUserAssociation(Construct scope, java.lang.String id, 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.public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> renderProperties(java.util.Map<java.lang.String,java.lang.Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.protected java.util.Map<java.lang.String,java.lang.Object> getCfnProperties()
getCfnProperties
in class CfnResource
public java.lang.String getAuthenticationType()
You must specify USERPOOL.
public void setAuthenticationType(java.lang.String value)
You must specify USERPOOL.
public java.lang.String getStackName()
public void setStackName(java.lang.String value)
public java.lang.String getUserName()
Users' email addresses are case-sensitive.
public void setUserName(java.lang.String value)
Users' email addresses are case-sensitive.
public java.lang.Object getSendEmailNotification()
public void setSendEmailNotification(java.lang.Boolean value)
public void setSendEmailNotification(IResolvable value)