Documentation ¶
Index ¶
- type Cluster
- func (*Cluster) ElementType() reflect.Type
- func (i *Cluster) ToClusterOutput() ClusterOutput
- func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
- func (i *Cluster) ToClusterPtrOutput() ClusterPtrOutput
- func (i *Cluster) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput
- type ClusterArgs
- type ClusterArray
- type ClusterArrayInput
- type ClusterArrayOutput
- type ClusterClusterNode
- type ClusterClusterNodeArgs
- type ClusterClusterNodeArray
- type ClusterClusterNodeArrayInput
- type ClusterClusterNodeArrayOutput
- func (ClusterClusterNodeArrayOutput) ElementType() reflect.Type
- func (o ClusterClusterNodeArrayOutput) Index(i pulumi.IntInput) ClusterClusterNodeOutput
- func (o ClusterClusterNodeArrayOutput) ToClusterClusterNodeArrayOutput() ClusterClusterNodeArrayOutput
- func (o ClusterClusterNodeArrayOutput) ToClusterClusterNodeArrayOutputWithContext(ctx context.Context) ClusterClusterNodeArrayOutput
- type ClusterClusterNodeInput
- type ClusterClusterNodeOutput
- func (ClusterClusterNodeOutput) ElementType() reflect.Type
- func (o ClusterClusterNodeOutput) NodeRole() pulumi.StringPtrOutput
- func (o ClusterClusterNodeOutput) PrivateIpAddress() pulumi.StringPtrOutput
- func (o ClusterClusterNodeOutput) PublicIpAddress() pulumi.StringPtrOutput
- func (o ClusterClusterNodeOutput) ToClusterClusterNodeOutput() ClusterClusterNodeOutput
- func (o ClusterClusterNodeOutput) ToClusterClusterNodeOutputWithContext(ctx context.Context) ClusterClusterNodeOutput
- type ClusterInput
- type ClusterLogging
- type ClusterLoggingArgs
- func (ClusterLoggingArgs) ElementType() reflect.Type
- func (i ClusterLoggingArgs) ToClusterLoggingOutput() ClusterLoggingOutput
- func (i ClusterLoggingArgs) ToClusterLoggingOutputWithContext(ctx context.Context) ClusterLoggingOutput
- func (i ClusterLoggingArgs) ToClusterLoggingPtrOutput() ClusterLoggingPtrOutput
- func (i ClusterLoggingArgs) ToClusterLoggingPtrOutputWithContext(ctx context.Context) ClusterLoggingPtrOutput
- type ClusterLoggingInput
- type ClusterLoggingOutput
- func (o ClusterLoggingOutput) BucketName() pulumi.StringPtrOutput
- func (ClusterLoggingOutput) ElementType() reflect.Type
- func (o ClusterLoggingOutput) Enable() pulumi.BoolOutput
- func (o ClusterLoggingOutput) S3KeyPrefix() pulumi.StringPtrOutput
- func (o ClusterLoggingOutput) ToClusterLoggingOutput() ClusterLoggingOutput
- func (o ClusterLoggingOutput) ToClusterLoggingOutputWithContext(ctx context.Context) ClusterLoggingOutput
- func (o ClusterLoggingOutput) ToClusterLoggingPtrOutput() ClusterLoggingPtrOutput
- func (o ClusterLoggingOutput) ToClusterLoggingPtrOutputWithContext(ctx context.Context) ClusterLoggingPtrOutput
- type ClusterLoggingPtrInput
- type ClusterLoggingPtrOutput
- func (o ClusterLoggingPtrOutput) BucketName() pulumi.StringPtrOutput
- func (o ClusterLoggingPtrOutput) Elem() ClusterLoggingOutput
- func (ClusterLoggingPtrOutput) ElementType() reflect.Type
- func (o ClusterLoggingPtrOutput) Enable() pulumi.BoolPtrOutput
- func (o ClusterLoggingPtrOutput) S3KeyPrefix() pulumi.StringPtrOutput
- func (o ClusterLoggingPtrOutput) ToClusterLoggingPtrOutput() ClusterLoggingPtrOutput
- func (o ClusterLoggingPtrOutput) ToClusterLoggingPtrOutputWithContext(ctx context.Context) ClusterLoggingPtrOutput
- type ClusterMap
- type ClusterMapInput
- type ClusterMapOutput
- type ClusterOutput
- func (ClusterOutput) ElementType() reflect.Type
- func (o ClusterOutput) ToClusterOutput() ClusterOutput
- func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
- func (o ClusterOutput) ToClusterPtrOutput() ClusterPtrOutput
- func (o ClusterOutput) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput
- type ClusterPtrInput
- type ClusterPtrOutput
- type ClusterSnapshotCopy
- type ClusterSnapshotCopyArgs
- func (ClusterSnapshotCopyArgs) ElementType() reflect.Type
- func (i ClusterSnapshotCopyArgs) ToClusterSnapshotCopyOutput() ClusterSnapshotCopyOutput
- func (i ClusterSnapshotCopyArgs) ToClusterSnapshotCopyOutputWithContext(ctx context.Context) ClusterSnapshotCopyOutput
- func (i ClusterSnapshotCopyArgs) ToClusterSnapshotCopyPtrOutput() ClusterSnapshotCopyPtrOutput
- func (i ClusterSnapshotCopyArgs) ToClusterSnapshotCopyPtrOutputWithContext(ctx context.Context) ClusterSnapshotCopyPtrOutput
- type ClusterSnapshotCopyInput
- type ClusterSnapshotCopyOutput
- func (o ClusterSnapshotCopyOutput) DestinationRegion() pulumi.StringOutput
- func (ClusterSnapshotCopyOutput) ElementType() reflect.Type
- func (o ClusterSnapshotCopyOutput) GrantName() pulumi.StringPtrOutput
- func (o ClusterSnapshotCopyOutput) RetentionPeriod() pulumi.IntPtrOutput
- func (o ClusterSnapshotCopyOutput) ToClusterSnapshotCopyOutput() ClusterSnapshotCopyOutput
- func (o ClusterSnapshotCopyOutput) ToClusterSnapshotCopyOutputWithContext(ctx context.Context) ClusterSnapshotCopyOutput
- func (o ClusterSnapshotCopyOutput) ToClusterSnapshotCopyPtrOutput() ClusterSnapshotCopyPtrOutput
- func (o ClusterSnapshotCopyOutput) ToClusterSnapshotCopyPtrOutputWithContext(ctx context.Context) ClusterSnapshotCopyPtrOutput
- type ClusterSnapshotCopyPtrInput
- type ClusterSnapshotCopyPtrOutput
- func (o ClusterSnapshotCopyPtrOutput) DestinationRegion() pulumi.StringPtrOutput
- func (o ClusterSnapshotCopyPtrOutput) Elem() ClusterSnapshotCopyOutput
- func (ClusterSnapshotCopyPtrOutput) ElementType() reflect.Type
- func (o ClusterSnapshotCopyPtrOutput) GrantName() pulumi.StringPtrOutput
- func (o ClusterSnapshotCopyPtrOutput) RetentionPeriod() pulumi.IntPtrOutput
- func (o ClusterSnapshotCopyPtrOutput) ToClusterSnapshotCopyPtrOutput() ClusterSnapshotCopyPtrOutput
- func (o ClusterSnapshotCopyPtrOutput) ToClusterSnapshotCopyPtrOutputWithContext(ctx context.Context) ClusterSnapshotCopyPtrOutput
- type ClusterState
- type EventSubscription
- func (*EventSubscription) ElementType() reflect.Type
- func (i *EventSubscription) ToEventSubscriptionOutput() EventSubscriptionOutput
- func (i *EventSubscription) ToEventSubscriptionOutputWithContext(ctx context.Context) EventSubscriptionOutput
- func (i *EventSubscription) ToEventSubscriptionPtrOutput() EventSubscriptionPtrOutput
- func (i *EventSubscription) ToEventSubscriptionPtrOutputWithContext(ctx context.Context) EventSubscriptionPtrOutput
- type EventSubscriptionArgs
- type EventSubscriptionArray
- type EventSubscriptionArrayInput
- type EventSubscriptionArrayOutput
- func (EventSubscriptionArrayOutput) ElementType() reflect.Type
- func (o EventSubscriptionArrayOutput) Index(i pulumi.IntInput) EventSubscriptionOutput
- func (o EventSubscriptionArrayOutput) ToEventSubscriptionArrayOutput() EventSubscriptionArrayOutput
- func (o EventSubscriptionArrayOutput) ToEventSubscriptionArrayOutputWithContext(ctx context.Context) EventSubscriptionArrayOutput
- type EventSubscriptionInput
- type EventSubscriptionMap
- type EventSubscriptionMapInput
- type EventSubscriptionMapOutput
- func (EventSubscriptionMapOutput) ElementType() reflect.Type
- func (o EventSubscriptionMapOutput) MapIndex(k pulumi.StringInput) EventSubscriptionOutput
- func (o EventSubscriptionMapOutput) ToEventSubscriptionMapOutput() EventSubscriptionMapOutput
- func (o EventSubscriptionMapOutput) ToEventSubscriptionMapOutputWithContext(ctx context.Context) EventSubscriptionMapOutput
- type EventSubscriptionOutput
- func (EventSubscriptionOutput) ElementType() reflect.Type
- func (o EventSubscriptionOutput) ToEventSubscriptionOutput() EventSubscriptionOutput
- func (o EventSubscriptionOutput) ToEventSubscriptionOutputWithContext(ctx context.Context) EventSubscriptionOutput
- func (o EventSubscriptionOutput) ToEventSubscriptionPtrOutput() EventSubscriptionPtrOutput
- func (o EventSubscriptionOutput) ToEventSubscriptionPtrOutputWithContext(ctx context.Context) EventSubscriptionPtrOutput
- type EventSubscriptionPtrInput
- type EventSubscriptionPtrOutput
- func (o EventSubscriptionPtrOutput) Elem() EventSubscriptionOutput
- func (EventSubscriptionPtrOutput) ElementType() reflect.Type
- func (o EventSubscriptionPtrOutput) ToEventSubscriptionPtrOutput() EventSubscriptionPtrOutput
- func (o EventSubscriptionPtrOutput) ToEventSubscriptionPtrOutputWithContext(ctx context.Context) EventSubscriptionPtrOutput
- type EventSubscriptionState
- type GetOrderableClusterArgs
- type GetOrderableClusterOutputArgs
- type GetOrderableClusterResult
- type GetOrderableClusterResultOutput
- func (o GetOrderableClusterResultOutput) AvailabilityZones() pulumi.StringArrayOutput
- func (o GetOrderableClusterResultOutput) ClusterType() pulumi.StringOutput
- func (o GetOrderableClusterResultOutput) ClusterVersion() pulumi.StringOutput
- func (GetOrderableClusterResultOutput) ElementType() reflect.Type
- func (o GetOrderableClusterResultOutput) Id() pulumi.StringOutput
- func (o GetOrderableClusterResultOutput) NodeType() pulumi.StringOutput
- func (o GetOrderableClusterResultOutput) PreferredNodeTypes() pulumi.StringArrayOutput
- func (o GetOrderableClusterResultOutput) ToGetOrderableClusterResultOutput() GetOrderableClusterResultOutput
- func (o GetOrderableClusterResultOutput) ToGetOrderableClusterResultOutputWithContext(ctx context.Context) GetOrderableClusterResultOutput
- type GetServiceAccountArgs
- type GetServiceAccountOutputArgs
- type GetServiceAccountResult
- type GetServiceAccountResultOutput
- func (o GetServiceAccountResultOutput) Arn() pulumi.StringOutput
- func (GetServiceAccountResultOutput) ElementType() reflect.Type
- func (o GetServiceAccountResultOutput) Id() pulumi.StringOutput
- func (o GetServiceAccountResultOutput) Region() pulumi.StringPtrOutput
- func (o GetServiceAccountResultOutput) ToGetServiceAccountResultOutput() GetServiceAccountResultOutput
- func (o GetServiceAccountResultOutput) ToGetServiceAccountResultOutputWithContext(ctx context.Context) GetServiceAccountResultOutput
- type LookupClusterArgs
- type LookupClusterOutputArgs
- type LookupClusterResult
- type LookupClusterResultOutput
- func (o LookupClusterResultOutput) AllowVersionUpgrade() pulumi.BoolOutput
- func (o LookupClusterResultOutput) AutomatedSnapshotRetentionPeriod() pulumi.IntOutput
- func (o LookupClusterResultOutput) AvailabilityZone() pulumi.StringOutput
- func (o LookupClusterResultOutput) BucketName() pulumi.StringOutput
- func (o LookupClusterResultOutput) ClusterIdentifier() pulumi.StringOutput
- func (o LookupClusterResultOutput) ClusterParameterGroupName() pulumi.StringOutput
- func (o LookupClusterResultOutput) ClusterPublicKey() pulumi.StringOutput
- func (o LookupClusterResultOutput) ClusterRevisionNumber() pulumi.StringOutput
- func (o LookupClusterResultOutput) ClusterSecurityGroups() pulumi.StringArrayOutput
- func (o LookupClusterResultOutput) ClusterSubnetGroupName() pulumi.StringOutput
- func (o LookupClusterResultOutput) ClusterType() pulumi.StringOutput
- func (o LookupClusterResultOutput) ClusterVersion() pulumi.StringOutput
- func (o LookupClusterResultOutput) DatabaseName() pulumi.StringOutput
- func (o LookupClusterResultOutput) ElasticIp() pulumi.StringOutput
- func (LookupClusterResultOutput) ElementType() reflect.Type
- func (o LookupClusterResultOutput) EnableLogging() pulumi.BoolOutput
- func (o LookupClusterResultOutput) Encrypted() pulumi.BoolOutput
- func (o LookupClusterResultOutput) Endpoint() pulumi.StringOutput
- func (o LookupClusterResultOutput) EnhancedVpcRouting() pulumi.BoolOutput
- func (o LookupClusterResultOutput) IamRoles() pulumi.StringArrayOutput
- func (o LookupClusterResultOutput) Id() pulumi.StringOutput
- func (o LookupClusterResultOutput) KmsKeyId() pulumi.StringOutput
- func (o LookupClusterResultOutput) MasterUsername() pulumi.StringOutput
- func (o LookupClusterResultOutput) NodeType() pulumi.StringOutput
- func (o LookupClusterResultOutput) NumberOfNodes() pulumi.IntOutput
- func (o LookupClusterResultOutput) Port() pulumi.IntOutput
- func (o LookupClusterResultOutput) PreferredMaintenanceWindow() pulumi.StringOutput
- func (o LookupClusterResultOutput) PubliclyAccessible() pulumi.BoolOutput
- func (o LookupClusterResultOutput) S3KeyPrefix() pulumi.StringOutput
- func (o LookupClusterResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupClusterResultOutput) ToLookupClusterResultOutput() LookupClusterResultOutput
- func (o LookupClusterResultOutput) ToLookupClusterResultOutputWithContext(ctx context.Context) LookupClusterResultOutput
- func (o LookupClusterResultOutput) VpcId() pulumi.StringOutput
- func (o LookupClusterResultOutput) VpcSecurityGroupIds() pulumi.StringArrayOutput
- type ParameterGroup
- func (*ParameterGroup) ElementType() reflect.Type
- func (i *ParameterGroup) ToParameterGroupOutput() ParameterGroupOutput
- func (i *ParameterGroup) ToParameterGroupOutputWithContext(ctx context.Context) ParameterGroupOutput
- func (i *ParameterGroup) ToParameterGroupPtrOutput() ParameterGroupPtrOutput
- func (i *ParameterGroup) ToParameterGroupPtrOutputWithContext(ctx context.Context) ParameterGroupPtrOutput
- type ParameterGroupArgs
- type ParameterGroupArray
- type ParameterGroupArrayInput
- type ParameterGroupArrayOutput
- func (ParameterGroupArrayOutput) ElementType() reflect.Type
- func (o ParameterGroupArrayOutput) Index(i pulumi.IntInput) ParameterGroupOutput
- func (o ParameterGroupArrayOutput) ToParameterGroupArrayOutput() ParameterGroupArrayOutput
- func (o ParameterGroupArrayOutput) ToParameterGroupArrayOutputWithContext(ctx context.Context) ParameterGroupArrayOutput
- type ParameterGroupInput
- type ParameterGroupMap
- type ParameterGroupMapInput
- type ParameterGroupMapOutput
- func (ParameterGroupMapOutput) ElementType() reflect.Type
- func (o ParameterGroupMapOutput) MapIndex(k pulumi.StringInput) ParameterGroupOutput
- func (o ParameterGroupMapOutput) ToParameterGroupMapOutput() ParameterGroupMapOutput
- func (o ParameterGroupMapOutput) ToParameterGroupMapOutputWithContext(ctx context.Context) ParameterGroupMapOutput
- type ParameterGroupOutput
- func (ParameterGroupOutput) ElementType() reflect.Type
- func (o ParameterGroupOutput) ToParameterGroupOutput() ParameterGroupOutput
- func (o ParameterGroupOutput) ToParameterGroupOutputWithContext(ctx context.Context) ParameterGroupOutput
- func (o ParameterGroupOutput) ToParameterGroupPtrOutput() ParameterGroupPtrOutput
- func (o ParameterGroupOutput) ToParameterGroupPtrOutputWithContext(ctx context.Context) ParameterGroupPtrOutput
- type ParameterGroupParameter
- type ParameterGroupParameterArgs
- type ParameterGroupParameterArray
- func (ParameterGroupParameterArray) ElementType() reflect.Type
- func (i ParameterGroupParameterArray) ToParameterGroupParameterArrayOutput() ParameterGroupParameterArrayOutput
- func (i ParameterGroupParameterArray) ToParameterGroupParameterArrayOutputWithContext(ctx context.Context) ParameterGroupParameterArrayOutput
- type ParameterGroupParameterArrayInput
- type ParameterGroupParameterArrayOutput
- func (ParameterGroupParameterArrayOutput) ElementType() reflect.Type
- func (o ParameterGroupParameterArrayOutput) Index(i pulumi.IntInput) ParameterGroupParameterOutput
- func (o ParameterGroupParameterArrayOutput) ToParameterGroupParameterArrayOutput() ParameterGroupParameterArrayOutput
- func (o ParameterGroupParameterArrayOutput) ToParameterGroupParameterArrayOutputWithContext(ctx context.Context) ParameterGroupParameterArrayOutput
- type ParameterGroupParameterInput
- type ParameterGroupParameterOutput
- func (ParameterGroupParameterOutput) ElementType() reflect.Type
- func (o ParameterGroupParameterOutput) Name() pulumi.StringOutput
- func (o ParameterGroupParameterOutput) ToParameterGroupParameterOutput() ParameterGroupParameterOutput
- func (o ParameterGroupParameterOutput) ToParameterGroupParameterOutputWithContext(ctx context.Context) ParameterGroupParameterOutput
- func (o ParameterGroupParameterOutput) Value() pulumi.StringOutput
- type ParameterGroupPtrInput
- type ParameterGroupPtrOutput
- func (o ParameterGroupPtrOutput) Elem() ParameterGroupOutput
- func (ParameterGroupPtrOutput) ElementType() reflect.Type
- func (o ParameterGroupPtrOutput) ToParameterGroupPtrOutput() ParameterGroupPtrOutput
- func (o ParameterGroupPtrOutput) ToParameterGroupPtrOutputWithContext(ctx context.Context) ParameterGroupPtrOutput
- type ParameterGroupState
- type ScheduledAction
- func (*ScheduledAction) ElementType() reflect.Type
- func (i *ScheduledAction) ToScheduledActionOutput() ScheduledActionOutput
- func (i *ScheduledAction) ToScheduledActionOutputWithContext(ctx context.Context) ScheduledActionOutput
- func (i *ScheduledAction) ToScheduledActionPtrOutput() ScheduledActionPtrOutput
- func (i *ScheduledAction) ToScheduledActionPtrOutputWithContext(ctx context.Context) ScheduledActionPtrOutput
- type ScheduledActionArgs
- type ScheduledActionArray
- type ScheduledActionArrayInput
- type ScheduledActionArrayOutput
- func (ScheduledActionArrayOutput) ElementType() reflect.Type
- func (o ScheduledActionArrayOutput) Index(i pulumi.IntInput) ScheduledActionOutput
- func (o ScheduledActionArrayOutput) ToScheduledActionArrayOutput() ScheduledActionArrayOutput
- func (o ScheduledActionArrayOutput) ToScheduledActionArrayOutputWithContext(ctx context.Context) ScheduledActionArrayOutput
- type ScheduledActionInput
- type ScheduledActionMap
- type ScheduledActionMapInput
- type ScheduledActionMapOutput
- func (ScheduledActionMapOutput) ElementType() reflect.Type
- func (o ScheduledActionMapOutput) MapIndex(k pulumi.StringInput) ScheduledActionOutput
- func (o ScheduledActionMapOutput) ToScheduledActionMapOutput() ScheduledActionMapOutput
- func (o ScheduledActionMapOutput) ToScheduledActionMapOutputWithContext(ctx context.Context) ScheduledActionMapOutput
- type ScheduledActionOutput
- func (ScheduledActionOutput) ElementType() reflect.Type
- func (o ScheduledActionOutput) ToScheduledActionOutput() ScheduledActionOutput
- func (o ScheduledActionOutput) ToScheduledActionOutputWithContext(ctx context.Context) ScheduledActionOutput
- func (o ScheduledActionOutput) ToScheduledActionPtrOutput() ScheduledActionPtrOutput
- func (o ScheduledActionOutput) ToScheduledActionPtrOutputWithContext(ctx context.Context) ScheduledActionPtrOutput
- type ScheduledActionPtrInput
- type ScheduledActionPtrOutput
- func (o ScheduledActionPtrOutput) Elem() ScheduledActionOutput
- func (ScheduledActionPtrOutput) ElementType() reflect.Type
- func (o ScheduledActionPtrOutput) ToScheduledActionPtrOutput() ScheduledActionPtrOutput
- func (o ScheduledActionPtrOutput) ToScheduledActionPtrOutputWithContext(ctx context.Context) ScheduledActionPtrOutput
- type ScheduledActionState
- type ScheduledActionTargetAction
- type ScheduledActionTargetActionArgs
- func (ScheduledActionTargetActionArgs) ElementType() reflect.Type
- func (i ScheduledActionTargetActionArgs) ToScheduledActionTargetActionOutput() ScheduledActionTargetActionOutput
- func (i ScheduledActionTargetActionArgs) ToScheduledActionTargetActionOutputWithContext(ctx context.Context) ScheduledActionTargetActionOutput
- func (i ScheduledActionTargetActionArgs) ToScheduledActionTargetActionPtrOutput() ScheduledActionTargetActionPtrOutput
- func (i ScheduledActionTargetActionArgs) ToScheduledActionTargetActionPtrOutputWithContext(ctx context.Context) ScheduledActionTargetActionPtrOutput
- type ScheduledActionTargetActionInput
- type ScheduledActionTargetActionOutput
- func (ScheduledActionTargetActionOutput) ElementType() reflect.Type
- func (o ScheduledActionTargetActionOutput) PauseCluster() ScheduledActionTargetActionPauseClusterPtrOutput
- func (o ScheduledActionTargetActionOutput) ResizeCluster() ScheduledActionTargetActionResizeClusterPtrOutput
- func (o ScheduledActionTargetActionOutput) ResumeCluster() ScheduledActionTargetActionResumeClusterPtrOutput
- func (o ScheduledActionTargetActionOutput) ToScheduledActionTargetActionOutput() ScheduledActionTargetActionOutput
- func (o ScheduledActionTargetActionOutput) ToScheduledActionTargetActionOutputWithContext(ctx context.Context) ScheduledActionTargetActionOutput
- func (o ScheduledActionTargetActionOutput) ToScheduledActionTargetActionPtrOutput() ScheduledActionTargetActionPtrOutput
- func (o ScheduledActionTargetActionOutput) ToScheduledActionTargetActionPtrOutputWithContext(ctx context.Context) ScheduledActionTargetActionPtrOutput
- type ScheduledActionTargetActionPauseCluster
- type ScheduledActionTargetActionPauseClusterArgs
- func (ScheduledActionTargetActionPauseClusterArgs) ElementType() reflect.Type
- func (i ScheduledActionTargetActionPauseClusterArgs) ToScheduledActionTargetActionPauseClusterOutput() ScheduledActionTargetActionPauseClusterOutput
- func (i ScheduledActionTargetActionPauseClusterArgs) ToScheduledActionTargetActionPauseClusterOutputWithContext(ctx context.Context) ScheduledActionTargetActionPauseClusterOutput
- func (i ScheduledActionTargetActionPauseClusterArgs) ToScheduledActionTargetActionPauseClusterPtrOutput() ScheduledActionTargetActionPauseClusterPtrOutput
- func (i ScheduledActionTargetActionPauseClusterArgs) ToScheduledActionTargetActionPauseClusterPtrOutputWithContext(ctx context.Context) ScheduledActionTargetActionPauseClusterPtrOutput
- type ScheduledActionTargetActionPauseClusterInput
- type ScheduledActionTargetActionPauseClusterOutput
- func (o ScheduledActionTargetActionPauseClusterOutput) ClusterIdentifier() pulumi.StringOutput
- func (ScheduledActionTargetActionPauseClusterOutput) ElementType() reflect.Type
- func (o ScheduledActionTargetActionPauseClusterOutput) ToScheduledActionTargetActionPauseClusterOutput() ScheduledActionTargetActionPauseClusterOutput
- func (o ScheduledActionTargetActionPauseClusterOutput) ToScheduledActionTargetActionPauseClusterOutputWithContext(ctx context.Context) ScheduledActionTargetActionPauseClusterOutput
- func (o ScheduledActionTargetActionPauseClusterOutput) ToScheduledActionTargetActionPauseClusterPtrOutput() ScheduledActionTargetActionPauseClusterPtrOutput
- func (o ScheduledActionTargetActionPauseClusterOutput) ToScheduledActionTargetActionPauseClusterPtrOutputWithContext(ctx context.Context) ScheduledActionTargetActionPauseClusterPtrOutput
- type ScheduledActionTargetActionPauseClusterPtrInput
- type ScheduledActionTargetActionPauseClusterPtrOutput
- func (o ScheduledActionTargetActionPauseClusterPtrOutput) ClusterIdentifier() pulumi.StringPtrOutput
- func (o ScheduledActionTargetActionPauseClusterPtrOutput) Elem() ScheduledActionTargetActionPauseClusterOutput
- func (ScheduledActionTargetActionPauseClusterPtrOutput) ElementType() reflect.Type
- func (o ScheduledActionTargetActionPauseClusterPtrOutput) ToScheduledActionTargetActionPauseClusterPtrOutput() ScheduledActionTargetActionPauseClusterPtrOutput
- func (o ScheduledActionTargetActionPauseClusterPtrOutput) ToScheduledActionTargetActionPauseClusterPtrOutputWithContext(ctx context.Context) ScheduledActionTargetActionPauseClusterPtrOutput
- type ScheduledActionTargetActionPtrInput
- type ScheduledActionTargetActionPtrOutput
- func (o ScheduledActionTargetActionPtrOutput) Elem() ScheduledActionTargetActionOutput
- func (ScheduledActionTargetActionPtrOutput) ElementType() reflect.Type
- func (o ScheduledActionTargetActionPtrOutput) PauseCluster() ScheduledActionTargetActionPauseClusterPtrOutput
- func (o ScheduledActionTargetActionPtrOutput) ResizeCluster() ScheduledActionTargetActionResizeClusterPtrOutput
- func (o ScheduledActionTargetActionPtrOutput) ResumeCluster() ScheduledActionTargetActionResumeClusterPtrOutput
- func (o ScheduledActionTargetActionPtrOutput) ToScheduledActionTargetActionPtrOutput() ScheduledActionTargetActionPtrOutput
- func (o ScheduledActionTargetActionPtrOutput) ToScheduledActionTargetActionPtrOutputWithContext(ctx context.Context) ScheduledActionTargetActionPtrOutput
- type ScheduledActionTargetActionResizeCluster
- type ScheduledActionTargetActionResizeClusterArgs
- func (ScheduledActionTargetActionResizeClusterArgs) ElementType() reflect.Type
- func (i ScheduledActionTargetActionResizeClusterArgs) ToScheduledActionTargetActionResizeClusterOutput() ScheduledActionTargetActionResizeClusterOutput
- func (i ScheduledActionTargetActionResizeClusterArgs) ToScheduledActionTargetActionResizeClusterOutputWithContext(ctx context.Context) ScheduledActionTargetActionResizeClusterOutput
- func (i ScheduledActionTargetActionResizeClusterArgs) ToScheduledActionTargetActionResizeClusterPtrOutput() ScheduledActionTargetActionResizeClusterPtrOutput
- func (i ScheduledActionTargetActionResizeClusterArgs) ToScheduledActionTargetActionResizeClusterPtrOutputWithContext(ctx context.Context) ScheduledActionTargetActionResizeClusterPtrOutput
- type ScheduledActionTargetActionResizeClusterInput
- type ScheduledActionTargetActionResizeClusterOutput
- func (o ScheduledActionTargetActionResizeClusterOutput) Classic() pulumi.BoolPtrOutput
- func (o ScheduledActionTargetActionResizeClusterOutput) ClusterIdentifier() pulumi.StringOutput
- func (o ScheduledActionTargetActionResizeClusterOutput) ClusterType() pulumi.StringPtrOutput
- func (ScheduledActionTargetActionResizeClusterOutput) ElementType() reflect.Type
- func (o ScheduledActionTargetActionResizeClusterOutput) NodeType() pulumi.StringPtrOutput
- func (o ScheduledActionTargetActionResizeClusterOutput) NumberOfNodes() pulumi.IntPtrOutput
- func (o ScheduledActionTargetActionResizeClusterOutput) ToScheduledActionTargetActionResizeClusterOutput() ScheduledActionTargetActionResizeClusterOutput
- func (o ScheduledActionTargetActionResizeClusterOutput) ToScheduledActionTargetActionResizeClusterOutputWithContext(ctx context.Context) ScheduledActionTargetActionResizeClusterOutput
- func (o ScheduledActionTargetActionResizeClusterOutput) ToScheduledActionTargetActionResizeClusterPtrOutput() ScheduledActionTargetActionResizeClusterPtrOutput
- func (o ScheduledActionTargetActionResizeClusterOutput) ToScheduledActionTargetActionResizeClusterPtrOutputWithContext(ctx context.Context) ScheduledActionTargetActionResizeClusterPtrOutput
- type ScheduledActionTargetActionResizeClusterPtrInput
- type ScheduledActionTargetActionResizeClusterPtrOutput
- func (o ScheduledActionTargetActionResizeClusterPtrOutput) Classic() pulumi.BoolPtrOutput
- func (o ScheduledActionTargetActionResizeClusterPtrOutput) ClusterIdentifier() pulumi.StringPtrOutput
- func (o ScheduledActionTargetActionResizeClusterPtrOutput) ClusterType() pulumi.StringPtrOutput
- func (o ScheduledActionTargetActionResizeClusterPtrOutput) Elem() ScheduledActionTargetActionResizeClusterOutput
- func (ScheduledActionTargetActionResizeClusterPtrOutput) ElementType() reflect.Type
- func (o ScheduledActionTargetActionResizeClusterPtrOutput) NodeType() pulumi.StringPtrOutput
- func (o ScheduledActionTargetActionResizeClusterPtrOutput) NumberOfNodes() pulumi.IntPtrOutput
- func (o ScheduledActionTargetActionResizeClusterPtrOutput) ToScheduledActionTargetActionResizeClusterPtrOutput() ScheduledActionTargetActionResizeClusterPtrOutput
- func (o ScheduledActionTargetActionResizeClusterPtrOutput) ToScheduledActionTargetActionResizeClusterPtrOutputWithContext(ctx context.Context) ScheduledActionTargetActionResizeClusterPtrOutput
- type ScheduledActionTargetActionResumeCluster
- type ScheduledActionTargetActionResumeClusterArgs
- func (ScheduledActionTargetActionResumeClusterArgs) ElementType() reflect.Type
- func (i ScheduledActionTargetActionResumeClusterArgs) ToScheduledActionTargetActionResumeClusterOutput() ScheduledActionTargetActionResumeClusterOutput
- func (i ScheduledActionTargetActionResumeClusterArgs) ToScheduledActionTargetActionResumeClusterOutputWithContext(ctx context.Context) ScheduledActionTargetActionResumeClusterOutput
- func (i ScheduledActionTargetActionResumeClusterArgs) ToScheduledActionTargetActionResumeClusterPtrOutput() ScheduledActionTargetActionResumeClusterPtrOutput
- func (i ScheduledActionTargetActionResumeClusterArgs) ToScheduledActionTargetActionResumeClusterPtrOutputWithContext(ctx context.Context) ScheduledActionTargetActionResumeClusterPtrOutput
- type ScheduledActionTargetActionResumeClusterInput
- type ScheduledActionTargetActionResumeClusterOutput
- func (o ScheduledActionTargetActionResumeClusterOutput) ClusterIdentifier() pulumi.StringOutput
- func (ScheduledActionTargetActionResumeClusterOutput) ElementType() reflect.Type
- func (o ScheduledActionTargetActionResumeClusterOutput) ToScheduledActionTargetActionResumeClusterOutput() ScheduledActionTargetActionResumeClusterOutput
- func (o ScheduledActionTargetActionResumeClusterOutput) ToScheduledActionTargetActionResumeClusterOutputWithContext(ctx context.Context) ScheduledActionTargetActionResumeClusterOutput
- func (o ScheduledActionTargetActionResumeClusterOutput) ToScheduledActionTargetActionResumeClusterPtrOutput() ScheduledActionTargetActionResumeClusterPtrOutput
- func (o ScheduledActionTargetActionResumeClusterOutput) ToScheduledActionTargetActionResumeClusterPtrOutputWithContext(ctx context.Context) ScheduledActionTargetActionResumeClusterPtrOutput
- type ScheduledActionTargetActionResumeClusterPtrInput
- type ScheduledActionTargetActionResumeClusterPtrOutput
- func (o ScheduledActionTargetActionResumeClusterPtrOutput) ClusterIdentifier() pulumi.StringPtrOutput
- func (o ScheduledActionTargetActionResumeClusterPtrOutput) Elem() ScheduledActionTargetActionResumeClusterOutput
- func (ScheduledActionTargetActionResumeClusterPtrOutput) ElementType() reflect.Type
- func (o ScheduledActionTargetActionResumeClusterPtrOutput) ToScheduledActionTargetActionResumeClusterPtrOutput() ScheduledActionTargetActionResumeClusterPtrOutput
- func (o ScheduledActionTargetActionResumeClusterPtrOutput) ToScheduledActionTargetActionResumeClusterPtrOutputWithContext(ctx context.Context) ScheduledActionTargetActionResumeClusterPtrOutput
- type SecurityGroup
- func (*SecurityGroup) ElementType() reflect.Type
- func (i *SecurityGroup) ToSecurityGroupOutput() SecurityGroupOutput
- func (i *SecurityGroup) ToSecurityGroupOutputWithContext(ctx context.Context) SecurityGroupOutput
- func (i *SecurityGroup) ToSecurityGroupPtrOutput() SecurityGroupPtrOutput
- func (i *SecurityGroup) ToSecurityGroupPtrOutputWithContext(ctx context.Context) SecurityGroupPtrOutput
- type SecurityGroupArgs
- type SecurityGroupArray
- type SecurityGroupArrayInput
- type SecurityGroupArrayOutput
- func (SecurityGroupArrayOutput) ElementType() reflect.Type
- func (o SecurityGroupArrayOutput) Index(i pulumi.IntInput) SecurityGroupOutput
- func (o SecurityGroupArrayOutput) ToSecurityGroupArrayOutput() SecurityGroupArrayOutput
- func (o SecurityGroupArrayOutput) ToSecurityGroupArrayOutputWithContext(ctx context.Context) SecurityGroupArrayOutput
- type SecurityGroupIngress
- type SecurityGroupIngressArgs
- type SecurityGroupIngressArray
- type SecurityGroupIngressArrayInput
- type SecurityGroupIngressArrayOutput
- func (SecurityGroupIngressArrayOutput) ElementType() reflect.Type
- func (o SecurityGroupIngressArrayOutput) Index(i pulumi.IntInput) SecurityGroupIngressOutput
- func (o SecurityGroupIngressArrayOutput) ToSecurityGroupIngressArrayOutput() SecurityGroupIngressArrayOutput
- func (o SecurityGroupIngressArrayOutput) ToSecurityGroupIngressArrayOutputWithContext(ctx context.Context) SecurityGroupIngressArrayOutput
- type SecurityGroupIngressInput
- type SecurityGroupIngressOutput
- func (o SecurityGroupIngressOutput) Cidr() pulumi.StringPtrOutput
- func (SecurityGroupIngressOutput) ElementType() reflect.Type
- func (o SecurityGroupIngressOutput) SecurityGroupName() pulumi.StringPtrOutput
- func (o SecurityGroupIngressOutput) SecurityGroupOwnerId() pulumi.StringPtrOutput
- func (o SecurityGroupIngressOutput) ToSecurityGroupIngressOutput() SecurityGroupIngressOutput
- func (o SecurityGroupIngressOutput) ToSecurityGroupIngressOutputWithContext(ctx context.Context) SecurityGroupIngressOutput
- type SecurityGroupInput
- type SecurityGroupMap
- type SecurityGroupMapInput
- type SecurityGroupMapOutput
- func (SecurityGroupMapOutput) ElementType() reflect.Type
- func (o SecurityGroupMapOutput) MapIndex(k pulumi.StringInput) SecurityGroupOutput
- func (o SecurityGroupMapOutput) ToSecurityGroupMapOutput() SecurityGroupMapOutput
- func (o SecurityGroupMapOutput) ToSecurityGroupMapOutputWithContext(ctx context.Context) SecurityGroupMapOutput
- type SecurityGroupOutput
- func (SecurityGroupOutput) ElementType() reflect.Type
- func (o SecurityGroupOutput) ToSecurityGroupOutput() SecurityGroupOutput
- func (o SecurityGroupOutput) ToSecurityGroupOutputWithContext(ctx context.Context) SecurityGroupOutput
- func (o SecurityGroupOutput) ToSecurityGroupPtrOutput() SecurityGroupPtrOutput
- func (o SecurityGroupOutput) ToSecurityGroupPtrOutputWithContext(ctx context.Context) SecurityGroupPtrOutput
- type SecurityGroupPtrInput
- type SecurityGroupPtrOutput
- func (o SecurityGroupPtrOutput) Elem() SecurityGroupOutput
- func (SecurityGroupPtrOutput) ElementType() reflect.Type
- func (o SecurityGroupPtrOutput) ToSecurityGroupPtrOutput() SecurityGroupPtrOutput
- func (o SecurityGroupPtrOutput) ToSecurityGroupPtrOutputWithContext(ctx context.Context) SecurityGroupPtrOutput
- type SecurityGroupState
- type SnapshotCopyGrant
- func (*SnapshotCopyGrant) ElementType() reflect.Type
- func (i *SnapshotCopyGrant) ToSnapshotCopyGrantOutput() SnapshotCopyGrantOutput
- func (i *SnapshotCopyGrant) ToSnapshotCopyGrantOutputWithContext(ctx context.Context) SnapshotCopyGrantOutput
- func (i *SnapshotCopyGrant) ToSnapshotCopyGrantPtrOutput() SnapshotCopyGrantPtrOutput
- func (i *SnapshotCopyGrant) ToSnapshotCopyGrantPtrOutputWithContext(ctx context.Context) SnapshotCopyGrantPtrOutput
- type SnapshotCopyGrantArgs
- type SnapshotCopyGrantArray
- type SnapshotCopyGrantArrayInput
- type SnapshotCopyGrantArrayOutput
- func (SnapshotCopyGrantArrayOutput) ElementType() reflect.Type
- func (o SnapshotCopyGrantArrayOutput) Index(i pulumi.IntInput) SnapshotCopyGrantOutput
- func (o SnapshotCopyGrantArrayOutput) ToSnapshotCopyGrantArrayOutput() SnapshotCopyGrantArrayOutput
- func (o SnapshotCopyGrantArrayOutput) ToSnapshotCopyGrantArrayOutputWithContext(ctx context.Context) SnapshotCopyGrantArrayOutput
- type SnapshotCopyGrantInput
- type SnapshotCopyGrantMap
- type SnapshotCopyGrantMapInput
- type SnapshotCopyGrantMapOutput
- func (SnapshotCopyGrantMapOutput) ElementType() reflect.Type
- func (o SnapshotCopyGrantMapOutput) MapIndex(k pulumi.StringInput) SnapshotCopyGrantOutput
- func (o SnapshotCopyGrantMapOutput) ToSnapshotCopyGrantMapOutput() SnapshotCopyGrantMapOutput
- func (o SnapshotCopyGrantMapOutput) ToSnapshotCopyGrantMapOutputWithContext(ctx context.Context) SnapshotCopyGrantMapOutput
- type SnapshotCopyGrantOutput
- func (SnapshotCopyGrantOutput) ElementType() reflect.Type
- func (o SnapshotCopyGrantOutput) ToSnapshotCopyGrantOutput() SnapshotCopyGrantOutput
- func (o SnapshotCopyGrantOutput) ToSnapshotCopyGrantOutputWithContext(ctx context.Context) SnapshotCopyGrantOutput
- func (o SnapshotCopyGrantOutput) ToSnapshotCopyGrantPtrOutput() SnapshotCopyGrantPtrOutput
- func (o SnapshotCopyGrantOutput) ToSnapshotCopyGrantPtrOutputWithContext(ctx context.Context) SnapshotCopyGrantPtrOutput
- type SnapshotCopyGrantPtrInput
- type SnapshotCopyGrantPtrOutput
- func (o SnapshotCopyGrantPtrOutput) Elem() SnapshotCopyGrantOutput
- func (SnapshotCopyGrantPtrOutput) ElementType() reflect.Type
- func (o SnapshotCopyGrantPtrOutput) ToSnapshotCopyGrantPtrOutput() SnapshotCopyGrantPtrOutput
- func (o SnapshotCopyGrantPtrOutput) ToSnapshotCopyGrantPtrOutputWithContext(ctx context.Context) SnapshotCopyGrantPtrOutput
- type SnapshotCopyGrantState
- type SnapshotSchedule
- func (*SnapshotSchedule) ElementType() reflect.Type
- func (i *SnapshotSchedule) ToSnapshotScheduleOutput() SnapshotScheduleOutput
- func (i *SnapshotSchedule) ToSnapshotScheduleOutputWithContext(ctx context.Context) SnapshotScheduleOutput
- func (i *SnapshotSchedule) ToSnapshotSchedulePtrOutput() SnapshotSchedulePtrOutput
- func (i *SnapshotSchedule) ToSnapshotSchedulePtrOutputWithContext(ctx context.Context) SnapshotSchedulePtrOutput
- type SnapshotScheduleArgs
- type SnapshotScheduleArray
- type SnapshotScheduleArrayInput
- type SnapshotScheduleArrayOutput
- func (SnapshotScheduleArrayOutput) ElementType() reflect.Type
- func (o SnapshotScheduleArrayOutput) Index(i pulumi.IntInput) SnapshotScheduleOutput
- func (o SnapshotScheduleArrayOutput) ToSnapshotScheduleArrayOutput() SnapshotScheduleArrayOutput
- func (o SnapshotScheduleArrayOutput) ToSnapshotScheduleArrayOutputWithContext(ctx context.Context) SnapshotScheduleArrayOutput
- type SnapshotScheduleAssociation
- func (*SnapshotScheduleAssociation) ElementType() reflect.Type
- func (i *SnapshotScheduleAssociation) ToSnapshotScheduleAssociationOutput() SnapshotScheduleAssociationOutput
- func (i *SnapshotScheduleAssociation) ToSnapshotScheduleAssociationOutputWithContext(ctx context.Context) SnapshotScheduleAssociationOutput
- func (i *SnapshotScheduleAssociation) ToSnapshotScheduleAssociationPtrOutput() SnapshotScheduleAssociationPtrOutput
- func (i *SnapshotScheduleAssociation) ToSnapshotScheduleAssociationPtrOutputWithContext(ctx context.Context) SnapshotScheduleAssociationPtrOutput
- type SnapshotScheduleAssociationArgs
- type SnapshotScheduleAssociationArray
- func (SnapshotScheduleAssociationArray) ElementType() reflect.Type
- func (i SnapshotScheduleAssociationArray) ToSnapshotScheduleAssociationArrayOutput() SnapshotScheduleAssociationArrayOutput
- func (i SnapshotScheduleAssociationArray) ToSnapshotScheduleAssociationArrayOutputWithContext(ctx context.Context) SnapshotScheduleAssociationArrayOutput
- type SnapshotScheduleAssociationArrayInput
- type SnapshotScheduleAssociationArrayOutput
- func (SnapshotScheduleAssociationArrayOutput) ElementType() reflect.Type
- func (o SnapshotScheduleAssociationArrayOutput) Index(i pulumi.IntInput) SnapshotScheduleAssociationOutput
- func (o SnapshotScheduleAssociationArrayOutput) ToSnapshotScheduleAssociationArrayOutput() SnapshotScheduleAssociationArrayOutput
- func (o SnapshotScheduleAssociationArrayOutput) ToSnapshotScheduleAssociationArrayOutputWithContext(ctx context.Context) SnapshotScheduleAssociationArrayOutput
- type SnapshotScheduleAssociationInput
- type SnapshotScheduleAssociationMap
- func (SnapshotScheduleAssociationMap) ElementType() reflect.Type
- func (i SnapshotScheduleAssociationMap) ToSnapshotScheduleAssociationMapOutput() SnapshotScheduleAssociationMapOutput
- func (i SnapshotScheduleAssociationMap) ToSnapshotScheduleAssociationMapOutputWithContext(ctx context.Context) SnapshotScheduleAssociationMapOutput
- type SnapshotScheduleAssociationMapInput
- type SnapshotScheduleAssociationMapOutput
- func (SnapshotScheduleAssociationMapOutput) ElementType() reflect.Type
- func (o SnapshotScheduleAssociationMapOutput) MapIndex(k pulumi.StringInput) SnapshotScheduleAssociationOutput
- func (o SnapshotScheduleAssociationMapOutput) ToSnapshotScheduleAssociationMapOutput() SnapshotScheduleAssociationMapOutput
- func (o SnapshotScheduleAssociationMapOutput) ToSnapshotScheduleAssociationMapOutputWithContext(ctx context.Context) SnapshotScheduleAssociationMapOutput
- type SnapshotScheduleAssociationOutput
- func (SnapshotScheduleAssociationOutput) ElementType() reflect.Type
- func (o SnapshotScheduleAssociationOutput) ToSnapshotScheduleAssociationOutput() SnapshotScheduleAssociationOutput
- func (o SnapshotScheduleAssociationOutput) ToSnapshotScheduleAssociationOutputWithContext(ctx context.Context) SnapshotScheduleAssociationOutput
- func (o SnapshotScheduleAssociationOutput) ToSnapshotScheduleAssociationPtrOutput() SnapshotScheduleAssociationPtrOutput
- func (o SnapshotScheduleAssociationOutput) ToSnapshotScheduleAssociationPtrOutputWithContext(ctx context.Context) SnapshotScheduleAssociationPtrOutput
- type SnapshotScheduleAssociationPtrInput
- type SnapshotScheduleAssociationPtrOutput
- func (o SnapshotScheduleAssociationPtrOutput) Elem() SnapshotScheduleAssociationOutput
- func (SnapshotScheduleAssociationPtrOutput) ElementType() reflect.Type
- func (o SnapshotScheduleAssociationPtrOutput) ToSnapshotScheduleAssociationPtrOutput() SnapshotScheduleAssociationPtrOutput
- func (o SnapshotScheduleAssociationPtrOutput) ToSnapshotScheduleAssociationPtrOutputWithContext(ctx context.Context) SnapshotScheduleAssociationPtrOutput
- type SnapshotScheduleAssociationState
- type SnapshotScheduleInput
- type SnapshotScheduleMap
- type SnapshotScheduleMapInput
- type SnapshotScheduleMapOutput
- func (SnapshotScheduleMapOutput) ElementType() reflect.Type
- func (o SnapshotScheduleMapOutput) MapIndex(k pulumi.StringInput) SnapshotScheduleOutput
- func (o SnapshotScheduleMapOutput) ToSnapshotScheduleMapOutput() SnapshotScheduleMapOutput
- func (o SnapshotScheduleMapOutput) ToSnapshotScheduleMapOutputWithContext(ctx context.Context) SnapshotScheduleMapOutput
- type SnapshotScheduleOutput
- func (SnapshotScheduleOutput) ElementType() reflect.Type
- func (o SnapshotScheduleOutput) ToSnapshotScheduleOutput() SnapshotScheduleOutput
- func (o SnapshotScheduleOutput) ToSnapshotScheduleOutputWithContext(ctx context.Context) SnapshotScheduleOutput
- func (o SnapshotScheduleOutput) ToSnapshotSchedulePtrOutput() SnapshotSchedulePtrOutput
- func (o SnapshotScheduleOutput) ToSnapshotSchedulePtrOutputWithContext(ctx context.Context) SnapshotSchedulePtrOutput
- type SnapshotSchedulePtrInput
- type SnapshotSchedulePtrOutput
- func (o SnapshotSchedulePtrOutput) Elem() SnapshotScheduleOutput
- func (SnapshotSchedulePtrOutput) ElementType() reflect.Type
- func (o SnapshotSchedulePtrOutput) ToSnapshotSchedulePtrOutput() SnapshotSchedulePtrOutput
- func (o SnapshotSchedulePtrOutput) ToSnapshotSchedulePtrOutputWithContext(ctx context.Context) SnapshotSchedulePtrOutput
- type SnapshotScheduleState
- type SubnetGroup
- func (*SubnetGroup) ElementType() reflect.Type
- func (i *SubnetGroup) ToSubnetGroupOutput() SubnetGroupOutput
- func (i *SubnetGroup) ToSubnetGroupOutputWithContext(ctx context.Context) SubnetGroupOutput
- func (i *SubnetGroup) ToSubnetGroupPtrOutput() SubnetGroupPtrOutput
- func (i *SubnetGroup) ToSubnetGroupPtrOutputWithContext(ctx context.Context) SubnetGroupPtrOutput
- type SubnetGroupArgs
- type SubnetGroupArray
- type SubnetGroupArrayInput
- type SubnetGroupArrayOutput
- func (SubnetGroupArrayOutput) ElementType() reflect.Type
- func (o SubnetGroupArrayOutput) Index(i pulumi.IntInput) SubnetGroupOutput
- func (o SubnetGroupArrayOutput) ToSubnetGroupArrayOutput() SubnetGroupArrayOutput
- func (o SubnetGroupArrayOutput) ToSubnetGroupArrayOutputWithContext(ctx context.Context) SubnetGroupArrayOutput
- type SubnetGroupInput
- type SubnetGroupMap
- type SubnetGroupMapInput
- type SubnetGroupMapOutput
- func (SubnetGroupMapOutput) ElementType() reflect.Type
- func (o SubnetGroupMapOutput) MapIndex(k pulumi.StringInput) SubnetGroupOutput
- func (o SubnetGroupMapOutput) ToSubnetGroupMapOutput() SubnetGroupMapOutput
- func (o SubnetGroupMapOutput) ToSubnetGroupMapOutputWithContext(ctx context.Context) SubnetGroupMapOutput
- type SubnetGroupOutput
- func (SubnetGroupOutput) ElementType() reflect.Type
- func (o SubnetGroupOutput) ToSubnetGroupOutput() SubnetGroupOutput
- func (o SubnetGroupOutput) ToSubnetGroupOutputWithContext(ctx context.Context) SubnetGroupOutput
- func (o SubnetGroupOutput) ToSubnetGroupPtrOutput() SubnetGroupPtrOutput
- func (o SubnetGroupOutput) ToSubnetGroupPtrOutputWithContext(ctx context.Context) SubnetGroupPtrOutput
- type SubnetGroupPtrInput
- type SubnetGroupPtrOutput
- type SubnetGroupState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct { pulumi.CustomResourceState // If true , major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster. Default is true AllowVersionUpgrade pulumi.BoolPtrOutput `pulumi:"allowVersionUpgrade"` // Amazon Resource Name (ARN) of cluster Arn pulumi.StringOutput `pulumi:"arn"` // The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with create-cluster-snapshot. Default is 1. AutomatedSnapshotRetentionPeriod pulumi.IntPtrOutput `pulumi:"automatedSnapshotRetentionPeriod"` // The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. For example, if you have several EC2 instances running in a specific Availability Zone, then you might want the cluster to be provisioned in the same zone in order to decrease network latency. AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"` // The Cluster Identifier. Must be a lower case // string. ClusterIdentifier pulumi.StringOutput `pulumi:"clusterIdentifier"` // The nodes in the cluster. Cluster node blocks are documented below ClusterNodes ClusterClusterNodeArrayOutput `pulumi:"clusterNodes"` // The name of the parameter group to be associated with this cluster. ClusterParameterGroupName pulumi.StringOutput `pulumi:"clusterParameterGroupName"` // The public key for the cluster ClusterPublicKey pulumi.StringOutput `pulumi:"clusterPublicKey"` // The specific revision number of the database in the cluster ClusterRevisionNumber pulumi.StringOutput `pulumi:"clusterRevisionNumber"` // A list of security groups to be associated with this cluster. ClusterSecurityGroups pulumi.StringArrayOutput `pulumi:"clusterSecurityGroups"` // The name of a cluster subnet group to be associated with this cluster. If this parameter is not provided the resulting cluster will be deployed outside virtual private cloud (VPC). ClusterSubnetGroupName pulumi.StringOutput `pulumi:"clusterSubnetGroupName"` // The cluster type to use. Either `single-node` or `multi-node`. ClusterType pulumi.StringOutput `pulumi:"clusterType"` // The version of the Amazon Redshift engine software that you want to deploy on the cluster. // The version selected runs on all the nodes in the cluster. ClusterVersion pulumi.StringPtrOutput `pulumi:"clusterVersion"` // The name of the first database to be created when the cluster is created. // If you do not provide a name, Amazon Redshift will create a default database called `dev`. DatabaseName pulumi.StringOutput `pulumi:"databaseName"` // The DNS name of the cluster DnsName pulumi.StringOutput `pulumi:"dnsName"` // The Elastic IP (EIP) address for the cluster. ElasticIp pulumi.StringPtrOutput `pulumi:"elasticIp"` // If true , the data in the cluster is encrypted at rest. Encrypted pulumi.BoolPtrOutput `pulumi:"encrypted"` // The connection endpoint Endpoint pulumi.StringOutput `pulumi:"endpoint"` // If true , enhanced VPC routing is enabled. EnhancedVpcRouting pulumi.BoolOutput `pulumi:"enhancedVpcRouting"` // The identifier of the final snapshot that is to be created immediately before deleting the cluster. If this parameter is provided, `skipFinalSnapshot` must be false. FinalSnapshotIdentifier pulumi.StringPtrOutput `pulumi:"finalSnapshotIdentifier"` // A list of IAM Role ARNs to associate with the cluster. A Maximum of 10 can be associated to the cluster at any time. IamRoles pulumi.StringArrayOutput `pulumi:"iamRoles"` // The ARN for the KMS encryption key. When specifying `kmsKeyId`, `encrypted` needs to be set to true. KmsKeyId pulumi.StringOutput `pulumi:"kmsKeyId"` // Logging, documented below. Logging ClusterLoggingPtrOutput `pulumi:"logging"` // Password for the master DB user. // Note that this may show up in logs, and it will be stored in the state file. Password must contain at least 8 chars and // contain at least one uppercase letter, one lowercase letter, and one number. MasterPassword pulumi.StringPtrOutput `pulumi:"masterPassword"` // Username for the master DB user. MasterUsername pulumi.StringPtrOutput `pulumi:"masterUsername"` // The node type to be provisioned for the cluster. NodeType pulumi.StringOutput `pulumi:"nodeType"` // The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node. Default is 1. NumberOfNodes pulumi.IntPtrOutput `pulumi:"numberOfNodes"` // The AWS customer account used to create or copy the snapshot. Required if you are restoring a snapshot you do not own, optional if you own the snapshot. OwnerAccount pulumi.StringPtrOutput `pulumi:"ownerAccount"` // The port number on which the cluster accepts incoming connections. // The cluster is accessible only via the JDBC and ODBC connection strings. Part of the connection string requires the port on which the cluster will listen for incoming connections. Default port is 5439. Port pulumi.IntPtrOutput `pulumi:"port"` // The weekly time range (in UTC) during which automated cluster maintenance can occur. // Format: ddd:hh24:mi-ddd:hh24:mi PreferredMaintenanceWindow pulumi.StringOutput `pulumi:"preferredMaintenanceWindow"` // If true, the cluster can be accessed from a public network. Default is `true`. PubliclyAccessible pulumi.BoolPtrOutput `pulumi:"publiclyAccessible"` // Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster. If true , a final cluster snapshot is not created. If false , a final cluster snapshot is created before the cluster is deleted. Default is false. SkipFinalSnapshot pulumi.BoolPtrOutput `pulumi:"skipFinalSnapshot"` // The name of the cluster the source snapshot was created from. SnapshotClusterIdentifier pulumi.StringPtrOutput `pulumi:"snapshotClusterIdentifier"` // Configuration of automatic copy of snapshots from one region to another. Documented below. SnapshotCopy ClusterSnapshotCopyPtrOutput `pulumi:"snapshotCopy"` // The name of the snapshot from which to create the new cluster. SnapshotIdentifier pulumi.StringPtrOutput `pulumi:"snapshotIdentifier"` // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster. VpcSecurityGroupIds pulumi.StringArrayOutput `pulumi:"vpcSecurityGroupIds"` }
Provides a Redshift Cluster Resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/redshift" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := redshift.NewCluster(ctx, "_default", &redshift.ClusterArgs{ ClusterIdentifier: pulumi.String("tf-redshift-cluster"), ClusterType: pulumi.String("single-node"), DatabaseName: pulumi.String("mydb"), MasterPassword: pulumi.String("Mustbe8characters"), MasterUsername: pulumi.String("foo"), NodeType: pulumi.String("dc1.large"), }) if err != nil { return err } return nil }) }
```
## Import
Redshift Clusters can be imported using the `cluster_identifier`, e.g.,
```sh
$ pulumi import aws:redshift/cluster:Cluster myprodcluster tf-redshift-cluster-12345
```
func GetCluster ¶
func GetCluster(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ClusterState, opts ...pulumi.ResourceOption) (*Cluster, error)
GetCluster gets an existing Cluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCluster ¶
func NewCluster(ctx *pulumi.Context, name string, args *ClusterArgs, opts ...pulumi.ResourceOption) (*Cluster, error)
NewCluster registers a new resource with the given unique name, arguments, and options.
func (*Cluster) ElementType ¶
func (*Cluster) ToClusterOutput ¶
func (i *Cluster) ToClusterOutput() ClusterOutput
func (*Cluster) ToClusterOutputWithContext ¶
func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
func (*Cluster) ToClusterPtrOutput ¶
func (i *Cluster) ToClusterPtrOutput() ClusterPtrOutput
func (*Cluster) ToClusterPtrOutputWithContext ¶
func (i *Cluster) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput
type ClusterArgs ¶
type ClusterArgs struct { // If true , major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster. Default is true AllowVersionUpgrade pulumi.BoolPtrInput // The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with create-cluster-snapshot. Default is 1. AutomatedSnapshotRetentionPeriod pulumi.IntPtrInput // The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. For example, if you have several EC2 instances running in a specific Availability Zone, then you might want the cluster to be provisioned in the same zone in order to decrease network latency. AvailabilityZone pulumi.StringPtrInput // The Cluster Identifier. Must be a lower case // string. ClusterIdentifier pulumi.StringInput // The name of the parameter group to be associated with this cluster. ClusterParameterGroupName pulumi.StringPtrInput // The public key for the cluster ClusterPublicKey pulumi.StringPtrInput // The specific revision number of the database in the cluster ClusterRevisionNumber pulumi.StringPtrInput // A list of security groups to be associated with this cluster. ClusterSecurityGroups pulumi.StringArrayInput // The name of a cluster subnet group to be associated with this cluster. If this parameter is not provided the resulting cluster will be deployed outside virtual private cloud (VPC). ClusterSubnetGroupName pulumi.StringPtrInput // The cluster type to use. Either `single-node` or `multi-node`. ClusterType pulumi.StringPtrInput // The version of the Amazon Redshift engine software that you want to deploy on the cluster. // The version selected runs on all the nodes in the cluster. ClusterVersion pulumi.StringPtrInput // The name of the first database to be created when the cluster is created. // If you do not provide a name, Amazon Redshift will create a default database called `dev`. DatabaseName pulumi.StringPtrInput // The Elastic IP (EIP) address for the cluster. ElasticIp pulumi.StringPtrInput // If true , the data in the cluster is encrypted at rest. Encrypted pulumi.BoolPtrInput // The connection endpoint Endpoint pulumi.StringPtrInput // If true , enhanced VPC routing is enabled. EnhancedVpcRouting pulumi.BoolPtrInput // The identifier of the final snapshot that is to be created immediately before deleting the cluster. If this parameter is provided, `skipFinalSnapshot` must be false. FinalSnapshotIdentifier pulumi.StringPtrInput // A list of IAM Role ARNs to associate with the cluster. A Maximum of 10 can be associated to the cluster at any time. IamRoles pulumi.StringArrayInput // The ARN for the KMS encryption key. When specifying `kmsKeyId`, `encrypted` needs to be set to true. KmsKeyId pulumi.StringPtrInput // Logging, documented below. Logging ClusterLoggingPtrInput // Password for the master DB user. // Note that this may show up in logs, and it will be stored in the state file. Password must contain at least 8 chars and // contain at least one uppercase letter, one lowercase letter, and one number. MasterPassword pulumi.StringPtrInput // Username for the master DB user. MasterUsername pulumi.StringPtrInput // The node type to be provisioned for the cluster. NodeType pulumi.StringInput // The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node. Default is 1. NumberOfNodes pulumi.IntPtrInput // The AWS customer account used to create or copy the snapshot. Required if you are restoring a snapshot you do not own, optional if you own the snapshot. OwnerAccount pulumi.StringPtrInput // The port number on which the cluster accepts incoming connections. // The cluster is accessible only via the JDBC and ODBC connection strings. Part of the connection string requires the port on which the cluster will listen for incoming connections. Default port is 5439. Port pulumi.IntPtrInput // The weekly time range (in UTC) during which automated cluster maintenance can occur. // Format: ddd:hh24:mi-ddd:hh24:mi PreferredMaintenanceWindow pulumi.StringPtrInput // If true, the cluster can be accessed from a public network. Default is `true`. PubliclyAccessible pulumi.BoolPtrInput // Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster. If true , a final cluster snapshot is not created. If false , a final cluster snapshot is created before the cluster is deleted. Default is false. SkipFinalSnapshot pulumi.BoolPtrInput // The name of the cluster the source snapshot was created from. SnapshotClusterIdentifier pulumi.StringPtrInput // Configuration of automatic copy of snapshots from one region to another. Documented below. SnapshotCopy ClusterSnapshotCopyPtrInput // The name of the snapshot from which to create the new cluster. SnapshotIdentifier pulumi.StringPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster. VpcSecurityGroupIds pulumi.StringArrayInput }
The set of arguments for constructing a Cluster resource.
func (ClusterArgs) ElementType ¶
func (ClusterArgs) ElementType() reflect.Type
type ClusterArray ¶
type ClusterArray []ClusterInput
func (ClusterArray) ElementType ¶
func (ClusterArray) ElementType() reflect.Type
func (ClusterArray) ToClusterArrayOutput ¶
func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput
func (ClusterArray) ToClusterArrayOutputWithContext ¶
func (i ClusterArray) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput
type ClusterArrayInput ¶
type ClusterArrayInput interface { pulumi.Input ToClusterArrayOutput() ClusterArrayOutput ToClusterArrayOutputWithContext(context.Context) ClusterArrayOutput }
ClusterArrayInput is an input type that accepts ClusterArray and ClusterArrayOutput values. You can construct a concrete instance of `ClusterArrayInput` via:
ClusterArray{ ClusterArgs{...} }
type ClusterArrayOutput ¶
type ClusterArrayOutput struct{ *pulumi.OutputState }
func (ClusterArrayOutput) ElementType ¶
func (ClusterArrayOutput) ElementType() reflect.Type
func (ClusterArrayOutput) Index ¶
func (o ClusterArrayOutput) Index(i pulumi.IntInput) ClusterOutput
func (ClusterArrayOutput) ToClusterArrayOutput ¶
func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput
func (ClusterArrayOutput) ToClusterArrayOutputWithContext ¶
func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput
type ClusterClusterNode ¶ added in v4.19.0
type ClusterClusterNode struct { // Whether the node is a leader node or a compute node NodeRole *string `pulumi:"nodeRole"` // The private IP address of a node within a cluster PrivateIpAddress *string `pulumi:"privateIpAddress"` // The public IP address of a node within a cluster PublicIpAddress *string `pulumi:"publicIpAddress"` }
type ClusterClusterNodeArgs ¶ added in v4.19.0
type ClusterClusterNodeArgs struct { // Whether the node is a leader node or a compute node NodeRole pulumi.StringPtrInput `pulumi:"nodeRole"` // The private IP address of a node within a cluster PrivateIpAddress pulumi.StringPtrInput `pulumi:"privateIpAddress"` // The public IP address of a node within a cluster PublicIpAddress pulumi.StringPtrInput `pulumi:"publicIpAddress"` }
func (ClusterClusterNodeArgs) ElementType ¶ added in v4.19.0
func (ClusterClusterNodeArgs) ElementType() reflect.Type
func (ClusterClusterNodeArgs) ToClusterClusterNodeOutput ¶ added in v4.19.0
func (i ClusterClusterNodeArgs) ToClusterClusterNodeOutput() ClusterClusterNodeOutput
func (ClusterClusterNodeArgs) ToClusterClusterNodeOutputWithContext ¶ added in v4.19.0
func (i ClusterClusterNodeArgs) ToClusterClusterNodeOutputWithContext(ctx context.Context) ClusterClusterNodeOutput
type ClusterClusterNodeArray ¶ added in v4.19.0
type ClusterClusterNodeArray []ClusterClusterNodeInput
func (ClusterClusterNodeArray) ElementType ¶ added in v4.19.0
func (ClusterClusterNodeArray) ElementType() reflect.Type
func (ClusterClusterNodeArray) ToClusterClusterNodeArrayOutput ¶ added in v4.19.0
func (i ClusterClusterNodeArray) ToClusterClusterNodeArrayOutput() ClusterClusterNodeArrayOutput
func (ClusterClusterNodeArray) ToClusterClusterNodeArrayOutputWithContext ¶ added in v4.19.0
func (i ClusterClusterNodeArray) ToClusterClusterNodeArrayOutputWithContext(ctx context.Context) ClusterClusterNodeArrayOutput
type ClusterClusterNodeArrayInput ¶ added in v4.19.0
type ClusterClusterNodeArrayInput interface { pulumi.Input ToClusterClusterNodeArrayOutput() ClusterClusterNodeArrayOutput ToClusterClusterNodeArrayOutputWithContext(context.Context) ClusterClusterNodeArrayOutput }
ClusterClusterNodeArrayInput is an input type that accepts ClusterClusterNodeArray and ClusterClusterNodeArrayOutput values. You can construct a concrete instance of `ClusterClusterNodeArrayInput` via:
ClusterClusterNodeArray{ ClusterClusterNodeArgs{...} }
type ClusterClusterNodeArrayOutput ¶ added in v4.19.0
type ClusterClusterNodeArrayOutput struct{ *pulumi.OutputState }
func (ClusterClusterNodeArrayOutput) ElementType ¶ added in v4.19.0
func (ClusterClusterNodeArrayOutput) ElementType() reflect.Type
func (ClusterClusterNodeArrayOutput) Index ¶ added in v4.19.0
func (o ClusterClusterNodeArrayOutput) Index(i pulumi.IntInput) ClusterClusterNodeOutput
func (ClusterClusterNodeArrayOutput) ToClusterClusterNodeArrayOutput ¶ added in v4.19.0
func (o ClusterClusterNodeArrayOutput) ToClusterClusterNodeArrayOutput() ClusterClusterNodeArrayOutput
func (ClusterClusterNodeArrayOutput) ToClusterClusterNodeArrayOutputWithContext ¶ added in v4.19.0
func (o ClusterClusterNodeArrayOutput) ToClusterClusterNodeArrayOutputWithContext(ctx context.Context) ClusterClusterNodeArrayOutput
type ClusterClusterNodeInput ¶ added in v4.19.0
type ClusterClusterNodeInput interface { pulumi.Input ToClusterClusterNodeOutput() ClusterClusterNodeOutput ToClusterClusterNodeOutputWithContext(context.Context) ClusterClusterNodeOutput }
ClusterClusterNodeInput is an input type that accepts ClusterClusterNodeArgs and ClusterClusterNodeOutput values. You can construct a concrete instance of `ClusterClusterNodeInput` via:
ClusterClusterNodeArgs{...}
type ClusterClusterNodeOutput ¶ added in v4.19.0
type ClusterClusterNodeOutput struct{ *pulumi.OutputState }
func (ClusterClusterNodeOutput) ElementType ¶ added in v4.19.0
func (ClusterClusterNodeOutput) ElementType() reflect.Type
func (ClusterClusterNodeOutput) NodeRole ¶ added in v4.19.0
func (o ClusterClusterNodeOutput) NodeRole() pulumi.StringPtrOutput
Whether the node is a leader node or a compute node
func (ClusterClusterNodeOutput) PrivateIpAddress ¶ added in v4.19.0
func (o ClusterClusterNodeOutput) PrivateIpAddress() pulumi.StringPtrOutput
The private IP address of a node within a cluster
func (ClusterClusterNodeOutput) PublicIpAddress ¶ added in v4.19.0
func (o ClusterClusterNodeOutput) PublicIpAddress() pulumi.StringPtrOutput
The public IP address of a node within a cluster
func (ClusterClusterNodeOutput) ToClusterClusterNodeOutput ¶ added in v4.19.0
func (o ClusterClusterNodeOutput) ToClusterClusterNodeOutput() ClusterClusterNodeOutput
func (ClusterClusterNodeOutput) ToClusterClusterNodeOutputWithContext ¶ added in v4.19.0
func (o ClusterClusterNodeOutput) ToClusterClusterNodeOutputWithContext(ctx context.Context) ClusterClusterNodeOutput
type ClusterInput ¶
type ClusterInput interface { pulumi.Input ToClusterOutput() ClusterOutput ToClusterOutputWithContext(ctx context.Context) ClusterOutput }
type ClusterLogging ¶
type ClusterLogging struct { // The name of an existing S3 bucket where the log files are to be stored. Must be in the same region as the cluster and the cluster must have read bucket and put object permissions. // For more information on the permissions required for the bucket, please read the AWS [documentation](http://docs.aws.amazon.com/redshift/latest/mgmt/db-auditing.html#db-auditing-enable-logging) BucketName *string `pulumi:"bucketName"` // Enables logging information such as queries and connection attempts, for the specified Amazon Redshift cluster. Enable bool `pulumi:"enable"` // The prefix applied to the log file names. S3KeyPrefix *string `pulumi:"s3KeyPrefix"` }
type ClusterLoggingArgs ¶
type ClusterLoggingArgs struct { // The name of an existing S3 bucket where the log files are to be stored. Must be in the same region as the cluster and the cluster must have read bucket and put object permissions. // For more information on the permissions required for the bucket, please read the AWS [documentation](http://docs.aws.amazon.com/redshift/latest/mgmt/db-auditing.html#db-auditing-enable-logging) BucketName pulumi.StringPtrInput `pulumi:"bucketName"` // Enables logging information such as queries and connection attempts, for the specified Amazon Redshift cluster. Enable pulumi.BoolInput `pulumi:"enable"` // The prefix applied to the log file names. S3KeyPrefix pulumi.StringPtrInput `pulumi:"s3KeyPrefix"` }
func (ClusterLoggingArgs) ElementType ¶
func (ClusterLoggingArgs) ElementType() reflect.Type
func (ClusterLoggingArgs) ToClusterLoggingOutput ¶
func (i ClusterLoggingArgs) ToClusterLoggingOutput() ClusterLoggingOutput
func (ClusterLoggingArgs) ToClusterLoggingOutputWithContext ¶
func (i ClusterLoggingArgs) ToClusterLoggingOutputWithContext(ctx context.Context) ClusterLoggingOutput
func (ClusterLoggingArgs) ToClusterLoggingPtrOutput ¶
func (i ClusterLoggingArgs) ToClusterLoggingPtrOutput() ClusterLoggingPtrOutput
func (ClusterLoggingArgs) ToClusterLoggingPtrOutputWithContext ¶
func (i ClusterLoggingArgs) ToClusterLoggingPtrOutputWithContext(ctx context.Context) ClusterLoggingPtrOutput
type ClusterLoggingInput ¶
type ClusterLoggingInput interface { pulumi.Input ToClusterLoggingOutput() ClusterLoggingOutput ToClusterLoggingOutputWithContext(context.Context) ClusterLoggingOutput }
ClusterLoggingInput is an input type that accepts ClusterLoggingArgs and ClusterLoggingOutput values. You can construct a concrete instance of `ClusterLoggingInput` via:
ClusterLoggingArgs{...}
type ClusterLoggingOutput ¶
type ClusterLoggingOutput struct{ *pulumi.OutputState }
func (ClusterLoggingOutput) BucketName ¶
func (o ClusterLoggingOutput) BucketName() pulumi.StringPtrOutput
The name of an existing S3 bucket where the log files are to be stored. Must be in the same region as the cluster and the cluster must have read bucket and put object permissions. For more information on the permissions required for the bucket, please read the AWS [documentation](http://docs.aws.amazon.com/redshift/latest/mgmt/db-auditing.html#db-auditing-enable-logging)
func (ClusterLoggingOutput) ElementType ¶
func (ClusterLoggingOutput) ElementType() reflect.Type
func (ClusterLoggingOutput) Enable ¶
func (o ClusterLoggingOutput) Enable() pulumi.BoolOutput
Enables logging information such as queries and connection attempts, for the specified Amazon Redshift cluster.
func (ClusterLoggingOutput) S3KeyPrefix ¶
func (o ClusterLoggingOutput) S3KeyPrefix() pulumi.StringPtrOutput
The prefix applied to the log file names.
func (ClusterLoggingOutput) ToClusterLoggingOutput ¶
func (o ClusterLoggingOutput) ToClusterLoggingOutput() ClusterLoggingOutput
func (ClusterLoggingOutput) ToClusterLoggingOutputWithContext ¶
func (o ClusterLoggingOutput) ToClusterLoggingOutputWithContext(ctx context.Context) ClusterLoggingOutput
func (ClusterLoggingOutput) ToClusterLoggingPtrOutput ¶
func (o ClusterLoggingOutput) ToClusterLoggingPtrOutput() ClusterLoggingPtrOutput
func (ClusterLoggingOutput) ToClusterLoggingPtrOutputWithContext ¶
func (o ClusterLoggingOutput) ToClusterLoggingPtrOutputWithContext(ctx context.Context) ClusterLoggingPtrOutput
type ClusterLoggingPtrInput ¶
type ClusterLoggingPtrInput interface { pulumi.Input ToClusterLoggingPtrOutput() ClusterLoggingPtrOutput ToClusterLoggingPtrOutputWithContext(context.Context) ClusterLoggingPtrOutput }
ClusterLoggingPtrInput is an input type that accepts ClusterLoggingArgs, ClusterLoggingPtr and ClusterLoggingPtrOutput values. You can construct a concrete instance of `ClusterLoggingPtrInput` via:
ClusterLoggingArgs{...} or: nil
func ClusterLoggingPtr ¶
func ClusterLoggingPtr(v *ClusterLoggingArgs) ClusterLoggingPtrInput
type ClusterLoggingPtrOutput ¶
type ClusterLoggingPtrOutput struct{ *pulumi.OutputState }
func (ClusterLoggingPtrOutput) BucketName ¶
func (o ClusterLoggingPtrOutput) BucketName() pulumi.StringPtrOutput
The name of an existing S3 bucket where the log files are to be stored. Must be in the same region as the cluster and the cluster must have read bucket and put object permissions. For more information on the permissions required for the bucket, please read the AWS [documentation](http://docs.aws.amazon.com/redshift/latest/mgmt/db-auditing.html#db-auditing-enable-logging)
func (ClusterLoggingPtrOutput) Elem ¶
func (o ClusterLoggingPtrOutput) Elem() ClusterLoggingOutput
func (ClusterLoggingPtrOutput) ElementType ¶
func (ClusterLoggingPtrOutput) ElementType() reflect.Type
func (ClusterLoggingPtrOutput) Enable ¶
func (o ClusterLoggingPtrOutput) Enable() pulumi.BoolPtrOutput
Enables logging information such as queries and connection attempts, for the specified Amazon Redshift cluster.
func (ClusterLoggingPtrOutput) S3KeyPrefix ¶
func (o ClusterLoggingPtrOutput) S3KeyPrefix() pulumi.StringPtrOutput
The prefix applied to the log file names.
func (ClusterLoggingPtrOutput) ToClusterLoggingPtrOutput ¶
func (o ClusterLoggingPtrOutput) ToClusterLoggingPtrOutput() ClusterLoggingPtrOutput
func (ClusterLoggingPtrOutput) ToClusterLoggingPtrOutputWithContext ¶
func (o ClusterLoggingPtrOutput) ToClusterLoggingPtrOutputWithContext(ctx context.Context) ClusterLoggingPtrOutput
type ClusterMap ¶
type ClusterMap map[string]ClusterInput
func (ClusterMap) ElementType ¶
func (ClusterMap) ElementType() reflect.Type
func (ClusterMap) ToClusterMapOutput ¶
func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput
func (ClusterMap) ToClusterMapOutputWithContext ¶
func (i ClusterMap) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput
type ClusterMapInput ¶
type ClusterMapInput interface { pulumi.Input ToClusterMapOutput() ClusterMapOutput ToClusterMapOutputWithContext(context.Context) ClusterMapOutput }
ClusterMapInput is an input type that accepts ClusterMap and ClusterMapOutput values. You can construct a concrete instance of `ClusterMapInput` via:
ClusterMap{ "key": ClusterArgs{...} }
type ClusterMapOutput ¶
type ClusterMapOutput struct{ *pulumi.OutputState }
func (ClusterMapOutput) ElementType ¶
func (ClusterMapOutput) ElementType() reflect.Type
func (ClusterMapOutput) MapIndex ¶
func (o ClusterMapOutput) MapIndex(k pulumi.StringInput) ClusterOutput
func (ClusterMapOutput) ToClusterMapOutput ¶
func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput
func (ClusterMapOutput) ToClusterMapOutputWithContext ¶
func (o ClusterMapOutput) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput
type ClusterOutput ¶
type ClusterOutput struct{ *pulumi.OutputState }
func (ClusterOutput) ElementType ¶
func (ClusterOutput) ElementType() reflect.Type
func (ClusterOutput) ToClusterOutput ¶
func (o ClusterOutput) ToClusterOutput() ClusterOutput
func (ClusterOutput) ToClusterOutputWithContext ¶
func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
func (ClusterOutput) ToClusterPtrOutput ¶
func (o ClusterOutput) ToClusterPtrOutput() ClusterPtrOutput
func (ClusterOutput) ToClusterPtrOutputWithContext ¶
func (o ClusterOutput) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput
type ClusterPtrInput ¶
type ClusterPtrInput interface { pulumi.Input ToClusterPtrOutput() ClusterPtrOutput ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput }
type ClusterPtrOutput ¶
type ClusterPtrOutput struct{ *pulumi.OutputState }
func (ClusterPtrOutput) Elem ¶ added in v4.15.0
func (o ClusterPtrOutput) Elem() ClusterOutput
func (ClusterPtrOutput) ElementType ¶
func (ClusterPtrOutput) ElementType() reflect.Type
func (ClusterPtrOutput) ToClusterPtrOutput ¶
func (o ClusterPtrOutput) ToClusterPtrOutput() ClusterPtrOutput
func (ClusterPtrOutput) ToClusterPtrOutputWithContext ¶
func (o ClusterPtrOutput) ToClusterPtrOutputWithContext(ctx context.Context) ClusterPtrOutput
type ClusterSnapshotCopy ¶
type ClusterSnapshotCopy struct { // The destination region that you want to copy snapshots to. DestinationRegion string `pulumi:"destinationRegion"` // The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region. GrantName *string `pulumi:"grantName"` // The number of days to retain automated snapshots in the destination region after they are copied from the source region. Defaults to `7`. RetentionPeriod *int `pulumi:"retentionPeriod"` }
type ClusterSnapshotCopyArgs ¶
type ClusterSnapshotCopyArgs struct { // The destination region that you want to copy snapshots to. DestinationRegion pulumi.StringInput `pulumi:"destinationRegion"` // The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region. GrantName pulumi.StringPtrInput `pulumi:"grantName"` // The number of days to retain automated snapshots in the destination region after they are copied from the source region. Defaults to `7`. RetentionPeriod pulumi.IntPtrInput `pulumi:"retentionPeriod"` }
func (ClusterSnapshotCopyArgs) ElementType ¶
func (ClusterSnapshotCopyArgs) ElementType() reflect.Type
func (ClusterSnapshotCopyArgs) ToClusterSnapshotCopyOutput ¶
func (i ClusterSnapshotCopyArgs) ToClusterSnapshotCopyOutput() ClusterSnapshotCopyOutput
func (ClusterSnapshotCopyArgs) ToClusterSnapshotCopyOutputWithContext ¶
func (i ClusterSnapshotCopyArgs) ToClusterSnapshotCopyOutputWithContext(ctx context.Context) ClusterSnapshotCopyOutput
func (ClusterSnapshotCopyArgs) ToClusterSnapshotCopyPtrOutput ¶
func (i ClusterSnapshotCopyArgs) ToClusterSnapshotCopyPtrOutput() ClusterSnapshotCopyPtrOutput
func (ClusterSnapshotCopyArgs) ToClusterSnapshotCopyPtrOutputWithContext ¶
func (i ClusterSnapshotCopyArgs) ToClusterSnapshotCopyPtrOutputWithContext(ctx context.Context) ClusterSnapshotCopyPtrOutput
type ClusterSnapshotCopyInput ¶
type ClusterSnapshotCopyInput interface { pulumi.Input ToClusterSnapshotCopyOutput() ClusterSnapshotCopyOutput ToClusterSnapshotCopyOutputWithContext(context.Context) ClusterSnapshotCopyOutput }
ClusterSnapshotCopyInput is an input type that accepts ClusterSnapshotCopyArgs and ClusterSnapshotCopyOutput values. You can construct a concrete instance of `ClusterSnapshotCopyInput` via:
ClusterSnapshotCopyArgs{...}
type ClusterSnapshotCopyOutput ¶
type ClusterSnapshotCopyOutput struct{ *pulumi.OutputState }
func (ClusterSnapshotCopyOutput) DestinationRegion ¶
func (o ClusterSnapshotCopyOutput) DestinationRegion() pulumi.StringOutput
The destination region that you want to copy snapshots to.
func (ClusterSnapshotCopyOutput) ElementType ¶
func (ClusterSnapshotCopyOutput) ElementType() reflect.Type
func (ClusterSnapshotCopyOutput) GrantName ¶
func (o ClusterSnapshotCopyOutput) GrantName() pulumi.StringPtrOutput
The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region.
func (ClusterSnapshotCopyOutput) RetentionPeriod ¶
func (o ClusterSnapshotCopyOutput) RetentionPeriod() pulumi.IntPtrOutput
The number of days to retain automated snapshots in the destination region after they are copied from the source region. Defaults to `7`.
func (ClusterSnapshotCopyOutput) ToClusterSnapshotCopyOutput ¶
func (o ClusterSnapshotCopyOutput) ToClusterSnapshotCopyOutput() ClusterSnapshotCopyOutput
func (ClusterSnapshotCopyOutput) ToClusterSnapshotCopyOutputWithContext ¶
func (o ClusterSnapshotCopyOutput) ToClusterSnapshotCopyOutputWithContext(ctx context.Context) ClusterSnapshotCopyOutput
func (ClusterSnapshotCopyOutput) ToClusterSnapshotCopyPtrOutput ¶
func (o ClusterSnapshotCopyOutput) ToClusterSnapshotCopyPtrOutput() ClusterSnapshotCopyPtrOutput
func (ClusterSnapshotCopyOutput) ToClusterSnapshotCopyPtrOutputWithContext ¶
func (o ClusterSnapshotCopyOutput) ToClusterSnapshotCopyPtrOutputWithContext(ctx context.Context) ClusterSnapshotCopyPtrOutput
type ClusterSnapshotCopyPtrInput ¶
type ClusterSnapshotCopyPtrInput interface { pulumi.Input ToClusterSnapshotCopyPtrOutput() ClusterSnapshotCopyPtrOutput ToClusterSnapshotCopyPtrOutputWithContext(context.Context) ClusterSnapshotCopyPtrOutput }
ClusterSnapshotCopyPtrInput is an input type that accepts ClusterSnapshotCopyArgs, ClusterSnapshotCopyPtr and ClusterSnapshotCopyPtrOutput values. You can construct a concrete instance of `ClusterSnapshotCopyPtrInput` via:
ClusterSnapshotCopyArgs{...} or: nil
func ClusterSnapshotCopyPtr ¶
func ClusterSnapshotCopyPtr(v *ClusterSnapshotCopyArgs) ClusterSnapshotCopyPtrInput
type ClusterSnapshotCopyPtrOutput ¶
type ClusterSnapshotCopyPtrOutput struct{ *pulumi.OutputState }
func (ClusterSnapshotCopyPtrOutput) DestinationRegion ¶
func (o ClusterSnapshotCopyPtrOutput) DestinationRegion() pulumi.StringPtrOutput
The destination region that you want to copy snapshots to.
func (ClusterSnapshotCopyPtrOutput) Elem ¶
func (o ClusterSnapshotCopyPtrOutput) Elem() ClusterSnapshotCopyOutput
func (ClusterSnapshotCopyPtrOutput) ElementType ¶
func (ClusterSnapshotCopyPtrOutput) ElementType() reflect.Type
func (ClusterSnapshotCopyPtrOutput) GrantName ¶
func (o ClusterSnapshotCopyPtrOutput) GrantName() pulumi.StringPtrOutput
The name of the snapshot copy grant to use when snapshots of an AWS KMS-encrypted cluster are copied to the destination region.
func (ClusterSnapshotCopyPtrOutput) RetentionPeriod ¶
func (o ClusterSnapshotCopyPtrOutput) RetentionPeriod() pulumi.IntPtrOutput
The number of days to retain automated snapshots in the destination region after they are copied from the source region. Defaults to `7`.
func (ClusterSnapshotCopyPtrOutput) ToClusterSnapshotCopyPtrOutput ¶
func (o ClusterSnapshotCopyPtrOutput) ToClusterSnapshotCopyPtrOutput() ClusterSnapshotCopyPtrOutput
func (ClusterSnapshotCopyPtrOutput) ToClusterSnapshotCopyPtrOutputWithContext ¶
func (o ClusterSnapshotCopyPtrOutput) ToClusterSnapshotCopyPtrOutputWithContext(ctx context.Context) ClusterSnapshotCopyPtrOutput
type ClusterState ¶
type ClusterState struct { // If true , major version upgrades can be applied during the maintenance window to the Amazon Redshift engine that is running on the cluster. Default is true AllowVersionUpgrade pulumi.BoolPtrInput // Amazon Resource Name (ARN) of cluster Arn pulumi.StringPtrInput // The number of days that automated snapshots are retained. If the value is 0, automated snapshots are disabled. Even if automated snapshots are disabled, you can still create manual snapshots when you want with create-cluster-snapshot. Default is 1. AutomatedSnapshotRetentionPeriod pulumi.IntPtrInput // The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision the cluster. For example, if you have several EC2 instances running in a specific Availability Zone, then you might want the cluster to be provisioned in the same zone in order to decrease network latency. AvailabilityZone pulumi.StringPtrInput // The Cluster Identifier. Must be a lower case // string. ClusterIdentifier pulumi.StringPtrInput // The nodes in the cluster. Cluster node blocks are documented below ClusterNodes ClusterClusterNodeArrayInput // The name of the parameter group to be associated with this cluster. ClusterParameterGroupName pulumi.StringPtrInput // The public key for the cluster ClusterPublicKey pulumi.StringPtrInput // The specific revision number of the database in the cluster ClusterRevisionNumber pulumi.StringPtrInput // A list of security groups to be associated with this cluster. ClusterSecurityGroups pulumi.StringArrayInput // The name of a cluster subnet group to be associated with this cluster. If this parameter is not provided the resulting cluster will be deployed outside virtual private cloud (VPC). ClusterSubnetGroupName pulumi.StringPtrInput // The cluster type to use. Either `single-node` or `multi-node`. ClusterType pulumi.StringPtrInput // The version of the Amazon Redshift engine software that you want to deploy on the cluster. // The version selected runs on all the nodes in the cluster. ClusterVersion pulumi.StringPtrInput // The name of the first database to be created when the cluster is created. // If you do not provide a name, Amazon Redshift will create a default database called `dev`. DatabaseName pulumi.StringPtrInput // The DNS name of the cluster DnsName pulumi.StringPtrInput // The Elastic IP (EIP) address for the cluster. ElasticIp pulumi.StringPtrInput // If true , the data in the cluster is encrypted at rest. Encrypted pulumi.BoolPtrInput // The connection endpoint Endpoint pulumi.StringPtrInput // If true , enhanced VPC routing is enabled. EnhancedVpcRouting pulumi.BoolPtrInput // The identifier of the final snapshot that is to be created immediately before deleting the cluster. If this parameter is provided, `skipFinalSnapshot` must be false. FinalSnapshotIdentifier pulumi.StringPtrInput // A list of IAM Role ARNs to associate with the cluster. A Maximum of 10 can be associated to the cluster at any time. IamRoles pulumi.StringArrayInput // The ARN for the KMS encryption key. When specifying `kmsKeyId`, `encrypted` needs to be set to true. KmsKeyId pulumi.StringPtrInput // Logging, documented below. Logging ClusterLoggingPtrInput // Password for the master DB user. // Note that this may show up in logs, and it will be stored in the state file. Password must contain at least 8 chars and // contain at least one uppercase letter, one lowercase letter, and one number. MasterPassword pulumi.StringPtrInput // Username for the master DB user. MasterUsername pulumi.StringPtrInput // The node type to be provisioned for the cluster. NodeType pulumi.StringPtrInput // The number of compute nodes in the cluster. This parameter is required when the ClusterType parameter is specified as multi-node. Default is 1. NumberOfNodes pulumi.IntPtrInput // The AWS customer account used to create or copy the snapshot. Required if you are restoring a snapshot you do not own, optional if you own the snapshot. OwnerAccount pulumi.StringPtrInput // The port number on which the cluster accepts incoming connections. // The cluster is accessible only via the JDBC and ODBC connection strings. Part of the connection string requires the port on which the cluster will listen for incoming connections. Default port is 5439. Port pulumi.IntPtrInput // The weekly time range (in UTC) during which automated cluster maintenance can occur. // Format: ddd:hh24:mi-ddd:hh24:mi PreferredMaintenanceWindow pulumi.StringPtrInput // If true, the cluster can be accessed from a public network. Default is `true`. PubliclyAccessible pulumi.BoolPtrInput // Determines whether a final snapshot of the cluster is created before Amazon Redshift deletes the cluster. If true , a final cluster snapshot is not created. If false , a final cluster snapshot is created before the cluster is deleted. Default is false. SkipFinalSnapshot pulumi.BoolPtrInput // The name of the cluster the source snapshot was created from. SnapshotClusterIdentifier pulumi.StringPtrInput // Configuration of automatic copy of snapshots from one region to another. Documented below. SnapshotCopy ClusterSnapshotCopyPtrInput // The name of the snapshot from which to create the new cluster. SnapshotIdentifier pulumi.StringPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapInput // A list of Virtual Private Cloud (VPC) security groups to be associated with the cluster. VpcSecurityGroupIds pulumi.StringArrayInput }
func (ClusterState) ElementType ¶
func (ClusterState) ElementType() reflect.Type
type EventSubscription ¶
type EventSubscription struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of the Redshift event notification subscription Arn pulumi.StringOutput `pulumi:"arn"` // The AWS customer account associated with the Redshift event notification subscription CustomerAwsId pulumi.StringOutput `pulumi:"customerAwsId"` // A boolean flag to enable/disable the subscription. Defaults to true. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // A list of event categories for a SourceType that you want to subscribe to. See https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-event-notifications.html or run `aws redshift describe-event-categories`. EventCategories pulumi.StringArrayOutput `pulumi:"eventCategories"` // The name of the Redshift event subscription. Name pulumi.StringOutput `pulumi:"name"` // The event severity to be published by the notification subscription. Valid options are `INFO` or `ERROR`. Severity pulumi.StringPtrOutput `pulumi:"severity"` // The ARN of the SNS topic to send events to. SnsTopicArn pulumi.StringOutput `pulumi:"snsTopicArn"` // A list of identifiers of the event sources for which events will be returned. If not specified, then all sources are included in the response. If specified, a sourceType must also be specified. SourceIds pulumi.StringArrayOutput `pulumi:"sourceIds"` // The type of source that will be generating the events. Valid options are `cluster`, `cluster-parameter-group`, `cluster-security-group`, or `cluster-snapshot`. If not set, all sources will be subscribed to. SourceType pulumi.StringPtrOutput `pulumi:"sourceType"` Status pulumi.StringOutput `pulumi:"status"` // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a Redshift event subscription resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/redshift" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/sns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultCluster, err := redshift.NewCluster(ctx, "defaultCluster", &redshift.ClusterArgs{ ClusterIdentifier: pulumi.String("default"), DatabaseName: pulumi.String("default"), }) if err != nil { return err } defaultTopic, err := sns.NewTopic(ctx, "defaultTopic", nil) if err != nil { return err } _, err = redshift.NewEventSubscription(ctx, "defaultEventSubscription", &redshift.EventSubscriptionArgs{ SnsTopicArn: defaultTopic.Arn, SourceType: pulumi.String("cluster"), SourceIds: pulumi.StringArray{ defaultCluster.ID(), }, Severity: pulumi.String("INFO"), EventCategories: pulumi.StringArray{ pulumi.String("configuration"), pulumi.String("management"), pulumi.String("monitoring"), pulumi.String("security"), }, Tags: pulumi.StringMap{ "Name": pulumi.String("default"), }, }) if err != nil { return err } return nil }) }
```
## Import
Redshift Event Subscriptions can be imported using the `name`, e.g.,
```sh
$ pulumi import aws:redshift/eventSubscription:EventSubscription default redshift-event-sub
```
func GetEventSubscription ¶
func GetEventSubscription(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EventSubscriptionState, opts ...pulumi.ResourceOption) (*EventSubscription, error)
GetEventSubscription gets an existing EventSubscription resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEventSubscription ¶
func NewEventSubscription(ctx *pulumi.Context, name string, args *EventSubscriptionArgs, opts ...pulumi.ResourceOption) (*EventSubscription, error)
NewEventSubscription registers a new resource with the given unique name, arguments, and options.
func (*EventSubscription) ElementType ¶
func (*EventSubscription) ElementType() reflect.Type
func (*EventSubscription) ToEventSubscriptionOutput ¶
func (i *EventSubscription) ToEventSubscriptionOutput() EventSubscriptionOutput
func (*EventSubscription) ToEventSubscriptionOutputWithContext ¶
func (i *EventSubscription) ToEventSubscriptionOutputWithContext(ctx context.Context) EventSubscriptionOutput
func (*EventSubscription) ToEventSubscriptionPtrOutput ¶
func (i *EventSubscription) ToEventSubscriptionPtrOutput() EventSubscriptionPtrOutput
func (*EventSubscription) ToEventSubscriptionPtrOutputWithContext ¶
func (i *EventSubscription) ToEventSubscriptionPtrOutputWithContext(ctx context.Context) EventSubscriptionPtrOutput
type EventSubscriptionArgs ¶
type EventSubscriptionArgs struct { // A boolean flag to enable/disable the subscription. Defaults to true. Enabled pulumi.BoolPtrInput // A list of event categories for a SourceType that you want to subscribe to. See https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-event-notifications.html or run `aws redshift describe-event-categories`. EventCategories pulumi.StringArrayInput // The name of the Redshift event subscription. Name pulumi.StringPtrInput // The event severity to be published by the notification subscription. Valid options are `INFO` or `ERROR`. Severity pulumi.StringPtrInput // The ARN of the SNS topic to send events to. SnsTopicArn pulumi.StringInput // A list of identifiers of the event sources for which events will be returned. If not specified, then all sources are included in the response. If specified, a sourceType must also be specified. SourceIds pulumi.StringArrayInput // The type of source that will be generating the events. Valid options are `cluster`, `cluster-parameter-group`, `cluster-security-group`, or `cluster-snapshot`. If not set, all sources will be subscribed to. SourceType pulumi.StringPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a EventSubscription resource.
func (EventSubscriptionArgs) ElementType ¶
func (EventSubscriptionArgs) ElementType() reflect.Type
type EventSubscriptionArray ¶
type EventSubscriptionArray []EventSubscriptionInput
func (EventSubscriptionArray) ElementType ¶
func (EventSubscriptionArray) ElementType() reflect.Type
func (EventSubscriptionArray) ToEventSubscriptionArrayOutput ¶
func (i EventSubscriptionArray) ToEventSubscriptionArrayOutput() EventSubscriptionArrayOutput
func (EventSubscriptionArray) ToEventSubscriptionArrayOutputWithContext ¶
func (i EventSubscriptionArray) ToEventSubscriptionArrayOutputWithContext(ctx context.Context) EventSubscriptionArrayOutput
type EventSubscriptionArrayInput ¶
type EventSubscriptionArrayInput interface { pulumi.Input ToEventSubscriptionArrayOutput() EventSubscriptionArrayOutput ToEventSubscriptionArrayOutputWithContext(context.Context) EventSubscriptionArrayOutput }
EventSubscriptionArrayInput is an input type that accepts EventSubscriptionArray and EventSubscriptionArrayOutput values. You can construct a concrete instance of `EventSubscriptionArrayInput` via:
EventSubscriptionArray{ EventSubscriptionArgs{...} }
type EventSubscriptionArrayOutput ¶
type EventSubscriptionArrayOutput struct{ *pulumi.OutputState }
func (EventSubscriptionArrayOutput) ElementType ¶
func (EventSubscriptionArrayOutput) ElementType() reflect.Type
func (EventSubscriptionArrayOutput) Index ¶
func (o EventSubscriptionArrayOutput) Index(i pulumi.IntInput) EventSubscriptionOutput
func (EventSubscriptionArrayOutput) ToEventSubscriptionArrayOutput ¶
func (o EventSubscriptionArrayOutput) ToEventSubscriptionArrayOutput() EventSubscriptionArrayOutput
func (EventSubscriptionArrayOutput) ToEventSubscriptionArrayOutputWithContext ¶
func (o EventSubscriptionArrayOutput) ToEventSubscriptionArrayOutputWithContext(ctx context.Context) EventSubscriptionArrayOutput
type EventSubscriptionInput ¶
type EventSubscriptionInput interface { pulumi.Input ToEventSubscriptionOutput() EventSubscriptionOutput ToEventSubscriptionOutputWithContext(ctx context.Context) EventSubscriptionOutput }
type EventSubscriptionMap ¶
type EventSubscriptionMap map[string]EventSubscriptionInput
func (EventSubscriptionMap) ElementType ¶
func (EventSubscriptionMap) ElementType() reflect.Type
func (EventSubscriptionMap) ToEventSubscriptionMapOutput ¶
func (i EventSubscriptionMap) ToEventSubscriptionMapOutput() EventSubscriptionMapOutput
func (EventSubscriptionMap) ToEventSubscriptionMapOutputWithContext ¶
func (i EventSubscriptionMap) ToEventSubscriptionMapOutputWithContext(ctx context.Context) EventSubscriptionMapOutput
type EventSubscriptionMapInput ¶
type EventSubscriptionMapInput interface { pulumi.Input ToEventSubscriptionMapOutput() EventSubscriptionMapOutput ToEventSubscriptionMapOutputWithContext(context.Context) EventSubscriptionMapOutput }
EventSubscriptionMapInput is an input type that accepts EventSubscriptionMap and EventSubscriptionMapOutput values. You can construct a concrete instance of `EventSubscriptionMapInput` via:
EventSubscriptionMap{ "key": EventSubscriptionArgs{...} }
type EventSubscriptionMapOutput ¶
type EventSubscriptionMapOutput struct{ *pulumi.OutputState }
func (EventSubscriptionMapOutput) ElementType ¶
func (EventSubscriptionMapOutput) ElementType() reflect.Type
func (EventSubscriptionMapOutput) MapIndex ¶
func (o EventSubscriptionMapOutput) MapIndex(k pulumi.StringInput) EventSubscriptionOutput
func (EventSubscriptionMapOutput) ToEventSubscriptionMapOutput ¶
func (o EventSubscriptionMapOutput) ToEventSubscriptionMapOutput() EventSubscriptionMapOutput
func (EventSubscriptionMapOutput) ToEventSubscriptionMapOutputWithContext ¶
func (o EventSubscriptionMapOutput) ToEventSubscriptionMapOutputWithContext(ctx context.Context) EventSubscriptionMapOutput
type EventSubscriptionOutput ¶
type EventSubscriptionOutput struct{ *pulumi.OutputState }
func (EventSubscriptionOutput) ElementType ¶
func (EventSubscriptionOutput) ElementType() reflect.Type
func (EventSubscriptionOutput) ToEventSubscriptionOutput ¶
func (o EventSubscriptionOutput) ToEventSubscriptionOutput() EventSubscriptionOutput
func (EventSubscriptionOutput) ToEventSubscriptionOutputWithContext ¶
func (o EventSubscriptionOutput) ToEventSubscriptionOutputWithContext(ctx context.Context) EventSubscriptionOutput
func (EventSubscriptionOutput) ToEventSubscriptionPtrOutput ¶
func (o EventSubscriptionOutput) ToEventSubscriptionPtrOutput() EventSubscriptionPtrOutput
func (EventSubscriptionOutput) ToEventSubscriptionPtrOutputWithContext ¶
func (o EventSubscriptionOutput) ToEventSubscriptionPtrOutputWithContext(ctx context.Context) EventSubscriptionPtrOutput
type EventSubscriptionPtrInput ¶
type EventSubscriptionPtrInput interface { pulumi.Input ToEventSubscriptionPtrOutput() EventSubscriptionPtrOutput ToEventSubscriptionPtrOutputWithContext(ctx context.Context) EventSubscriptionPtrOutput }
type EventSubscriptionPtrOutput ¶
type EventSubscriptionPtrOutput struct{ *pulumi.OutputState }
func (EventSubscriptionPtrOutput) Elem ¶ added in v4.15.0
func (o EventSubscriptionPtrOutput) Elem() EventSubscriptionOutput
func (EventSubscriptionPtrOutput) ElementType ¶
func (EventSubscriptionPtrOutput) ElementType() reflect.Type
func (EventSubscriptionPtrOutput) ToEventSubscriptionPtrOutput ¶
func (o EventSubscriptionPtrOutput) ToEventSubscriptionPtrOutput() EventSubscriptionPtrOutput
func (EventSubscriptionPtrOutput) ToEventSubscriptionPtrOutputWithContext ¶
func (o EventSubscriptionPtrOutput) ToEventSubscriptionPtrOutputWithContext(ctx context.Context) EventSubscriptionPtrOutput
type EventSubscriptionState ¶
type EventSubscriptionState struct { // Amazon Resource Name (ARN) of the Redshift event notification subscription Arn pulumi.StringPtrInput // The AWS customer account associated with the Redshift event notification subscription CustomerAwsId pulumi.StringPtrInput // A boolean flag to enable/disable the subscription. Defaults to true. Enabled pulumi.BoolPtrInput // A list of event categories for a SourceType that you want to subscribe to. See https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-event-notifications.html or run `aws redshift describe-event-categories`. EventCategories pulumi.StringArrayInput // The name of the Redshift event subscription. Name pulumi.StringPtrInput // The event severity to be published by the notification subscription. Valid options are `INFO` or `ERROR`. Severity pulumi.StringPtrInput // The ARN of the SNS topic to send events to. SnsTopicArn pulumi.StringPtrInput // A list of identifiers of the event sources for which events will be returned. If not specified, then all sources are included in the response. If specified, a sourceType must also be specified. SourceIds pulumi.StringArrayInput // The type of source that will be generating the events. Valid options are `cluster`, `cluster-parameter-group`, `cluster-security-group`, or `cluster-snapshot`. If not set, all sources will be subscribed to. SourceType pulumi.StringPtrInput Status pulumi.StringPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapInput }
func (EventSubscriptionState) ElementType ¶
func (EventSubscriptionState) ElementType() reflect.Type
type GetOrderableClusterArgs ¶
type GetOrderableClusterArgs struct { // Reshift Cluster typeE.g., `multi-node` or `single-node` ClusterType *string `pulumi:"clusterType"` // Redshift Cluster versionE.g., `1.0` ClusterVersion *string `pulumi:"clusterVersion"` // Redshift Cluster node typeE.g., `dc2.8xlarge` NodeType *string `pulumi:"nodeType"` // Ordered list of preferred Redshift Cluster node types. The first match in this list will be returned. If no preferred matches are found and the original search returned more than one result, an error is returned. PreferredNodeTypes []string `pulumi:"preferredNodeTypes"` }
A collection of arguments for invoking getOrderableCluster.
type GetOrderableClusterOutputArgs ¶ added in v4.21.0
type GetOrderableClusterOutputArgs struct { // Reshift Cluster typeE.g., `multi-node` or `single-node` ClusterType pulumi.StringPtrInput `pulumi:"clusterType"` // Redshift Cluster versionE.g., `1.0` ClusterVersion pulumi.StringPtrInput `pulumi:"clusterVersion"` // Redshift Cluster node typeE.g., `dc2.8xlarge` NodeType pulumi.StringPtrInput `pulumi:"nodeType"` // Ordered list of preferred Redshift Cluster node types. The first match in this list will be returned. If no preferred matches are found and the original search returned more than one result, an error is returned. PreferredNodeTypes pulumi.StringArrayInput `pulumi:"preferredNodeTypes"` }
A collection of arguments for invoking getOrderableCluster.
func (GetOrderableClusterOutputArgs) ElementType ¶ added in v4.21.0
func (GetOrderableClusterOutputArgs) ElementType() reflect.Type
type GetOrderableClusterResult ¶
type GetOrderableClusterResult struct { // List of Availability Zone names where the Redshit Cluster is available. AvailabilityZones []string `pulumi:"availabilityZones"` ClusterType string `pulumi:"clusterType"` ClusterVersion string `pulumi:"clusterVersion"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` NodeType string `pulumi:"nodeType"` PreferredNodeTypes []string `pulumi:"preferredNodeTypes"` }
A collection of values returned by getOrderableCluster.
func GetOrderableCluster ¶
func GetOrderableCluster(ctx *pulumi.Context, args *GetOrderableClusterArgs, opts ...pulumi.InvokeOption) (*GetOrderableClusterResult, error)
Information about Redshift Orderable Clusters and valid parameter combinations.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/redshift" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "multi-node" _, err := redshift.GetOrderableCluster(ctx, &redshift.GetOrderableClusterArgs{ ClusterType: &opt0, PreferredNodeTypes: []string{ "dc2.large", "ds2.xlarge", }, }, nil) if err != nil { return err } return nil }) }
```
type GetOrderableClusterResultOutput ¶ added in v4.21.0
type GetOrderableClusterResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getOrderableCluster.
func GetOrderableClusterOutput ¶ added in v4.21.0
func GetOrderableClusterOutput(ctx *pulumi.Context, args GetOrderableClusterOutputArgs, opts ...pulumi.InvokeOption) GetOrderableClusterResultOutput
func (GetOrderableClusterResultOutput) AvailabilityZones ¶ added in v4.21.0
func (o GetOrderableClusterResultOutput) AvailabilityZones() pulumi.StringArrayOutput
List of Availability Zone names where the Redshit Cluster is available.
func (GetOrderableClusterResultOutput) ClusterType ¶ added in v4.21.0
func (o GetOrderableClusterResultOutput) ClusterType() pulumi.StringOutput
func (GetOrderableClusterResultOutput) ClusterVersion ¶ added in v4.21.0
func (o GetOrderableClusterResultOutput) ClusterVersion() pulumi.StringOutput
func (GetOrderableClusterResultOutput) ElementType ¶ added in v4.21.0
func (GetOrderableClusterResultOutput) ElementType() reflect.Type
func (GetOrderableClusterResultOutput) Id ¶ added in v4.21.0
func (o GetOrderableClusterResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetOrderableClusterResultOutput) NodeType ¶ added in v4.21.0
func (o GetOrderableClusterResultOutput) NodeType() pulumi.StringOutput
func (GetOrderableClusterResultOutput) PreferredNodeTypes ¶ added in v4.21.0
func (o GetOrderableClusterResultOutput) PreferredNodeTypes() pulumi.StringArrayOutput
func (GetOrderableClusterResultOutput) ToGetOrderableClusterResultOutput ¶ added in v4.21.0
func (o GetOrderableClusterResultOutput) ToGetOrderableClusterResultOutput() GetOrderableClusterResultOutput
func (GetOrderableClusterResultOutput) ToGetOrderableClusterResultOutputWithContext ¶ added in v4.21.0
func (o GetOrderableClusterResultOutput) ToGetOrderableClusterResultOutputWithContext(ctx context.Context) GetOrderableClusterResultOutput
type GetServiceAccountArgs ¶
type GetServiceAccountArgs struct { // Name of the region whose AWS Redshift account ID is desired. // Defaults to the region from the AWS provider configuration. Region *string `pulumi:"region"` }
A collection of arguments for invoking getServiceAccount.
type GetServiceAccountOutputArgs ¶ added in v4.21.0
type GetServiceAccountOutputArgs struct { // Name of the region whose AWS Redshift account ID is desired. // Defaults to the region from the AWS provider configuration. Region pulumi.StringPtrInput `pulumi:"region"` }
A collection of arguments for invoking getServiceAccount.
func (GetServiceAccountOutputArgs) ElementType ¶ added in v4.21.0
func (GetServiceAccountOutputArgs) ElementType() reflect.Type
type GetServiceAccountResult ¶
type GetServiceAccountResult struct { // The ARN of the AWS Redshift service account in the selected region. Arn string `pulumi:"arn"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Region *string `pulumi:"region"` }
A collection of values returned by getServiceAccount.
func GetServiceAccount ¶
func GetServiceAccount(ctx *pulumi.Context, args *GetServiceAccountArgs, opts ...pulumi.InvokeOption) (*GetServiceAccountResult, error)
Use this data source to get the Account ID of the [AWS Redshift Service Account](http://docs.aws.amazon.com/redshift/latest/mgmt/db-auditing.html#db-auditing-enable-logging) in a given region for the purpose of allowing Redshift to store audit data in S3.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/iam" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/redshift" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/s3" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { main, err := redshift.GetServiceAccount(ctx, nil, nil) if err != nil { return err } _, err = s3.NewBucket(ctx, "bucket", &s3.BucketArgs{ ForceDestroy: pulumi.Bool(true), Policy: pulumi.Any(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2008-10-17\",\n", " \"Statement\": [\n", " {\n", " \"Sid\": \"Put bucket policy needed for audit logging\",\n", " \"Effect\": \"Allow\",\n", " \"Principal\": {\n", " \"AWS\": \"", main.Arn, "\"\n", " },\n", " \"Action\": \"s3:PutObject\",\n", " \"Resource\": \"arn:aws:s3:::tf-redshift-logging-test-bucket/*\"\n", " },\n", " {\n", " \"Sid\": \"Get bucket policy needed for audit logging \",\n", " \"Effect\": \"Allow\",\n", " \"Principal\": {\n", " \"AWS\": \"", main.Arn, "\"\n", " },\n", " \"Action\": \"s3:GetBucketAcl\",\n", " \"Resource\": \"arn:aws:s3:::tf-redshift-logging-test-bucket\"\n", " }\n", " ]\n", "}\n", "\n")), }) if err != nil { return err } return nil }) }
```
type GetServiceAccountResultOutput ¶ added in v4.21.0
type GetServiceAccountResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getServiceAccount.
func GetServiceAccountOutput ¶ added in v4.21.0
func GetServiceAccountOutput(ctx *pulumi.Context, args GetServiceAccountOutputArgs, opts ...pulumi.InvokeOption) GetServiceAccountResultOutput
func (GetServiceAccountResultOutput) Arn ¶ added in v4.21.0
func (o GetServiceAccountResultOutput) Arn() pulumi.StringOutput
The ARN of the AWS Redshift service account in the selected region.
func (GetServiceAccountResultOutput) ElementType ¶ added in v4.21.0
func (GetServiceAccountResultOutput) ElementType() reflect.Type
func (GetServiceAccountResultOutput) Id ¶ added in v4.21.0
func (o GetServiceAccountResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetServiceAccountResultOutput) Region ¶ added in v4.21.0
func (o GetServiceAccountResultOutput) Region() pulumi.StringPtrOutput
func (GetServiceAccountResultOutput) ToGetServiceAccountResultOutput ¶ added in v4.21.0
func (o GetServiceAccountResultOutput) ToGetServiceAccountResultOutput() GetServiceAccountResultOutput
func (GetServiceAccountResultOutput) ToGetServiceAccountResultOutputWithContext ¶ added in v4.21.0
func (o GetServiceAccountResultOutput) ToGetServiceAccountResultOutputWithContext(ctx context.Context) GetServiceAccountResultOutput
type LookupClusterArgs ¶
type LookupClusterArgs struct { // The cluster identifier ClusterIdentifier string `pulumi:"clusterIdentifier"` // The tags associated to the cluster Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getCluster.
type LookupClusterOutputArgs ¶ added in v4.21.0
type LookupClusterOutputArgs struct { // The cluster identifier ClusterIdentifier pulumi.StringInput `pulumi:"clusterIdentifier"` // The tags associated to the cluster Tags pulumi.StringMapInput `pulumi:"tags"` }
A collection of arguments for invoking getCluster.
func (LookupClusterOutputArgs) ElementType ¶ added in v4.21.0
func (LookupClusterOutputArgs) ElementType() reflect.Type
type LookupClusterResult ¶
type LookupClusterResult struct { // Whether major version upgrades can be applied during maintenance period AllowVersionUpgrade bool `pulumi:"allowVersionUpgrade"` // The backup retention period AutomatedSnapshotRetentionPeriod int `pulumi:"automatedSnapshotRetentionPeriod"` // The availability zone of the cluster AvailabilityZone string `pulumi:"availabilityZone"` // The name of the S3 bucket where the log files are to be stored BucketName string `pulumi:"bucketName"` // The cluster identifier ClusterIdentifier string `pulumi:"clusterIdentifier"` // The name of the parameter group to be associated with this cluster ClusterParameterGroupName string `pulumi:"clusterParameterGroupName"` // The public key for the cluster ClusterPublicKey string `pulumi:"clusterPublicKey"` // The cluster revision number ClusterRevisionNumber string `pulumi:"clusterRevisionNumber"` // The security groups associated with the cluster ClusterSecurityGroups []string `pulumi:"clusterSecurityGroups"` // The name of a cluster subnet group to be associated with this cluster ClusterSubnetGroupName string `pulumi:"clusterSubnetGroupName"` // The cluster type ClusterType string `pulumi:"clusterType"` ClusterVersion string `pulumi:"clusterVersion"` // The name of the default database in the cluster DatabaseName string `pulumi:"databaseName"` // The Elastic IP of the cluster ElasticIp string `pulumi:"elasticIp"` // Whether cluster logging is enabled EnableLogging bool `pulumi:"enableLogging"` // Whether the cluster data is encrypted Encrypted bool `pulumi:"encrypted"` // The cluster endpoint Endpoint string `pulumi:"endpoint"` // Whether enhanced VPC routing is enabled EnhancedVpcRouting bool `pulumi:"enhancedVpcRouting"` // The IAM roles associated to the cluster IamRoles []string `pulumi:"iamRoles"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The KMS encryption key associated to the cluster KmsKeyId string `pulumi:"kmsKeyId"` // Username for the master DB user MasterUsername string `pulumi:"masterUsername"` // The cluster node type NodeType string `pulumi:"nodeType"` // The number of nodes in the cluster NumberOfNodes int `pulumi:"numberOfNodes"` // The port the cluster responds on Port int `pulumi:"port"` // The maintenance window PreferredMaintenanceWindow string `pulumi:"preferredMaintenanceWindow"` // Whether the cluster is publicly accessible PubliclyAccessible bool `pulumi:"publiclyAccessible"` // The folder inside the S3 bucket where the log files are stored S3KeyPrefix string `pulumi:"s3KeyPrefix"` // The tags associated to the cluster Tags map[string]string `pulumi:"tags"` // The VPC Id associated with the cluster VpcId string `pulumi:"vpcId"` // The VPC security group Ids associated with the cluster VpcSecurityGroupIds []string `pulumi:"vpcSecurityGroupIds"` }
A collection of values returned by getCluster.
func LookupCluster ¶
func LookupCluster(ctx *pulumi.Context, args *LookupClusterArgs, opts ...pulumi.InvokeOption) (*LookupClusterResult, error)
Provides details about a specific redshift cluster.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/kinesis" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/redshift" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { testCluster, err := redshift.LookupCluster(ctx, &redshift.LookupClusterArgs{ ClusterIdentifier: "test-cluster", }, nil) if err != nil { return err } _, err = kinesis.NewFirehoseDeliveryStream(ctx, "testStream", &kinesis.FirehoseDeliveryStreamArgs{ Destination: pulumi.String("redshift"), S3Configuration: &kinesis.FirehoseDeliveryStreamS3ConfigurationArgs{ RoleArn: pulumi.Any(aws_iam_role.Firehose_role.Arn), BucketArn: pulumi.Any(aws_s3_bucket.Bucket.Arn), BufferSize: pulumi.Int(10), BufferInterval: pulumi.Int(400), CompressionFormat: pulumi.String("GZIP"), }, RedshiftConfiguration: &kinesis.FirehoseDeliveryStreamRedshiftConfigurationArgs{ RoleArn: pulumi.Any(aws_iam_role.Firehose_role.Arn), ClusterJdbcurl: pulumi.String(fmt.Sprintf("%v%v%v%v", "jdbc:redshift://", testCluster.Endpoint, "/", testCluster.DatabaseName)), Username: pulumi.String("testuser"), Password: pulumi.String("T3stPass"), DataTableName: pulumi.String("test-table"), CopyOptions: pulumi.String("delimiter '|'"), DataTableColumns: pulumi.String("test-col"), }, }) if err != nil { return err } return nil }) }
```
type LookupClusterResultOutput ¶ added in v4.21.0
type LookupClusterResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCluster.
func LookupClusterOutput ¶ added in v4.21.0
func LookupClusterOutput(ctx *pulumi.Context, args LookupClusterOutputArgs, opts ...pulumi.InvokeOption) LookupClusterResultOutput
func (LookupClusterResultOutput) AllowVersionUpgrade ¶ added in v4.21.0
func (o LookupClusterResultOutput) AllowVersionUpgrade() pulumi.BoolOutput
Whether major version upgrades can be applied during maintenance period
func (LookupClusterResultOutput) AutomatedSnapshotRetentionPeriod ¶ added in v4.21.0
func (o LookupClusterResultOutput) AutomatedSnapshotRetentionPeriod() pulumi.IntOutput
The backup retention period
func (LookupClusterResultOutput) AvailabilityZone ¶ added in v4.21.0
func (o LookupClusterResultOutput) AvailabilityZone() pulumi.StringOutput
The availability zone of the cluster
func (LookupClusterResultOutput) BucketName ¶ added in v4.21.0
func (o LookupClusterResultOutput) BucketName() pulumi.StringOutput
The name of the S3 bucket where the log files are to be stored
func (LookupClusterResultOutput) ClusterIdentifier ¶ added in v4.21.0
func (o LookupClusterResultOutput) ClusterIdentifier() pulumi.StringOutput
The cluster identifier
func (LookupClusterResultOutput) ClusterParameterGroupName ¶ added in v4.21.0
func (o LookupClusterResultOutput) ClusterParameterGroupName() pulumi.StringOutput
The name of the parameter group to be associated with this cluster
func (LookupClusterResultOutput) ClusterPublicKey ¶ added in v4.21.0
func (o LookupClusterResultOutput) ClusterPublicKey() pulumi.StringOutput
The public key for the cluster
func (LookupClusterResultOutput) ClusterRevisionNumber ¶ added in v4.21.0
func (o LookupClusterResultOutput) ClusterRevisionNumber() pulumi.StringOutput
The cluster revision number
func (LookupClusterResultOutput) ClusterSecurityGroups ¶ added in v4.21.0
func (o LookupClusterResultOutput) ClusterSecurityGroups() pulumi.StringArrayOutput
The security groups associated with the cluster
func (LookupClusterResultOutput) ClusterSubnetGroupName ¶ added in v4.21.0
func (o LookupClusterResultOutput) ClusterSubnetGroupName() pulumi.StringOutput
The name of a cluster subnet group to be associated with this cluster
func (LookupClusterResultOutput) ClusterType ¶ added in v4.21.0
func (o LookupClusterResultOutput) ClusterType() pulumi.StringOutput
The cluster type
func (LookupClusterResultOutput) ClusterVersion ¶ added in v4.21.0
func (o LookupClusterResultOutput) ClusterVersion() pulumi.StringOutput
func (LookupClusterResultOutput) DatabaseName ¶ added in v4.21.0
func (o LookupClusterResultOutput) DatabaseName() pulumi.StringOutput
The name of the default database in the cluster
func (LookupClusterResultOutput) ElasticIp ¶ added in v4.21.0
func (o LookupClusterResultOutput) ElasticIp() pulumi.StringOutput
The Elastic IP of the cluster
func (LookupClusterResultOutput) ElementType ¶ added in v4.21.0
func (LookupClusterResultOutput) ElementType() reflect.Type
func (LookupClusterResultOutput) EnableLogging ¶ added in v4.21.0
func (o LookupClusterResultOutput) EnableLogging() pulumi.BoolOutput
Whether cluster logging is enabled
func (LookupClusterResultOutput) Encrypted ¶ added in v4.21.0
func (o LookupClusterResultOutput) Encrypted() pulumi.BoolOutput
Whether the cluster data is encrypted
func (LookupClusterResultOutput) Endpoint ¶ added in v4.21.0
func (o LookupClusterResultOutput) Endpoint() pulumi.StringOutput
The cluster endpoint
func (LookupClusterResultOutput) EnhancedVpcRouting ¶ added in v4.21.0
func (o LookupClusterResultOutput) EnhancedVpcRouting() pulumi.BoolOutput
Whether enhanced VPC routing is enabled
func (LookupClusterResultOutput) IamRoles ¶ added in v4.21.0
func (o LookupClusterResultOutput) IamRoles() pulumi.StringArrayOutput
The IAM roles associated to the cluster
func (LookupClusterResultOutput) Id ¶ added in v4.21.0
func (o LookupClusterResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupClusterResultOutput) KmsKeyId ¶ added in v4.21.0
func (o LookupClusterResultOutput) KmsKeyId() pulumi.StringOutput
The KMS encryption key associated to the cluster
func (LookupClusterResultOutput) MasterUsername ¶ added in v4.21.0
func (o LookupClusterResultOutput) MasterUsername() pulumi.StringOutput
Username for the master DB user
func (LookupClusterResultOutput) NodeType ¶ added in v4.21.0
func (o LookupClusterResultOutput) NodeType() pulumi.StringOutput
The cluster node type
func (LookupClusterResultOutput) NumberOfNodes ¶ added in v4.21.0
func (o LookupClusterResultOutput) NumberOfNodes() pulumi.IntOutput
The number of nodes in the cluster
func (LookupClusterResultOutput) Port ¶ added in v4.21.0
func (o LookupClusterResultOutput) Port() pulumi.IntOutput
The port the cluster responds on
func (LookupClusterResultOutput) PreferredMaintenanceWindow ¶ added in v4.21.0
func (o LookupClusterResultOutput) PreferredMaintenanceWindow() pulumi.StringOutput
The maintenance window
func (LookupClusterResultOutput) PubliclyAccessible ¶ added in v4.21.0
func (o LookupClusterResultOutput) PubliclyAccessible() pulumi.BoolOutput
Whether the cluster is publicly accessible
func (LookupClusterResultOutput) S3KeyPrefix ¶ added in v4.21.0
func (o LookupClusterResultOutput) S3KeyPrefix() pulumi.StringOutput
The folder inside the S3 bucket where the log files are stored
func (LookupClusterResultOutput) Tags ¶ added in v4.21.0
func (o LookupClusterResultOutput) Tags() pulumi.StringMapOutput
The tags associated to the cluster
func (LookupClusterResultOutput) ToLookupClusterResultOutput ¶ added in v4.21.0
func (o LookupClusterResultOutput) ToLookupClusterResultOutput() LookupClusterResultOutput
func (LookupClusterResultOutput) ToLookupClusterResultOutputWithContext ¶ added in v4.21.0
func (o LookupClusterResultOutput) ToLookupClusterResultOutputWithContext(ctx context.Context) LookupClusterResultOutput
func (LookupClusterResultOutput) VpcId ¶ added in v4.21.0
func (o LookupClusterResultOutput) VpcId() pulumi.StringOutput
The VPC Id associated with the cluster
func (LookupClusterResultOutput) VpcSecurityGroupIds ¶ added in v4.21.0
func (o LookupClusterResultOutput) VpcSecurityGroupIds() pulumi.StringArrayOutput
The VPC security group Ids associated with the cluster
type ParameterGroup ¶
type ParameterGroup struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of parameter group Arn pulumi.StringOutput `pulumi:"arn"` // The description of the Redshift parameter group. Defaults to "Managed by Pulumi". Description pulumi.StringOutput `pulumi:"description"` // The family of the Redshift parameter group. Family pulumi.StringOutput `pulumi:"family"` // The name of the Redshift parameter. Name pulumi.StringOutput `pulumi:"name"` // A list of Redshift parameters to apply. Parameters ParameterGroupParameterArrayOutput `pulumi:"parameters"` // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a Redshift Cluster parameter group resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/redshift" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := redshift.NewParameterGroup(ctx, "bar", &redshift.ParameterGroupArgs{ Family: pulumi.String("redshift-1.0"), Parameters: redshift.ParameterGroupParameterArray{ &redshift.ParameterGroupParameterArgs{ Name: pulumi.String("require_ssl"), Value: pulumi.String("true"), }, &redshift.ParameterGroupParameterArgs{ Name: pulumi.String("query_group"), Value: pulumi.String("example"), }, &redshift.ParameterGroupParameterArgs{ Name: pulumi.String("enable_user_activity_logging"), Value: pulumi.String("true"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Redshift Parameter Groups can be imported using the `name`, e.g.,
```sh
$ pulumi import aws:redshift/parameterGroup:ParameterGroup paramgroup1 parameter-group-test
```
func GetParameterGroup ¶
func GetParameterGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ParameterGroupState, opts ...pulumi.ResourceOption) (*ParameterGroup, error)
GetParameterGroup gets an existing ParameterGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewParameterGroup ¶
func NewParameterGroup(ctx *pulumi.Context, name string, args *ParameterGroupArgs, opts ...pulumi.ResourceOption) (*ParameterGroup, error)
NewParameterGroup registers a new resource with the given unique name, arguments, and options.
func (*ParameterGroup) ElementType ¶
func (*ParameterGroup) ElementType() reflect.Type
func (*ParameterGroup) ToParameterGroupOutput ¶
func (i *ParameterGroup) ToParameterGroupOutput() ParameterGroupOutput
func (*ParameterGroup) ToParameterGroupOutputWithContext ¶
func (i *ParameterGroup) ToParameterGroupOutputWithContext(ctx context.Context) ParameterGroupOutput
func (*ParameterGroup) ToParameterGroupPtrOutput ¶
func (i *ParameterGroup) ToParameterGroupPtrOutput() ParameterGroupPtrOutput
func (*ParameterGroup) ToParameterGroupPtrOutputWithContext ¶
func (i *ParameterGroup) ToParameterGroupPtrOutputWithContext(ctx context.Context) ParameterGroupPtrOutput
type ParameterGroupArgs ¶
type ParameterGroupArgs struct { // The description of the Redshift parameter group. Defaults to "Managed by Pulumi". Description pulumi.StringPtrInput // The family of the Redshift parameter group. Family pulumi.StringInput // The name of the Redshift parameter. Name pulumi.StringPtrInput // A list of Redshift parameters to apply. Parameters ParameterGroupParameterArrayInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a ParameterGroup resource.
func (ParameterGroupArgs) ElementType ¶
func (ParameterGroupArgs) ElementType() reflect.Type
type ParameterGroupArray ¶
type ParameterGroupArray []ParameterGroupInput
func (ParameterGroupArray) ElementType ¶
func (ParameterGroupArray) ElementType() reflect.Type
func (ParameterGroupArray) ToParameterGroupArrayOutput ¶
func (i ParameterGroupArray) ToParameterGroupArrayOutput() ParameterGroupArrayOutput
func (ParameterGroupArray) ToParameterGroupArrayOutputWithContext ¶
func (i ParameterGroupArray) ToParameterGroupArrayOutputWithContext(ctx context.Context) ParameterGroupArrayOutput
type ParameterGroupArrayInput ¶
type ParameterGroupArrayInput interface { pulumi.Input ToParameterGroupArrayOutput() ParameterGroupArrayOutput ToParameterGroupArrayOutputWithContext(context.Context) ParameterGroupArrayOutput }
ParameterGroupArrayInput is an input type that accepts ParameterGroupArray and ParameterGroupArrayOutput values. You can construct a concrete instance of `ParameterGroupArrayInput` via:
ParameterGroupArray{ ParameterGroupArgs{...} }
type ParameterGroupArrayOutput ¶
type ParameterGroupArrayOutput struct{ *pulumi.OutputState }
func (ParameterGroupArrayOutput) ElementType ¶
func (ParameterGroupArrayOutput) ElementType() reflect.Type
func (ParameterGroupArrayOutput) Index ¶
func (o ParameterGroupArrayOutput) Index(i pulumi.IntInput) ParameterGroupOutput
func (ParameterGroupArrayOutput) ToParameterGroupArrayOutput ¶
func (o ParameterGroupArrayOutput) ToParameterGroupArrayOutput() ParameterGroupArrayOutput
func (ParameterGroupArrayOutput) ToParameterGroupArrayOutputWithContext ¶
func (o ParameterGroupArrayOutput) ToParameterGroupArrayOutputWithContext(ctx context.Context) ParameterGroupArrayOutput
type ParameterGroupInput ¶
type ParameterGroupInput interface { pulumi.Input ToParameterGroupOutput() ParameterGroupOutput ToParameterGroupOutputWithContext(ctx context.Context) ParameterGroupOutput }
type ParameterGroupMap ¶
type ParameterGroupMap map[string]ParameterGroupInput
func (ParameterGroupMap) ElementType ¶
func (ParameterGroupMap) ElementType() reflect.Type
func (ParameterGroupMap) ToParameterGroupMapOutput ¶
func (i ParameterGroupMap) ToParameterGroupMapOutput() ParameterGroupMapOutput
func (ParameterGroupMap) ToParameterGroupMapOutputWithContext ¶
func (i ParameterGroupMap) ToParameterGroupMapOutputWithContext(ctx context.Context) ParameterGroupMapOutput
type ParameterGroupMapInput ¶
type ParameterGroupMapInput interface { pulumi.Input ToParameterGroupMapOutput() ParameterGroupMapOutput ToParameterGroupMapOutputWithContext(context.Context) ParameterGroupMapOutput }
ParameterGroupMapInput is an input type that accepts ParameterGroupMap and ParameterGroupMapOutput values. You can construct a concrete instance of `ParameterGroupMapInput` via:
ParameterGroupMap{ "key": ParameterGroupArgs{...} }
type ParameterGroupMapOutput ¶
type ParameterGroupMapOutput struct{ *pulumi.OutputState }
func (ParameterGroupMapOutput) ElementType ¶
func (ParameterGroupMapOutput) ElementType() reflect.Type
func (ParameterGroupMapOutput) MapIndex ¶
func (o ParameterGroupMapOutput) MapIndex(k pulumi.StringInput) ParameterGroupOutput
func (ParameterGroupMapOutput) ToParameterGroupMapOutput ¶
func (o ParameterGroupMapOutput) ToParameterGroupMapOutput() ParameterGroupMapOutput
func (ParameterGroupMapOutput) ToParameterGroupMapOutputWithContext ¶
func (o ParameterGroupMapOutput) ToParameterGroupMapOutputWithContext(ctx context.Context) ParameterGroupMapOutput
type ParameterGroupOutput ¶
type ParameterGroupOutput struct{ *pulumi.OutputState }
func (ParameterGroupOutput) ElementType ¶
func (ParameterGroupOutput) ElementType() reflect.Type
func (ParameterGroupOutput) ToParameterGroupOutput ¶
func (o ParameterGroupOutput) ToParameterGroupOutput() ParameterGroupOutput
func (ParameterGroupOutput) ToParameterGroupOutputWithContext ¶
func (o ParameterGroupOutput) ToParameterGroupOutputWithContext(ctx context.Context) ParameterGroupOutput
func (ParameterGroupOutput) ToParameterGroupPtrOutput ¶
func (o ParameterGroupOutput) ToParameterGroupPtrOutput() ParameterGroupPtrOutput
func (ParameterGroupOutput) ToParameterGroupPtrOutputWithContext ¶
func (o ParameterGroupOutput) ToParameterGroupPtrOutputWithContext(ctx context.Context) ParameterGroupPtrOutput
type ParameterGroupParameter ¶
type ParameterGroupParameterArgs ¶
type ParameterGroupParameterArgs struct { // The name of the Redshift parameter. Name pulumi.StringInput `pulumi:"name"` // The value of the Redshift parameter. Value pulumi.StringInput `pulumi:"value"` }
func (ParameterGroupParameterArgs) ElementType ¶
func (ParameterGroupParameterArgs) ElementType() reflect.Type
func (ParameterGroupParameterArgs) ToParameterGroupParameterOutput ¶
func (i ParameterGroupParameterArgs) ToParameterGroupParameterOutput() ParameterGroupParameterOutput
func (ParameterGroupParameterArgs) ToParameterGroupParameterOutputWithContext ¶
func (i ParameterGroupParameterArgs) ToParameterGroupParameterOutputWithContext(ctx context.Context) ParameterGroupParameterOutput
type ParameterGroupParameterArray ¶
type ParameterGroupParameterArray []ParameterGroupParameterInput
func (ParameterGroupParameterArray) ElementType ¶
func (ParameterGroupParameterArray) ElementType() reflect.Type
func (ParameterGroupParameterArray) ToParameterGroupParameterArrayOutput ¶
func (i ParameterGroupParameterArray) ToParameterGroupParameterArrayOutput() ParameterGroupParameterArrayOutput
func (ParameterGroupParameterArray) ToParameterGroupParameterArrayOutputWithContext ¶
func (i ParameterGroupParameterArray) ToParameterGroupParameterArrayOutputWithContext(ctx context.Context) ParameterGroupParameterArrayOutput
type ParameterGroupParameterArrayInput ¶
type ParameterGroupParameterArrayInput interface { pulumi.Input ToParameterGroupParameterArrayOutput() ParameterGroupParameterArrayOutput ToParameterGroupParameterArrayOutputWithContext(context.Context) ParameterGroupParameterArrayOutput }
ParameterGroupParameterArrayInput is an input type that accepts ParameterGroupParameterArray and ParameterGroupParameterArrayOutput values. You can construct a concrete instance of `ParameterGroupParameterArrayInput` via:
ParameterGroupParameterArray{ ParameterGroupParameterArgs{...} }
type ParameterGroupParameterArrayOutput ¶
type ParameterGroupParameterArrayOutput struct{ *pulumi.OutputState }
func (ParameterGroupParameterArrayOutput) ElementType ¶
func (ParameterGroupParameterArrayOutput) ElementType() reflect.Type
func (ParameterGroupParameterArrayOutput) Index ¶
func (o ParameterGroupParameterArrayOutput) Index(i pulumi.IntInput) ParameterGroupParameterOutput
func (ParameterGroupParameterArrayOutput) ToParameterGroupParameterArrayOutput ¶
func (o ParameterGroupParameterArrayOutput) ToParameterGroupParameterArrayOutput() ParameterGroupParameterArrayOutput
func (ParameterGroupParameterArrayOutput) ToParameterGroupParameterArrayOutputWithContext ¶
func (o ParameterGroupParameterArrayOutput) ToParameterGroupParameterArrayOutputWithContext(ctx context.Context) ParameterGroupParameterArrayOutput
type ParameterGroupParameterInput ¶
type ParameterGroupParameterInput interface { pulumi.Input ToParameterGroupParameterOutput() ParameterGroupParameterOutput ToParameterGroupParameterOutputWithContext(context.Context) ParameterGroupParameterOutput }
ParameterGroupParameterInput is an input type that accepts ParameterGroupParameterArgs and ParameterGroupParameterOutput values. You can construct a concrete instance of `ParameterGroupParameterInput` via:
ParameterGroupParameterArgs{...}
type ParameterGroupParameterOutput ¶
type ParameterGroupParameterOutput struct{ *pulumi.OutputState }
func (ParameterGroupParameterOutput) ElementType ¶
func (ParameterGroupParameterOutput) ElementType() reflect.Type
func (ParameterGroupParameterOutput) Name ¶
func (o ParameterGroupParameterOutput) Name() pulumi.StringOutput
The name of the Redshift parameter.
func (ParameterGroupParameterOutput) ToParameterGroupParameterOutput ¶
func (o ParameterGroupParameterOutput) ToParameterGroupParameterOutput() ParameterGroupParameterOutput
func (ParameterGroupParameterOutput) ToParameterGroupParameterOutputWithContext ¶
func (o ParameterGroupParameterOutput) ToParameterGroupParameterOutputWithContext(ctx context.Context) ParameterGroupParameterOutput
func (ParameterGroupParameterOutput) Value ¶
func (o ParameterGroupParameterOutput) Value() pulumi.StringOutput
The value of the Redshift parameter.
type ParameterGroupPtrInput ¶
type ParameterGroupPtrInput interface { pulumi.Input ToParameterGroupPtrOutput() ParameterGroupPtrOutput ToParameterGroupPtrOutputWithContext(ctx context.Context) ParameterGroupPtrOutput }
type ParameterGroupPtrOutput ¶
type ParameterGroupPtrOutput struct{ *pulumi.OutputState }
func (ParameterGroupPtrOutput) Elem ¶ added in v4.15.0
func (o ParameterGroupPtrOutput) Elem() ParameterGroupOutput
func (ParameterGroupPtrOutput) ElementType ¶
func (ParameterGroupPtrOutput) ElementType() reflect.Type
func (ParameterGroupPtrOutput) ToParameterGroupPtrOutput ¶
func (o ParameterGroupPtrOutput) ToParameterGroupPtrOutput() ParameterGroupPtrOutput
func (ParameterGroupPtrOutput) ToParameterGroupPtrOutputWithContext ¶
func (o ParameterGroupPtrOutput) ToParameterGroupPtrOutputWithContext(ctx context.Context) ParameterGroupPtrOutput
type ParameterGroupState ¶
type ParameterGroupState struct { // Amazon Resource Name (ARN) of parameter group Arn pulumi.StringPtrInput // The description of the Redshift parameter group. Defaults to "Managed by Pulumi". Description pulumi.StringPtrInput // The family of the Redshift parameter group. Family pulumi.StringPtrInput // The name of the Redshift parameter. Name pulumi.StringPtrInput // A list of Redshift parameters to apply. Parameters ParameterGroupParameterArrayInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapInput }
func (ParameterGroupState) ElementType ¶
func (ParameterGroupState) ElementType() reflect.Type
type ScheduledAction ¶ added in v4.23.0
type ScheduledAction struct { pulumi.CustomResourceState // The description of the scheduled action. Description pulumi.StringPtrOutput `pulumi:"description"` // Whether to enable the scheduled action. Default is `true` . Enable pulumi.BoolPtrOutput `pulumi:"enable"` // The end time in UTC when the schedule is active, in UTC RFC3339 format(for example, YYYY-MM-DDTHH:MM:SSZ). EndTime pulumi.StringPtrOutput `pulumi:"endTime"` // The IAM role to assume to run the scheduled action. IamRole pulumi.StringOutput `pulumi:"iamRole"` // The scheduled action name. Name pulumi.StringOutput `pulumi:"name"` // The schedule of action. The schedule is defined format of "at expression" or "cron expression", for example `at(2016-03-04T17:27:00)` or `cron(0 10 ? * MON *)`. See [Scheduled Action](https://docs.aws.amazon.com/redshift/latest/APIReference/API_ScheduledAction.html) for more information. Schedule pulumi.StringOutput `pulumi:"schedule"` // The start time in UTC when the schedule is active, in UTC RFC3339 format(for example, YYYY-MM-DDTHH:MM:SSZ). StartTime pulumi.StringPtrOutput `pulumi:"startTime"` // Target action. Documented below. TargetAction ScheduledActionTargetActionOutput `pulumi:"targetAction"` }
## Example Usage ### Pause Cluster Action
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/iam" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/redshift" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleRole, err := iam.NewRole(ctx, "exampleRole", &iam.RoleArgs{ AssumeRolePolicy: pulumi.Any(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": [\n", " {\n", " \"Action\": \"sts:AssumeRole\",\n", " \"Principal\": {\n", " \"Service\": [\n", " \"scheduler.redshift.amazonaws.com\"\n", " ]\n", " },\n", " \"Effect\": \"Allow\",\n", " \"Sid\": \"\"\n", " }\n", " ]\n", "}\n")), }) if err != nil { return err } examplePolicy, err := iam.NewPolicy(ctx, "examplePolicy", &iam.PolicyArgs{ Policy: pulumi.Any(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": [\n", " {\n", " \"Sid\": \"VisualEditor0\",\n", " \"Effect\": \"Allow\",\n", " \"Action\": [\n", " \"redshift:PauseCluster\",\n", " \"redshift:ResumeCluster\",\n", " \"redshift:ResizeCluster\"\n", " ],\n", " \"Resource\": \"*\"\n", " }\n", " ]\n", "}\n")), }) if err != nil { return err } _, err = iam.NewRolePolicyAttachment(ctx, "exampleRolePolicyAttachment", &iam.RolePolicyAttachmentArgs{ PolicyArn: examplePolicy.Arn, Role: exampleRole.Name, }) if err != nil { return err } _, err = redshift.NewScheduledAction(ctx, "exampleScheduledAction", &redshift.ScheduledActionArgs{ Schedule: pulumi.String("cron(00 23 * * ? *)"), IamRole: exampleRole.Arn, TargetAction: &redshift.ScheduledActionTargetActionArgs{ PauseCluster: &redshift.ScheduledActionTargetActionPauseClusterArgs{ ClusterIdentifier: pulumi.String("tf-redshift001"), }, }, }) if err != nil { return err } return nil }) }
``` ### Resize Cluster Action
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/redshift" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := redshift.NewScheduledAction(ctx, "example", &redshift.ScheduledActionArgs{ Schedule: pulumi.String("cron(00 23 * * ? *)"), IamRole: pulumi.Any(aws_iam_role.Example.Arn), TargetAction: &redshift.ScheduledActionTargetActionArgs{ ResizeCluster: &redshift.ScheduledActionTargetActionResizeClusterArgs{ ClusterIdentifier: pulumi.String("tf-redshift001"), ClusterType: pulumi.String("multi-node"), NodeType: pulumi.String("dc1.large"), NumberOfNodes: pulumi.Int(2), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Redshift Scheduled Action can be imported using the `name`, e.g.,
```sh
$ pulumi import aws:redshift/scheduledAction:ScheduledAction example tf-redshift-scheduled-action
```
func GetScheduledAction ¶ added in v4.23.0
func GetScheduledAction(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ScheduledActionState, opts ...pulumi.ResourceOption) (*ScheduledAction, error)
GetScheduledAction gets an existing ScheduledAction resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewScheduledAction ¶ added in v4.23.0
func NewScheduledAction(ctx *pulumi.Context, name string, args *ScheduledActionArgs, opts ...pulumi.ResourceOption) (*ScheduledAction, error)
NewScheduledAction registers a new resource with the given unique name, arguments, and options.
func (*ScheduledAction) ElementType ¶ added in v4.23.0
func (*ScheduledAction) ElementType() reflect.Type
func (*ScheduledAction) ToScheduledActionOutput ¶ added in v4.23.0
func (i *ScheduledAction) ToScheduledActionOutput() ScheduledActionOutput
func (*ScheduledAction) ToScheduledActionOutputWithContext ¶ added in v4.23.0
func (i *ScheduledAction) ToScheduledActionOutputWithContext(ctx context.Context) ScheduledActionOutput
func (*ScheduledAction) ToScheduledActionPtrOutput ¶ added in v4.23.0
func (i *ScheduledAction) ToScheduledActionPtrOutput() ScheduledActionPtrOutput
func (*ScheduledAction) ToScheduledActionPtrOutputWithContext ¶ added in v4.23.0
func (i *ScheduledAction) ToScheduledActionPtrOutputWithContext(ctx context.Context) ScheduledActionPtrOutput
type ScheduledActionArgs ¶ added in v4.23.0
type ScheduledActionArgs struct { // The description of the scheduled action. Description pulumi.StringPtrInput // Whether to enable the scheduled action. Default is `true` . Enable pulumi.BoolPtrInput // The end time in UTC when the schedule is active, in UTC RFC3339 format(for example, YYYY-MM-DDTHH:MM:SSZ). EndTime pulumi.StringPtrInput // The IAM role to assume to run the scheduled action. IamRole pulumi.StringInput // The scheduled action name. Name pulumi.StringPtrInput // The schedule of action. The schedule is defined format of "at expression" or "cron expression", for example `at(2016-03-04T17:27:00)` or `cron(0 10 ? * MON *)`. See [Scheduled Action](https://docs.aws.amazon.com/redshift/latest/APIReference/API_ScheduledAction.html) for more information. Schedule pulumi.StringInput // The start time in UTC when the schedule is active, in UTC RFC3339 format(for example, YYYY-MM-DDTHH:MM:SSZ). StartTime pulumi.StringPtrInput // Target action. Documented below. TargetAction ScheduledActionTargetActionInput }
The set of arguments for constructing a ScheduledAction resource.
func (ScheduledActionArgs) ElementType ¶ added in v4.23.0
func (ScheduledActionArgs) ElementType() reflect.Type
type ScheduledActionArray ¶ added in v4.23.0
type ScheduledActionArray []ScheduledActionInput
func (ScheduledActionArray) ElementType ¶ added in v4.23.0
func (ScheduledActionArray) ElementType() reflect.Type
func (ScheduledActionArray) ToScheduledActionArrayOutput ¶ added in v4.23.0
func (i ScheduledActionArray) ToScheduledActionArrayOutput() ScheduledActionArrayOutput
func (ScheduledActionArray) ToScheduledActionArrayOutputWithContext ¶ added in v4.23.0
func (i ScheduledActionArray) ToScheduledActionArrayOutputWithContext(ctx context.Context) ScheduledActionArrayOutput
type ScheduledActionArrayInput ¶ added in v4.23.0
type ScheduledActionArrayInput interface { pulumi.Input ToScheduledActionArrayOutput() ScheduledActionArrayOutput ToScheduledActionArrayOutputWithContext(context.Context) ScheduledActionArrayOutput }
ScheduledActionArrayInput is an input type that accepts ScheduledActionArray and ScheduledActionArrayOutput values. You can construct a concrete instance of `ScheduledActionArrayInput` via:
ScheduledActionArray{ ScheduledActionArgs{...} }
type ScheduledActionArrayOutput ¶ added in v4.23.0
type ScheduledActionArrayOutput struct{ *pulumi.OutputState }
func (ScheduledActionArrayOutput) ElementType ¶ added in v4.23.0
func (ScheduledActionArrayOutput) ElementType() reflect.Type
func (ScheduledActionArrayOutput) Index ¶ added in v4.23.0
func (o ScheduledActionArrayOutput) Index(i pulumi.IntInput) ScheduledActionOutput
func (ScheduledActionArrayOutput) ToScheduledActionArrayOutput ¶ added in v4.23.0
func (o ScheduledActionArrayOutput) ToScheduledActionArrayOutput() ScheduledActionArrayOutput
func (ScheduledActionArrayOutput) ToScheduledActionArrayOutputWithContext ¶ added in v4.23.0
func (o ScheduledActionArrayOutput) ToScheduledActionArrayOutputWithContext(ctx context.Context) ScheduledActionArrayOutput
type ScheduledActionInput ¶ added in v4.23.0
type ScheduledActionInput interface { pulumi.Input ToScheduledActionOutput() ScheduledActionOutput ToScheduledActionOutputWithContext(ctx context.Context) ScheduledActionOutput }
type ScheduledActionMap ¶ added in v4.23.0
type ScheduledActionMap map[string]ScheduledActionInput
func (ScheduledActionMap) ElementType ¶ added in v4.23.0
func (ScheduledActionMap) ElementType() reflect.Type
func (ScheduledActionMap) ToScheduledActionMapOutput ¶ added in v4.23.0
func (i ScheduledActionMap) ToScheduledActionMapOutput() ScheduledActionMapOutput
func (ScheduledActionMap) ToScheduledActionMapOutputWithContext ¶ added in v4.23.0
func (i ScheduledActionMap) ToScheduledActionMapOutputWithContext(ctx context.Context) ScheduledActionMapOutput
type ScheduledActionMapInput ¶ added in v4.23.0
type ScheduledActionMapInput interface { pulumi.Input ToScheduledActionMapOutput() ScheduledActionMapOutput ToScheduledActionMapOutputWithContext(context.Context) ScheduledActionMapOutput }
ScheduledActionMapInput is an input type that accepts ScheduledActionMap and ScheduledActionMapOutput values. You can construct a concrete instance of `ScheduledActionMapInput` via:
ScheduledActionMap{ "key": ScheduledActionArgs{...} }
type ScheduledActionMapOutput ¶ added in v4.23.0
type ScheduledActionMapOutput struct{ *pulumi.OutputState }
func (ScheduledActionMapOutput) ElementType ¶ added in v4.23.0
func (ScheduledActionMapOutput) ElementType() reflect.Type
func (ScheduledActionMapOutput) MapIndex ¶ added in v4.23.0
func (o ScheduledActionMapOutput) MapIndex(k pulumi.StringInput) ScheduledActionOutput
func (ScheduledActionMapOutput) ToScheduledActionMapOutput ¶ added in v4.23.0
func (o ScheduledActionMapOutput) ToScheduledActionMapOutput() ScheduledActionMapOutput
func (ScheduledActionMapOutput) ToScheduledActionMapOutputWithContext ¶ added in v4.23.0
func (o ScheduledActionMapOutput) ToScheduledActionMapOutputWithContext(ctx context.Context) ScheduledActionMapOutput
type ScheduledActionOutput ¶ added in v4.23.0
type ScheduledActionOutput struct{ *pulumi.OutputState }
func (ScheduledActionOutput) ElementType ¶ added in v4.23.0
func (ScheduledActionOutput) ElementType() reflect.Type
func (ScheduledActionOutput) ToScheduledActionOutput ¶ added in v4.23.0
func (o ScheduledActionOutput) ToScheduledActionOutput() ScheduledActionOutput
func (ScheduledActionOutput) ToScheduledActionOutputWithContext ¶ added in v4.23.0
func (o ScheduledActionOutput) ToScheduledActionOutputWithContext(ctx context.Context) ScheduledActionOutput
func (ScheduledActionOutput) ToScheduledActionPtrOutput ¶ added in v4.23.0
func (o ScheduledActionOutput) ToScheduledActionPtrOutput() ScheduledActionPtrOutput
func (ScheduledActionOutput) ToScheduledActionPtrOutputWithContext ¶ added in v4.23.0
func (o ScheduledActionOutput) ToScheduledActionPtrOutputWithContext(ctx context.Context) ScheduledActionPtrOutput
type ScheduledActionPtrInput ¶ added in v4.23.0
type ScheduledActionPtrInput interface { pulumi.Input ToScheduledActionPtrOutput() ScheduledActionPtrOutput ToScheduledActionPtrOutputWithContext(ctx context.Context) ScheduledActionPtrOutput }
type ScheduledActionPtrOutput ¶ added in v4.23.0
type ScheduledActionPtrOutput struct{ *pulumi.OutputState }
func (ScheduledActionPtrOutput) Elem ¶ added in v4.23.0
func (o ScheduledActionPtrOutput) Elem() ScheduledActionOutput
func (ScheduledActionPtrOutput) ElementType ¶ added in v4.23.0
func (ScheduledActionPtrOutput) ElementType() reflect.Type
func (ScheduledActionPtrOutput) ToScheduledActionPtrOutput ¶ added in v4.23.0
func (o ScheduledActionPtrOutput) ToScheduledActionPtrOutput() ScheduledActionPtrOutput
func (ScheduledActionPtrOutput) ToScheduledActionPtrOutputWithContext ¶ added in v4.23.0
func (o ScheduledActionPtrOutput) ToScheduledActionPtrOutputWithContext(ctx context.Context) ScheduledActionPtrOutput
type ScheduledActionState ¶ added in v4.23.0
type ScheduledActionState struct { // The description of the scheduled action. Description pulumi.StringPtrInput // Whether to enable the scheduled action. Default is `true` . Enable pulumi.BoolPtrInput // The end time in UTC when the schedule is active, in UTC RFC3339 format(for example, YYYY-MM-DDTHH:MM:SSZ). EndTime pulumi.StringPtrInput // The IAM role to assume to run the scheduled action. IamRole pulumi.StringPtrInput // The scheduled action name. Name pulumi.StringPtrInput // The schedule of action. The schedule is defined format of "at expression" or "cron expression", for example `at(2016-03-04T17:27:00)` or `cron(0 10 ? * MON *)`. See [Scheduled Action](https://docs.aws.amazon.com/redshift/latest/APIReference/API_ScheduledAction.html) for more information. Schedule pulumi.StringPtrInput // The start time in UTC when the schedule is active, in UTC RFC3339 format(for example, YYYY-MM-DDTHH:MM:SSZ). StartTime pulumi.StringPtrInput // Target action. Documented below. TargetAction ScheduledActionTargetActionPtrInput }
func (ScheduledActionState) ElementType ¶ added in v4.23.0
func (ScheduledActionState) ElementType() reflect.Type
type ScheduledActionTargetAction ¶ added in v4.23.0
type ScheduledActionTargetAction struct { // An action that runs a `PauseCluster` API operation. Documented below. PauseCluster *ScheduledActionTargetActionPauseCluster `pulumi:"pauseCluster"` // An action that runs a `ResizeCluster` API operation. Documented below. ResizeCluster *ScheduledActionTargetActionResizeCluster `pulumi:"resizeCluster"` // An action that runs a `ResumeCluster` API operation. Documented below. ResumeCluster *ScheduledActionTargetActionResumeCluster `pulumi:"resumeCluster"` }
type ScheduledActionTargetActionArgs ¶ added in v4.23.0
type ScheduledActionTargetActionArgs struct { // An action that runs a `PauseCluster` API operation. Documented below. PauseCluster ScheduledActionTargetActionPauseClusterPtrInput `pulumi:"pauseCluster"` // An action that runs a `ResizeCluster` API operation. Documented below. ResizeCluster ScheduledActionTargetActionResizeClusterPtrInput `pulumi:"resizeCluster"` // An action that runs a `ResumeCluster` API operation. Documented below. ResumeCluster ScheduledActionTargetActionResumeClusterPtrInput `pulumi:"resumeCluster"` }
func (ScheduledActionTargetActionArgs) ElementType ¶ added in v4.23.0
func (ScheduledActionTargetActionArgs) ElementType() reflect.Type
func (ScheduledActionTargetActionArgs) ToScheduledActionTargetActionOutput ¶ added in v4.23.0
func (i ScheduledActionTargetActionArgs) ToScheduledActionTargetActionOutput() ScheduledActionTargetActionOutput
func (ScheduledActionTargetActionArgs) ToScheduledActionTargetActionOutputWithContext ¶ added in v4.23.0
func (i ScheduledActionTargetActionArgs) ToScheduledActionTargetActionOutputWithContext(ctx context.Context) ScheduledActionTargetActionOutput
func (ScheduledActionTargetActionArgs) ToScheduledActionTargetActionPtrOutput ¶ added in v4.23.0
func (i ScheduledActionTargetActionArgs) ToScheduledActionTargetActionPtrOutput() ScheduledActionTargetActionPtrOutput
func (ScheduledActionTargetActionArgs) ToScheduledActionTargetActionPtrOutputWithContext ¶ added in v4.23.0
func (i ScheduledActionTargetActionArgs) ToScheduledActionTargetActionPtrOutputWithContext(ctx context.Context) ScheduledActionTargetActionPtrOutput
type ScheduledActionTargetActionInput ¶ added in v4.23.0
type ScheduledActionTargetActionInput interface { pulumi.Input ToScheduledActionTargetActionOutput() ScheduledActionTargetActionOutput ToScheduledActionTargetActionOutputWithContext(context.Context) ScheduledActionTargetActionOutput }
ScheduledActionTargetActionInput is an input type that accepts ScheduledActionTargetActionArgs and ScheduledActionTargetActionOutput values. You can construct a concrete instance of `ScheduledActionTargetActionInput` via:
ScheduledActionTargetActionArgs{...}
type ScheduledActionTargetActionOutput ¶ added in v4.23.0
type ScheduledActionTargetActionOutput struct{ *pulumi.OutputState }
func (ScheduledActionTargetActionOutput) ElementType ¶ added in v4.23.0
func (ScheduledActionTargetActionOutput) ElementType() reflect.Type
func (ScheduledActionTargetActionOutput) PauseCluster ¶ added in v4.23.0
func (o ScheduledActionTargetActionOutput) PauseCluster() ScheduledActionTargetActionPauseClusterPtrOutput
An action that runs a `PauseCluster` API operation. Documented below.
func (ScheduledActionTargetActionOutput) ResizeCluster ¶ added in v4.23.0
func (o ScheduledActionTargetActionOutput) ResizeCluster() ScheduledActionTargetActionResizeClusterPtrOutput
An action that runs a `ResizeCluster` API operation. Documented below.
func (ScheduledActionTargetActionOutput) ResumeCluster ¶ added in v4.23.0
func (o ScheduledActionTargetActionOutput) ResumeCluster() ScheduledActionTargetActionResumeClusterPtrOutput
An action that runs a `ResumeCluster` API operation. Documented below.
func (ScheduledActionTargetActionOutput) ToScheduledActionTargetActionOutput ¶ added in v4.23.0
func (o ScheduledActionTargetActionOutput) ToScheduledActionTargetActionOutput() ScheduledActionTargetActionOutput
func (ScheduledActionTargetActionOutput) ToScheduledActionTargetActionOutputWithContext ¶ added in v4.23.0
func (o ScheduledActionTargetActionOutput) ToScheduledActionTargetActionOutputWithContext(ctx context.Context) ScheduledActionTargetActionOutput
func (ScheduledActionTargetActionOutput) ToScheduledActionTargetActionPtrOutput ¶ added in v4.23.0
func (o ScheduledActionTargetActionOutput) ToScheduledActionTargetActionPtrOutput() ScheduledActionTargetActionPtrOutput
func (ScheduledActionTargetActionOutput) ToScheduledActionTargetActionPtrOutputWithContext ¶ added in v4.23.0
func (o ScheduledActionTargetActionOutput) ToScheduledActionTargetActionPtrOutputWithContext(ctx context.Context) ScheduledActionTargetActionPtrOutput
type ScheduledActionTargetActionPauseCluster ¶ added in v4.23.0
type ScheduledActionTargetActionPauseCluster struct { // The identifier of the cluster to be resumed. ClusterIdentifier string `pulumi:"clusterIdentifier"` }
type ScheduledActionTargetActionPauseClusterArgs ¶ added in v4.23.0
type ScheduledActionTargetActionPauseClusterArgs struct { // The identifier of the cluster to be resumed. ClusterIdentifier pulumi.StringInput `pulumi:"clusterIdentifier"` }
func (ScheduledActionTargetActionPauseClusterArgs) ElementType ¶ added in v4.23.0
func (ScheduledActionTargetActionPauseClusterArgs) ElementType() reflect.Type
func (ScheduledActionTargetActionPauseClusterArgs) ToScheduledActionTargetActionPauseClusterOutput ¶ added in v4.23.0
func (i ScheduledActionTargetActionPauseClusterArgs) ToScheduledActionTargetActionPauseClusterOutput() ScheduledActionTargetActionPauseClusterOutput
func (ScheduledActionTargetActionPauseClusterArgs) ToScheduledActionTargetActionPauseClusterOutputWithContext ¶ added in v4.23.0
func (i ScheduledActionTargetActionPauseClusterArgs) ToScheduledActionTargetActionPauseClusterOutputWithContext(ctx context.Context) ScheduledActionTargetActionPauseClusterOutput
func (ScheduledActionTargetActionPauseClusterArgs) ToScheduledActionTargetActionPauseClusterPtrOutput ¶ added in v4.23.0
func (i ScheduledActionTargetActionPauseClusterArgs) ToScheduledActionTargetActionPauseClusterPtrOutput() ScheduledActionTargetActionPauseClusterPtrOutput
func (ScheduledActionTargetActionPauseClusterArgs) ToScheduledActionTargetActionPauseClusterPtrOutputWithContext ¶ added in v4.23.0
func (i ScheduledActionTargetActionPauseClusterArgs) ToScheduledActionTargetActionPauseClusterPtrOutputWithContext(ctx context.Context) ScheduledActionTargetActionPauseClusterPtrOutput
type ScheduledActionTargetActionPauseClusterInput ¶ added in v4.23.0
type ScheduledActionTargetActionPauseClusterInput interface { pulumi.Input ToScheduledActionTargetActionPauseClusterOutput() ScheduledActionTargetActionPauseClusterOutput ToScheduledActionTargetActionPauseClusterOutputWithContext(context.Context) ScheduledActionTargetActionPauseClusterOutput }
ScheduledActionTargetActionPauseClusterInput is an input type that accepts ScheduledActionTargetActionPauseClusterArgs and ScheduledActionTargetActionPauseClusterOutput values. You can construct a concrete instance of `ScheduledActionTargetActionPauseClusterInput` via:
ScheduledActionTargetActionPauseClusterArgs{...}
type ScheduledActionTargetActionPauseClusterOutput ¶ added in v4.23.0
type ScheduledActionTargetActionPauseClusterOutput struct{ *pulumi.OutputState }
func (ScheduledActionTargetActionPauseClusterOutput) ClusterIdentifier ¶ added in v4.23.0
func (o ScheduledActionTargetActionPauseClusterOutput) ClusterIdentifier() pulumi.StringOutput
The identifier of the cluster to be resumed.
func (ScheduledActionTargetActionPauseClusterOutput) ElementType ¶ added in v4.23.0
func (ScheduledActionTargetActionPauseClusterOutput) ElementType() reflect.Type
func (ScheduledActionTargetActionPauseClusterOutput) ToScheduledActionTargetActionPauseClusterOutput ¶ added in v4.23.0
func (o ScheduledActionTargetActionPauseClusterOutput) ToScheduledActionTargetActionPauseClusterOutput() ScheduledActionTargetActionPauseClusterOutput
func (ScheduledActionTargetActionPauseClusterOutput) ToScheduledActionTargetActionPauseClusterOutputWithContext ¶ added in v4.23.0
func (o ScheduledActionTargetActionPauseClusterOutput) ToScheduledActionTargetActionPauseClusterOutputWithContext(ctx context.Context) ScheduledActionTargetActionPauseClusterOutput
func (ScheduledActionTargetActionPauseClusterOutput) ToScheduledActionTargetActionPauseClusterPtrOutput ¶ added in v4.23.0
func (o ScheduledActionTargetActionPauseClusterOutput) ToScheduledActionTargetActionPauseClusterPtrOutput() ScheduledActionTargetActionPauseClusterPtrOutput
func (ScheduledActionTargetActionPauseClusterOutput) ToScheduledActionTargetActionPauseClusterPtrOutputWithContext ¶ added in v4.23.0
func (o ScheduledActionTargetActionPauseClusterOutput) ToScheduledActionTargetActionPauseClusterPtrOutputWithContext(ctx context.Context) ScheduledActionTargetActionPauseClusterPtrOutput
type ScheduledActionTargetActionPauseClusterPtrInput ¶ added in v4.23.0
type ScheduledActionTargetActionPauseClusterPtrInput interface { pulumi.Input ToScheduledActionTargetActionPauseClusterPtrOutput() ScheduledActionTargetActionPauseClusterPtrOutput ToScheduledActionTargetActionPauseClusterPtrOutputWithContext(context.Context) ScheduledActionTargetActionPauseClusterPtrOutput }
ScheduledActionTargetActionPauseClusterPtrInput is an input type that accepts ScheduledActionTargetActionPauseClusterArgs, ScheduledActionTargetActionPauseClusterPtr and ScheduledActionTargetActionPauseClusterPtrOutput values. You can construct a concrete instance of `ScheduledActionTargetActionPauseClusterPtrInput` via:
ScheduledActionTargetActionPauseClusterArgs{...} or: nil
func ScheduledActionTargetActionPauseClusterPtr ¶ added in v4.23.0
func ScheduledActionTargetActionPauseClusterPtr(v *ScheduledActionTargetActionPauseClusterArgs) ScheduledActionTargetActionPauseClusterPtrInput
type ScheduledActionTargetActionPauseClusterPtrOutput ¶ added in v4.23.0
type ScheduledActionTargetActionPauseClusterPtrOutput struct{ *pulumi.OutputState }
func (ScheduledActionTargetActionPauseClusterPtrOutput) ClusterIdentifier ¶ added in v4.23.0
func (o ScheduledActionTargetActionPauseClusterPtrOutput) ClusterIdentifier() pulumi.StringPtrOutput
The identifier of the cluster to be resumed.
func (ScheduledActionTargetActionPauseClusterPtrOutput) ElementType ¶ added in v4.23.0
func (ScheduledActionTargetActionPauseClusterPtrOutput) ElementType() reflect.Type
func (ScheduledActionTargetActionPauseClusterPtrOutput) ToScheduledActionTargetActionPauseClusterPtrOutput ¶ added in v4.23.0
func (o ScheduledActionTargetActionPauseClusterPtrOutput) ToScheduledActionTargetActionPauseClusterPtrOutput() ScheduledActionTargetActionPauseClusterPtrOutput
func (ScheduledActionTargetActionPauseClusterPtrOutput) ToScheduledActionTargetActionPauseClusterPtrOutputWithContext ¶ added in v4.23.0
func (o ScheduledActionTargetActionPauseClusterPtrOutput) ToScheduledActionTargetActionPauseClusterPtrOutputWithContext(ctx context.Context) ScheduledActionTargetActionPauseClusterPtrOutput
type ScheduledActionTargetActionPtrInput ¶ added in v4.23.0
type ScheduledActionTargetActionPtrInput interface { pulumi.Input ToScheduledActionTargetActionPtrOutput() ScheduledActionTargetActionPtrOutput ToScheduledActionTargetActionPtrOutputWithContext(context.Context) ScheduledActionTargetActionPtrOutput }
ScheduledActionTargetActionPtrInput is an input type that accepts ScheduledActionTargetActionArgs, ScheduledActionTargetActionPtr and ScheduledActionTargetActionPtrOutput values. You can construct a concrete instance of `ScheduledActionTargetActionPtrInput` via:
ScheduledActionTargetActionArgs{...} or: nil
func ScheduledActionTargetActionPtr ¶ added in v4.23.0
func ScheduledActionTargetActionPtr(v *ScheduledActionTargetActionArgs) ScheduledActionTargetActionPtrInput
type ScheduledActionTargetActionPtrOutput ¶ added in v4.23.0
type ScheduledActionTargetActionPtrOutput struct{ *pulumi.OutputState }
func (ScheduledActionTargetActionPtrOutput) ElementType ¶ added in v4.23.0
func (ScheduledActionTargetActionPtrOutput) ElementType() reflect.Type
func (ScheduledActionTargetActionPtrOutput) PauseCluster ¶ added in v4.23.0
func (o ScheduledActionTargetActionPtrOutput) PauseCluster() ScheduledActionTargetActionPauseClusterPtrOutput
An action that runs a `PauseCluster` API operation. Documented below.
func (ScheduledActionTargetActionPtrOutput) ResizeCluster ¶ added in v4.23.0
func (o ScheduledActionTargetActionPtrOutput) ResizeCluster() ScheduledActionTargetActionResizeClusterPtrOutput
An action that runs a `ResizeCluster` API operation. Documented below.
func (ScheduledActionTargetActionPtrOutput) ResumeCluster ¶ added in v4.23.0
func (o ScheduledActionTargetActionPtrOutput) ResumeCluster() ScheduledActionTargetActionResumeClusterPtrOutput
An action that runs a `ResumeCluster` API operation. Documented below.
func (ScheduledActionTargetActionPtrOutput) ToScheduledActionTargetActionPtrOutput ¶ added in v4.23.0
func (o ScheduledActionTargetActionPtrOutput) ToScheduledActionTargetActionPtrOutput() ScheduledActionTargetActionPtrOutput
func (ScheduledActionTargetActionPtrOutput) ToScheduledActionTargetActionPtrOutputWithContext ¶ added in v4.23.0
func (o ScheduledActionTargetActionPtrOutput) ToScheduledActionTargetActionPtrOutputWithContext(ctx context.Context) ScheduledActionTargetActionPtrOutput
type ScheduledActionTargetActionResizeCluster ¶ added in v4.23.0
type ScheduledActionTargetActionResizeCluster struct { // A boolean value indicating whether the resize operation is using the classic resize process. Default: `false`. Classic *bool `pulumi:"classic"` // The identifier of the cluster to be resumed. ClusterIdentifier string `pulumi:"clusterIdentifier"` // The new cluster type for the specified cluster. ClusterType *string `pulumi:"clusterType"` // The new node type for the nodes you are adding. NodeType *string `pulumi:"nodeType"` // The new number of nodes for the cluster. NumberOfNodes *int `pulumi:"numberOfNodes"` }
type ScheduledActionTargetActionResizeClusterArgs ¶ added in v4.23.0
type ScheduledActionTargetActionResizeClusterArgs struct { // A boolean value indicating whether the resize operation is using the classic resize process. Default: `false`. Classic pulumi.BoolPtrInput `pulumi:"classic"` // The identifier of the cluster to be resumed. ClusterIdentifier pulumi.StringInput `pulumi:"clusterIdentifier"` // The new cluster type for the specified cluster. ClusterType pulumi.StringPtrInput `pulumi:"clusterType"` // The new node type for the nodes you are adding. NodeType pulumi.StringPtrInput `pulumi:"nodeType"` // The new number of nodes for the cluster. NumberOfNodes pulumi.IntPtrInput `pulumi:"numberOfNodes"` }
func (ScheduledActionTargetActionResizeClusterArgs) ElementType ¶ added in v4.23.0
func (ScheduledActionTargetActionResizeClusterArgs) ElementType() reflect.Type
func (ScheduledActionTargetActionResizeClusterArgs) ToScheduledActionTargetActionResizeClusterOutput ¶ added in v4.23.0
func (i ScheduledActionTargetActionResizeClusterArgs) ToScheduledActionTargetActionResizeClusterOutput() ScheduledActionTargetActionResizeClusterOutput
func (ScheduledActionTargetActionResizeClusterArgs) ToScheduledActionTargetActionResizeClusterOutputWithContext ¶ added in v4.23.0
func (i ScheduledActionTargetActionResizeClusterArgs) ToScheduledActionTargetActionResizeClusterOutputWithContext(ctx context.Context) ScheduledActionTargetActionResizeClusterOutput
func (ScheduledActionTargetActionResizeClusterArgs) ToScheduledActionTargetActionResizeClusterPtrOutput ¶ added in v4.23.0
func (i ScheduledActionTargetActionResizeClusterArgs) ToScheduledActionTargetActionResizeClusterPtrOutput() ScheduledActionTargetActionResizeClusterPtrOutput
func (ScheduledActionTargetActionResizeClusterArgs) ToScheduledActionTargetActionResizeClusterPtrOutputWithContext ¶ added in v4.23.0
func (i ScheduledActionTargetActionResizeClusterArgs) ToScheduledActionTargetActionResizeClusterPtrOutputWithContext(ctx context.Context) ScheduledActionTargetActionResizeClusterPtrOutput
type ScheduledActionTargetActionResizeClusterInput ¶ added in v4.23.0
type ScheduledActionTargetActionResizeClusterInput interface { pulumi.Input ToScheduledActionTargetActionResizeClusterOutput() ScheduledActionTargetActionResizeClusterOutput ToScheduledActionTargetActionResizeClusterOutputWithContext(context.Context) ScheduledActionTargetActionResizeClusterOutput }
ScheduledActionTargetActionResizeClusterInput is an input type that accepts ScheduledActionTargetActionResizeClusterArgs and ScheduledActionTargetActionResizeClusterOutput values. You can construct a concrete instance of `ScheduledActionTargetActionResizeClusterInput` via:
ScheduledActionTargetActionResizeClusterArgs{...}
type ScheduledActionTargetActionResizeClusterOutput ¶ added in v4.23.0
type ScheduledActionTargetActionResizeClusterOutput struct{ *pulumi.OutputState }
func (ScheduledActionTargetActionResizeClusterOutput) Classic ¶ added in v4.23.0
func (o ScheduledActionTargetActionResizeClusterOutput) Classic() pulumi.BoolPtrOutput
A boolean value indicating whether the resize operation is using the classic resize process. Default: `false`.
func (ScheduledActionTargetActionResizeClusterOutput) ClusterIdentifier ¶ added in v4.23.0
func (o ScheduledActionTargetActionResizeClusterOutput) ClusterIdentifier() pulumi.StringOutput
The identifier of the cluster to be resumed.
func (ScheduledActionTargetActionResizeClusterOutput) ClusterType ¶ added in v4.23.0
func (o ScheduledActionTargetActionResizeClusterOutput) ClusterType() pulumi.StringPtrOutput
The new cluster type for the specified cluster.
func (ScheduledActionTargetActionResizeClusterOutput) ElementType ¶ added in v4.23.0
func (ScheduledActionTargetActionResizeClusterOutput) ElementType() reflect.Type
func (ScheduledActionTargetActionResizeClusterOutput) NodeType ¶ added in v4.23.0
func (o ScheduledActionTargetActionResizeClusterOutput) NodeType() pulumi.StringPtrOutput
The new node type for the nodes you are adding.
func (ScheduledActionTargetActionResizeClusterOutput) NumberOfNodes ¶ added in v4.23.0
func (o ScheduledActionTargetActionResizeClusterOutput) NumberOfNodes() pulumi.IntPtrOutput
The new number of nodes for the cluster.
func (ScheduledActionTargetActionResizeClusterOutput) ToScheduledActionTargetActionResizeClusterOutput ¶ added in v4.23.0
func (o ScheduledActionTargetActionResizeClusterOutput) ToScheduledActionTargetActionResizeClusterOutput() ScheduledActionTargetActionResizeClusterOutput
func (ScheduledActionTargetActionResizeClusterOutput) ToScheduledActionTargetActionResizeClusterOutputWithContext ¶ added in v4.23.0
func (o ScheduledActionTargetActionResizeClusterOutput) ToScheduledActionTargetActionResizeClusterOutputWithContext(ctx context.Context) ScheduledActionTargetActionResizeClusterOutput
func (ScheduledActionTargetActionResizeClusterOutput) ToScheduledActionTargetActionResizeClusterPtrOutput ¶ added in v4.23.0
func (o ScheduledActionTargetActionResizeClusterOutput) ToScheduledActionTargetActionResizeClusterPtrOutput() ScheduledActionTargetActionResizeClusterPtrOutput
func (ScheduledActionTargetActionResizeClusterOutput) ToScheduledActionTargetActionResizeClusterPtrOutputWithContext ¶ added in v4.23.0
func (o ScheduledActionTargetActionResizeClusterOutput) ToScheduledActionTargetActionResizeClusterPtrOutputWithContext(ctx context.Context) ScheduledActionTargetActionResizeClusterPtrOutput
type ScheduledActionTargetActionResizeClusterPtrInput ¶ added in v4.23.0
type ScheduledActionTargetActionResizeClusterPtrInput interface { pulumi.Input ToScheduledActionTargetActionResizeClusterPtrOutput() ScheduledActionTargetActionResizeClusterPtrOutput ToScheduledActionTargetActionResizeClusterPtrOutputWithContext(context.Context) ScheduledActionTargetActionResizeClusterPtrOutput }
ScheduledActionTargetActionResizeClusterPtrInput is an input type that accepts ScheduledActionTargetActionResizeClusterArgs, ScheduledActionTargetActionResizeClusterPtr and ScheduledActionTargetActionResizeClusterPtrOutput values. You can construct a concrete instance of `ScheduledActionTargetActionResizeClusterPtrInput` via:
ScheduledActionTargetActionResizeClusterArgs{...} or: nil
func ScheduledActionTargetActionResizeClusterPtr ¶ added in v4.23.0
func ScheduledActionTargetActionResizeClusterPtr(v *ScheduledActionTargetActionResizeClusterArgs) ScheduledActionTargetActionResizeClusterPtrInput
type ScheduledActionTargetActionResizeClusterPtrOutput ¶ added in v4.23.0
type ScheduledActionTargetActionResizeClusterPtrOutput struct{ *pulumi.OutputState }
func (ScheduledActionTargetActionResizeClusterPtrOutput) Classic ¶ added in v4.23.0
func (o ScheduledActionTargetActionResizeClusterPtrOutput) Classic() pulumi.BoolPtrOutput
A boolean value indicating whether the resize operation is using the classic resize process. Default: `false`.
func (ScheduledActionTargetActionResizeClusterPtrOutput) ClusterIdentifier ¶ added in v4.23.0
func (o ScheduledActionTargetActionResizeClusterPtrOutput) ClusterIdentifier() pulumi.StringPtrOutput
The identifier of the cluster to be resumed.
func (ScheduledActionTargetActionResizeClusterPtrOutput) ClusterType ¶ added in v4.23.0
func (o ScheduledActionTargetActionResizeClusterPtrOutput) ClusterType() pulumi.StringPtrOutput
The new cluster type for the specified cluster.
func (ScheduledActionTargetActionResizeClusterPtrOutput) ElementType ¶ added in v4.23.0
func (ScheduledActionTargetActionResizeClusterPtrOutput) ElementType() reflect.Type
func (ScheduledActionTargetActionResizeClusterPtrOutput) NodeType ¶ added in v4.23.0
func (o ScheduledActionTargetActionResizeClusterPtrOutput) NodeType() pulumi.StringPtrOutput
The new node type for the nodes you are adding.
func (ScheduledActionTargetActionResizeClusterPtrOutput) NumberOfNodes ¶ added in v4.23.0
func (o ScheduledActionTargetActionResizeClusterPtrOutput) NumberOfNodes() pulumi.IntPtrOutput
The new number of nodes for the cluster.
func (ScheduledActionTargetActionResizeClusterPtrOutput) ToScheduledActionTargetActionResizeClusterPtrOutput ¶ added in v4.23.0
func (o ScheduledActionTargetActionResizeClusterPtrOutput) ToScheduledActionTargetActionResizeClusterPtrOutput() ScheduledActionTargetActionResizeClusterPtrOutput
func (ScheduledActionTargetActionResizeClusterPtrOutput) ToScheduledActionTargetActionResizeClusterPtrOutputWithContext ¶ added in v4.23.0
func (o ScheduledActionTargetActionResizeClusterPtrOutput) ToScheduledActionTargetActionResizeClusterPtrOutputWithContext(ctx context.Context) ScheduledActionTargetActionResizeClusterPtrOutput
type ScheduledActionTargetActionResumeCluster ¶ added in v4.23.0
type ScheduledActionTargetActionResumeCluster struct { // The identifier of the cluster to be resumed. ClusterIdentifier string `pulumi:"clusterIdentifier"` }
type ScheduledActionTargetActionResumeClusterArgs ¶ added in v4.23.0
type ScheduledActionTargetActionResumeClusterArgs struct { // The identifier of the cluster to be resumed. ClusterIdentifier pulumi.StringInput `pulumi:"clusterIdentifier"` }
func (ScheduledActionTargetActionResumeClusterArgs) ElementType ¶ added in v4.23.0
func (ScheduledActionTargetActionResumeClusterArgs) ElementType() reflect.Type
func (ScheduledActionTargetActionResumeClusterArgs) ToScheduledActionTargetActionResumeClusterOutput ¶ added in v4.23.0
func (i ScheduledActionTargetActionResumeClusterArgs) ToScheduledActionTargetActionResumeClusterOutput() ScheduledActionTargetActionResumeClusterOutput
func (ScheduledActionTargetActionResumeClusterArgs) ToScheduledActionTargetActionResumeClusterOutputWithContext ¶ added in v4.23.0
func (i ScheduledActionTargetActionResumeClusterArgs) ToScheduledActionTargetActionResumeClusterOutputWithContext(ctx context.Context) ScheduledActionTargetActionResumeClusterOutput
func (ScheduledActionTargetActionResumeClusterArgs) ToScheduledActionTargetActionResumeClusterPtrOutput ¶ added in v4.23.0
func (i ScheduledActionTargetActionResumeClusterArgs) ToScheduledActionTargetActionResumeClusterPtrOutput() ScheduledActionTargetActionResumeClusterPtrOutput
func (ScheduledActionTargetActionResumeClusterArgs) ToScheduledActionTargetActionResumeClusterPtrOutputWithContext ¶ added in v4.23.0
func (i ScheduledActionTargetActionResumeClusterArgs) ToScheduledActionTargetActionResumeClusterPtrOutputWithContext(ctx context.Context) ScheduledActionTargetActionResumeClusterPtrOutput
type ScheduledActionTargetActionResumeClusterInput ¶ added in v4.23.0
type ScheduledActionTargetActionResumeClusterInput interface { pulumi.Input ToScheduledActionTargetActionResumeClusterOutput() ScheduledActionTargetActionResumeClusterOutput ToScheduledActionTargetActionResumeClusterOutputWithContext(context.Context) ScheduledActionTargetActionResumeClusterOutput }
ScheduledActionTargetActionResumeClusterInput is an input type that accepts ScheduledActionTargetActionResumeClusterArgs and ScheduledActionTargetActionResumeClusterOutput values. You can construct a concrete instance of `ScheduledActionTargetActionResumeClusterInput` via:
ScheduledActionTargetActionResumeClusterArgs{...}
type ScheduledActionTargetActionResumeClusterOutput ¶ added in v4.23.0
type ScheduledActionTargetActionResumeClusterOutput struct{ *pulumi.OutputState }
func (ScheduledActionTargetActionResumeClusterOutput) ClusterIdentifier ¶ added in v4.23.0
func (o ScheduledActionTargetActionResumeClusterOutput) ClusterIdentifier() pulumi.StringOutput
The identifier of the cluster to be resumed.
func (ScheduledActionTargetActionResumeClusterOutput) ElementType ¶ added in v4.23.0
func (ScheduledActionTargetActionResumeClusterOutput) ElementType() reflect.Type
func (ScheduledActionTargetActionResumeClusterOutput) ToScheduledActionTargetActionResumeClusterOutput ¶ added in v4.23.0
func (o ScheduledActionTargetActionResumeClusterOutput) ToScheduledActionTargetActionResumeClusterOutput() ScheduledActionTargetActionResumeClusterOutput
func (ScheduledActionTargetActionResumeClusterOutput) ToScheduledActionTargetActionResumeClusterOutputWithContext ¶ added in v4.23.0
func (o ScheduledActionTargetActionResumeClusterOutput) ToScheduledActionTargetActionResumeClusterOutputWithContext(ctx context.Context) ScheduledActionTargetActionResumeClusterOutput
func (ScheduledActionTargetActionResumeClusterOutput) ToScheduledActionTargetActionResumeClusterPtrOutput ¶ added in v4.23.0
func (o ScheduledActionTargetActionResumeClusterOutput) ToScheduledActionTargetActionResumeClusterPtrOutput() ScheduledActionTargetActionResumeClusterPtrOutput
func (ScheduledActionTargetActionResumeClusterOutput) ToScheduledActionTargetActionResumeClusterPtrOutputWithContext ¶ added in v4.23.0
func (o ScheduledActionTargetActionResumeClusterOutput) ToScheduledActionTargetActionResumeClusterPtrOutputWithContext(ctx context.Context) ScheduledActionTargetActionResumeClusterPtrOutput
type ScheduledActionTargetActionResumeClusterPtrInput ¶ added in v4.23.0
type ScheduledActionTargetActionResumeClusterPtrInput interface { pulumi.Input ToScheduledActionTargetActionResumeClusterPtrOutput() ScheduledActionTargetActionResumeClusterPtrOutput ToScheduledActionTargetActionResumeClusterPtrOutputWithContext(context.Context) ScheduledActionTargetActionResumeClusterPtrOutput }
ScheduledActionTargetActionResumeClusterPtrInput is an input type that accepts ScheduledActionTargetActionResumeClusterArgs, ScheduledActionTargetActionResumeClusterPtr and ScheduledActionTargetActionResumeClusterPtrOutput values. You can construct a concrete instance of `ScheduledActionTargetActionResumeClusterPtrInput` via:
ScheduledActionTargetActionResumeClusterArgs{...} or: nil
func ScheduledActionTargetActionResumeClusterPtr ¶ added in v4.23.0
func ScheduledActionTargetActionResumeClusterPtr(v *ScheduledActionTargetActionResumeClusterArgs) ScheduledActionTargetActionResumeClusterPtrInput
type ScheduledActionTargetActionResumeClusterPtrOutput ¶ added in v4.23.0
type ScheduledActionTargetActionResumeClusterPtrOutput struct{ *pulumi.OutputState }
func (ScheduledActionTargetActionResumeClusterPtrOutput) ClusterIdentifier ¶ added in v4.23.0
func (o ScheduledActionTargetActionResumeClusterPtrOutput) ClusterIdentifier() pulumi.StringPtrOutput
The identifier of the cluster to be resumed.
func (ScheduledActionTargetActionResumeClusterPtrOutput) ElementType ¶ added in v4.23.0
func (ScheduledActionTargetActionResumeClusterPtrOutput) ElementType() reflect.Type
func (ScheduledActionTargetActionResumeClusterPtrOutput) ToScheduledActionTargetActionResumeClusterPtrOutput ¶ added in v4.23.0
func (o ScheduledActionTargetActionResumeClusterPtrOutput) ToScheduledActionTargetActionResumeClusterPtrOutput() ScheduledActionTargetActionResumeClusterPtrOutput
func (ScheduledActionTargetActionResumeClusterPtrOutput) ToScheduledActionTargetActionResumeClusterPtrOutputWithContext ¶ added in v4.23.0
func (o ScheduledActionTargetActionResumeClusterPtrOutput) ToScheduledActionTargetActionResumeClusterPtrOutputWithContext(ctx context.Context) ScheduledActionTargetActionResumeClusterPtrOutput
type SecurityGroup ¶
type SecurityGroup struct { pulumi.CustomResourceState // The description of the Redshift security group. Defaults to "Managed by Pulumi". Description pulumi.StringOutput `pulumi:"description"` // A list of ingress rules. Ingress SecurityGroupIngressArrayOutput `pulumi:"ingress"` // The name of the Redshift security group. Name pulumi.StringOutput `pulumi:"name"` }
Creates a new Amazon Redshift security group. You use security groups to control access to non-VPC clusters
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/redshift" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := redshift.NewSecurityGroup(ctx, "_default", &redshift.SecurityGroupArgs{ Ingress: redshift.SecurityGroupIngressArray{ &redshift.SecurityGroupIngressArgs{ Cidr: pulumi.String("10.0.0.0/24"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Redshift security groups can be imported using the `name`, e.g.,
```sh
$ pulumi import aws:redshift/securityGroup:SecurityGroup testgroup1 redshift_test_group
```
func GetSecurityGroup ¶
func GetSecurityGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SecurityGroupState, opts ...pulumi.ResourceOption) (*SecurityGroup, error)
GetSecurityGroup gets an existing SecurityGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSecurityGroup ¶
func NewSecurityGroup(ctx *pulumi.Context, name string, args *SecurityGroupArgs, opts ...pulumi.ResourceOption) (*SecurityGroup, error)
NewSecurityGroup registers a new resource with the given unique name, arguments, and options.
func (*SecurityGroup) ElementType ¶
func (*SecurityGroup) ElementType() reflect.Type
func (*SecurityGroup) ToSecurityGroupOutput ¶
func (i *SecurityGroup) ToSecurityGroupOutput() SecurityGroupOutput
func (*SecurityGroup) ToSecurityGroupOutputWithContext ¶
func (i *SecurityGroup) ToSecurityGroupOutputWithContext(ctx context.Context) SecurityGroupOutput
func (*SecurityGroup) ToSecurityGroupPtrOutput ¶
func (i *SecurityGroup) ToSecurityGroupPtrOutput() SecurityGroupPtrOutput
func (*SecurityGroup) ToSecurityGroupPtrOutputWithContext ¶
func (i *SecurityGroup) ToSecurityGroupPtrOutputWithContext(ctx context.Context) SecurityGroupPtrOutput
type SecurityGroupArgs ¶
type SecurityGroupArgs struct { // The description of the Redshift security group. Defaults to "Managed by Pulumi". Description pulumi.StringPtrInput // A list of ingress rules. Ingress SecurityGroupIngressArrayInput // The name of the Redshift security group. Name pulumi.StringPtrInput }
The set of arguments for constructing a SecurityGroup resource.
func (SecurityGroupArgs) ElementType ¶
func (SecurityGroupArgs) ElementType() reflect.Type
type SecurityGroupArray ¶
type SecurityGroupArray []SecurityGroupInput
func (SecurityGroupArray) ElementType ¶
func (SecurityGroupArray) ElementType() reflect.Type
func (SecurityGroupArray) ToSecurityGroupArrayOutput ¶
func (i SecurityGroupArray) ToSecurityGroupArrayOutput() SecurityGroupArrayOutput
func (SecurityGroupArray) ToSecurityGroupArrayOutputWithContext ¶
func (i SecurityGroupArray) ToSecurityGroupArrayOutputWithContext(ctx context.Context) SecurityGroupArrayOutput
type SecurityGroupArrayInput ¶
type SecurityGroupArrayInput interface { pulumi.Input ToSecurityGroupArrayOutput() SecurityGroupArrayOutput ToSecurityGroupArrayOutputWithContext(context.Context) SecurityGroupArrayOutput }
SecurityGroupArrayInput is an input type that accepts SecurityGroupArray and SecurityGroupArrayOutput values. You can construct a concrete instance of `SecurityGroupArrayInput` via:
SecurityGroupArray{ SecurityGroupArgs{...} }
type SecurityGroupArrayOutput ¶
type SecurityGroupArrayOutput struct{ *pulumi.OutputState }
func (SecurityGroupArrayOutput) ElementType ¶
func (SecurityGroupArrayOutput) ElementType() reflect.Type
func (SecurityGroupArrayOutput) Index ¶
func (o SecurityGroupArrayOutput) Index(i pulumi.IntInput) SecurityGroupOutput
func (SecurityGroupArrayOutput) ToSecurityGroupArrayOutput ¶
func (o SecurityGroupArrayOutput) ToSecurityGroupArrayOutput() SecurityGroupArrayOutput
func (SecurityGroupArrayOutput) ToSecurityGroupArrayOutputWithContext ¶
func (o SecurityGroupArrayOutput) ToSecurityGroupArrayOutputWithContext(ctx context.Context) SecurityGroupArrayOutput
type SecurityGroupIngress ¶
type SecurityGroupIngress struct { // The CIDR block to accept Cidr *string `pulumi:"cidr"` // The name of the security group to authorize SecurityGroupName *string `pulumi:"securityGroupName"` // The owner Id of the security group provided // by `securityGroupName`. SecurityGroupOwnerId *string `pulumi:"securityGroupOwnerId"` }
type SecurityGroupIngressArgs ¶
type SecurityGroupIngressArgs struct { // The CIDR block to accept Cidr pulumi.StringPtrInput `pulumi:"cidr"` // The name of the security group to authorize SecurityGroupName pulumi.StringPtrInput `pulumi:"securityGroupName"` // The owner Id of the security group provided // by `securityGroupName`. SecurityGroupOwnerId pulumi.StringPtrInput `pulumi:"securityGroupOwnerId"` }
func (SecurityGroupIngressArgs) ElementType ¶
func (SecurityGroupIngressArgs) ElementType() reflect.Type
func (SecurityGroupIngressArgs) ToSecurityGroupIngressOutput ¶
func (i SecurityGroupIngressArgs) ToSecurityGroupIngressOutput() SecurityGroupIngressOutput
func (SecurityGroupIngressArgs) ToSecurityGroupIngressOutputWithContext ¶
func (i SecurityGroupIngressArgs) ToSecurityGroupIngressOutputWithContext(ctx context.Context) SecurityGroupIngressOutput
type SecurityGroupIngressArray ¶
type SecurityGroupIngressArray []SecurityGroupIngressInput
func (SecurityGroupIngressArray) ElementType ¶
func (SecurityGroupIngressArray) ElementType() reflect.Type
func (SecurityGroupIngressArray) ToSecurityGroupIngressArrayOutput ¶
func (i SecurityGroupIngressArray) ToSecurityGroupIngressArrayOutput() SecurityGroupIngressArrayOutput
func (SecurityGroupIngressArray) ToSecurityGroupIngressArrayOutputWithContext ¶
func (i SecurityGroupIngressArray) ToSecurityGroupIngressArrayOutputWithContext(ctx context.Context) SecurityGroupIngressArrayOutput
type SecurityGroupIngressArrayInput ¶
type SecurityGroupIngressArrayInput interface { pulumi.Input ToSecurityGroupIngressArrayOutput() SecurityGroupIngressArrayOutput ToSecurityGroupIngressArrayOutputWithContext(context.Context) SecurityGroupIngressArrayOutput }
SecurityGroupIngressArrayInput is an input type that accepts SecurityGroupIngressArray and SecurityGroupIngressArrayOutput values. You can construct a concrete instance of `SecurityGroupIngressArrayInput` via:
SecurityGroupIngressArray{ SecurityGroupIngressArgs{...} }
type SecurityGroupIngressArrayOutput ¶
type SecurityGroupIngressArrayOutput struct{ *pulumi.OutputState }
func (SecurityGroupIngressArrayOutput) ElementType ¶
func (SecurityGroupIngressArrayOutput) ElementType() reflect.Type
func (SecurityGroupIngressArrayOutput) Index ¶
func (o SecurityGroupIngressArrayOutput) Index(i pulumi.IntInput) SecurityGroupIngressOutput
func (SecurityGroupIngressArrayOutput) ToSecurityGroupIngressArrayOutput ¶
func (o SecurityGroupIngressArrayOutput) ToSecurityGroupIngressArrayOutput() SecurityGroupIngressArrayOutput
func (SecurityGroupIngressArrayOutput) ToSecurityGroupIngressArrayOutputWithContext ¶
func (o SecurityGroupIngressArrayOutput) ToSecurityGroupIngressArrayOutputWithContext(ctx context.Context) SecurityGroupIngressArrayOutput
type SecurityGroupIngressInput ¶
type SecurityGroupIngressInput interface { pulumi.Input ToSecurityGroupIngressOutput() SecurityGroupIngressOutput ToSecurityGroupIngressOutputWithContext(context.Context) SecurityGroupIngressOutput }
SecurityGroupIngressInput is an input type that accepts SecurityGroupIngressArgs and SecurityGroupIngressOutput values. You can construct a concrete instance of `SecurityGroupIngressInput` via:
SecurityGroupIngressArgs{...}
type SecurityGroupIngressOutput ¶
type SecurityGroupIngressOutput struct{ *pulumi.OutputState }
func (SecurityGroupIngressOutput) Cidr ¶
func (o SecurityGroupIngressOutput) Cidr() pulumi.StringPtrOutput
The CIDR block to accept
func (SecurityGroupIngressOutput) ElementType ¶
func (SecurityGroupIngressOutput) ElementType() reflect.Type
func (SecurityGroupIngressOutput) SecurityGroupName ¶
func (o SecurityGroupIngressOutput) SecurityGroupName() pulumi.StringPtrOutput
The name of the security group to authorize
func (SecurityGroupIngressOutput) SecurityGroupOwnerId ¶
func (o SecurityGroupIngressOutput) SecurityGroupOwnerId() pulumi.StringPtrOutput
The owner Id of the security group provided by `securityGroupName`.
func (SecurityGroupIngressOutput) ToSecurityGroupIngressOutput ¶
func (o SecurityGroupIngressOutput) ToSecurityGroupIngressOutput() SecurityGroupIngressOutput
func (SecurityGroupIngressOutput) ToSecurityGroupIngressOutputWithContext ¶
func (o SecurityGroupIngressOutput) ToSecurityGroupIngressOutputWithContext(ctx context.Context) SecurityGroupIngressOutput
type SecurityGroupInput ¶
type SecurityGroupInput interface { pulumi.Input ToSecurityGroupOutput() SecurityGroupOutput ToSecurityGroupOutputWithContext(ctx context.Context) SecurityGroupOutput }
type SecurityGroupMap ¶
type SecurityGroupMap map[string]SecurityGroupInput
func (SecurityGroupMap) ElementType ¶
func (SecurityGroupMap) ElementType() reflect.Type
func (SecurityGroupMap) ToSecurityGroupMapOutput ¶
func (i SecurityGroupMap) ToSecurityGroupMapOutput() SecurityGroupMapOutput
func (SecurityGroupMap) ToSecurityGroupMapOutputWithContext ¶
func (i SecurityGroupMap) ToSecurityGroupMapOutputWithContext(ctx context.Context) SecurityGroupMapOutput
type SecurityGroupMapInput ¶
type SecurityGroupMapInput interface { pulumi.Input ToSecurityGroupMapOutput() SecurityGroupMapOutput ToSecurityGroupMapOutputWithContext(context.Context) SecurityGroupMapOutput }
SecurityGroupMapInput is an input type that accepts SecurityGroupMap and SecurityGroupMapOutput values. You can construct a concrete instance of `SecurityGroupMapInput` via:
SecurityGroupMap{ "key": SecurityGroupArgs{...} }
type SecurityGroupMapOutput ¶
type SecurityGroupMapOutput struct{ *pulumi.OutputState }
func (SecurityGroupMapOutput) ElementType ¶
func (SecurityGroupMapOutput) ElementType() reflect.Type
func (SecurityGroupMapOutput) MapIndex ¶
func (o SecurityGroupMapOutput) MapIndex(k pulumi.StringInput) SecurityGroupOutput
func (SecurityGroupMapOutput) ToSecurityGroupMapOutput ¶
func (o SecurityGroupMapOutput) ToSecurityGroupMapOutput() SecurityGroupMapOutput
func (SecurityGroupMapOutput) ToSecurityGroupMapOutputWithContext ¶
func (o SecurityGroupMapOutput) ToSecurityGroupMapOutputWithContext(ctx context.Context) SecurityGroupMapOutput
type SecurityGroupOutput ¶
type SecurityGroupOutput struct{ *pulumi.OutputState }
func (SecurityGroupOutput) ElementType ¶
func (SecurityGroupOutput) ElementType() reflect.Type
func (SecurityGroupOutput) ToSecurityGroupOutput ¶
func (o SecurityGroupOutput) ToSecurityGroupOutput() SecurityGroupOutput
func (SecurityGroupOutput) ToSecurityGroupOutputWithContext ¶
func (o SecurityGroupOutput) ToSecurityGroupOutputWithContext(ctx context.Context) SecurityGroupOutput
func (SecurityGroupOutput) ToSecurityGroupPtrOutput ¶
func (o SecurityGroupOutput) ToSecurityGroupPtrOutput() SecurityGroupPtrOutput
func (SecurityGroupOutput) ToSecurityGroupPtrOutputWithContext ¶
func (o SecurityGroupOutput) ToSecurityGroupPtrOutputWithContext(ctx context.Context) SecurityGroupPtrOutput
type SecurityGroupPtrInput ¶
type SecurityGroupPtrInput interface { pulumi.Input ToSecurityGroupPtrOutput() SecurityGroupPtrOutput ToSecurityGroupPtrOutputWithContext(ctx context.Context) SecurityGroupPtrOutput }
type SecurityGroupPtrOutput ¶
type SecurityGroupPtrOutput struct{ *pulumi.OutputState }
func (SecurityGroupPtrOutput) Elem ¶ added in v4.15.0
func (o SecurityGroupPtrOutput) Elem() SecurityGroupOutput
func (SecurityGroupPtrOutput) ElementType ¶
func (SecurityGroupPtrOutput) ElementType() reflect.Type
func (SecurityGroupPtrOutput) ToSecurityGroupPtrOutput ¶
func (o SecurityGroupPtrOutput) ToSecurityGroupPtrOutput() SecurityGroupPtrOutput
func (SecurityGroupPtrOutput) ToSecurityGroupPtrOutputWithContext ¶
func (o SecurityGroupPtrOutput) ToSecurityGroupPtrOutputWithContext(ctx context.Context) SecurityGroupPtrOutput
type SecurityGroupState ¶
type SecurityGroupState struct { // The description of the Redshift security group. Defaults to "Managed by Pulumi". Description pulumi.StringPtrInput // A list of ingress rules. Ingress SecurityGroupIngressArrayInput // The name of the Redshift security group. Name pulumi.StringPtrInput }
func (SecurityGroupState) ElementType ¶
func (SecurityGroupState) ElementType() reflect.Type
type SnapshotCopyGrant ¶
type SnapshotCopyGrant struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of snapshot copy grant Arn pulumi.StringOutput `pulumi:"arn"` // The unique identifier for the customer master key (CMK) that the grant applies to. Specify the key ID or the Amazon Resource Name (ARN) of the CMK. To specify a CMK in a different AWS account, you must use the key ARN. If not specified, the default key is used. KmsKeyId pulumi.StringOutput `pulumi:"kmsKeyId"` // A friendly name for identifying the grant. SnapshotCopyGrantName pulumi.StringOutput `pulumi:"snapshotCopyGrantName"` // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Creates a snapshot copy grant that allows AWS Redshift to encrypt copied snapshots with a customer master key from AWS KMS in a destination region.
Note that the grant must exist in the destination region, and not in the region of the cluster.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/redshift" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { testSnapshotCopyGrant, err := redshift.NewSnapshotCopyGrant(ctx, "testSnapshotCopyGrant", &redshift.SnapshotCopyGrantArgs{ SnapshotCopyGrantName: pulumi.String("my-grant"), }) if err != nil { return err } _, err = redshift.NewCluster(ctx, "testCluster", &redshift.ClusterArgs{ SnapshotCopy: &redshift.ClusterSnapshotCopyArgs{ DestinationRegion: pulumi.String("us-east-2"), GrantName: testSnapshotCopyGrant.SnapshotCopyGrantName, }, }) if err != nil { return err } return nil }) }
```
## Import
Redshift Snapshot Copy Grants support import by name, e.g., console ¶
```sh
$ pulumi import aws:redshift/snapshotCopyGrant:SnapshotCopyGrant test my-grant
```
func GetSnapshotCopyGrant ¶
func GetSnapshotCopyGrant(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SnapshotCopyGrantState, opts ...pulumi.ResourceOption) (*SnapshotCopyGrant, error)
GetSnapshotCopyGrant gets an existing SnapshotCopyGrant resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSnapshotCopyGrant ¶
func NewSnapshotCopyGrant(ctx *pulumi.Context, name string, args *SnapshotCopyGrantArgs, opts ...pulumi.ResourceOption) (*SnapshotCopyGrant, error)
NewSnapshotCopyGrant registers a new resource with the given unique name, arguments, and options.
func (*SnapshotCopyGrant) ElementType ¶
func (*SnapshotCopyGrant) ElementType() reflect.Type
func (*SnapshotCopyGrant) ToSnapshotCopyGrantOutput ¶
func (i *SnapshotCopyGrant) ToSnapshotCopyGrantOutput() SnapshotCopyGrantOutput
func (*SnapshotCopyGrant) ToSnapshotCopyGrantOutputWithContext ¶
func (i *SnapshotCopyGrant) ToSnapshotCopyGrantOutputWithContext(ctx context.Context) SnapshotCopyGrantOutput
func (*SnapshotCopyGrant) ToSnapshotCopyGrantPtrOutput ¶
func (i *SnapshotCopyGrant) ToSnapshotCopyGrantPtrOutput() SnapshotCopyGrantPtrOutput
func (*SnapshotCopyGrant) ToSnapshotCopyGrantPtrOutputWithContext ¶
func (i *SnapshotCopyGrant) ToSnapshotCopyGrantPtrOutputWithContext(ctx context.Context) SnapshotCopyGrantPtrOutput
type SnapshotCopyGrantArgs ¶
type SnapshotCopyGrantArgs struct { // The unique identifier for the customer master key (CMK) that the grant applies to. Specify the key ID or the Amazon Resource Name (ARN) of the CMK. To specify a CMK in a different AWS account, you must use the key ARN. If not specified, the default key is used. KmsKeyId pulumi.StringPtrInput // A friendly name for identifying the grant. SnapshotCopyGrantName pulumi.StringInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a SnapshotCopyGrant resource.
func (SnapshotCopyGrantArgs) ElementType ¶
func (SnapshotCopyGrantArgs) ElementType() reflect.Type
type SnapshotCopyGrantArray ¶
type SnapshotCopyGrantArray []SnapshotCopyGrantInput
func (SnapshotCopyGrantArray) ElementType ¶
func (SnapshotCopyGrantArray) ElementType() reflect.Type
func (SnapshotCopyGrantArray) ToSnapshotCopyGrantArrayOutput ¶
func (i SnapshotCopyGrantArray) ToSnapshotCopyGrantArrayOutput() SnapshotCopyGrantArrayOutput
func (SnapshotCopyGrantArray) ToSnapshotCopyGrantArrayOutputWithContext ¶
func (i SnapshotCopyGrantArray) ToSnapshotCopyGrantArrayOutputWithContext(ctx context.Context) SnapshotCopyGrantArrayOutput
type SnapshotCopyGrantArrayInput ¶
type SnapshotCopyGrantArrayInput interface { pulumi.Input ToSnapshotCopyGrantArrayOutput() SnapshotCopyGrantArrayOutput ToSnapshotCopyGrantArrayOutputWithContext(context.Context) SnapshotCopyGrantArrayOutput }
SnapshotCopyGrantArrayInput is an input type that accepts SnapshotCopyGrantArray and SnapshotCopyGrantArrayOutput values. You can construct a concrete instance of `SnapshotCopyGrantArrayInput` via:
SnapshotCopyGrantArray{ SnapshotCopyGrantArgs{...} }
type SnapshotCopyGrantArrayOutput ¶
type SnapshotCopyGrantArrayOutput struct{ *pulumi.OutputState }
func (SnapshotCopyGrantArrayOutput) ElementType ¶
func (SnapshotCopyGrantArrayOutput) ElementType() reflect.Type
func (SnapshotCopyGrantArrayOutput) Index ¶
func (o SnapshotCopyGrantArrayOutput) Index(i pulumi.IntInput) SnapshotCopyGrantOutput
func (SnapshotCopyGrantArrayOutput) ToSnapshotCopyGrantArrayOutput ¶
func (o SnapshotCopyGrantArrayOutput) ToSnapshotCopyGrantArrayOutput() SnapshotCopyGrantArrayOutput
func (SnapshotCopyGrantArrayOutput) ToSnapshotCopyGrantArrayOutputWithContext ¶
func (o SnapshotCopyGrantArrayOutput) ToSnapshotCopyGrantArrayOutputWithContext(ctx context.Context) SnapshotCopyGrantArrayOutput
type SnapshotCopyGrantInput ¶
type SnapshotCopyGrantInput interface { pulumi.Input ToSnapshotCopyGrantOutput() SnapshotCopyGrantOutput ToSnapshotCopyGrantOutputWithContext(ctx context.Context) SnapshotCopyGrantOutput }
type SnapshotCopyGrantMap ¶
type SnapshotCopyGrantMap map[string]SnapshotCopyGrantInput
func (SnapshotCopyGrantMap) ElementType ¶
func (SnapshotCopyGrantMap) ElementType() reflect.Type
func (SnapshotCopyGrantMap) ToSnapshotCopyGrantMapOutput ¶
func (i SnapshotCopyGrantMap) ToSnapshotCopyGrantMapOutput() SnapshotCopyGrantMapOutput
func (SnapshotCopyGrantMap) ToSnapshotCopyGrantMapOutputWithContext ¶
func (i SnapshotCopyGrantMap) ToSnapshotCopyGrantMapOutputWithContext(ctx context.Context) SnapshotCopyGrantMapOutput
type SnapshotCopyGrantMapInput ¶
type SnapshotCopyGrantMapInput interface { pulumi.Input ToSnapshotCopyGrantMapOutput() SnapshotCopyGrantMapOutput ToSnapshotCopyGrantMapOutputWithContext(context.Context) SnapshotCopyGrantMapOutput }
SnapshotCopyGrantMapInput is an input type that accepts SnapshotCopyGrantMap and SnapshotCopyGrantMapOutput values. You can construct a concrete instance of `SnapshotCopyGrantMapInput` via:
SnapshotCopyGrantMap{ "key": SnapshotCopyGrantArgs{...} }
type SnapshotCopyGrantMapOutput ¶
type SnapshotCopyGrantMapOutput struct{ *pulumi.OutputState }
func (SnapshotCopyGrantMapOutput) ElementType ¶
func (SnapshotCopyGrantMapOutput) ElementType() reflect.Type
func (SnapshotCopyGrantMapOutput) MapIndex ¶
func (o SnapshotCopyGrantMapOutput) MapIndex(k pulumi.StringInput) SnapshotCopyGrantOutput
func (SnapshotCopyGrantMapOutput) ToSnapshotCopyGrantMapOutput ¶
func (o SnapshotCopyGrantMapOutput) ToSnapshotCopyGrantMapOutput() SnapshotCopyGrantMapOutput
func (SnapshotCopyGrantMapOutput) ToSnapshotCopyGrantMapOutputWithContext ¶
func (o SnapshotCopyGrantMapOutput) ToSnapshotCopyGrantMapOutputWithContext(ctx context.Context) SnapshotCopyGrantMapOutput
type SnapshotCopyGrantOutput ¶
type SnapshotCopyGrantOutput struct{ *pulumi.OutputState }
func (SnapshotCopyGrantOutput) ElementType ¶
func (SnapshotCopyGrantOutput) ElementType() reflect.Type
func (SnapshotCopyGrantOutput) ToSnapshotCopyGrantOutput ¶
func (o SnapshotCopyGrantOutput) ToSnapshotCopyGrantOutput() SnapshotCopyGrantOutput
func (SnapshotCopyGrantOutput) ToSnapshotCopyGrantOutputWithContext ¶
func (o SnapshotCopyGrantOutput) ToSnapshotCopyGrantOutputWithContext(ctx context.Context) SnapshotCopyGrantOutput
func (SnapshotCopyGrantOutput) ToSnapshotCopyGrantPtrOutput ¶
func (o SnapshotCopyGrantOutput) ToSnapshotCopyGrantPtrOutput() SnapshotCopyGrantPtrOutput
func (SnapshotCopyGrantOutput) ToSnapshotCopyGrantPtrOutputWithContext ¶
func (o SnapshotCopyGrantOutput) ToSnapshotCopyGrantPtrOutputWithContext(ctx context.Context) SnapshotCopyGrantPtrOutput
type SnapshotCopyGrantPtrInput ¶
type SnapshotCopyGrantPtrInput interface { pulumi.Input ToSnapshotCopyGrantPtrOutput() SnapshotCopyGrantPtrOutput ToSnapshotCopyGrantPtrOutputWithContext(ctx context.Context) SnapshotCopyGrantPtrOutput }
type SnapshotCopyGrantPtrOutput ¶
type SnapshotCopyGrantPtrOutput struct{ *pulumi.OutputState }
func (SnapshotCopyGrantPtrOutput) Elem ¶ added in v4.15.0
func (o SnapshotCopyGrantPtrOutput) Elem() SnapshotCopyGrantOutput
func (SnapshotCopyGrantPtrOutput) ElementType ¶
func (SnapshotCopyGrantPtrOutput) ElementType() reflect.Type
func (SnapshotCopyGrantPtrOutput) ToSnapshotCopyGrantPtrOutput ¶
func (o SnapshotCopyGrantPtrOutput) ToSnapshotCopyGrantPtrOutput() SnapshotCopyGrantPtrOutput
func (SnapshotCopyGrantPtrOutput) ToSnapshotCopyGrantPtrOutputWithContext ¶
func (o SnapshotCopyGrantPtrOutput) ToSnapshotCopyGrantPtrOutputWithContext(ctx context.Context) SnapshotCopyGrantPtrOutput
type SnapshotCopyGrantState ¶
type SnapshotCopyGrantState struct { // Amazon Resource Name (ARN) of snapshot copy grant Arn pulumi.StringPtrInput // The unique identifier for the customer master key (CMK) that the grant applies to. Specify the key ID or the Amazon Resource Name (ARN) of the CMK. To specify a CMK in a different AWS account, you must use the key ARN. If not specified, the default key is used. KmsKeyId pulumi.StringPtrInput // A friendly name for identifying the grant. SnapshotCopyGrantName pulumi.StringPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapInput }
func (SnapshotCopyGrantState) ElementType ¶
func (SnapshotCopyGrantState) ElementType() reflect.Type
type SnapshotSchedule ¶
type SnapshotSchedule struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of the Redshift Snapshot Schedule. Arn pulumi.StringOutput `pulumi:"arn"` // The definition of the snapshot schedule. The definition is made up of schedule expressions, for example `cron(30 12 *)` or `rate(12 hours)`. Definitions pulumi.StringArrayOutput `pulumi:"definitions"` // The description of the snapshot schedule. Description pulumi.StringPtrOutput `pulumi:"description"` // Whether to destroy all associated clusters with this snapshot schedule on deletion. Must be enabled and applied before attempting deletion. ForceDestroy pulumi.BoolPtrOutput `pulumi:"forceDestroy"` // The snapshot schedule identifier. If omitted, this provider will assign a random, unique identifier. Identifier pulumi.StringOutput `pulumi:"identifier"` // Creates a unique // identifier beginning with the specified prefix. Conflicts with `identifier`. IdentifierPrefix pulumi.StringOutput `pulumi:"identifierPrefix"` // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/redshift" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := redshift.NewSnapshotSchedule(ctx, "_default", &redshift.SnapshotScheduleArgs{ Definitions: pulumi.StringArray{ pulumi.String("rate(12 hours)"), }, Identifier: pulumi.String("tf-redshift-snapshot-schedule"), }) if err != nil { return err } return nil }) }
```
## Import
Redshift Snapshot Schedule can be imported using the `identifier`, e.g.,
```sh
$ pulumi import aws:redshift/snapshotSchedule:SnapshotSchedule default tf-redshift-snapshot-schedule
```
func GetSnapshotSchedule ¶
func GetSnapshotSchedule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SnapshotScheduleState, opts ...pulumi.ResourceOption) (*SnapshotSchedule, error)
GetSnapshotSchedule gets an existing SnapshotSchedule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSnapshotSchedule ¶
func NewSnapshotSchedule(ctx *pulumi.Context, name string, args *SnapshotScheduleArgs, opts ...pulumi.ResourceOption) (*SnapshotSchedule, error)
NewSnapshotSchedule registers a new resource with the given unique name, arguments, and options.
func (*SnapshotSchedule) ElementType ¶
func (*SnapshotSchedule) ElementType() reflect.Type
func (*SnapshotSchedule) ToSnapshotScheduleOutput ¶
func (i *SnapshotSchedule) ToSnapshotScheduleOutput() SnapshotScheduleOutput
func (*SnapshotSchedule) ToSnapshotScheduleOutputWithContext ¶
func (i *SnapshotSchedule) ToSnapshotScheduleOutputWithContext(ctx context.Context) SnapshotScheduleOutput
func (*SnapshotSchedule) ToSnapshotSchedulePtrOutput ¶
func (i *SnapshotSchedule) ToSnapshotSchedulePtrOutput() SnapshotSchedulePtrOutput
func (*SnapshotSchedule) ToSnapshotSchedulePtrOutputWithContext ¶
func (i *SnapshotSchedule) ToSnapshotSchedulePtrOutputWithContext(ctx context.Context) SnapshotSchedulePtrOutput
type SnapshotScheduleArgs ¶
type SnapshotScheduleArgs struct { // The definition of the snapshot schedule. The definition is made up of schedule expressions, for example `cron(30 12 *)` or `rate(12 hours)`. Definitions pulumi.StringArrayInput // The description of the snapshot schedule. Description pulumi.StringPtrInput // Whether to destroy all associated clusters with this snapshot schedule on deletion. Must be enabled and applied before attempting deletion. ForceDestroy pulumi.BoolPtrInput // The snapshot schedule identifier. If omitted, this provider will assign a random, unique identifier. Identifier pulumi.StringPtrInput // Creates a unique // identifier beginning with the specified prefix. Conflicts with `identifier`. IdentifierPrefix pulumi.StringPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a SnapshotSchedule resource.
func (SnapshotScheduleArgs) ElementType ¶
func (SnapshotScheduleArgs) ElementType() reflect.Type
type SnapshotScheduleArray ¶
type SnapshotScheduleArray []SnapshotScheduleInput
func (SnapshotScheduleArray) ElementType ¶
func (SnapshotScheduleArray) ElementType() reflect.Type
func (SnapshotScheduleArray) ToSnapshotScheduleArrayOutput ¶
func (i SnapshotScheduleArray) ToSnapshotScheduleArrayOutput() SnapshotScheduleArrayOutput
func (SnapshotScheduleArray) ToSnapshotScheduleArrayOutputWithContext ¶
func (i SnapshotScheduleArray) ToSnapshotScheduleArrayOutputWithContext(ctx context.Context) SnapshotScheduleArrayOutput
type SnapshotScheduleArrayInput ¶
type SnapshotScheduleArrayInput interface { pulumi.Input ToSnapshotScheduleArrayOutput() SnapshotScheduleArrayOutput ToSnapshotScheduleArrayOutputWithContext(context.Context) SnapshotScheduleArrayOutput }
SnapshotScheduleArrayInput is an input type that accepts SnapshotScheduleArray and SnapshotScheduleArrayOutput values. You can construct a concrete instance of `SnapshotScheduleArrayInput` via:
SnapshotScheduleArray{ SnapshotScheduleArgs{...} }
type SnapshotScheduleArrayOutput ¶
type SnapshotScheduleArrayOutput struct{ *pulumi.OutputState }
func (SnapshotScheduleArrayOutput) ElementType ¶
func (SnapshotScheduleArrayOutput) ElementType() reflect.Type
func (SnapshotScheduleArrayOutput) Index ¶
func (o SnapshotScheduleArrayOutput) Index(i pulumi.IntInput) SnapshotScheduleOutput
func (SnapshotScheduleArrayOutput) ToSnapshotScheduleArrayOutput ¶
func (o SnapshotScheduleArrayOutput) ToSnapshotScheduleArrayOutput() SnapshotScheduleArrayOutput
func (SnapshotScheduleArrayOutput) ToSnapshotScheduleArrayOutputWithContext ¶
func (o SnapshotScheduleArrayOutput) ToSnapshotScheduleArrayOutputWithContext(ctx context.Context) SnapshotScheduleArrayOutput
type SnapshotScheduleAssociation ¶
type SnapshotScheduleAssociation struct { pulumi.CustomResourceState // The cluster identifier. ClusterIdentifier pulumi.StringOutput `pulumi:"clusterIdentifier"` // The snapshot schedule identifier. ScheduleIdentifier pulumi.StringOutput `pulumi:"scheduleIdentifier"` }
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/redshift" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultCluster, err := redshift.NewCluster(ctx, "defaultCluster", &redshift.ClusterArgs{ ClusterIdentifier: pulumi.String("tf-redshift-cluster"), DatabaseName: pulumi.String("mydb"), MasterUsername: pulumi.String("foo"), MasterPassword: pulumi.String("Mustbe8characters"), NodeType: pulumi.String("dc1.large"), ClusterType: pulumi.String("single-node"), }) if err != nil { return err } defaultSnapshotSchedule, err := redshift.NewSnapshotSchedule(ctx, "defaultSnapshotSchedule", &redshift.SnapshotScheduleArgs{ Identifier: pulumi.String("tf-redshift-snapshot-schedule"), Definitions: pulumi.StringArray{ pulumi.String("rate(12 hours)"), }, }) if err != nil { return err } _, err = redshift.NewSnapshotScheduleAssociation(ctx, "defaultSnapshotScheduleAssociation", &redshift.SnapshotScheduleAssociationArgs{ ClusterIdentifier: defaultCluster.ID(), ScheduleIdentifier: defaultSnapshotSchedule.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Redshift Snapshot Schedule Association can be imported using the `<cluster-identifier>/<schedule-identifier>`, e.g.,
```sh
$ pulumi import aws:redshift/snapshotScheduleAssociation:SnapshotScheduleAssociation default tf-redshift-cluster/tf-redshift-snapshot-schedule
```
func GetSnapshotScheduleAssociation ¶
func GetSnapshotScheduleAssociation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SnapshotScheduleAssociationState, opts ...pulumi.ResourceOption) (*SnapshotScheduleAssociation, error)
GetSnapshotScheduleAssociation gets an existing SnapshotScheduleAssociation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSnapshotScheduleAssociation ¶
func NewSnapshotScheduleAssociation(ctx *pulumi.Context, name string, args *SnapshotScheduleAssociationArgs, opts ...pulumi.ResourceOption) (*SnapshotScheduleAssociation, error)
NewSnapshotScheduleAssociation registers a new resource with the given unique name, arguments, and options.
func (*SnapshotScheduleAssociation) ElementType ¶
func (*SnapshotScheduleAssociation) ElementType() reflect.Type
func (*SnapshotScheduleAssociation) ToSnapshotScheduleAssociationOutput ¶
func (i *SnapshotScheduleAssociation) ToSnapshotScheduleAssociationOutput() SnapshotScheduleAssociationOutput
func (*SnapshotScheduleAssociation) ToSnapshotScheduleAssociationOutputWithContext ¶
func (i *SnapshotScheduleAssociation) ToSnapshotScheduleAssociationOutputWithContext(ctx context.Context) SnapshotScheduleAssociationOutput
func (*SnapshotScheduleAssociation) ToSnapshotScheduleAssociationPtrOutput ¶
func (i *SnapshotScheduleAssociation) ToSnapshotScheduleAssociationPtrOutput() SnapshotScheduleAssociationPtrOutput
func (*SnapshotScheduleAssociation) ToSnapshotScheduleAssociationPtrOutputWithContext ¶
func (i *SnapshotScheduleAssociation) ToSnapshotScheduleAssociationPtrOutputWithContext(ctx context.Context) SnapshotScheduleAssociationPtrOutput
type SnapshotScheduleAssociationArgs ¶
type SnapshotScheduleAssociationArgs struct { // The cluster identifier. ClusterIdentifier pulumi.StringInput // The snapshot schedule identifier. ScheduleIdentifier pulumi.StringInput }
The set of arguments for constructing a SnapshotScheduleAssociation resource.
func (SnapshotScheduleAssociationArgs) ElementType ¶
func (SnapshotScheduleAssociationArgs) ElementType() reflect.Type
type SnapshotScheduleAssociationArray ¶
type SnapshotScheduleAssociationArray []SnapshotScheduleAssociationInput
func (SnapshotScheduleAssociationArray) ElementType ¶
func (SnapshotScheduleAssociationArray) ElementType() reflect.Type
func (SnapshotScheduleAssociationArray) ToSnapshotScheduleAssociationArrayOutput ¶
func (i SnapshotScheduleAssociationArray) ToSnapshotScheduleAssociationArrayOutput() SnapshotScheduleAssociationArrayOutput
func (SnapshotScheduleAssociationArray) ToSnapshotScheduleAssociationArrayOutputWithContext ¶
func (i SnapshotScheduleAssociationArray) ToSnapshotScheduleAssociationArrayOutputWithContext(ctx context.Context) SnapshotScheduleAssociationArrayOutput
type SnapshotScheduleAssociationArrayInput ¶
type SnapshotScheduleAssociationArrayInput interface { pulumi.Input ToSnapshotScheduleAssociationArrayOutput() SnapshotScheduleAssociationArrayOutput ToSnapshotScheduleAssociationArrayOutputWithContext(context.Context) SnapshotScheduleAssociationArrayOutput }
SnapshotScheduleAssociationArrayInput is an input type that accepts SnapshotScheduleAssociationArray and SnapshotScheduleAssociationArrayOutput values. You can construct a concrete instance of `SnapshotScheduleAssociationArrayInput` via:
SnapshotScheduleAssociationArray{ SnapshotScheduleAssociationArgs{...} }
type SnapshotScheduleAssociationArrayOutput ¶
type SnapshotScheduleAssociationArrayOutput struct{ *pulumi.OutputState }
func (SnapshotScheduleAssociationArrayOutput) ElementType ¶
func (SnapshotScheduleAssociationArrayOutput) ElementType() reflect.Type
func (SnapshotScheduleAssociationArrayOutput) ToSnapshotScheduleAssociationArrayOutput ¶
func (o SnapshotScheduleAssociationArrayOutput) ToSnapshotScheduleAssociationArrayOutput() SnapshotScheduleAssociationArrayOutput
func (SnapshotScheduleAssociationArrayOutput) ToSnapshotScheduleAssociationArrayOutputWithContext ¶
func (o SnapshotScheduleAssociationArrayOutput) ToSnapshotScheduleAssociationArrayOutputWithContext(ctx context.Context) SnapshotScheduleAssociationArrayOutput
type SnapshotScheduleAssociationInput ¶
type SnapshotScheduleAssociationInput interface { pulumi.Input ToSnapshotScheduleAssociationOutput() SnapshotScheduleAssociationOutput ToSnapshotScheduleAssociationOutputWithContext(ctx context.Context) SnapshotScheduleAssociationOutput }
type SnapshotScheduleAssociationMap ¶
type SnapshotScheduleAssociationMap map[string]SnapshotScheduleAssociationInput
func (SnapshotScheduleAssociationMap) ElementType ¶
func (SnapshotScheduleAssociationMap) ElementType() reflect.Type
func (SnapshotScheduleAssociationMap) ToSnapshotScheduleAssociationMapOutput ¶
func (i SnapshotScheduleAssociationMap) ToSnapshotScheduleAssociationMapOutput() SnapshotScheduleAssociationMapOutput
func (SnapshotScheduleAssociationMap) ToSnapshotScheduleAssociationMapOutputWithContext ¶
func (i SnapshotScheduleAssociationMap) ToSnapshotScheduleAssociationMapOutputWithContext(ctx context.Context) SnapshotScheduleAssociationMapOutput
type SnapshotScheduleAssociationMapInput ¶
type SnapshotScheduleAssociationMapInput interface { pulumi.Input ToSnapshotScheduleAssociationMapOutput() SnapshotScheduleAssociationMapOutput ToSnapshotScheduleAssociationMapOutputWithContext(context.Context) SnapshotScheduleAssociationMapOutput }
SnapshotScheduleAssociationMapInput is an input type that accepts SnapshotScheduleAssociationMap and SnapshotScheduleAssociationMapOutput values. You can construct a concrete instance of `SnapshotScheduleAssociationMapInput` via:
SnapshotScheduleAssociationMap{ "key": SnapshotScheduleAssociationArgs{...} }
type SnapshotScheduleAssociationMapOutput ¶
type SnapshotScheduleAssociationMapOutput struct{ *pulumi.OutputState }
func (SnapshotScheduleAssociationMapOutput) ElementType ¶
func (SnapshotScheduleAssociationMapOutput) ElementType() reflect.Type
func (SnapshotScheduleAssociationMapOutput) MapIndex ¶
func (o SnapshotScheduleAssociationMapOutput) MapIndex(k pulumi.StringInput) SnapshotScheduleAssociationOutput
func (SnapshotScheduleAssociationMapOutput) ToSnapshotScheduleAssociationMapOutput ¶
func (o SnapshotScheduleAssociationMapOutput) ToSnapshotScheduleAssociationMapOutput() SnapshotScheduleAssociationMapOutput
func (SnapshotScheduleAssociationMapOutput) ToSnapshotScheduleAssociationMapOutputWithContext ¶
func (o SnapshotScheduleAssociationMapOutput) ToSnapshotScheduleAssociationMapOutputWithContext(ctx context.Context) SnapshotScheduleAssociationMapOutput
type SnapshotScheduleAssociationOutput ¶
type SnapshotScheduleAssociationOutput struct{ *pulumi.OutputState }
func (SnapshotScheduleAssociationOutput) ElementType ¶
func (SnapshotScheduleAssociationOutput) ElementType() reflect.Type
func (SnapshotScheduleAssociationOutput) ToSnapshotScheduleAssociationOutput ¶
func (o SnapshotScheduleAssociationOutput) ToSnapshotScheduleAssociationOutput() SnapshotScheduleAssociationOutput
func (SnapshotScheduleAssociationOutput) ToSnapshotScheduleAssociationOutputWithContext ¶
func (o SnapshotScheduleAssociationOutput) ToSnapshotScheduleAssociationOutputWithContext(ctx context.Context) SnapshotScheduleAssociationOutput
func (SnapshotScheduleAssociationOutput) ToSnapshotScheduleAssociationPtrOutput ¶
func (o SnapshotScheduleAssociationOutput) ToSnapshotScheduleAssociationPtrOutput() SnapshotScheduleAssociationPtrOutput
func (SnapshotScheduleAssociationOutput) ToSnapshotScheduleAssociationPtrOutputWithContext ¶
func (o SnapshotScheduleAssociationOutput) ToSnapshotScheduleAssociationPtrOutputWithContext(ctx context.Context) SnapshotScheduleAssociationPtrOutput
type SnapshotScheduleAssociationPtrInput ¶
type SnapshotScheduleAssociationPtrInput interface { pulumi.Input ToSnapshotScheduleAssociationPtrOutput() SnapshotScheduleAssociationPtrOutput ToSnapshotScheduleAssociationPtrOutputWithContext(ctx context.Context) SnapshotScheduleAssociationPtrOutput }
type SnapshotScheduleAssociationPtrOutput ¶
type SnapshotScheduleAssociationPtrOutput struct{ *pulumi.OutputState }
func (SnapshotScheduleAssociationPtrOutput) ElementType ¶
func (SnapshotScheduleAssociationPtrOutput) ElementType() reflect.Type
func (SnapshotScheduleAssociationPtrOutput) ToSnapshotScheduleAssociationPtrOutput ¶
func (o SnapshotScheduleAssociationPtrOutput) ToSnapshotScheduleAssociationPtrOutput() SnapshotScheduleAssociationPtrOutput
func (SnapshotScheduleAssociationPtrOutput) ToSnapshotScheduleAssociationPtrOutputWithContext ¶
func (o SnapshotScheduleAssociationPtrOutput) ToSnapshotScheduleAssociationPtrOutputWithContext(ctx context.Context) SnapshotScheduleAssociationPtrOutput
type SnapshotScheduleAssociationState ¶
type SnapshotScheduleAssociationState struct { // The cluster identifier. ClusterIdentifier pulumi.StringPtrInput // The snapshot schedule identifier. ScheduleIdentifier pulumi.StringPtrInput }
func (SnapshotScheduleAssociationState) ElementType ¶
func (SnapshotScheduleAssociationState) ElementType() reflect.Type
type SnapshotScheduleInput ¶
type SnapshotScheduleInput interface { pulumi.Input ToSnapshotScheduleOutput() SnapshotScheduleOutput ToSnapshotScheduleOutputWithContext(ctx context.Context) SnapshotScheduleOutput }
type SnapshotScheduleMap ¶
type SnapshotScheduleMap map[string]SnapshotScheduleInput
func (SnapshotScheduleMap) ElementType ¶
func (SnapshotScheduleMap) ElementType() reflect.Type
func (SnapshotScheduleMap) ToSnapshotScheduleMapOutput ¶
func (i SnapshotScheduleMap) ToSnapshotScheduleMapOutput() SnapshotScheduleMapOutput
func (SnapshotScheduleMap) ToSnapshotScheduleMapOutputWithContext ¶
func (i SnapshotScheduleMap) ToSnapshotScheduleMapOutputWithContext(ctx context.Context) SnapshotScheduleMapOutput
type SnapshotScheduleMapInput ¶
type SnapshotScheduleMapInput interface { pulumi.Input ToSnapshotScheduleMapOutput() SnapshotScheduleMapOutput ToSnapshotScheduleMapOutputWithContext(context.Context) SnapshotScheduleMapOutput }
SnapshotScheduleMapInput is an input type that accepts SnapshotScheduleMap and SnapshotScheduleMapOutput values. You can construct a concrete instance of `SnapshotScheduleMapInput` via:
SnapshotScheduleMap{ "key": SnapshotScheduleArgs{...} }
type SnapshotScheduleMapOutput ¶
type SnapshotScheduleMapOutput struct{ *pulumi.OutputState }
func (SnapshotScheduleMapOutput) ElementType ¶
func (SnapshotScheduleMapOutput) ElementType() reflect.Type
func (SnapshotScheduleMapOutput) MapIndex ¶
func (o SnapshotScheduleMapOutput) MapIndex(k pulumi.StringInput) SnapshotScheduleOutput
func (SnapshotScheduleMapOutput) ToSnapshotScheduleMapOutput ¶
func (o SnapshotScheduleMapOutput) ToSnapshotScheduleMapOutput() SnapshotScheduleMapOutput
func (SnapshotScheduleMapOutput) ToSnapshotScheduleMapOutputWithContext ¶
func (o SnapshotScheduleMapOutput) ToSnapshotScheduleMapOutputWithContext(ctx context.Context) SnapshotScheduleMapOutput
type SnapshotScheduleOutput ¶
type SnapshotScheduleOutput struct{ *pulumi.OutputState }
func (SnapshotScheduleOutput) ElementType ¶
func (SnapshotScheduleOutput) ElementType() reflect.Type
func (SnapshotScheduleOutput) ToSnapshotScheduleOutput ¶
func (o SnapshotScheduleOutput) ToSnapshotScheduleOutput() SnapshotScheduleOutput
func (SnapshotScheduleOutput) ToSnapshotScheduleOutputWithContext ¶
func (o SnapshotScheduleOutput) ToSnapshotScheduleOutputWithContext(ctx context.Context) SnapshotScheduleOutput
func (SnapshotScheduleOutput) ToSnapshotSchedulePtrOutput ¶
func (o SnapshotScheduleOutput) ToSnapshotSchedulePtrOutput() SnapshotSchedulePtrOutput
func (SnapshotScheduleOutput) ToSnapshotSchedulePtrOutputWithContext ¶
func (o SnapshotScheduleOutput) ToSnapshotSchedulePtrOutputWithContext(ctx context.Context) SnapshotSchedulePtrOutput
type SnapshotSchedulePtrInput ¶
type SnapshotSchedulePtrInput interface { pulumi.Input ToSnapshotSchedulePtrOutput() SnapshotSchedulePtrOutput ToSnapshotSchedulePtrOutputWithContext(ctx context.Context) SnapshotSchedulePtrOutput }
type SnapshotSchedulePtrOutput ¶
type SnapshotSchedulePtrOutput struct{ *pulumi.OutputState }
func (SnapshotSchedulePtrOutput) Elem ¶ added in v4.15.0
func (o SnapshotSchedulePtrOutput) Elem() SnapshotScheduleOutput
func (SnapshotSchedulePtrOutput) ElementType ¶
func (SnapshotSchedulePtrOutput) ElementType() reflect.Type
func (SnapshotSchedulePtrOutput) ToSnapshotSchedulePtrOutput ¶
func (o SnapshotSchedulePtrOutput) ToSnapshotSchedulePtrOutput() SnapshotSchedulePtrOutput
func (SnapshotSchedulePtrOutput) ToSnapshotSchedulePtrOutputWithContext ¶
func (o SnapshotSchedulePtrOutput) ToSnapshotSchedulePtrOutputWithContext(ctx context.Context) SnapshotSchedulePtrOutput
type SnapshotScheduleState ¶
type SnapshotScheduleState struct { // Amazon Resource Name (ARN) of the Redshift Snapshot Schedule. Arn pulumi.StringPtrInput // The definition of the snapshot schedule. The definition is made up of schedule expressions, for example `cron(30 12 *)` or `rate(12 hours)`. Definitions pulumi.StringArrayInput // The description of the snapshot schedule. Description pulumi.StringPtrInput // Whether to destroy all associated clusters with this snapshot schedule on deletion. Must be enabled and applied before attempting deletion. ForceDestroy pulumi.BoolPtrInput // The snapshot schedule identifier. If omitted, this provider will assign a random, unique identifier. Identifier pulumi.StringPtrInput // Creates a unique // identifier beginning with the specified prefix. Conflicts with `identifier`. IdentifierPrefix pulumi.StringPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapInput }
func (SnapshotScheduleState) ElementType ¶
func (SnapshotScheduleState) ElementType() reflect.Type
type SubnetGroup ¶
type SubnetGroup struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of the Redshift Subnet group name Arn pulumi.StringOutput `pulumi:"arn"` // The description of the Redshift Subnet group. Defaults to "Managed by Pulumi". Description pulumi.StringOutput `pulumi:"description"` // The name of the Redshift Subnet group. Name pulumi.StringOutput `pulumi:"name"` // An array of VPC subnet IDs. SubnetIds pulumi.StringArrayOutput `pulumi:"subnetIds"` // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Creates a new Amazon Redshift subnet group. You must provide a list of one or more subnets in your existing Amazon Virtual Private Cloud (Amazon VPC) when creating Amazon Redshift subnet group.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/redshift" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { fooVpc, err := ec2.NewVpc(ctx, "fooVpc", &ec2.VpcArgs{ CidrBlock: pulumi.String("10.1.0.0/16"), }) if err != nil { return err } fooSubnet, err := ec2.NewSubnet(ctx, "fooSubnet", &ec2.SubnetArgs{ CidrBlock: pulumi.String("10.1.1.0/24"), AvailabilityZone: pulumi.String("us-west-2a"), VpcId: fooVpc.ID(), Tags: pulumi.StringMap{ "Name": pulumi.String("tf-dbsubnet-test-1"), }, }) if err != nil { return err } bar, err := ec2.NewSubnet(ctx, "bar", &ec2.SubnetArgs{ CidrBlock: pulumi.String("10.1.2.0/24"), AvailabilityZone: pulumi.String("us-west-2b"), VpcId: fooVpc.ID(), Tags: pulumi.StringMap{ "Name": pulumi.String("tf-dbsubnet-test-2"), }, }) if err != nil { return err } _, err = redshift.NewSubnetGroup(ctx, "fooSubnetGroup", &redshift.SubnetGroupArgs{ SubnetIds: pulumi.StringArray{ fooSubnet.ID(), bar.ID(), }, Tags: pulumi.StringMap{ "environment": pulumi.String("Production"), }, }) if err != nil { return err } return nil }) }
```
## Import
Redshift subnet groups can be imported using the `name`, e.g.,
```sh
$ pulumi import aws:redshift/subnetGroup:SubnetGroup testgroup1 test-cluster-subnet-group
```
func GetSubnetGroup ¶
func GetSubnetGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SubnetGroupState, opts ...pulumi.ResourceOption) (*SubnetGroup, error)
GetSubnetGroup gets an existing SubnetGroup resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewSubnetGroup ¶
func NewSubnetGroup(ctx *pulumi.Context, name string, args *SubnetGroupArgs, opts ...pulumi.ResourceOption) (*SubnetGroup, error)
NewSubnetGroup registers a new resource with the given unique name, arguments, and options.
func (*SubnetGroup) ElementType ¶
func (*SubnetGroup) ElementType() reflect.Type
func (*SubnetGroup) ToSubnetGroupOutput ¶
func (i *SubnetGroup) ToSubnetGroupOutput() SubnetGroupOutput
func (*SubnetGroup) ToSubnetGroupOutputWithContext ¶
func (i *SubnetGroup) ToSubnetGroupOutputWithContext(ctx context.Context) SubnetGroupOutput
func (*SubnetGroup) ToSubnetGroupPtrOutput ¶
func (i *SubnetGroup) ToSubnetGroupPtrOutput() SubnetGroupPtrOutput
func (*SubnetGroup) ToSubnetGroupPtrOutputWithContext ¶
func (i *SubnetGroup) ToSubnetGroupPtrOutputWithContext(ctx context.Context) SubnetGroupPtrOutput
type SubnetGroupArgs ¶
type SubnetGroupArgs struct { // The description of the Redshift Subnet group. Defaults to "Managed by Pulumi". Description pulumi.StringPtrInput // The name of the Redshift Subnet group. Name pulumi.StringPtrInput // An array of VPC subnet IDs. SubnetIds pulumi.StringArrayInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a SubnetGroup resource.
func (SubnetGroupArgs) ElementType ¶
func (SubnetGroupArgs) ElementType() reflect.Type
type SubnetGroupArray ¶
type SubnetGroupArray []SubnetGroupInput
func (SubnetGroupArray) ElementType ¶
func (SubnetGroupArray) ElementType() reflect.Type
func (SubnetGroupArray) ToSubnetGroupArrayOutput ¶
func (i SubnetGroupArray) ToSubnetGroupArrayOutput() SubnetGroupArrayOutput
func (SubnetGroupArray) ToSubnetGroupArrayOutputWithContext ¶
func (i SubnetGroupArray) ToSubnetGroupArrayOutputWithContext(ctx context.Context) SubnetGroupArrayOutput
type SubnetGroupArrayInput ¶
type SubnetGroupArrayInput interface { pulumi.Input ToSubnetGroupArrayOutput() SubnetGroupArrayOutput ToSubnetGroupArrayOutputWithContext(context.Context) SubnetGroupArrayOutput }
SubnetGroupArrayInput is an input type that accepts SubnetGroupArray and SubnetGroupArrayOutput values. You can construct a concrete instance of `SubnetGroupArrayInput` via:
SubnetGroupArray{ SubnetGroupArgs{...} }
type SubnetGroupArrayOutput ¶
type SubnetGroupArrayOutput struct{ *pulumi.OutputState }
func (SubnetGroupArrayOutput) ElementType ¶
func (SubnetGroupArrayOutput) ElementType() reflect.Type
func (SubnetGroupArrayOutput) Index ¶
func (o SubnetGroupArrayOutput) Index(i pulumi.IntInput) SubnetGroupOutput
func (SubnetGroupArrayOutput) ToSubnetGroupArrayOutput ¶
func (o SubnetGroupArrayOutput) ToSubnetGroupArrayOutput() SubnetGroupArrayOutput
func (SubnetGroupArrayOutput) ToSubnetGroupArrayOutputWithContext ¶
func (o SubnetGroupArrayOutput) ToSubnetGroupArrayOutputWithContext(ctx context.Context) SubnetGroupArrayOutput
type SubnetGroupInput ¶
type SubnetGroupInput interface { pulumi.Input ToSubnetGroupOutput() SubnetGroupOutput ToSubnetGroupOutputWithContext(ctx context.Context) SubnetGroupOutput }
type SubnetGroupMap ¶
type SubnetGroupMap map[string]SubnetGroupInput
func (SubnetGroupMap) ElementType ¶
func (SubnetGroupMap) ElementType() reflect.Type
func (SubnetGroupMap) ToSubnetGroupMapOutput ¶
func (i SubnetGroupMap) ToSubnetGroupMapOutput() SubnetGroupMapOutput
func (SubnetGroupMap) ToSubnetGroupMapOutputWithContext ¶
func (i SubnetGroupMap) ToSubnetGroupMapOutputWithContext(ctx context.Context) SubnetGroupMapOutput
type SubnetGroupMapInput ¶
type SubnetGroupMapInput interface { pulumi.Input ToSubnetGroupMapOutput() SubnetGroupMapOutput ToSubnetGroupMapOutputWithContext(context.Context) SubnetGroupMapOutput }
SubnetGroupMapInput is an input type that accepts SubnetGroupMap and SubnetGroupMapOutput values. You can construct a concrete instance of `SubnetGroupMapInput` via:
SubnetGroupMap{ "key": SubnetGroupArgs{...} }
type SubnetGroupMapOutput ¶
type SubnetGroupMapOutput struct{ *pulumi.OutputState }
func (SubnetGroupMapOutput) ElementType ¶
func (SubnetGroupMapOutput) ElementType() reflect.Type
func (SubnetGroupMapOutput) MapIndex ¶
func (o SubnetGroupMapOutput) MapIndex(k pulumi.StringInput) SubnetGroupOutput
func (SubnetGroupMapOutput) ToSubnetGroupMapOutput ¶
func (o SubnetGroupMapOutput) ToSubnetGroupMapOutput() SubnetGroupMapOutput
func (SubnetGroupMapOutput) ToSubnetGroupMapOutputWithContext ¶
func (o SubnetGroupMapOutput) ToSubnetGroupMapOutputWithContext(ctx context.Context) SubnetGroupMapOutput
type SubnetGroupOutput ¶
type SubnetGroupOutput struct{ *pulumi.OutputState }
func (SubnetGroupOutput) ElementType ¶
func (SubnetGroupOutput) ElementType() reflect.Type
func (SubnetGroupOutput) ToSubnetGroupOutput ¶
func (o SubnetGroupOutput) ToSubnetGroupOutput() SubnetGroupOutput
func (SubnetGroupOutput) ToSubnetGroupOutputWithContext ¶
func (o SubnetGroupOutput) ToSubnetGroupOutputWithContext(ctx context.Context) SubnetGroupOutput
func (SubnetGroupOutput) ToSubnetGroupPtrOutput ¶
func (o SubnetGroupOutput) ToSubnetGroupPtrOutput() SubnetGroupPtrOutput
func (SubnetGroupOutput) ToSubnetGroupPtrOutputWithContext ¶
func (o SubnetGroupOutput) ToSubnetGroupPtrOutputWithContext(ctx context.Context) SubnetGroupPtrOutput
type SubnetGroupPtrInput ¶
type SubnetGroupPtrInput interface { pulumi.Input ToSubnetGroupPtrOutput() SubnetGroupPtrOutput ToSubnetGroupPtrOutputWithContext(ctx context.Context) SubnetGroupPtrOutput }
type SubnetGroupPtrOutput ¶
type SubnetGroupPtrOutput struct{ *pulumi.OutputState }
func (SubnetGroupPtrOutput) Elem ¶ added in v4.15.0
func (o SubnetGroupPtrOutput) Elem() SubnetGroupOutput
func (SubnetGroupPtrOutput) ElementType ¶
func (SubnetGroupPtrOutput) ElementType() reflect.Type
func (SubnetGroupPtrOutput) ToSubnetGroupPtrOutput ¶
func (o SubnetGroupPtrOutput) ToSubnetGroupPtrOutput() SubnetGroupPtrOutput
func (SubnetGroupPtrOutput) ToSubnetGroupPtrOutputWithContext ¶
func (o SubnetGroupPtrOutput) ToSubnetGroupPtrOutputWithContext(ctx context.Context) SubnetGroupPtrOutput
type SubnetGroupState ¶
type SubnetGroupState struct { // Amazon Resource Name (ARN) of the Redshift Subnet group name Arn pulumi.StringPtrInput // The description of the Redshift Subnet group. Defaults to "Managed by Pulumi". Description pulumi.StringPtrInput // The name of the Redshift Subnet group. Name pulumi.StringPtrInput // An array of VPC subnet IDs. SubnetIds pulumi.StringArrayInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapInput }
func (SubnetGroupState) ElementType ¶
func (SubnetGroupState) ElementType() reflect.Type