Class CfnDataSource.RedshiftIAMParametersProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnDataSource.RedshiftIAMParametersProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnDataSource.RedshiftIAMParametersProperty
CfnDataSource.RedshiftIAMParametersProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.quicksight.CfnDataSource.RedshiftIAMParametersProperty
CfnDataSource.RedshiftIAMParametersProperty.Builder, CfnDataSource.RedshiftIAMParametersProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnDataSource.RedshiftIAMParametersProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectAutomatically creates a database user.A list of groups whose permissions will be granted to Quick Sight to access the cluster.final StringThe user whose permissions and group memberships will be used by Quick Sight to access the cluster.final StringUse theRoleArnstructure to allow Quick Sight to callredshift:GetClusterCredentialson your cluster.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnDataSource.RedshiftIAMParametersProperty.Builder.
-
-
Method Details
-
getRoleArn
Description copied from interface:CfnDataSource.RedshiftIAMParametersPropertyUse theRoleArnstructure to allow Quick Sight to callredshift:GetClusterCredentialson your cluster.The calling principal must have
iam:PassRoleaccess to pass the role to Quick Sight. The role's trust policy must allow the Quick Sight service principal to assume the role.- Specified by:
getRoleArnin interfaceCfnDataSource.RedshiftIAMParametersProperty- See Also:
-
getAutoCreateDatabaseUser
Description copied from interface:CfnDataSource.RedshiftIAMParametersPropertyAutomatically creates a database user.If your database doesn't have a
DatabaseUser, set this parameter toTrue. If there is noDatabaseUser, Quick Sight can't connect to your cluster. TheRoleArnthat you use for this operation must grant access toredshift:CreateClusterUserto successfully create the user.Returns union: either
BooleanorIResolvableDefault: - false
- Specified by:
getAutoCreateDatabaseUserin interfaceCfnDataSource.RedshiftIAMParametersProperty- See Also:
-
getDatabaseGroups
Description copied from interface:CfnDataSource.RedshiftIAMParametersPropertyA list of groups whose permissions will be granted to Quick Sight to access the cluster.These permissions are combined with the permissions granted to Quick Sight by the
DatabaseUser. If you choose to include this parameter, theRoleArnmust grant access toredshift:JoinGroup.- Specified by:
getDatabaseGroupsin interfaceCfnDataSource.RedshiftIAMParametersProperty- See Also:
-
getDatabaseUser
Description copied from interface:CfnDataSource.RedshiftIAMParametersPropertyThe user whose permissions and group memberships will be used by Quick Sight to access the cluster.If this user already exists in your database, Amazon Quick Sight is granted the same permissions that the user has. If the user doesn't exist, set the value of
AutoCreateDatabaseUsertoTrueto create a new user with PUBLIC permissions.- Specified by:
getDatabaseUserin interfaceCfnDataSource.RedshiftIAMParametersProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-