Documentation
¶
Index ¶
- func CfnClusterParameterGroup_CFN_RESOURCE_TYPE_NAME() *string
- func CfnClusterParameterGroup_IsCfnElement(x interface{}) *bool
- func CfnClusterParameterGroup_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnClusterParameterGroup_IsConstruct(x interface{}) *bool
- func CfnClusterSecurityGroupIngress_CFN_RESOURCE_TYPE_NAME() *string
- func CfnClusterSecurityGroupIngress_IsCfnElement(x interface{}) *bool
- func CfnClusterSecurityGroupIngress_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnClusterSecurityGroupIngress_IsConstruct(x interface{}) *bool
- func CfnClusterSecurityGroup_CFN_RESOURCE_TYPE_NAME() *string
- func CfnClusterSecurityGroup_IsCfnElement(x interface{}) *bool
- func CfnClusterSecurityGroup_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnClusterSecurityGroup_IsConstruct(x interface{}) *bool
- func CfnClusterSubnetGroup_CFN_RESOURCE_TYPE_NAME() *string
- func CfnClusterSubnetGroup_IsCfnElement(x interface{}) *bool
- func CfnClusterSubnetGroup_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnClusterSubnetGroup_IsConstruct(x interface{}) *bool
- func CfnCluster_CFN_RESOURCE_TYPE_NAME() *string
- func CfnCluster_IsCfnElement(x interface{}) *bool
- func CfnCluster_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnCluster_IsConstruct(x interface{}) *bool
- func CfnEndpointAccess_CFN_RESOURCE_TYPE_NAME() *string
- func CfnEndpointAccess_IsCfnElement(x interface{}) *bool
- func CfnEndpointAccess_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnEndpointAccess_IsConstruct(x interface{}) *bool
- func CfnEndpointAuthorization_CFN_RESOURCE_TYPE_NAME() *string
- func CfnEndpointAuthorization_IsCfnElement(x interface{}) *bool
- func CfnEndpointAuthorization_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnEndpointAuthorization_IsConstruct(x interface{}) *bool
- func CfnEventSubscription_CFN_RESOURCE_TYPE_NAME() *string
- func CfnEventSubscription_IsCfnElement(x interface{}) *bool
- func CfnEventSubscription_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnEventSubscription_IsConstruct(x interface{}) *bool
- func CfnScheduledAction_CFN_RESOURCE_TYPE_NAME() *string
- func CfnScheduledAction_IsCfnElement(x interface{}) *bool
- func CfnScheduledAction_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnScheduledAction_IsConstruct(x interface{}) *bool
- func ClusterParameterGroup_IsConstruct(x interface{}) *bool
- func ClusterParameterGroup_IsResource(construct awscdk.IConstruct) *bool
- func ClusterSubnetGroup_IsConstruct(x interface{}) *bool
- func ClusterSubnetGroup_IsResource(construct awscdk.IConstruct) *bool
- func Cluster_IsConstruct(x interface{}) *bool
- func Cluster_IsResource(construct awscdk.IConstruct) *bool
- func DatabaseSecret_FromSecretArn(scope constructs.Construct, id *string, secretArn *string) awssecretsmanager.ISecretdeprecated
- func DatabaseSecret_FromSecretAttributes(scope constructs.Construct, id *string, ...) awssecretsmanager.ISecret
- func DatabaseSecret_FromSecretCompleteArn(scope constructs.Construct, id *string, secretCompleteArn *string) awssecretsmanager.ISecret
- func DatabaseSecret_FromSecretName(scope constructs.Construct, id *string, secretName *string) awssecretsmanager.ISecret
- func DatabaseSecret_FromSecretNameV2(scope constructs.Construct, id *string, secretName *string) awssecretsmanager.ISecret
- func DatabaseSecret_FromSecretPartialArn(scope constructs.Construct, id *string, secretPartialArn *string) awssecretsmanager.ISecret
- func DatabaseSecret_IsConstruct(x interface{}) *bool
- func DatabaseSecret_IsResource(construct awscdk.IConstruct) *bool
- func NewCfnClusterParameterGroup_Override(c CfnClusterParameterGroup, scope awscdk.Construct, id *string, ...)
- func NewCfnClusterSecurityGroupIngress_Override(c CfnClusterSecurityGroupIngress, scope awscdk.Construct, id *string, ...)
- func NewCfnClusterSecurityGroup_Override(c CfnClusterSecurityGroup, scope awscdk.Construct, id *string, ...)
- func NewCfnClusterSubnetGroup_Override(c CfnClusterSubnetGroup, scope awscdk.Construct, id *string, ...)
- func NewCfnCluster_Override(c CfnCluster, scope awscdk.Construct, id *string, props *CfnClusterProps)
- func NewCfnEndpointAccess_Override(c CfnEndpointAccess, scope awscdk.Construct, id *string, ...)
- func NewCfnEndpointAuthorization_Override(c CfnEndpointAuthorization, scope awscdk.Construct, id *string, ...)
- func NewCfnEventSubscription_Override(c CfnEventSubscription, scope awscdk.Construct, id *string, ...)
- func NewCfnScheduledAction_Override(c CfnScheduledAction, scope awscdk.Construct, id *string, ...)
- func NewClusterParameterGroup_Override(c ClusterParameterGroup, scope constructs.Construct, id *string, ...)
- func NewClusterSubnetGroup_Override(c ClusterSubnetGroup, scope constructs.Construct, id *string, ...)
- func NewCluster_Override(c Cluster, scope constructs.Construct, id *string, props *ClusterProps)
- func NewDatabaseSecret_Override(d DatabaseSecret, scope constructs.Construct, id *string, ...)
- func NewEndpoint_Override(e Endpoint, address *string, port *float64)
- func NewTable_Override(t Table, scope constructs.Construct, id *string, props *TableProps)
- func NewUser_Override(u User, scope constructs.Construct, id *string, props *UserProps)
- func Table_IsConstruct(x interface{}) *bool
- func User_IsConstruct(x interface{}) *bool
- type CfnCluster
- type CfnClusterParameterGroup
- type CfnClusterParameterGroupProps
- type CfnClusterParameterGroup_ParameterProperty
- type CfnClusterProps
- type CfnClusterSecurityGroup
- type CfnClusterSecurityGroupIngress
- type CfnClusterSecurityGroupIngressProps
- type CfnClusterSecurityGroupProps
- type CfnClusterSubnetGroup
- type CfnClusterSubnetGroupProps
- type CfnCluster_EndpointProperty
- type CfnCluster_LoggingPropertiesProperty
- type CfnEndpointAccess
- type CfnEndpointAccessProps
- type CfnEndpointAccess_VpcSecurityGroupProperty
- type CfnEndpointAuthorization
- type CfnEndpointAuthorizationProps
- type CfnEventSubscription
- type CfnEventSubscriptionProps
- type CfnScheduledAction
- type CfnScheduledActionProps
- type CfnScheduledAction_PauseClusterMessageProperty
- type CfnScheduledAction_ResizeClusterMessageProperty
- type CfnScheduledAction_ResumeClusterMessageProperty
- type CfnScheduledAction_ScheduledActionTypeProperty
- type Cluster
- type ClusterAttributes
- type ClusterParameterGroup
- type ClusterParameterGroupProps
- type ClusterProps
- type ClusterSubnetGroup
- type ClusterSubnetGroupProps
- type ClusterType
- type Column
- type DatabaseOptions
- type DatabaseSecret
- type DatabaseSecretProps
- type Endpoint
- type ICluster
- type IClusterParameterGroup
- type IClusterSubnetGroup
- type ITable
- type IUser
- type Login
- type NodeType
- type RotationMultiUserOptions
- type Table
- type TableAction
- type TableAttributes
- type TableProps
- type User
- type UserAttributes
- type UserProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnClusterParameterGroup_CFN_RESOURCE_TYPE_NAME ¶
func CfnClusterParameterGroup_CFN_RESOURCE_TYPE_NAME() *string
func CfnClusterParameterGroup_IsCfnElement ¶
func CfnClusterParameterGroup_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.
func CfnClusterParameterGroup_IsCfnResource ¶
func CfnClusterParameterGroup_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnClusterParameterGroup_IsConstruct ¶
func CfnClusterParameterGroup_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func CfnClusterSecurityGroupIngress_CFN_RESOURCE_TYPE_NAME ¶
func CfnClusterSecurityGroupIngress_CFN_RESOURCE_TYPE_NAME() *string
func CfnClusterSecurityGroupIngress_IsCfnElement ¶
func CfnClusterSecurityGroupIngress_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.
func CfnClusterSecurityGroupIngress_IsCfnResource ¶
func CfnClusterSecurityGroupIngress_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnClusterSecurityGroupIngress_IsConstruct ¶
func CfnClusterSecurityGroupIngress_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func CfnClusterSecurityGroup_CFN_RESOURCE_TYPE_NAME ¶
func CfnClusterSecurityGroup_CFN_RESOURCE_TYPE_NAME() *string
func CfnClusterSecurityGroup_IsCfnElement ¶
func CfnClusterSecurityGroup_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.
func CfnClusterSecurityGroup_IsCfnResource ¶
func CfnClusterSecurityGroup_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnClusterSecurityGroup_IsConstruct ¶
func CfnClusterSecurityGroup_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func CfnClusterSubnetGroup_CFN_RESOURCE_TYPE_NAME ¶
func CfnClusterSubnetGroup_CFN_RESOURCE_TYPE_NAME() *string
func CfnClusterSubnetGroup_IsCfnElement ¶
func CfnClusterSubnetGroup_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.
func CfnClusterSubnetGroup_IsCfnResource ¶
func CfnClusterSubnetGroup_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnClusterSubnetGroup_IsConstruct ¶
func CfnClusterSubnetGroup_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func CfnCluster_CFN_RESOURCE_TYPE_NAME ¶
func CfnCluster_CFN_RESOURCE_TYPE_NAME() *string
func CfnCluster_IsCfnElement ¶
func CfnCluster_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.
func CfnCluster_IsCfnResource ¶
func CfnCluster_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnCluster_IsConstruct ¶
func CfnCluster_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func CfnEndpointAccess_CFN_RESOURCE_TYPE_NAME ¶
func CfnEndpointAccess_CFN_RESOURCE_TYPE_NAME() *string
func CfnEndpointAccess_IsCfnElement ¶
func CfnEndpointAccess_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.
func CfnEndpointAccess_IsCfnResource ¶
func CfnEndpointAccess_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnEndpointAccess_IsConstruct ¶
func CfnEndpointAccess_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func CfnEndpointAuthorization_CFN_RESOURCE_TYPE_NAME ¶
func CfnEndpointAuthorization_CFN_RESOURCE_TYPE_NAME() *string
func CfnEndpointAuthorization_IsCfnElement ¶
func CfnEndpointAuthorization_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.
func CfnEndpointAuthorization_IsCfnResource ¶
func CfnEndpointAuthorization_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnEndpointAuthorization_IsConstruct ¶
func CfnEndpointAuthorization_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func CfnEventSubscription_CFN_RESOURCE_TYPE_NAME ¶
func CfnEventSubscription_CFN_RESOURCE_TYPE_NAME() *string
func CfnEventSubscription_IsCfnElement ¶
func CfnEventSubscription_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.
func CfnEventSubscription_IsCfnResource ¶
func CfnEventSubscription_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnEventSubscription_IsConstruct ¶
func CfnEventSubscription_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func CfnScheduledAction_CFN_RESOURCE_TYPE_NAME ¶
func CfnScheduledAction_CFN_RESOURCE_TYPE_NAME() *string
func CfnScheduledAction_IsCfnElement ¶
func CfnScheduledAction_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element. Experimental.
func CfnScheduledAction_IsCfnResource ¶
func CfnScheduledAction_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnScheduledAction_IsConstruct ¶
func CfnScheduledAction_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func ClusterParameterGroup_IsConstruct ¶
func ClusterParameterGroup_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func ClusterParameterGroup_IsResource ¶
func ClusterParameterGroup_IsResource(construct awscdk.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
func ClusterSubnetGroup_IsConstruct ¶
func ClusterSubnetGroup_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func ClusterSubnetGroup_IsResource ¶
func ClusterSubnetGroup_IsResource(construct awscdk.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
func Cluster_IsConstruct ¶
func Cluster_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func Cluster_IsResource ¶
func Cluster_IsResource(construct awscdk.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
func DatabaseSecret_FromSecretArn
deprecated
func DatabaseSecret_FromSecretArn(scope constructs.Construct, id *string, secretArn *string) awssecretsmanager.ISecret
Deprecated: use `fromSecretCompleteArn` or `fromSecretPartialArn`
func DatabaseSecret_FromSecretAttributes ¶
func DatabaseSecret_FromSecretAttributes(scope constructs.Construct, id *string, attrs *awssecretsmanager.SecretAttributes) awssecretsmanager.ISecret
Import an existing secret into the Stack. Experimental.
func DatabaseSecret_FromSecretCompleteArn ¶
func DatabaseSecret_FromSecretCompleteArn(scope constructs.Construct, id *string, secretCompleteArn *string) awssecretsmanager.ISecret
Imports a secret by complete ARN.
The complete ARN is the ARN with the Secrets Manager-supplied suffix. Experimental.
func DatabaseSecret_FromSecretName ¶
func DatabaseSecret_FromSecretName(scope constructs.Construct, id *string, secretName *string) awssecretsmanager.ISecret
Imports a secret by secret name;
the ARN of the Secret will be set to the secret name. A secret with this name must exist in the same account & region. Deprecated: use `fromSecretNameV2`
func DatabaseSecret_FromSecretNameV2 ¶
func DatabaseSecret_FromSecretNameV2(scope constructs.Construct, id *string, secretName *string) awssecretsmanager.ISecret
Imports a secret by secret name.
A secret with this name must exist in the same account & region. Replaces the deprecated `fromSecretName`. Experimental.
func DatabaseSecret_FromSecretPartialArn ¶
func DatabaseSecret_FromSecretPartialArn(scope constructs.Construct, id *string, secretPartialArn *string) awssecretsmanager.ISecret
Imports a secret by partial ARN.
The partial ARN is the ARN without the Secrets Manager-supplied suffix. Experimental.
func DatabaseSecret_IsConstruct ¶
func DatabaseSecret_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func DatabaseSecret_IsResource ¶
func DatabaseSecret_IsResource(construct awscdk.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
func NewCfnClusterParameterGroup_Override ¶
func NewCfnClusterParameterGroup_Override(c CfnClusterParameterGroup, scope awscdk.Construct, id *string, props *CfnClusterParameterGroupProps)
Create a new `AWS::Redshift::ClusterParameterGroup`.
func NewCfnClusterSecurityGroupIngress_Override ¶
func NewCfnClusterSecurityGroupIngress_Override(c CfnClusterSecurityGroupIngress, scope awscdk.Construct, id *string, props *CfnClusterSecurityGroupIngressProps)
Create a new `AWS::Redshift::ClusterSecurityGroupIngress`.
func NewCfnClusterSecurityGroup_Override ¶
func NewCfnClusterSecurityGroup_Override(c CfnClusterSecurityGroup, scope awscdk.Construct, id *string, props *CfnClusterSecurityGroupProps)
Create a new `AWS::Redshift::ClusterSecurityGroup`.
func NewCfnClusterSubnetGroup_Override ¶
func NewCfnClusterSubnetGroup_Override(c CfnClusterSubnetGroup, scope awscdk.Construct, id *string, props *CfnClusterSubnetGroupProps)
Create a new `AWS::Redshift::ClusterSubnetGroup`.
func NewCfnCluster_Override ¶
func NewCfnCluster_Override(c CfnCluster, scope awscdk.Construct, id *string, props *CfnClusterProps)
Create a new `AWS::Redshift::Cluster`.
func NewCfnEndpointAccess_Override ¶
func NewCfnEndpointAccess_Override(c CfnEndpointAccess, scope awscdk.Construct, id *string, props *CfnEndpointAccessProps)
Create a new `AWS::Redshift::EndpointAccess`.
func NewCfnEndpointAuthorization_Override ¶
func NewCfnEndpointAuthorization_Override(c CfnEndpointAuthorization, scope awscdk.Construct, id *string, props *CfnEndpointAuthorizationProps)
Create a new `AWS::Redshift::EndpointAuthorization`.
func NewCfnEventSubscription_Override ¶
func NewCfnEventSubscription_Override(c CfnEventSubscription, scope awscdk.Construct, id *string, props *CfnEventSubscriptionProps)
Create a new `AWS::Redshift::EventSubscription`.
func NewCfnScheduledAction_Override ¶
func NewCfnScheduledAction_Override(c CfnScheduledAction, scope awscdk.Construct, id *string, props *CfnScheduledActionProps)
Create a new `AWS::Redshift::ScheduledAction`.
func NewClusterParameterGroup_Override ¶
func NewClusterParameterGroup_Override(c ClusterParameterGroup, scope constructs.Construct, id *string, props *ClusterParameterGroupProps)
Experimental.
func NewClusterSubnetGroup_Override ¶
func NewClusterSubnetGroup_Override(c ClusterSubnetGroup, scope constructs.Construct, id *string, props *ClusterSubnetGroupProps)
Experimental.
func NewCluster_Override ¶
func NewCluster_Override(c Cluster, scope constructs.Construct, id *string, props *ClusterProps)
Experimental.
func NewDatabaseSecret_Override ¶
func NewDatabaseSecret_Override(d DatabaseSecret, scope constructs.Construct, id *string, props *DatabaseSecretProps)
Experimental.
func NewEndpoint_Override ¶
Experimental.
func NewTable_Override ¶
func NewTable_Override(t Table, scope constructs.Construct, id *string, props *TableProps)
Experimental.
func NewUser_Override ¶
func NewUser_Override(u User, scope constructs.Construct, id *string, props *UserProps)
Experimental.
func Table_IsConstruct ¶
func Table_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
func User_IsConstruct ¶
func User_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct. Experimental.
Types ¶
type CfnCluster ¶
type CfnCluster interface {
awscdk.CfnResource
awscdk.IInspectable
AllowVersionUpgrade() interface{}
SetAllowVersionUpgrade(val interface{})
AquaConfigurationStatus() *string
SetAquaConfigurationStatus(val *string)
AttrDeferMaintenanceIdentifier() *string
AttrEndpointAddress() *string
AttrEndpointPort() *string
AttrId() *string
AutomatedSnapshotRetentionPeriod() *float64
SetAutomatedSnapshotRetentionPeriod(val *float64)
AvailabilityZone() *string
SetAvailabilityZone(val *string)
AvailabilityZoneRelocation() interface{}
SetAvailabilityZoneRelocation(val interface{})
AvailabilityZoneRelocationStatus() *string
SetAvailabilityZoneRelocationStatus(val *string)
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
CfnResourceType() *string
Classic() interface{}
SetClassic(val interface{})
ClusterIdentifier() *string
SetClusterIdentifier(val *string)
ClusterParameterGroupName() *string
SetClusterParameterGroupName(val *string)
ClusterSecurityGroups() *[]*string
SetClusterSecurityGroups(val *[]*string)
ClusterSubnetGroupName() *string
SetClusterSubnetGroupName(val *string)
ClusterType() *string
SetClusterType(val *string)
ClusterVersion() *string
SetClusterVersion(val *string)
CreationStack() *[]*string
DbName() *string
SetDbName(val *string)
DeferMaintenance() interface{}
SetDeferMaintenance(val interface{})
DeferMaintenanceDuration() *float64
SetDeferMaintenanceDuration(val *float64)
DeferMaintenanceEndTime() *string
SetDeferMaintenanceEndTime(val *string)
DeferMaintenanceStartTime() *string
SetDeferMaintenanceStartTime(val *string)
DestinationRegion() *string
SetDestinationRegion(val *string)
ElasticIp() *string
SetElasticIp(val *string)
Encrypted() interface{}
SetEncrypted(val interface{})
Endpoint() interface{}
SetEndpoint(val interface{})
EnhancedVpcRouting() interface{}
SetEnhancedVpcRouting(val interface{})
HsmClientCertificateIdentifier() *string
SetHsmClientCertificateIdentifier(val *string)
HsmConfigurationIdentifier() *string
SetHsmConfigurationIdentifier(val *string)
IamRoles() *[]*string
SetIamRoles(val *[]*string)
KmsKeyId() *string
SetKmsKeyId(val *string)
LoggingProperties() interface{}
SetLoggingProperties(val interface{})
LogicalId() *string
MaintenanceTrackName() *string
SetMaintenanceTrackName(val *string)
ManualSnapshotRetentionPeriod() *float64
SetManualSnapshotRetentionPeriod(val *float64)
MasterUsername() *string
SetMasterUsername(val *string)
MasterUserPassword() *string
SetMasterUserPassword(val *string)
Node() awscdk.ConstructNode
NodeType() *string
SetNodeType(val *string)
NumberOfNodes() *float64
SetNumberOfNodes(val *float64)
OwnerAccount() *string
SetOwnerAccount(val *string)
Port() *float64
SetPort(val *float64)
PreferredMaintenanceWindow() *string
SetPreferredMaintenanceWindow(val *string)
PubliclyAccessible() interface{}
SetPubliclyAccessible(val interface{})
Ref() *string
ResourceAction() *string
SetResourceAction(val *string)
RevisionTarget() *string
SetRevisionTarget(val *string)
RotateEncryptionKey() interface{}
SetRotateEncryptionKey(val interface{})
SnapshotClusterIdentifier() *string
SetSnapshotClusterIdentifier(val *string)
SnapshotCopyGrantName() *string
SetSnapshotCopyGrantName(val *string)
SnapshotCopyManual() interface{}
SetSnapshotCopyManual(val interface{})
SnapshotCopyRetentionPeriod() *float64
SetSnapshotCopyRetentionPeriod(val *float64)
SnapshotIdentifier() *string
SetSnapshotIdentifier(val *string)
Stack() awscdk.Stack
Tags() awscdk.TagManager
UpdatedProperites() *map[string]interface{}
VpcSecurityGroupIds() *[]*string
SetVpcSecurityGroupIds(val *[]*string)
AddDeletionOverride(path *string)
AddDependsOn(target awscdk.CfnResource)
AddMetadata(key *string, value interface{})
AddOverride(path *string, value interface{})
AddPropertyDeletionOverride(propertyPath *string)
AddPropertyOverride(propertyPath *string, value interface{})
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
GetAtt(attributeName *string) awscdk.Reference
GetMetadata(key *string) interface{}
Inspect(inspector awscdk.TreeInspector)
OnPrepare()
OnSynthesize(session constructs.ISynthesisSession)
OnValidate() *[]*string
OverrideLogicalId(newLogicalId *string)
Prepare()
RenderProperties(props *map[string]interface{}) *map[string]interface{}
ShouldSynthesize() *bool
Synthesize(session awscdk.ISynthesisSession)
ToString() *string
Validate() *[]*string
ValidateProperties(_properties interface{})
}
A CloudFormation `AWS::Redshift::Cluster`.
func NewCfnCluster ¶
func NewCfnCluster(scope awscdk.Construct, id *string, props *CfnClusterProps) CfnCluster
Create a new `AWS::Redshift::Cluster`.
type CfnClusterParameterGroup ¶
type CfnClusterParameterGroup interface {
awscdk.CfnResource
awscdk.IInspectable
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
CfnResourceType() *string
CreationStack() *[]*string
Description() *string
SetDescription(val *string)
LogicalId() *string
Node() awscdk.ConstructNode
ParameterGroupFamily() *string
SetParameterGroupFamily(val *string)
Parameters() interface{}
SetParameters(val interface{})
Ref() *string
Stack() awscdk.Stack
Tags() awscdk.TagManager
UpdatedProperites() *map[string]interface{}
AddDeletionOverride(path *string)
AddDependsOn(target awscdk.CfnResource)
AddMetadata(key *string, value interface{})
AddOverride(path *string, value interface{})
AddPropertyDeletionOverride(propertyPath *string)
AddPropertyOverride(propertyPath *string, value interface{})
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
GetAtt(attributeName *string) awscdk.Reference
GetMetadata(key *string) interface{}
Inspect(inspector awscdk.TreeInspector)
OnPrepare()
OnSynthesize(session constructs.ISynthesisSession)
OnValidate() *[]*string
OverrideLogicalId(newLogicalId *string)
Prepare()
RenderProperties(props *map[string]interface{}) *map[string]interface{}
ShouldSynthesize() *bool
Synthesize(session awscdk.ISynthesisSession)
ToString() *string
Validate() *[]*string
ValidateProperties(_properties interface{})
}
A CloudFormation `AWS::Redshift::ClusterParameterGroup`.
func NewCfnClusterParameterGroup ¶
func NewCfnClusterParameterGroup(scope awscdk.Construct, id *string, props *CfnClusterParameterGroupProps) CfnClusterParameterGroup
Create a new `AWS::Redshift::ClusterParameterGroup`.
type CfnClusterParameterGroupProps ¶
type CfnClusterParameterGroupProps struct {
// `AWS::Redshift::ClusterParameterGroup.Description`.
Description *string `json:"description"`
// `AWS::Redshift::ClusterParameterGroup.ParameterGroupFamily`.
ParameterGroupFamily *string `json:"parameterGroupFamily"`
// `AWS::Redshift::ClusterParameterGroup.Parameters`.
Parameters interface{} `json:"parameters"`
// `AWS::Redshift::ClusterParameterGroup.Tags`.
Tags *[]*awscdk.CfnTag `json:"tags"`
}
Properties for defining a `AWS::Redshift::ClusterParameterGroup`.
type CfnClusterProps ¶
type CfnClusterProps struct {
// `AWS::Redshift::Cluster.ClusterType`.
ClusterType *string `json:"clusterType"`
// `AWS::Redshift::Cluster.DBName`.
DbName *string `json:"dbName"`
// `AWS::Redshift::Cluster.MasterUsername`.
MasterUsername *string `json:"masterUsername"`
// `AWS::Redshift::Cluster.MasterUserPassword`.
MasterUserPassword *string `json:"masterUserPassword"`
// `AWS::Redshift::Cluster.NodeType`.
NodeType *string `json:"nodeType"`
// `AWS::Redshift::Cluster.AllowVersionUpgrade`.
AllowVersionUpgrade interface{} `json:"allowVersionUpgrade"`
// `AWS::Redshift::Cluster.AquaConfigurationStatus`.
AquaConfigurationStatus *string `json:"aquaConfigurationStatus"`
// `AWS::Redshift::Cluster.AutomatedSnapshotRetentionPeriod`.
AutomatedSnapshotRetentionPeriod *float64 `json:"automatedSnapshotRetentionPeriod"`
// `AWS::Redshift::Cluster.AvailabilityZone`.
AvailabilityZone *string `json:"availabilityZone"`
// `AWS::Redshift::Cluster.AvailabilityZoneRelocation`.
AvailabilityZoneRelocation interface{} `json:"availabilityZoneRelocation"`
// `AWS::Redshift::Cluster.AvailabilityZoneRelocationStatus`.
AvailabilityZoneRelocationStatus *string `json:"availabilityZoneRelocationStatus"`
// `AWS::Redshift::Cluster.Classic`.
Classic interface{} `json:"classic"`
// `AWS::Redshift::Cluster.ClusterIdentifier`.
ClusterIdentifier *string `json:"clusterIdentifier"`
// `AWS::Redshift::Cluster.ClusterParameterGroupName`.
ClusterParameterGroupName *string `json:"clusterParameterGroupName"`
// `AWS::Redshift::Cluster.ClusterSecurityGroups`.
ClusterSecurityGroups *[]*string `json:"clusterSecurityGroups"`
// `AWS::Redshift::Cluster.ClusterSubnetGroupName`.
ClusterSubnetGroupName *string `json:"clusterSubnetGroupName"`
// `AWS::Redshift::Cluster.ClusterVersion`.
ClusterVersion *string `json:"clusterVersion"`
// `AWS::Redshift::Cluster.DeferMaintenance`.
DeferMaintenance interface{} `json:"deferMaintenance"`
// `AWS::Redshift::Cluster.DeferMaintenanceDuration`.
DeferMaintenanceDuration *float64 `json:"deferMaintenanceDuration"`
// `AWS::Redshift::Cluster.DeferMaintenanceEndTime`.
DeferMaintenanceEndTime *string `json:"deferMaintenanceEndTime"`
// `AWS::Redshift::Cluster.DeferMaintenanceStartTime`.
DeferMaintenanceStartTime *string `json:"deferMaintenanceStartTime"`
// `AWS::Redshift::Cluster.DestinationRegion`.
DestinationRegion *string `json:"destinationRegion"`
// `AWS::Redshift::Cluster.ElasticIp`.
ElasticIp *string `json:"elasticIp"`
// `AWS::Redshift::Cluster.Encrypted`.
Encrypted interface{} `json:"encrypted"`
// `AWS::Redshift::Cluster.Endpoint`.
Endpoint interface{} `json:"endpoint"`
// `AWS::Redshift::Cluster.EnhancedVpcRouting`.
EnhancedVpcRouting interface{} `json:"enhancedVpcRouting"`
// `AWS::Redshift::Cluster.HsmClientCertificateIdentifier`.
HsmClientCertificateIdentifier *string `json:"hsmClientCertificateIdentifier"`
// `AWS::Redshift::Cluster.HsmConfigurationIdentifier`.
HsmConfigurationIdentifier *string `json:"hsmConfigurationIdentifier"`
// `AWS::Redshift::Cluster.IamRoles`.
IamRoles *[]*string `json:"iamRoles"`
// `AWS::Redshift::Cluster.KmsKeyId`.
KmsKeyId *string `json:"kmsKeyId"`
// `AWS::Redshift::Cluster.LoggingProperties`.
LoggingProperties interface{} `json:"loggingProperties"`
// `AWS::Redshift::Cluster.MaintenanceTrackName`.
MaintenanceTrackName *string `json:"maintenanceTrackName"`
// `AWS::Redshift::Cluster.ManualSnapshotRetentionPeriod`.
ManualSnapshotRetentionPeriod *float64 `json:"manualSnapshotRetentionPeriod"`
// `AWS::Redshift::Cluster.NumberOfNodes`.
NumberOfNodes *float64 `json:"numberOfNodes"`
// `AWS::Redshift::Cluster.OwnerAccount`.
OwnerAccount *string `json:"ownerAccount"`
// `AWS::Redshift::Cluster.Port`.
Port *float64 `json:"port"`
// `AWS::Redshift::Cluster.PreferredMaintenanceWindow`.
PreferredMaintenanceWindow *string `json:"preferredMaintenanceWindow"`
// `AWS::Redshift::Cluster.PubliclyAccessible`.
PubliclyAccessible interface{} `json:"publiclyAccessible"`
// `AWS::Redshift::Cluster.ResourceAction`.
ResourceAction *string `json:"resourceAction"`
// `AWS::Redshift::Cluster.RevisionTarget`.
RevisionTarget *string `json:"revisionTarget"`
// `AWS::Redshift::Cluster.RotateEncryptionKey`.
RotateEncryptionKey interface{} `json:"rotateEncryptionKey"`
// `AWS::Redshift::Cluster.SnapshotClusterIdentifier`.
SnapshotClusterIdentifier *string `json:"snapshotClusterIdentifier"`
// `AWS::Redshift::Cluster.SnapshotCopyGrantName`.
SnapshotCopyGrantName *string `json:"snapshotCopyGrantName"`
// `AWS::Redshift::Cluster.SnapshotCopyManual`.
SnapshotCopyManual interface{} `json:"snapshotCopyManual"`
// `AWS::Redshift::Cluster.SnapshotCopyRetentionPeriod`.
SnapshotCopyRetentionPeriod *float64 `json:"snapshotCopyRetentionPeriod"`
// `AWS::Redshift::Cluster.SnapshotIdentifier`.
SnapshotIdentifier *string `json:"snapshotIdentifier"`
// `AWS::Redshift::Cluster.Tags`.
Tags *[]*awscdk.CfnTag `json:"tags"`
// `AWS::Redshift::Cluster.VpcSecurityGroupIds`.
VpcSecurityGroupIds *[]*string `json:"vpcSecurityGroupIds"`
}
Properties for defining a `AWS::Redshift::Cluster`.
type CfnClusterSecurityGroup ¶
type CfnClusterSecurityGroup interface {
awscdk.CfnResource
awscdk.IInspectable
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
CfnResourceType() *string
CreationStack() *[]*string
Description() *string
SetDescription(val *string)
LogicalId() *string
Node() awscdk.ConstructNode
Ref() *string
Stack() awscdk.Stack
Tags() awscdk.TagManager
UpdatedProperites() *map[string]interface{}
AddDeletionOverride(path *string)
AddDependsOn(target awscdk.CfnResource)
AddMetadata(key *string, value interface{})
AddOverride(path *string, value interface{})
AddPropertyDeletionOverride(propertyPath *string)
AddPropertyOverride(propertyPath *string, value interface{})
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
GetAtt(attributeName *string) awscdk.Reference
GetMetadata(key *string) interface{}
Inspect(inspector awscdk.TreeInspector)
OnPrepare()
OnSynthesize(session constructs.ISynthesisSession)
OnValidate() *[]*string
OverrideLogicalId(newLogicalId *string)
Prepare()
RenderProperties(props *map[string]interface{}) *map[string]interface{}
ShouldSynthesize() *bool
Synthesize(session awscdk.ISynthesisSession)
ToString() *string
Validate() *[]*string
ValidateProperties(_properties interface{})
}
A CloudFormation `AWS::Redshift::ClusterSecurityGroup`.
func NewCfnClusterSecurityGroup ¶
func NewCfnClusterSecurityGroup(scope awscdk.Construct, id *string, props *CfnClusterSecurityGroupProps) CfnClusterSecurityGroup
Create a new `AWS::Redshift::ClusterSecurityGroup`.
type CfnClusterSecurityGroupIngress ¶
type CfnClusterSecurityGroupIngress interface {
awscdk.CfnResource
awscdk.IInspectable
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
CfnResourceType() *string
Cidrip() *string
SetCidrip(val *string)
ClusterSecurityGroupName() *string
SetClusterSecurityGroupName(val *string)
CreationStack() *[]*string
Ec2SecurityGroupName() *string
SetEc2SecurityGroupName(val *string)
Ec2SecurityGroupOwnerId() *string
SetEc2SecurityGroupOwnerId(val *string)
LogicalId() *string
Node() awscdk.ConstructNode
Ref() *string
Stack() awscdk.Stack
UpdatedProperites() *map[string]interface{}
AddDeletionOverride(path *string)
AddDependsOn(target awscdk.CfnResource)
AddMetadata(key *string, value interface{})
AddOverride(path *string, value interface{})
AddPropertyDeletionOverride(propertyPath *string)
AddPropertyOverride(propertyPath *string, value interface{})
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
GetAtt(attributeName *string) awscdk.Reference
GetMetadata(key *string) interface{}
Inspect(inspector awscdk.TreeInspector)
OnPrepare()
OnSynthesize(session constructs.ISynthesisSession)
OnValidate() *[]*string
OverrideLogicalId(newLogicalId *string)
Prepare()
RenderProperties(props *map[string]interface{}) *map[string]interface{}
ShouldSynthesize() *bool
Synthesize(session awscdk.ISynthesisSession)
ToString() *string
Validate() *[]*string
ValidateProperties(_properties interface{})
}
A CloudFormation `AWS::Redshift::ClusterSecurityGroupIngress`.
func NewCfnClusterSecurityGroupIngress ¶
func NewCfnClusterSecurityGroupIngress(scope awscdk.Construct, id *string, props *CfnClusterSecurityGroupIngressProps) CfnClusterSecurityGroupIngress
Create a new `AWS::Redshift::ClusterSecurityGroupIngress`.
type CfnClusterSecurityGroupIngressProps ¶
type CfnClusterSecurityGroupIngressProps struct {
// `AWS::Redshift::ClusterSecurityGroupIngress.ClusterSecurityGroupName`.
ClusterSecurityGroupName *string `json:"clusterSecurityGroupName"`
// `AWS::Redshift::ClusterSecurityGroupIngress.CIDRIP`.
Cidrip *string `json:"cidrip"`
// `AWS::Redshift::ClusterSecurityGroupIngress.EC2SecurityGroupName`.
Ec2SecurityGroupName *string `json:"ec2SecurityGroupName"`
// `AWS::Redshift::ClusterSecurityGroupIngress.EC2SecurityGroupOwnerId`.
Ec2SecurityGroupOwnerId *string `json:"ec2SecurityGroupOwnerId"`
}
Properties for defining a `AWS::Redshift::ClusterSecurityGroupIngress`.
type CfnClusterSecurityGroupProps ¶
type CfnClusterSecurityGroupProps struct {
// `AWS::Redshift::ClusterSecurityGroup.Description`.
Description *string `json:"description"`
// `AWS::Redshift::ClusterSecurityGroup.Tags`.
Tags *[]*awscdk.CfnTag `json:"tags"`
}
Properties for defining a `AWS::Redshift::ClusterSecurityGroup`.
type CfnClusterSubnetGroup ¶
type CfnClusterSubnetGroup interface {
awscdk.CfnResource
awscdk.IInspectable
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
CfnResourceType() *string
CreationStack() *[]*string
Description() *string
SetDescription(val *string)
LogicalId() *string
Node() awscdk.ConstructNode
Ref() *string
Stack() awscdk.Stack
SubnetIds() *[]*string
SetSubnetIds(val *[]*string)
Tags() awscdk.TagManager
UpdatedProperites() *map[string]interface{}
AddDeletionOverride(path *string)
AddDependsOn(target awscdk.CfnResource)
AddMetadata(key *string, value interface{})
AddOverride(path *string, value interface{})
AddPropertyDeletionOverride(propertyPath *string)
AddPropertyOverride(propertyPath *string, value interface{})
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
GetAtt(attributeName *string) awscdk.Reference
GetMetadata(key *string) interface{}
Inspect(inspector awscdk.TreeInspector)
OnPrepare()
OnSynthesize(session constructs.ISynthesisSession)
OnValidate() *[]*string
OverrideLogicalId(newLogicalId *string)
Prepare()
RenderProperties(props *map[string]interface{}) *map[string]interface{}
ShouldSynthesize() *bool
Synthesize(session awscdk.ISynthesisSession)
ToString() *string
Validate() *[]*string
ValidateProperties(_properties interface{})
}
A CloudFormation `AWS::Redshift::ClusterSubnetGroup`.
func NewCfnClusterSubnetGroup ¶
func NewCfnClusterSubnetGroup(scope awscdk.Construct, id *string, props *CfnClusterSubnetGroupProps) CfnClusterSubnetGroup
Create a new `AWS::Redshift::ClusterSubnetGroup`.
type CfnClusterSubnetGroupProps ¶
type CfnClusterSubnetGroupProps struct {
// `AWS::Redshift::ClusterSubnetGroup.Description`.
Description *string `json:"description"`
// `AWS::Redshift::ClusterSubnetGroup.SubnetIds`.
SubnetIds *[]*string `json:"subnetIds"`
// `AWS::Redshift::ClusterSubnetGroup.Tags`.
Tags *[]*awscdk.CfnTag `json:"tags"`
}
Properties for defining a `AWS::Redshift::ClusterSubnetGroup`.
type CfnEndpointAccess ¶
type CfnEndpointAccess interface {
awscdk.CfnResource
awscdk.IInspectable
AttrAddress() *string
AttrEndpointCreateTime() *string
AttrEndpointStatus() *string
AttrPort() *float64
AttrVpcSecurityGroups() awscdk.IResolvable
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
CfnResourceType() *string
ClusterIdentifier() *string
SetClusterIdentifier(val *string)
CreationStack() *[]*string
EndpointName() *string
SetEndpointName(val *string)
LogicalId() *string
Node() awscdk.ConstructNode
Ref() *string
ResourceOwner() *string
SetResourceOwner(val *string)
Stack() awscdk.Stack
SubnetGroupName() *string
SetSubnetGroupName(val *string)
UpdatedProperites() *map[string]interface{}
VpcSecurityGroupIds() *[]*string
SetVpcSecurityGroupIds(val *[]*string)
AddDeletionOverride(path *string)
AddDependsOn(target awscdk.CfnResource)
AddMetadata(key *string, value interface{})
AddOverride(path *string, value interface{})
AddPropertyDeletionOverride(propertyPath *string)
AddPropertyOverride(propertyPath *string, value interface{})
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
GetAtt(attributeName *string) awscdk.Reference
GetMetadata(key *string) interface{}
Inspect(inspector awscdk.TreeInspector)
OnPrepare()
OnSynthesize(session constructs.ISynthesisSession)
OnValidate() *[]*string
OverrideLogicalId(newLogicalId *string)
Prepare()
RenderProperties(props *map[string]interface{}) *map[string]interface{}
ShouldSynthesize() *bool
Synthesize(session awscdk.ISynthesisSession)
ToString() *string
Validate() *[]*string
ValidateProperties(_properties interface{})
}
A CloudFormation `AWS::Redshift::EndpointAccess`.
func NewCfnEndpointAccess ¶
func NewCfnEndpointAccess(scope awscdk.Construct, id *string, props *CfnEndpointAccessProps) CfnEndpointAccess
Create a new `AWS::Redshift::EndpointAccess`.
type CfnEndpointAccessProps ¶
type CfnEndpointAccessProps struct {
// `AWS::Redshift::EndpointAccess.EndpointName`.
EndpointName *string `json:"endpointName"`
// `AWS::Redshift::EndpointAccess.VpcSecurityGroupIds`.
VpcSecurityGroupIds *[]*string `json:"vpcSecurityGroupIds"`
// `AWS::Redshift::EndpointAccess.ClusterIdentifier`.
ClusterIdentifier *string `json:"clusterIdentifier"`
// `AWS::Redshift::EndpointAccess.ResourceOwner`.
ResourceOwner *string `json:"resourceOwner"`
// `AWS::Redshift::EndpointAccess.SubnetGroupName`.
SubnetGroupName *string `json:"subnetGroupName"`
}
Properties for defining a `AWS::Redshift::EndpointAccess`.
type CfnEndpointAuthorization ¶
type CfnEndpointAuthorization interface {
awscdk.CfnResource
awscdk.IInspectable
Account() *string
SetAccount(val *string)
AttrAllowedAllVpCs() awscdk.IResolvable
AttrAllowedVpCs() *[]*string
AttrAuthorizeTime() *string
AttrClusterStatus() *string
AttrEndpointCount() *float64
AttrGrantee() *string
AttrGrantor() *string
AttrStatus() *string
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
CfnResourceType() *string
ClusterIdentifier() *string
SetClusterIdentifier(val *string)
CreationStack() *[]*string
Force() interface{}
SetForce(val interface{})
LogicalId() *string
Node() awscdk.ConstructNode
Ref() *string
Stack() awscdk.Stack
UpdatedProperites() *map[string]interface{}
VpcIds() *[]*string
SetVpcIds(val *[]*string)
AddDeletionOverride(path *string)
AddDependsOn(target awscdk.CfnResource)
AddMetadata(key *string, value interface{})
AddOverride(path *string, value interface{})
AddPropertyDeletionOverride(propertyPath *string)
AddPropertyOverride(propertyPath *string, value interface{})
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
GetAtt(attributeName *string) awscdk.Reference
GetMetadata(key *string) interface{}
Inspect(inspector awscdk.TreeInspector)
OnPrepare()
OnSynthesize(session constructs.ISynthesisSession)
OnValidate() *[]*string
OverrideLogicalId(newLogicalId *string)
Prepare()
RenderProperties(props *map[string]interface{}) *map[string]interface{}
ShouldSynthesize() *bool
Synthesize(session awscdk.ISynthesisSession)
ToString() *string
Validate() *[]*string
ValidateProperties(_properties interface{})
}
A CloudFormation `AWS::Redshift::EndpointAuthorization`.
func NewCfnEndpointAuthorization ¶
func NewCfnEndpointAuthorization(scope awscdk.Construct, id *string, props *CfnEndpointAuthorizationProps) CfnEndpointAuthorization
Create a new `AWS::Redshift::EndpointAuthorization`.
type CfnEndpointAuthorizationProps ¶
type CfnEndpointAuthorizationProps struct {
// `AWS::Redshift::EndpointAuthorization.Account`.
Account *string `json:"account"`
// `AWS::Redshift::EndpointAuthorization.ClusterIdentifier`.
ClusterIdentifier *string `json:"clusterIdentifier"`
// `AWS::Redshift::EndpointAuthorization.Force`.
Force interface{} `json:"force"`
// `AWS::Redshift::EndpointAuthorization.VpcIds`.
VpcIds *[]*string `json:"vpcIds"`
}
Properties for defining a `AWS::Redshift::EndpointAuthorization`.
type CfnEventSubscription ¶
type CfnEventSubscription interface {
awscdk.CfnResource
awscdk.IInspectable
AttrCustomerAwsId() *string
AttrCustSubscriptionId() *string
AttrEventCategoriesList() *[]*string
AttrSourceIdsList() *[]*string
AttrStatus() *string
AttrSubscriptionCreationTime() *string
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
CfnResourceType() *string
CreationStack() *[]*string
Enabled() interface{}
SetEnabled(val interface{})
EventCategories() *[]*string
SetEventCategories(val *[]*string)
LogicalId() *string
Node() awscdk.ConstructNode
Ref() *string
Severity() *string
SetSeverity(val *string)
SnsTopicArn() *string
SetSnsTopicArn(val *string)
SourceIds() *[]*string
SetSourceIds(val *[]*string)
SourceType() *string
SetSourceType(val *string)
Stack() awscdk.Stack
SubscriptionName() *string
SetSubscriptionName(val *string)
Tags() awscdk.TagManager
UpdatedProperites() *map[string]interface{}
AddDeletionOverride(path *string)
AddDependsOn(target awscdk.CfnResource)
AddMetadata(key *string, value interface{})
AddOverride(path *string, value interface{})
AddPropertyDeletionOverride(propertyPath *string)
AddPropertyOverride(propertyPath *string, value interface{})
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
GetAtt(attributeName *string) awscdk.Reference
GetMetadata(key *string) interface{}
Inspect(inspector awscdk.TreeInspector)
OnPrepare()
OnSynthesize(session constructs.ISynthesisSession)
OnValidate() *[]*string
OverrideLogicalId(newLogicalId *string)
Prepare()
RenderProperties(props *map[string]interface{}) *map[string]interface{}
ShouldSynthesize() *bool
Synthesize(session awscdk.ISynthesisSession)
ToString() *string
Validate() *[]*string
ValidateProperties(_properties interface{})
}
A CloudFormation `AWS::Redshift::EventSubscription`.
func NewCfnEventSubscription ¶
func NewCfnEventSubscription(scope awscdk.Construct, id *string, props *CfnEventSubscriptionProps) CfnEventSubscription
Create a new `AWS::Redshift::EventSubscription`.
type CfnEventSubscriptionProps ¶
type CfnEventSubscriptionProps struct {
// `AWS::Redshift::EventSubscription.SubscriptionName`.
SubscriptionName *string `json:"subscriptionName"`
// `AWS::Redshift::EventSubscription.Enabled`.
Enabled interface{} `json:"enabled"`
// `AWS::Redshift::EventSubscription.EventCategories`.
EventCategories *[]*string `json:"eventCategories"`
// `AWS::Redshift::EventSubscription.Severity`.
Severity *string `json:"severity"`
// `AWS::Redshift::EventSubscription.SnsTopicArn`.
SnsTopicArn *string `json:"snsTopicArn"`
// `AWS::Redshift::EventSubscription.SourceIds`.
SourceIds *[]*string `json:"sourceIds"`
// `AWS::Redshift::EventSubscription.SourceType`.
SourceType *string `json:"sourceType"`
// `AWS::Redshift::EventSubscription.Tags`.
Tags *[]*awscdk.CfnTag `json:"tags"`
}
Properties for defining a `AWS::Redshift::EventSubscription`.
type CfnScheduledAction ¶
type CfnScheduledAction interface {
awscdk.CfnResource
awscdk.IInspectable
AttrNextInvocations() *[]*string
AttrState() *string
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
CfnResourceType() *string
CreationStack() *[]*string
Enable() interface{}
SetEnable(val interface{})
EndTime() *string
SetEndTime(val *string)
IamRole() *string
SetIamRole(val *string)
LogicalId() *string
Node() awscdk.ConstructNode
Ref() *string
Schedule() *string
SetSchedule(val *string)
ScheduledActionDescription() *string
SetScheduledActionDescription(val *string)
ScheduledActionName() *string
SetScheduledActionName(val *string)
Stack() awscdk.Stack
StartTime() *string
SetStartTime(val *string)
TargetAction() interface{}
SetTargetAction(val interface{})
UpdatedProperites() *map[string]interface{}
AddDeletionOverride(path *string)
AddDependsOn(target awscdk.CfnResource)
AddMetadata(key *string, value interface{})
AddOverride(path *string, value interface{})
AddPropertyDeletionOverride(propertyPath *string)
AddPropertyOverride(propertyPath *string, value interface{})
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
GetAtt(attributeName *string) awscdk.Reference
GetMetadata(key *string) interface{}
Inspect(inspector awscdk.TreeInspector)
OnPrepare()
OnSynthesize(session constructs.ISynthesisSession)
OnValidate() *[]*string
OverrideLogicalId(newLogicalId *string)
Prepare()
RenderProperties(props *map[string]interface{}) *map[string]interface{}
ShouldSynthesize() *bool
Synthesize(session awscdk.ISynthesisSession)
ToString() *string
Validate() *[]*string
ValidateProperties(_properties interface{})
}
A CloudFormation `AWS::Redshift::ScheduledAction`.
func NewCfnScheduledAction ¶
func NewCfnScheduledAction(scope awscdk.Construct, id *string, props *CfnScheduledActionProps) CfnScheduledAction
Create a new `AWS::Redshift::ScheduledAction`.
type CfnScheduledActionProps ¶
type CfnScheduledActionProps struct {
// `AWS::Redshift::ScheduledAction.ScheduledActionName`.
ScheduledActionName *string `json:"scheduledActionName"`
// `AWS::Redshift::ScheduledAction.Enable`.
Enable interface{} `json:"enable"`
// `AWS::Redshift::ScheduledAction.EndTime`.
EndTime *string `json:"endTime"`
// `AWS::Redshift::ScheduledAction.IamRole`.
IamRole *string `json:"iamRole"`
// `AWS::Redshift::ScheduledAction.Schedule`.
Schedule *string `json:"schedule"`
// `AWS::Redshift::ScheduledAction.ScheduledActionDescription`.
ScheduledActionDescription *string `json:"scheduledActionDescription"`
// `AWS::Redshift::ScheduledAction.StartTime`.
StartTime *string `json:"startTime"`
// `AWS::Redshift::ScheduledAction.TargetAction`.
TargetAction interface{} `json:"targetAction"`
}
Properties for defining a `AWS::Redshift::ScheduledAction`.
type CfnScheduledAction_PauseClusterMessageProperty ¶
type CfnScheduledAction_PauseClusterMessageProperty struct {
// `CfnScheduledAction.PauseClusterMessageProperty.ClusterIdentifier`.
ClusterIdentifier *string `json:"clusterIdentifier"`
}
type CfnScheduledAction_ResizeClusterMessageProperty ¶
type CfnScheduledAction_ResizeClusterMessageProperty struct {
// `CfnScheduledAction.ResizeClusterMessageProperty.ClusterIdentifier`.
ClusterIdentifier *string `json:"clusterIdentifier"`
// `CfnScheduledAction.ResizeClusterMessageProperty.Classic`.
Classic interface{} `json:"classic"`
// `CfnScheduledAction.ResizeClusterMessageProperty.ClusterType`.
ClusterType *string `json:"clusterType"`
// `CfnScheduledAction.ResizeClusterMessageProperty.NodeType`.
NodeType *string `json:"nodeType"`
// `CfnScheduledAction.ResizeClusterMessageProperty.NumberOfNodes`.
NumberOfNodes *float64 `json:"numberOfNodes"`
}
type CfnScheduledAction_ResumeClusterMessageProperty ¶
type CfnScheduledAction_ResumeClusterMessageProperty struct {
// `CfnScheduledAction.ResumeClusterMessageProperty.ClusterIdentifier`.
ClusterIdentifier *string `json:"clusterIdentifier"`
}
type CfnScheduledAction_ScheduledActionTypeProperty ¶
type CfnScheduledAction_ScheduledActionTypeProperty struct {
// `CfnScheduledAction.ScheduledActionTypeProperty.PauseCluster`.
PauseCluster interface{} `json:"pauseCluster"`
// `CfnScheduledAction.ScheduledActionTypeProperty.ResizeCluster`.
ResizeCluster interface{} `json:"resizeCluster"`
// `CfnScheduledAction.ScheduledActionTypeProperty.ResumeCluster`.
ResumeCluster interface{} `json:"resumeCluster"`
}
type Cluster ¶
type Cluster interface {
awscdk.Resource
ICluster
ClusterEndpoint() Endpoint
ClusterName() *string
Connections() awsec2.Connections
Env() *awscdk.ResourceEnvironment
Node() awscdk.ConstructNode
PhysicalName() *string
Secret() awssecretsmanager.ISecret
Stack() awscdk.Stack
AddRotationMultiUser(id *string, options *RotationMultiUserOptions) awssecretsmanager.SecretRotation
AddRotationSingleUser(automaticallyAfter awscdk.Duration) awssecretsmanager.SecretRotation
ApplyRemovalPolicy(policy awscdk.RemovalPolicy)
AsSecretAttachmentTarget() *awssecretsmanager.SecretAttachmentTargetProps
GeneratePhysicalName() *string
GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string
GetResourceNameAttribute(nameAttr *string) *string
OnPrepare()
OnSynthesize(session constructs.ISynthesisSession)
OnValidate() *[]*string
Prepare()
Synthesize(session awscdk.ISynthesisSession)
ToString() *string
Validate() *[]*string
}
Create a Redshift cluster a given number of nodes. Experimental.
func NewCluster ¶
func NewCluster(scope constructs.Construct, id *string, props *ClusterProps) Cluster
Experimental.
type ClusterAttributes ¶
type ClusterAttributes struct {
// Cluster endpoint address.
// Experimental.
ClusterEndpointAddress *string `json:"clusterEndpointAddress"`
// Cluster endpoint port.
// Experimental.
ClusterEndpointPort *float64 `json:"clusterEndpointPort"`
// Identifier for the cluster.
// Experimental.
ClusterName *string `json:"clusterName"`
// The security groups of the redshift cluster.
// Experimental.
SecurityGroups *[]awsec2.ISecurityGroup `json:"securityGroups"`
}
Properties that describe an existing cluster instance. Experimental.
type ClusterParameterGroup ¶
type ClusterParameterGroup interface {
awscdk.Resource
IClusterParameterGroup
ClusterParameterGroupName() *string
Env() *awscdk.ResourceEnvironment
Node() awscdk.ConstructNode
PhysicalName() *string
Stack() awscdk.Stack
ApplyRemovalPolicy(policy awscdk.RemovalPolicy)
GeneratePhysicalName() *string
GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string
GetResourceNameAttribute(nameAttr *string) *string
OnPrepare()
OnSynthesize(session constructs.ISynthesisSession)
OnValidate() *[]*string
Prepare()
Synthesize(session awscdk.ISynthesisSession)
ToString() *string
Validate() *[]*string
}
A cluster parameter group. Experimental.
func NewClusterParameterGroup ¶
func NewClusterParameterGroup(scope constructs.Construct, id *string, props *ClusterParameterGroupProps) ClusterParameterGroup
Experimental.
type ClusterParameterGroupProps ¶
type ClusterParameterGroupProps struct {
// The parameters in this parameter group.
// Experimental.
Parameters *map[string]*string `json:"parameters"`
// Description for this parameter group.
// Experimental.
Description *string `json:"description"`
}
Properties for a parameter group. Experimental.
type ClusterProps ¶
type ClusterProps struct {
// Username and password for the administrative user.
// Experimental.
MasterUser *Login `json:"masterUser"`
// The VPC to place the cluster in.
// Experimental.
Vpc awsec2.IVpc `json:"vpc"`
// An optional identifier for the cluster.
// Experimental.
ClusterName *string `json:"clusterName"`
// Settings for the individual instances that are launched.
// Experimental.
ClusterType ClusterType `json:"clusterType"`
// Name of a database which is automatically created inside the cluster.
// Experimental.
DefaultDatabaseName *string `json:"defaultDatabaseName"`
// Whether to enable encryption of data at rest in the cluster.
// Experimental.
Encrypted *bool `json:"encrypted"`
// The KMS key to use for encryption of data at rest.
// Experimental.
EncryptionKey awskms.IKey `json:"encryptionKey"`
// Bucket to send logs to.
//
// Logging information includes queries and connection attempts, for the specified Amazon Redshift cluster.
// Experimental.
LoggingBucket awss3.IBucket `json:"loggingBucket"`
// Prefix used for logging.
// Experimental.
LoggingKeyPrefix *string `json:"loggingKeyPrefix"`
// The node type to be provisioned for the cluster.
// Experimental.
NodeType NodeType `json:"nodeType"`
// Number of compute nodes in the cluster. Only specify this property for multi-node clusters.
//
// Value must be at least 2 and no more than 100.
// Experimental.
NumberOfNodes *float64 `json:"numberOfNodes"`
// Additional parameters to pass to the database engine https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-parameter-groups.html.
// Experimental.
ParameterGroup IClusterParameterGroup `json:"parameterGroup"`
// What port to listen on.
// Experimental.
Port *float64 `json:"port"`
// A preferred maintenance window day/time range. Should be specified as a range ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC).
//
// Example: 'Sun:23:45-Mon:00:15'
// See: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_UpgradeDBInstance.Maintenance.html#Concepts.DBMaintenance
//
// Experimental.
PreferredMaintenanceWindow *string `json:"preferredMaintenanceWindow"`
// Whether to make cluster publicly accessible.
// Experimental.
PubliclyAccessible *bool `json:"publiclyAccessible"`
// The removal policy to apply when the cluster and its instances are removed from the stack or replaced during an update.
// Experimental.
RemovalPolicy awscdk.RemovalPolicy `json:"removalPolicy"`
// A list of AWS Identity and Access Management (IAM) role that can be used by the cluster to access other AWS services.
//
// Specify a maximum of 10 roles.
// Experimental.
Roles *[]awsiam.IRole `json:"roles"`
// Security group.
// Experimental.
SecurityGroups *[]awsec2.ISecurityGroup `json:"securityGroups"`
// A cluster subnet group to use with this cluster.
// Experimental.
SubnetGroup IClusterSubnetGroup `json:"subnetGroup"`
// Where to place the instances within the VPC.
// Experimental.
VpcSubnets *awsec2.SubnetSelection `json:"vpcSubnets"`
}
Properties for a new database cluster. Experimental.
type ClusterSubnetGroup ¶
type ClusterSubnetGroup interface {
awscdk.Resource
IClusterSubnetGroup
ClusterSubnetGroupName() *string
Env() *awscdk.ResourceEnvironment
Node() awscdk.ConstructNode
PhysicalName() *string
Stack() awscdk.Stack
ApplyRemovalPolicy(policy awscdk.RemovalPolicy)
GeneratePhysicalName() *string
GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string
GetResourceNameAttribute(nameAttr *string) *string
OnPrepare()
OnSynthesize(session constructs.ISynthesisSession)
OnValidate() *[]*string
Prepare()
Synthesize(session awscdk.ISynthesisSession)
ToString() *string
Validate() *[]*string
}
Class for creating a Redshift cluster subnet group. Experimental.
func NewClusterSubnetGroup ¶
func NewClusterSubnetGroup(scope constructs.Construct, id *string, props *ClusterSubnetGroupProps) ClusterSubnetGroup
Experimental.
type ClusterSubnetGroupProps ¶
type ClusterSubnetGroupProps struct {
// Description of the subnet group.
// Experimental.
Description *string `json:"description"`
// The VPC to place the subnet group in.
// Experimental.
Vpc awsec2.IVpc `json:"vpc"`
// The removal policy to apply when the subnet group are removed from the stack or replaced during an update.
// Experimental.
RemovalPolicy awscdk.RemovalPolicy `json:"removalPolicy"`
// Which subnets within the VPC to associate with this group.
// Experimental.
VpcSubnets *awsec2.SubnetSelection `json:"vpcSubnets"`
}
Properties for creating a ClusterSubnetGroup. Experimental.
type ClusterType ¶
type ClusterType string
What cluster type to use.
Used by {@link ClusterProps.clusterType} Experimental.
const ( ClusterType_SINGLE_NODE ClusterType = "SINGLE_NODE" ClusterType_MULTI_NODE ClusterType = "MULTI_NODE" )
type Column ¶
type Column struct {
// The data type of the column.
// Experimental.
DataType *string `json:"dataType"`
// The name of the column.
// Experimental.
Name *string `json:"name"`
}
A column in a Redshift table. Experimental.
type DatabaseOptions ¶
type DatabaseOptions struct {
// The cluster containing the database.
// Experimental.
Cluster ICluster `json:"cluster"`
// The name of the database.
// Experimental.
DatabaseName *string `json:"databaseName"`
// The secret containing credentials to a Redshift user with administrator privileges.
//
// Secret JSON schema: `{ username: string; password: string }`.
// Experimental.
AdminUser awssecretsmanager.ISecret `json:"adminUser"`
}
Properties for accessing a Redshift database. Experimental.
type DatabaseSecret ¶
type DatabaseSecret interface {
awssecretsmanager.Secret
ArnForPolicies() *string
AutoCreatePolicy() *bool
EncryptionKey() awskms.IKey
Env() *awscdk.ResourceEnvironment
Node() awscdk.ConstructNode
PhysicalName() *string
SecretArn() *string
SecretFullArn() *string
SecretName() *string
SecretValue() awscdk.SecretValue
Stack() awscdk.Stack
AddReplicaRegion(region *string, encryptionKey awskms.IKey)
AddRotationSchedule(id *string, options *awssecretsmanager.RotationScheduleOptions) awssecretsmanager.RotationSchedule
AddTargetAttachment(id *string, options *awssecretsmanager.AttachedSecretOptions) awssecretsmanager.SecretTargetAttachment
AddToResourcePolicy(statement awsiam.PolicyStatement) *awsiam.AddToResourcePolicyResult
ApplyRemovalPolicy(policy awscdk.RemovalPolicy)
Attach(target awssecretsmanager.ISecretAttachmentTarget) awssecretsmanager.ISecret
DenyAccountRootDelete()
GeneratePhysicalName() *string
GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string
GetResourceNameAttribute(nameAttr *string) *string
GrantRead(grantee awsiam.IGrantable, versionStages *[]*string) awsiam.Grant
GrantWrite(grantee awsiam.IGrantable) awsiam.Grant
OnPrepare()
OnSynthesize(session constructs.ISynthesisSession)
OnValidate() *[]*string
Prepare()
SecretValueFromJson(jsonField *string) awscdk.SecretValue
Synthesize(session awscdk.ISynthesisSession)
ToString() *string
Validate() *[]*string
}
A database secret. Experimental.
func NewDatabaseSecret ¶
func NewDatabaseSecret(scope constructs.Construct, id *string, props *DatabaseSecretProps) DatabaseSecret
Experimental.
type DatabaseSecretProps ¶
type DatabaseSecretProps struct {
// The username.
// Experimental.
Username *string `json:"username"`
// The KMS key to use to encrypt the secret.
// Experimental.
EncryptionKey awskms.IKey `json:"encryptionKey"`
}
Construction properties for a DatabaseSecret. Experimental.
type Endpoint ¶
Connection endpoint of a redshift cluster.
Consists of a combination of hostname and port. Experimental.
type ICluster ¶
type ICluster interface {
awsec2.IConnectable
awscdk.IResource
awssecretsmanager.ISecretAttachmentTarget
// The endpoint to use for read/write operations.
// Experimental.
ClusterEndpoint() Endpoint
// Name of the cluster.
// Experimental.
ClusterName() *string
}
Create a Redshift Cluster with a given number of nodes.
Implemented by {@link Cluster} via {@link ClusterBase}. Experimental.
func Cluster_FromClusterAttributes ¶
func Cluster_FromClusterAttributes(scope constructs.Construct, id *string, attrs *ClusterAttributes) ICluster
Import an existing DatabaseCluster from properties. Experimental.
type IClusterParameterGroup ¶
type IClusterParameterGroup interface {
awscdk.IResource
// The name of this parameter group.
// Experimental.
ClusterParameterGroupName() *string
}
A parameter group. Experimental.
func ClusterParameterGroup_FromClusterParameterGroupName ¶
func ClusterParameterGroup_FromClusterParameterGroupName(scope constructs.Construct, id *string, clusterParameterGroupName *string) IClusterParameterGroup
Imports a parameter group. Experimental.
type IClusterSubnetGroup ¶
type IClusterSubnetGroup interface {
awscdk.IResource
// The name of the cluster subnet group.
// Experimental.
ClusterSubnetGroupName() *string
}
Interface for a cluster subnet group. Experimental.
func ClusterSubnetGroup_FromClusterSubnetGroupName ¶
func ClusterSubnetGroup_FromClusterSubnetGroupName(scope constructs.Construct, id *string, clusterSubnetGroupName *string) IClusterSubnetGroup
Imports an existing subnet group by name. Experimental.
type ITable ¶
type ITable interface {
awscdk.IConstruct
// Grant a user privilege to access this table.
// Experimental.
Grant(user IUser, actions ...TableAction)
// The cluster where the table is located.
// Experimental.
Cluster() ICluster
// The name of the database where the table is located.
// Experimental.
DatabaseName() *string
// The columns of the table.
// Experimental.
TableColumns() *[]*Column
// Name of the table.
// Experimental.
TableName() *string
}
Represents a table in a Redshift database. Experimental.
func Table_FromTableAttributes ¶
func Table_FromTableAttributes(scope constructs.Construct, id *string, attrs *TableAttributes) ITable
Specify a Redshift table using a table name and schema that already exists. Experimental.
type IUser ¶
type IUser interface {
awscdk.IConstruct
// Grant this user privilege to access a table.
// Experimental.
AddTablePrivileges(table ITable, actions ...TableAction)
// The cluster where the table is located.
// Experimental.
Cluster() ICluster
// The name of the database where the table is located.
// Experimental.
DatabaseName() *string
// The password of the user.
// Experimental.
Password() awscdk.SecretValue
// The name of the user.
// Experimental.
Username() *string
}
Represents a user in a Redshift database. Experimental.
func User_FromUserAttributes ¶
func User_FromUserAttributes(scope constructs.Construct, id *string, attrs *UserAttributes) IUser
Specify a Redshift user using credentials that already exist. Experimental.
type Login ¶
type Login struct {
// Username.
// Experimental.
MasterUsername *string `json:"masterUsername"`
// KMS encryption key to encrypt the generated secret.
// Experimental.
EncryptionKey awskms.IKey `json:"encryptionKey"`
// Password.
//
// Do not put passwords in your CDK code directly.
// Experimental.
MasterPassword awscdk.SecretValue `json:"masterPassword"`
}
Username and password combination. Experimental.
type NodeType ¶
type NodeType string
Possible Node Types to use in the cluster used for defining {@link ClusterProps.nodeType}. Experimental.
const ( NodeType_DS2_XLARGE NodeType = "DS2_XLARGE" NodeType_DS2_8XLARGE NodeType = "DS2_8XLARGE" NodeType_DC1_LARGE NodeType = "DC1_LARGE" NodeType_DC1_8XLARGE NodeType = "DC1_8XLARGE" NodeType_DC2_LARGE NodeType = "DC2_LARGE" NodeType_DC2_8XLARGE NodeType = "DC2_8XLARGE" NodeType_RA3_XLPLUS NodeType = "RA3_XLPLUS" NodeType_RA3_4XLARGE NodeType = "RA3_4XLARGE" NodeType_RA3_16XLARGE NodeType = "RA3_16XLARGE" )
type RotationMultiUserOptions ¶
type RotationMultiUserOptions struct {
// The secret to rotate.
//
// It must be a JSON string with the following format:
// “`
// {
// "engine": <required: database engine>,
// "host": <required: instance host name>,
// "username": <required: username>,
// "password": <required: password>,
// "dbname": <optional: database name>,
// "port": <optional: if not specified, default port will be used>,
// "masterarn": <required: the arn of the master secret which will be used to create users/change passwords>
// }
// “`
// Experimental.
Secret awssecretsmanager.ISecret `json:"secret"`
// Specifies the number of days after the previous rotation before Secrets Manager triggers the next automatic rotation.
// Experimental.
AutomaticallyAfter awscdk.Duration `json:"automaticallyAfter"`
}
Options to add the multi user rotation. Experimental.
type Table ¶
type Table interface {
awscdk.Construct
ITable
Cluster() ICluster
DatabaseName() *string
Node() awscdk.ConstructNode
TableColumns() *[]*Column
TableName() *string
ApplyRemovalPolicy(policy awscdk.RemovalPolicy)
Grant(user IUser, actions ...TableAction)
OnPrepare()
OnSynthesize(session constructs.ISynthesisSession)
OnValidate() *[]*string
Prepare()
Synthesize(session awscdk.ISynthesisSession)
ToString() *string
Validate() *[]*string
}
A table in a Redshift cluster. Experimental.
func NewTable ¶
func NewTable(scope constructs.Construct, id *string, props *TableProps) Table
Experimental.
type TableAction ¶
type TableAction string
An action that a Redshift user can be granted privilege to perform on a table. Experimental.
const ( TableAction_SELECT TableAction = "SELECT" TableAction_INSERT TableAction = "INSERT" TableAction_UPDATE TableAction = "UPDATE" TableAction_DELETE TableAction = "DELETE" TableAction_DROP TableAction = "DROP" TableAction_REFERENCES TableAction = "REFERENCES" TableAction_ALL TableAction = "ALL" )
type TableAttributes ¶
type TableAttributes struct {
// The cluster where the table is located.
// Experimental.
Cluster ICluster `json:"cluster"`
// The name of the database where the table is located.
// Experimental.
DatabaseName *string `json:"databaseName"`
// The columns of the table.
// Experimental.
TableColumns *[]*Column `json:"tableColumns"`
// Name of the table.
// Experimental.
TableName *string `json:"tableName"`
}
A full specification of a Redshift table that can be used to import it fluently into the CDK application. Experimental.
type TableProps ¶
type TableProps struct {
// The cluster containing the database.
// Experimental.
Cluster ICluster `json:"cluster"`
// The name of the database.
// Experimental.
DatabaseName *string `json:"databaseName"`
// The secret containing credentials to a Redshift user with administrator privileges.
//
// Secret JSON schema: `{ username: string; password: string }`.
// Experimental.
AdminUser awssecretsmanager.ISecret `json:"adminUser"`
// The columns of the table.
// Experimental.
TableColumns *[]*Column `json:"tableColumns"`
// The policy to apply when this resource is removed from the application.
// Experimental.
RemovalPolicy awscdk.RemovalPolicy `json:"removalPolicy"`
// The name of the table.
// Experimental.
TableName *string `json:"tableName"`
}
Properties for configuring a Redshift table. Experimental.
type User ¶
type User interface {
awscdk.Construct
IUser
Cluster() ICluster
DatabaseName() *string
DatabaseProps() *DatabaseOptions
SetDatabaseProps(val *DatabaseOptions)
Node() awscdk.ConstructNode
Password() awscdk.SecretValue
Username() *string
AddTablePrivileges(table ITable, actions ...TableAction)
ApplyRemovalPolicy(policy awscdk.RemovalPolicy)
OnPrepare()
OnSynthesize(session constructs.ISynthesisSession)
OnValidate() *[]*string
Prepare()
Synthesize(session awscdk.ISynthesisSession)
ToString() *string
Validate() *[]*string
}
A user in a Redshift cluster. Experimental.
type UserAttributes ¶
type UserAttributes struct {
// The cluster containing the database.
// Experimental.
Cluster ICluster `json:"cluster"`
// The name of the database.
// Experimental.
DatabaseName *string `json:"databaseName"`
// The secret containing credentials to a Redshift user with administrator privileges.
//
// Secret JSON schema: `{ username: string; password: string }`.
// Experimental.
AdminUser awssecretsmanager.ISecret `json:"adminUser"`
// The password of the user.
//
// Do not put passwords in CDK code directly.
// Experimental.
Password awscdk.SecretValue `json:"password"`
// The name of the user.
// Experimental.
Username *string `json:"username"`
}
A full specification of a Redshift user that can be used to import it fluently into the CDK application. Experimental.
type UserProps ¶
type UserProps struct {
// The cluster containing the database.
// Experimental.
Cluster ICluster `json:"cluster"`
// The name of the database.
// Experimental.
DatabaseName *string `json:"databaseName"`
// The secret containing credentials to a Redshift user with administrator privileges.
//
// Secret JSON schema: `{ username: string; password: string }`.
// Experimental.
AdminUser awssecretsmanager.ISecret `json:"adminUser"`
// KMS key to encrypt the generated secret.
// Experimental.
EncryptionKey awskms.IKey `json:"encryptionKey"`
// The policy to apply when this resource is removed from the application.
// Experimental.
RemovalPolicy awscdk.RemovalPolicy `json:"removalPolicy"`
// The name of the user.
//
// For valid values, see: https://docs.aws.amazon.com/redshift/latest/dg/r_names.html
// Experimental.
Username *string `json:"username"`
}
Properties for configuring a Redshift user. Experimental.