Documentation ¶
Index ¶
- Constants
- func PkgVersion() (semver.Version, error)
- type Cluster
- type ClusterActivityStream
- type ClusterActivityStreamArgs
- type ClusterActivityStreamArray
- func (ClusterActivityStreamArray) ElementType() reflect.Type
- func (i ClusterActivityStreamArray) ToClusterActivityStreamArrayOutput() ClusterActivityStreamArrayOutput
- func (i ClusterActivityStreamArray) ToClusterActivityStreamArrayOutputWithContext(ctx context.Context) ClusterActivityStreamArrayOutput
- type ClusterActivityStreamArrayInput
- type ClusterActivityStreamArrayOutput
- func (ClusterActivityStreamArrayOutput) ElementType() reflect.Type
- func (o ClusterActivityStreamArrayOutput) Index(i pulumi.IntInput) ClusterActivityStreamOutput
- func (o ClusterActivityStreamArrayOutput) ToClusterActivityStreamArrayOutput() ClusterActivityStreamArrayOutput
- func (o ClusterActivityStreamArrayOutput) ToClusterActivityStreamArrayOutputWithContext(ctx context.Context) ClusterActivityStreamArrayOutput
- type ClusterActivityStreamInput
- type ClusterActivityStreamMap
- type ClusterActivityStreamMapInput
- type ClusterActivityStreamMapOutput
- func (ClusterActivityStreamMapOutput) ElementType() reflect.Type
- func (o ClusterActivityStreamMapOutput) MapIndex(k pulumi.StringInput) ClusterActivityStreamOutput
- func (o ClusterActivityStreamMapOutput) ToClusterActivityStreamMapOutput() ClusterActivityStreamMapOutput
- func (o ClusterActivityStreamMapOutput) ToClusterActivityStreamMapOutputWithContext(ctx context.Context) ClusterActivityStreamMapOutput
- type ClusterActivityStreamOutput
- func (ClusterActivityStreamOutput) ElementType() reflect.Type
- func (o ClusterActivityStreamOutput) EngineNativeAuditFieldsIncluded() pulumi.BoolPtrOutput
- func (o ClusterActivityStreamOutput) KinesisStreamName() pulumi.StringOutput
- func (o ClusterActivityStreamOutput) KmsKeyId() pulumi.StringOutput
- func (o ClusterActivityStreamOutput) Mode() pulumi.StringOutput
- func (o ClusterActivityStreamOutput) ResourceArn() pulumi.StringOutput
- func (o ClusterActivityStreamOutput) ToClusterActivityStreamOutput() ClusterActivityStreamOutput
- func (o ClusterActivityStreamOutput) ToClusterActivityStreamOutputWithContext(ctx context.Context) ClusterActivityStreamOutput
- type ClusterActivityStreamState
- type ClusterArgs
- type ClusterArray
- type ClusterArrayInput
- type ClusterArrayOutput
- type ClusterEndpoint
- type ClusterEndpointArgs
- type ClusterEndpointArray
- type ClusterEndpointArrayInput
- type ClusterEndpointArrayOutput
- func (ClusterEndpointArrayOutput) ElementType() reflect.Type
- func (o ClusterEndpointArrayOutput) Index(i pulumi.IntInput) ClusterEndpointOutput
- func (o ClusterEndpointArrayOutput) ToClusterEndpointArrayOutput() ClusterEndpointArrayOutput
- func (o ClusterEndpointArrayOutput) ToClusterEndpointArrayOutputWithContext(ctx context.Context) ClusterEndpointArrayOutput
- type ClusterEndpointInput
- type ClusterEndpointMap
- type ClusterEndpointMapInput
- type ClusterEndpointMapOutput
- func (ClusterEndpointMapOutput) ElementType() reflect.Type
- func (o ClusterEndpointMapOutput) MapIndex(k pulumi.StringInput) ClusterEndpointOutput
- func (o ClusterEndpointMapOutput) ToClusterEndpointMapOutput() ClusterEndpointMapOutput
- func (o ClusterEndpointMapOutput) ToClusterEndpointMapOutputWithContext(ctx context.Context) ClusterEndpointMapOutput
- type ClusterEndpointOutput
- func (o ClusterEndpointOutput) Arn() pulumi.StringOutput
- func (o ClusterEndpointOutput) ClusterEndpointIdentifier() pulumi.StringOutput
- func (o ClusterEndpointOutput) ClusterIdentifier() pulumi.StringOutput
- func (o ClusterEndpointOutput) CustomEndpointType() pulumi.StringOutput
- func (ClusterEndpointOutput) ElementType() reflect.Type
- func (o ClusterEndpointOutput) Endpoint() pulumi.StringOutput
- func (o ClusterEndpointOutput) ExcludedMembers() pulumi.StringArrayOutput
- func (o ClusterEndpointOutput) StaticMembers() pulumi.StringArrayOutput
- func (o ClusterEndpointOutput) Tags() pulumi.StringMapOutput
- func (o ClusterEndpointOutput) TagsAll() pulumi.StringMapOutput
- func (o ClusterEndpointOutput) ToClusterEndpointOutput() ClusterEndpointOutput
- func (o ClusterEndpointOutput) ToClusterEndpointOutputWithContext(ctx context.Context) ClusterEndpointOutput
- type ClusterEndpointState
- type ClusterInput
- type ClusterInstance
- type ClusterInstanceArgs
- type ClusterInstanceArray
- type ClusterInstanceArrayInput
- type ClusterInstanceArrayOutput
- func (ClusterInstanceArrayOutput) ElementType() reflect.Type
- func (o ClusterInstanceArrayOutput) Index(i pulumi.IntInput) ClusterInstanceOutput
- func (o ClusterInstanceArrayOutput) ToClusterInstanceArrayOutput() ClusterInstanceArrayOutput
- func (o ClusterInstanceArrayOutput) ToClusterInstanceArrayOutputWithContext(ctx context.Context) ClusterInstanceArrayOutput
- type ClusterInstanceInput
- type ClusterInstanceMap
- type ClusterInstanceMapInput
- type ClusterInstanceMapOutput
- func (ClusterInstanceMapOutput) ElementType() reflect.Type
- func (o ClusterInstanceMapOutput) MapIndex(k pulumi.StringInput) ClusterInstanceOutput
- func (o ClusterInstanceMapOutput) ToClusterInstanceMapOutput() ClusterInstanceMapOutput
- func (o ClusterInstanceMapOutput) ToClusterInstanceMapOutputWithContext(ctx context.Context) ClusterInstanceMapOutput
- type ClusterInstanceOutput
- func (o ClusterInstanceOutput) ApplyImmediately() pulumi.BoolOutput
- func (o ClusterInstanceOutput) Arn() pulumi.StringOutput
- func (o ClusterInstanceOutput) AutoMinorVersionUpgrade() pulumi.BoolPtrOutput
- func (o ClusterInstanceOutput) AvailabilityZone() pulumi.StringOutput
- func (o ClusterInstanceOutput) CaCertIdentifier() pulumi.StringOutput
- func (o ClusterInstanceOutput) ClusterIdentifier() pulumi.StringOutput
- func (o ClusterInstanceOutput) CopyTagsToSnapshot() pulumi.BoolPtrOutput
- func (o ClusterInstanceOutput) DbParameterGroupName() pulumi.StringOutput
- func (o ClusterInstanceOutput) DbSubnetGroupName() pulumi.StringOutput
- func (o ClusterInstanceOutput) DbiResourceId() pulumi.StringOutput
- func (ClusterInstanceOutput) ElementType() reflect.Type
- func (o ClusterInstanceOutput) Endpoint() pulumi.StringOutput
- func (o ClusterInstanceOutput) Engine() pulumi.StringPtrOutput
- func (o ClusterInstanceOutput) EngineVersion() pulumi.StringOutput
- func (o ClusterInstanceOutput) EngineVersionActual() pulumi.StringOutput
- func (o ClusterInstanceOutput) Identifier() pulumi.StringOutput
- func (o ClusterInstanceOutput) IdentifierPrefix() pulumi.StringOutput
- func (o ClusterInstanceOutput) InstanceClass() pulumi.StringOutput
- func (o ClusterInstanceOutput) KmsKeyId() pulumi.StringOutput
- func (o ClusterInstanceOutput) MonitoringInterval() pulumi.IntPtrOutput
- func (o ClusterInstanceOutput) MonitoringRoleArn() pulumi.StringOutput
- func (o ClusterInstanceOutput) NetworkType() pulumi.StringOutput
- func (o ClusterInstanceOutput) PerformanceInsightsEnabled() pulumi.BoolOutput
- func (o ClusterInstanceOutput) PerformanceInsightsKmsKeyId() pulumi.StringOutput
- func (o ClusterInstanceOutput) PerformanceInsightsRetentionPeriod() pulumi.IntOutput
- func (o ClusterInstanceOutput) Port() pulumi.IntOutput
- func (o ClusterInstanceOutput) PreferredBackupWindow() pulumi.StringOutput
- func (o ClusterInstanceOutput) PreferredMaintenanceWindow() pulumi.StringOutput
- func (o ClusterInstanceOutput) PromotionTier() pulumi.IntPtrOutput
- func (o ClusterInstanceOutput) PubliclyAccessible() pulumi.BoolPtrOutput
- func (o ClusterInstanceOutput) StorageEncrypted() pulumi.BoolOutput
- func (o ClusterInstanceOutput) Tags() pulumi.StringMapOutput
- func (o ClusterInstanceOutput) TagsAll() pulumi.StringMapOutput
- func (o ClusterInstanceOutput) ToClusterInstanceOutput() ClusterInstanceOutput
- func (o ClusterInstanceOutput) ToClusterInstanceOutputWithContext(ctx context.Context) ClusterInstanceOutput
- func (o ClusterInstanceOutput) Writer() pulumi.BoolOutput
- type ClusterInstanceState
- type ClusterMap
- type ClusterMapInput
- type ClusterMapOutput
- type ClusterOutput
- func (o ClusterOutput) AllocatedStorage() pulumi.IntOutput
- func (o ClusterOutput) AllowMajorVersionUpgrade() pulumi.BoolPtrOutput
- func (o ClusterOutput) ApplyImmediately() pulumi.BoolOutput
- func (o ClusterOutput) Arn() pulumi.StringOutput
- func (o ClusterOutput) AvailabilityZones() pulumi.StringArrayOutput
- func (o ClusterOutput) BacktrackWindow() pulumi.IntPtrOutput
- func (o ClusterOutput) BackupRetentionPeriod() pulumi.IntPtrOutput
- func (o ClusterOutput) ClusterIdentifier() pulumi.StringOutput
- func (o ClusterOutput) ClusterIdentifierPrefix() pulumi.StringOutput
- func (o ClusterOutput) ClusterMembers() pulumi.StringArrayOutput
- func (o ClusterOutput) ClusterResourceId() pulumi.StringOutput
- func (o ClusterOutput) CopyTagsToSnapshot() pulumi.BoolPtrOutput
- func (o ClusterOutput) DatabaseName() pulumi.StringOutput
- func (o ClusterOutput) DbClusterInstanceClass() pulumi.StringPtrOutput
- func (o ClusterOutput) DbClusterParameterGroupName() pulumi.StringOutput
- func (o ClusterOutput) DbInstanceParameterGroupName() pulumi.StringPtrOutput
- func (o ClusterOutput) DbSubnetGroupName() pulumi.StringOutput
- func (o ClusterOutput) DeletionProtection() pulumi.BoolPtrOutput
- func (ClusterOutput) ElementType() reflect.Type
- func (o ClusterOutput) EnableGlobalWriteForwarding() pulumi.BoolPtrOutput
- func (o ClusterOutput) EnableHttpEndpoint() pulumi.BoolPtrOutput
- func (o ClusterOutput) EnabledCloudwatchLogsExports() pulumi.StringArrayOutput
- func (o ClusterOutput) Endpoint() pulumi.StringOutput
- func (o ClusterOutput) Engine() pulumi.StringPtrOutput
- func (o ClusterOutput) EngineMode() pulumi.StringPtrOutput
- func (o ClusterOutput) EngineVersion() pulumi.StringOutput
- func (o ClusterOutput) EngineVersionActual() pulumi.StringOutput
- func (o ClusterOutput) FinalSnapshotIdentifier() pulumi.StringPtrOutput
- func (o ClusterOutput) GlobalClusterIdentifier() pulumi.StringPtrOutput
- func (o ClusterOutput) HostedZoneId() pulumi.StringOutput
- func (o ClusterOutput) IamDatabaseAuthenticationEnabled() pulumi.BoolPtrOutput
- func (o ClusterOutput) IamRoles() pulumi.StringArrayOutput
- func (o ClusterOutput) Iops() pulumi.IntPtrOutput
- func (o ClusterOutput) KmsKeyId() pulumi.StringOutput
- func (o ClusterOutput) MasterPassword() pulumi.StringPtrOutput
- func (o ClusterOutput) MasterUsername() pulumi.StringOutput
- func (o ClusterOutput) NetworkType() pulumi.StringOutput
- func (o ClusterOutput) Port() pulumi.IntOutput
- func (o ClusterOutput) PreferredBackupWindow() pulumi.StringOutput
- func (o ClusterOutput) PreferredMaintenanceWindow() pulumi.StringOutput
- func (o ClusterOutput) ReaderEndpoint() pulumi.StringOutput
- func (o ClusterOutput) ReplicationSourceIdentifier() pulumi.StringPtrOutput
- func (o ClusterOutput) RestoreToPointInTime() ClusterRestoreToPointInTimePtrOutput
- func (o ClusterOutput) S3Import() ClusterS3ImportPtrOutput
- func (o ClusterOutput) ScalingConfiguration() ClusterScalingConfigurationPtrOutput
- func (o ClusterOutput) Serverlessv2ScalingConfiguration() ClusterServerlessv2ScalingConfigurationPtrOutput
- func (o ClusterOutput) SkipFinalSnapshot() pulumi.BoolPtrOutput
- func (o ClusterOutput) SnapshotIdentifier() pulumi.StringPtrOutput
- func (o ClusterOutput) SourceRegion() pulumi.StringPtrOutput
- func (o ClusterOutput) StorageEncrypted() pulumi.BoolOutput
- func (o ClusterOutput) StorageType() pulumi.StringPtrOutput
- func (o ClusterOutput) Tags() pulumi.StringMapOutput
- func (o ClusterOutput) TagsAll() pulumi.StringMapOutput
- func (o ClusterOutput) ToClusterOutput() ClusterOutput
- func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
- func (o ClusterOutput) VpcSecurityGroupIds() pulumi.StringArrayOutput
- type ClusterParameterGroup
- type ClusterParameterGroupArgs
- type ClusterParameterGroupArray
- func (ClusterParameterGroupArray) ElementType() reflect.Type
- func (i ClusterParameterGroupArray) ToClusterParameterGroupArrayOutput() ClusterParameterGroupArrayOutput
- func (i ClusterParameterGroupArray) ToClusterParameterGroupArrayOutputWithContext(ctx context.Context) ClusterParameterGroupArrayOutput
- type ClusterParameterGroupArrayInput
- type ClusterParameterGroupArrayOutput
- func (ClusterParameterGroupArrayOutput) ElementType() reflect.Type
- func (o ClusterParameterGroupArrayOutput) Index(i pulumi.IntInput) ClusterParameterGroupOutput
- func (o ClusterParameterGroupArrayOutput) ToClusterParameterGroupArrayOutput() ClusterParameterGroupArrayOutput
- func (o ClusterParameterGroupArrayOutput) ToClusterParameterGroupArrayOutputWithContext(ctx context.Context) ClusterParameterGroupArrayOutput
- type ClusterParameterGroupInput
- type ClusterParameterGroupMap
- type ClusterParameterGroupMapInput
- type ClusterParameterGroupMapOutput
- func (ClusterParameterGroupMapOutput) ElementType() reflect.Type
- func (o ClusterParameterGroupMapOutput) MapIndex(k pulumi.StringInput) ClusterParameterGroupOutput
- func (o ClusterParameterGroupMapOutput) ToClusterParameterGroupMapOutput() ClusterParameterGroupMapOutput
- func (o ClusterParameterGroupMapOutput) ToClusterParameterGroupMapOutputWithContext(ctx context.Context) ClusterParameterGroupMapOutput
- type ClusterParameterGroupOutput
- func (o ClusterParameterGroupOutput) Arn() pulumi.StringOutput
- func (o ClusterParameterGroupOutput) Description() pulumi.StringOutput
- func (ClusterParameterGroupOutput) ElementType() reflect.Type
- func (o ClusterParameterGroupOutput) Family() pulumi.StringOutput
- func (o ClusterParameterGroupOutput) Name() pulumi.StringOutput
- func (o ClusterParameterGroupOutput) NamePrefix() pulumi.StringOutput
- func (o ClusterParameterGroupOutput) Parameters() ClusterParameterGroupParameterArrayOutput
- func (o ClusterParameterGroupOutput) Tags() pulumi.StringMapOutput
- func (o ClusterParameterGroupOutput) TagsAll() pulumi.StringMapOutput
- func (o ClusterParameterGroupOutput) ToClusterParameterGroupOutput() ClusterParameterGroupOutput
- func (o ClusterParameterGroupOutput) ToClusterParameterGroupOutputWithContext(ctx context.Context) ClusterParameterGroupOutput
- type ClusterParameterGroupParameter
- type ClusterParameterGroupParameterArgs
- func (ClusterParameterGroupParameterArgs) ElementType() reflect.Type
- func (i ClusterParameterGroupParameterArgs) ToClusterParameterGroupParameterOutput() ClusterParameterGroupParameterOutput
- func (i ClusterParameterGroupParameterArgs) ToClusterParameterGroupParameterOutputWithContext(ctx context.Context) ClusterParameterGroupParameterOutput
- type ClusterParameterGroupParameterArray
- func (ClusterParameterGroupParameterArray) ElementType() reflect.Type
- func (i ClusterParameterGroupParameterArray) ToClusterParameterGroupParameterArrayOutput() ClusterParameterGroupParameterArrayOutput
- func (i ClusterParameterGroupParameterArray) ToClusterParameterGroupParameterArrayOutputWithContext(ctx context.Context) ClusterParameterGroupParameterArrayOutput
- type ClusterParameterGroupParameterArrayInput
- type ClusterParameterGroupParameterArrayOutput
- func (ClusterParameterGroupParameterArrayOutput) ElementType() reflect.Type
- func (o ClusterParameterGroupParameterArrayOutput) Index(i pulumi.IntInput) ClusterParameterGroupParameterOutput
- func (o ClusterParameterGroupParameterArrayOutput) ToClusterParameterGroupParameterArrayOutput() ClusterParameterGroupParameterArrayOutput
- func (o ClusterParameterGroupParameterArrayOutput) ToClusterParameterGroupParameterArrayOutputWithContext(ctx context.Context) ClusterParameterGroupParameterArrayOutput
- type ClusterParameterGroupParameterInput
- type ClusterParameterGroupParameterOutput
- func (o ClusterParameterGroupParameterOutput) ApplyMethod() pulumi.StringPtrOutput
- func (ClusterParameterGroupParameterOutput) ElementType() reflect.Type
- func (o ClusterParameterGroupParameterOutput) Name() pulumi.StringOutput
- func (o ClusterParameterGroupParameterOutput) ToClusterParameterGroupParameterOutput() ClusterParameterGroupParameterOutput
- func (o ClusterParameterGroupParameterOutput) ToClusterParameterGroupParameterOutputWithContext(ctx context.Context) ClusterParameterGroupParameterOutput
- func (o ClusterParameterGroupParameterOutput) Value() pulumi.StringOutput
- type ClusterParameterGroupState
- type ClusterRestoreToPointInTime
- type ClusterRestoreToPointInTimeArgs
- func (ClusterRestoreToPointInTimeArgs) ElementType() reflect.Type
- func (i ClusterRestoreToPointInTimeArgs) ToClusterRestoreToPointInTimeOutput() ClusterRestoreToPointInTimeOutput
- func (i ClusterRestoreToPointInTimeArgs) ToClusterRestoreToPointInTimeOutputWithContext(ctx context.Context) ClusterRestoreToPointInTimeOutput
- func (i ClusterRestoreToPointInTimeArgs) ToClusterRestoreToPointInTimePtrOutput() ClusterRestoreToPointInTimePtrOutput
- func (i ClusterRestoreToPointInTimeArgs) ToClusterRestoreToPointInTimePtrOutputWithContext(ctx context.Context) ClusterRestoreToPointInTimePtrOutput
- type ClusterRestoreToPointInTimeInput
- type ClusterRestoreToPointInTimeOutput
- func (ClusterRestoreToPointInTimeOutput) ElementType() reflect.Type
- func (o ClusterRestoreToPointInTimeOutput) RestoreToTime() pulumi.StringPtrOutput
- func (o ClusterRestoreToPointInTimeOutput) RestoreType() pulumi.StringPtrOutput
- func (o ClusterRestoreToPointInTimeOutput) SourceClusterIdentifier() pulumi.StringOutput
- func (o ClusterRestoreToPointInTimeOutput) ToClusterRestoreToPointInTimeOutput() ClusterRestoreToPointInTimeOutput
- func (o ClusterRestoreToPointInTimeOutput) ToClusterRestoreToPointInTimeOutputWithContext(ctx context.Context) ClusterRestoreToPointInTimeOutput
- func (o ClusterRestoreToPointInTimeOutput) ToClusterRestoreToPointInTimePtrOutput() ClusterRestoreToPointInTimePtrOutput
- func (o ClusterRestoreToPointInTimeOutput) ToClusterRestoreToPointInTimePtrOutputWithContext(ctx context.Context) ClusterRestoreToPointInTimePtrOutput
- func (o ClusterRestoreToPointInTimeOutput) UseLatestRestorableTime() pulumi.BoolPtrOutput
- type ClusterRestoreToPointInTimePtrInput
- type ClusterRestoreToPointInTimePtrOutput
- func (o ClusterRestoreToPointInTimePtrOutput) Elem() ClusterRestoreToPointInTimeOutput
- func (ClusterRestoreToPointInTimePtrOutput) ElementType() reflect.Type
- func (o ClusterRestoreToPointInTimePtrOutput) RestoreToTime() pulumi.StringPtrOutput
- func (o ClusterRestoreToPointInTimePtrOutput) RestoreType() pulumi.StringPtrOutput
- func (o ClusterRestoreToPointInTimePtrOutput) SourceClusterIdentifier() pulumi.StringPtrOutput
- func (o ClusterRestoreToPointInTimePtrOutput) ToClusterRestoreToPointInTimePtrOutput() ClusterRestoreToPointInTimePtrOutput
- func (o ClusterRestoreToPointInTimePtrOutput) ToClusterRestoreToPointInTimePtrOutputWithContext(ctx context.Context) ClusterRestoreToPointInTimePtrOutput
- func (o ClusterRestoreToPointInTimePtrOutput) UseLatestRestorableTime() pulumi.BoolPtrOutput
- type ClusterRoleAssociation
- type ClusterRoleAssociationArgs
- type ClusterRoleAssociationArray
- func (ClusterRoleAssociationArray) ElementType() reflect.Type
- func (i ClusterRoleAssociationArray) ToClusterRoleAssociationArrayOutput() ClusterRoleAssociationArrayOutput
- func (i ClusterRoleAssociationArray) ToClusterRoleAssociationArrayOutputWithContext(ctx context.Context) ClusterRoleAssociationArrayOutput
- type ClusterRoleAssociationArrayInput
- type ClusterRoleAssociationArrayOutput
- func (ClusterRoleAssociationArrayOutput) ElementType() reflect.Type
- func (o ClusterRoleAssociationArrayOutput) Index(i pulumi.IntInput) ClusterRoleAssociationOutput
- func (o ClusterRoleAssociationArrayOutput) ToClusterRoleAssociationArrayOutput() ClusterRoleAssociationArrayOutput
- func (o ClusterRoleAssociationArrayOutput) ToClusterRoleAssociationArrayOutputWithContext(ctx context.Context) ClusterRoleAssociationArrayOutput
- type ClusterRoleAssociationInput
- type ClusterRoleAssociationMap
- type ClusterRoleAssociationMapInput
- type ClusterRoleAssociationMapOutput
- func (ClusterRoleAssociationMapOutput) ElementType() reflect.Type
- func (o ClusterRoleAssociationMapOutput) MapIndex(k pulumi.StringInput) ClusterRoleAssociationOutput
- func (o ClusterRoleAssociationMapOutput) ToClusterRoleAssociationMapOutput() ClusterRoleAssociationMapOutput
- func (o ClusterRoleAssociationMapOutput) ToClusterRoleAssociationMapOutputWithContext(ctx context.Context) ClusterRoleAssociationMapOutput
- type ClusterRoleAssociationOutput
- func (o ClusterRoleAssociationOutput) DbClusterIdentifier() pulumi.StringOutput
- func (ClusterRoleAssociationOutput) ElementType() reflect.Type
- func (o ClusterRoleAssociationOutput) FeatureName() pulumi.StringOutput
- func (o ClusterRoleAssociationOutput) RoleArn() pulumi.StringOutput
- func (o ClusterRoleAssociationOutput) ToClusterRoleAssociationOutput() ClusterRoleAssociationOutput
- func (o ClusterRoleAssociationOutput) ToClusterRoleAssociationOutputWithContext(ctx context.Context) ClusterRoleAssociationOutput
- type ClusterRoleAssociationState
- type ClusterS3Import
- type ClusterS3ImportArgs
- func (ClusterS3ImportArgs) ElementType() reflect.Type
- func (i ClusterS3ImportArgs) ToClusterS3ImportOutput() ClusterS3ImportOutput
- func (i ClusterS3ImportArgs) ToClusterS3ImportOutputWithContext(ctx context.Context) ClusterS3ImportOutput
- func (i ClusterS3ImportArgs) ToClusterS3ImportPtrOutput() ClusterS3ImportPtrOutput
- func (i ClusterS3ImportArgs) ToClusterS3ImportPtrOutputWithContext(ctx context.Context) ClusterS3ImportPtrOutput
- type ClusterS3ImportInput
- type ClusterS3ImportOutput
- func (o ClusterS3ImportOutput) BucketName() pulumi.StringOutput
- func (o ClusterS3ImportOutput) BucketPrefix() pulumi.StringPtrOutput
- func (ClusterS3ImportOutput) ElementType() reflect.Type
- func (o ClusterS3ImportOutput) IngestionRole() pulumi.StringOutput
- func (o ClusterS3ImportOutput) SourceEngine() pulumi.StringOutput
- func (o ClusterS3ImportOutput) SourceEngineVersion() pulumi.StringOutput
- func (o ClusterS3ImportOutput) ToClusterS3ImportOutput() ClusterS3ImportOutput
- func (o ClusterS3ImportOutput) ToClusterS3ImportOutputWithContext(ctx context.Context) ClusterS3ImportOutput
- func (o ClusterS3ImportOutput) ToClusterS3ImportPtrOutput() ClusterS3ImportPtrOutput
- func (o ClusterS3ImportOutput) ToClusterS3ImportPtrOutputWithContext(ctx context.Context) ClusterS3ImportPtrOutput
- type ClusterS3ImportPtrInput
- type ClusterS3ImportPtrOutput
- func (o ClusterS3ImportPtrOutput) BucketName() pulumi.StringPtrOutput
- func (o ClusterS3ImportPtrOutput) BucketPrefix() pulumi.StringPtrOutput
- func (o ClusterS3ImportPtrOutput) Elem() ClusterS3ImportOutput
- func (ClusterS3ImportPtrOutput) ElementType() reflect.Type
- func (o ClusterS3ImportPtrOutput) IngestionRole() pulumi.StringPtrOutput
- func (o ClusterS3ImportPtrOutput) SourceEngine() pulumi.StringPtrOutput
- func (o ClusterS3ImportPtrOutput) SourceEngineVersion() pulumi.StringPtrOutput
- func (o ClusterS3ImportPtrOutput) ToClusterS3ImportPtrOutput() ClusterS3ImportPtrOutput
- func (o ClusterS3ImportPtrOutput) ToClusterS3ImportPtrOutputWithContext(ctx context.Context) ClusterS3ImportPtrOutput
- type ClusterScalingConfiguration
- type ClusterScalingConfigurationArgs
- func (ClusterScalingConfigurationArgs) ElementType() reflect.Type
- func (i ClusterScalingConfigurationArgs) ToClusterScalingConfigurationOutput() ClusterScalingConfigurationOutput
- func (i ClusterScalingConfigurationArgs) ToClusterScalingConfigurationOutputWithContext(ctx context.Context) ClusterScalingConfigurationOutput
- func (i ClusterScalingConfigurationArgs) ToClusterScalingConfigurationPtrOutput() ClusterScalingConfigurationPtrOutput
- func (i ClusterScalingConfigurationArgs) ToClusterScalingConfigurationPtrOutputWithContext(ctx context.Context) ClusterScalingConfigurationPtrOutput
- type ClusterScalingConfigurationInput
- type ClusterScalingConfigurationOutput
- func (o ClusterScalingConfigurationOutput) AutoPause() pulumi.BoolPtrOutput
- func (ClusterScalingConfigurationOutput) ElementType() reflect.Type
- func (o ClusterScalingConfigurationOutput) MaxCapacity() pulumi.IntPtrOutput
- func (o ClusterScalingConfigurationOutput) MinCapacity() pulumi.IntPtrOutput
- func (o ClusterScalingConfigurationOutput) SecondsUntilAutoPause() pulumi.IntPtrOutput
- func (o ClusterScalingConfigurationOutput) TimeoutAction() pulumi.StringPtrOutput
- func (o ClusterScalingConfigurationOutput) ToClusterScalingConfigurationOutput() ClusterScalingConfigurationOutput
- func (o ClusterScalingConfigurationOutput) ToClusterScalingConfigurationOutputWithContext(ctx context.Context) ClusterScalingConfigurationOutput
- func (o ClusterScalingConfigurationOutput) ToClusterScalingConfigurationPtrOutput() ClusterScalingConfigurationPtrOutput
- func (o ClusterScalingConfigurationOutput) ToClusterScalingConfigurationPtrOutputWithContext(ctx context.Context) ClusterScalingConfigurationPtrOutput
- type ClusterScalingConfigurationPtrInput
- type ClusterScalingConfigurationPtrOutput
- func (o ClusterScalingConfigurationPtrOutput) AutoPause() pulumi.BoolPtrOutput
- func (o ClusterScalingConfigurationPtrOutput) Elem() ClusterScalingConfigurationOutput
- func (ClusterScalingConfigurationPtrOutput) ElementType() reflect.Type
- func (o ClusterScalingConfigurationPtrOutput) MaxCapacity() pulumi.IntPtrOutput
- func (o ClusterScalingConfigurationPtrOutput) MinCapacity() pulumi.IntPtrOutput
- func (o ClusterScalingConfigurationPtrOutput) SecondsUntilAutoPause() pulumi.IntPtrOutput
- func (o ClusterScalingConfigurationPtrOutput) TimeoutAction() pulumi.StringPtrOutput
- func (o ClusterScalingConfigurationPtrOutput) ToClusterScalingConfigurationPtrOutput() ClusterScalingConfigurationPtrOutput
- func (o ClusterScalingConfigurationPtrOutput) ToClusterScalingConfigurationPtrOutputWithContext(ctx context.Context) ClusterScalingConfigurationPtrOutput
- type ClusterServerlessv2ScalingConfiguration
- type ClusterServerlessv2ScalingConfigurationArgs
- func (ClusterServerlessv2ScalingConfigurationArgs) ElementType() reflect.Type
- func (i ClusterServerlessv2ScalingConfigurationArgs) ToClusterServerlessv2ScalingConfigurationOutput() ClusterServerlessv2ScalingConfigurationOutput
- func (i ClusterServerlessv2ScalingConfigurationArgs) ToClusterServerlessv2ScalingConfigurationOutputWithContext(ctx context.Context) ClusterServerlessv2ScalingConfigurationOutput
- func (i ClusterServerlessv2ScalingConfigurationArgs) ToClusterServerlessv2ScalingConfigurationPtrOutput() ClusterServerlessv2ScalingConfigurationPtrOutput
- func (i ClusterServerlessv2ScalingConfigurationArgs) ToClusterServerlessv2ScalingConfigurationPtrOutputWithContext(ctx context.Context) ClusterServerlessv2ScalingConfigurationPtrOutput
- type ClusterServerlessv2ScalingConfigurationInput
- type ClusterServerlessv2ScalingConfigurationOutput
- func (ClusterServerlessv2ScalingConfigurationOutput) ElementType() reflect.Type
- func (o ClusterServerlessv2ScalingConfigurationOutput) MaxCapacity() pulumi.Float64Output
- func (o ClusterServerlessv2ScalingConfigurationOutput) MinCapacity() pulumi.Float64Output
- func (o ClusterServerlessv2ScalingConfigurationOutput) ToClusterServerlessv2ScalingConfigurationOutput() ClusterServerlessv2ScalingConfigurationOutput
- func (o ClusterServerlessv2ScalingConfigurationOutput) ToClusterServerlessv2ScalingConfigurationOutputWithContext(ctx context.Context) ClusterServerlessv2ScalingConfigurationOutput
- func (o ClusterServerlessv2ScalingConfigurationOutput) ToClusterServerlessv2ScalingConfigurationPtrOutput() ClusterServerlessv2ScalingConfigurationPtrOutput
- func (o ClusterServerlessv2ScalingConfigurationOutput) ToClusterServerlessv2ScalingConfigurationPtrOutputWithContext(ctx context.Context) ClusterServerlessv2ScalingConfigurationPtrOutput
- type ClusterServerlessv2ScalingConfigurationPtrInput
- type ClusterServerlessv2ScalingConfigurationPtrOutput
- func (o ClusterServerlessv2ScalingConfigurationPtrOutput) Elem() ClusterServerlessv2ScalingConfigurationOutput
- func (ClusterServerlessv2ScalingConfigurationPtrOutput) ElementType() reflect.Type
- func (o ClusterServerlessv2ScalingConfigurationPtrOutput) MaxCapacity() pulumi.Float64PtrOutput
- func (o ClusterServerlessv2ScalingConfigurationPtrOutput) MinCapacity() pulumi.Float64PtrOutput
- func (o ClusterServerlessv2ScalingConfigurationPtrOutput) ToClusterServerlessv2ScalingConfigurationPtrOutput() ClusterServerlessv2ScalingConfigurationPtrOutput
- func (o ClusterServerlessv2ScalingConfigurationPtrOutput) ToClusterServerlessv2ScalingConfigurationPtrOutputWithContext(ctx context.Context) ClusterServerlessv2ScalingConfigurationPtrOutput
- type ClusterSnapshot
- type ClusterSnapshotArgs
- type ClusterSnapshotArray
- type ClusterSnapshotArrayInput
- type ClusterSnapshotArrayOutput
- func (ClusterSnapshotArrayOutput) ElementType() reflect.Type
- func (o ClusterSnapshotArrayOutput) Index(i pulumi.IntInput) ClusterSnapshotOutput
- func (o ClusterSnapshotArrayOutput) ToClusterSnapshotArrayOutput() ClusterSnapshotArrayOutput
- func (o ClusterSnapshotArrayOutput) ToClusterSnapshotArrayOutputWithContext(ctx context.Context) ClusterSnapshotArrayOutput
- type ClusterSnapshotInput
- type ClusterSnapshotMap
- type ClusterSnapshotMapInput
- type ClusterSnapshotMapOutput
- func (ClusterSnapshotMapOutput) ElementType() reflect.Type
- func (o ClusterSnapshotMapOutput) MapIndex(k pulumi.StringInput) ClusterSnapshotOutput
- func (o ClusterSnapshotMapOutput) ToClusterSnapshotMapOutput() ClusterSnapshotMapOutput
- func (o ClusterSnapshotMapOutput) ToClusterSnapshotMapOutputWithContext(ctx context.Context) ClusterSnapshotMapOutput
- type ClusterSnapshotOutput
- func (o ClusterSnapshotOutput) AllocatedStorage() pulumi.IntOutput
- func (o ClusterSnapshotOutput) AvailabilityZones() pulumi.StringArrayOutput
- func (o ClusterSnapshotOutput) DbClusterIdentifier() pulumi.StringOutput
- func (o ClusterSnapshotOutput) DbClusterSnapshotArn() pulumi.StringOutput
- func (o ClusterSnapshotOutput) DbClusterSnapshotIdentifier() pulumi.StringOutput
- func (ClusterSnapshotOutput) ElementType() reflect.Type
- func (o ClusterSnapshotOutput) Engine() pulumi.StringOutput
- func (o ClusterSnapshotOutput) EngineVersion() pulumi.StringOutput
- func (o ClusterSnapshotOutput) KmsKeyId() pulumi.StringOutput
- func (o ClusterSnapshotOutput) LicenseModel() pulumi.StringOutput
- func (o ClusterSnapshotOutput) Port() pulumi.IntOutput
- func (o ClusterSnapshotOutput) SnapshotType() pulumi.StringOutput
- func (o ClusterSnapshotOutput) SourceDbClusterSnapshotArn() pulumi.StringOutput
- func (o ClusterSnapshotOutput) Status() pulumi.StringOutput
- func (o ClusterSnapshotOutput) StorageEncrypted() pulumi.BoolOutput
- func (o ClusterSnapshotOutput) Tags() pulumi.StringMapOutput
- func (o ClusterSnapshotOutput) TagsAll() pulumi.StringMapOutput
- func (o ClusterSnapshotOutput) ToClusterSnapshotOutput() ClusterSnapshotOutput
- func (o ClusterSnapshotOutput) ToClusterSnapshotOutputWithContext(ctx context.Context) ClusterSnapshotOutput
- func (o ClusterSnapshotOutput) VpcId() pulumi.StringOutput
- type ClusterSnapshotState
- type ClusterState
- type EngineMode
- func (EngineMode) ElementType() reflect.Type
- func (e EngineMode) ToEngineModeOutput() EngineModeOutput
- func (e EngineMode) ToEngineModeOutputWithContext(ctx context.Context) EngineModeOutput
- func (e EngineMode) ToEngineModePtrOutput() EngineModePtrOutput
- func (e EngineMode) ToEngineModePtrOutputWithContext(ctx context.Context) EngineModePtrOutput
- func (e EngineMode) ToStringOutput() pulumi.StringOutput
- func (e EngineMode) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e EngineMode) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e EngineMode) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type EngineModeInput
- type EngineModeOutput
- func (EngineModeOutput) ElementType() reflect.Type
- func (o EngineModeOutput) ToEngineModeOutput() EngineModeOutput
- func (o EngineModeOutput) ToEngineModeOutputWithContext(ctx context.Context) EngineModeOutput
- func (o EngineModeOutput) ToEngineModePtrOutput() EngineModePtrOutput
- func (o EngineModeOutput) ToEngineModePtrOutputWithContext(ctx context.Context) EngineModePtrOutput
- func (o EngineModeOutput) ToStringOutput() pulumi.StringOutput
- func (o EngineModeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o EngineModeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o EngineModeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type EngineModePtrInput
- type EngineModePtrOutput
- func (o EngineModePtrOutput) Elem() EngineModeOutput
- func (EngineModePtrOutput) ElementType() reflect.Type
- func (o EngineModePtrOutput) ToEngineModePtrOutput() EngineModePtrOutput
- func (o EngineModePtrOutput) ToEngineModePtrOutputWithContext(ctx context.Context) EngineModePtrOutput
- func (o EngineModePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o EngineModePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type EngineType
- func (EngineType) ElementType() reflect.Type
- func (e EngineType) ToEngineTypeOutput() EngineTypeOutput
- func (e EngineType) ToEngineTypeOutputWithContext(ctx context.Context) EngineTypeOutput
- func (e EngineType) ToEngineTypePtrOutput() EngineTypePtrOutput
- func (e EngineType) ToEngineTypePtrOutputWithContext(ctx context.Context) EngineTypePtrOutput
- func (e EngineType) ToStringOutput() pulumi.StringOutput
- func (e EngineType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e EngineType) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e EngineType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type EngineTypeInput
- type EngineTypeOutput
- func (EngineTypeOutput) ElementType() reflect.Type
- func (o EngineTypeOutput) ToEngineTypeOutput() EngineTypeOutput
- func (o EngineTypeOutput) ToEngineTypeOutputWithContext(ctx context.Context) EngineTypeOutput
- func (o EngineTypeOutput) ToEngineTypePtrOutput() EngineTypePtrOutput
- func (o EngineTypeOutput) ToEngineTypePtrOutputWithContext(ctx context.Context) EngineTypePtrOutput
- func (o EngineTypeOutput) ToStringOutput() pulumi.StringOutput
- func (o EngineTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o EngineTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o EngineTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type EngineTypePtrInput
- type EngineTypePtrOutput
- func (o EngineTypePtrOutput) Elem() EngineTypeOutput
- func (EngineTypePtrOutput) ElementType() reflect.Type
- func (o EngineTypePtrOutput) ToEngineTypePtrOutput() EngineTypePtrOutput
- func (o EngineTypePtrOutput) ToEngineTypePtrOutputWithContext(ctx context.Context) EngineTypePtrOutput
- func (o EngineTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o EngineTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type EventSubscription
- 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 (o EventSubscriptionOutput) Arn() pulumi.StringOutput
- func (o EventSubscriptionOutput) CustomerAwsId() pulumi.StringOutput
- func (EventSubscriptionOutput) ElementType() reflect.Type
- func (o EventSubscriptionOutput) Enabled() pulumi.BoolPtrOutput
- func (o EventSubscriptionOutput) EventCategories() pulumi.StringArrayOutput
- func (o EventSubscriptionOutput) Name() pulumi.StringOutput
- func (o EventSubscriptionOutput) NamePrefix() pulumi.StringOutput
- func (o EventSubscriptionOutput) SnsTopic() pulumi.StringOutput
- func (o EventSubscriptionOutput) SourceIds() pulumi.StringArrayOutput
- func (o EventSubscriptionOutput) SourceType() pulumi.StringPtrOutput
- func (o EventSubscriptionOutput) Tags() pulumi.StringMapOutput
- func (o EventSubscriptionOutput) TagsAll() pulumi.StringMapOutput
- func (o EventSubscriptionOutput) ToEventSubscriptionOutput() EventSubscriptionOutput
- func (o EventSubscriptionOutput) ToEventSubscriptionOutputWithContext(ctx context.Context) EventSubscriptionOutput
- type EventSubscriptionState
- type GetCertificateArgs
- type GetCertificateOutputArgs
- type GetCertificateResult
- type GetCertificateResultOutput
- func (o GetCertificateResultOutput) Arn() pulumi.StringOutput
- func (o GetCertificateResultOutput) CertificateType() pulumi.StringOutput
- func (o GetCertificateResultOutput) CustomerOverride() pulumi.BoolOutput
- func (o GetCertificateResultOutput) CustomerOverrideValidTill() pulumi.StringOutput
- func (GetCertificateResultOutput) ElementType() reflect.Type
- func (o GetCertificateResultOutput) Id() pulumi.StringOutput
- func (o GetCertificateResultOutput) LatestValidTill() pulumi.BoolPtrOutput
- func (o GetCertificateResultOutput) Thumbprint() pulumi.StringOutput
- func (o GetCertificateResultOutput) ToGetCertificateResultOutput() GetCertificateResultOutput
- func (o GetCertificateResultOutput) ToGetCertificateResultOutputWithContext(ctx context.Context) GetCertificateResultOutput
- func (o GetCertificateResultOutput) ValidFrom() pulumi.StringOutput
- func (o GetCertificateResultOutput) ValidTill() pulumi.StringOutput
- type GetClustersArgs
- type GetClustersFilter
- type GetClustersFilterArgs
- type GetClustersFilterArray
- type GetClustersFilterArrayInput
- type GetClustersFilterArrayOutput
- func (GetClustersFilterArrayOutput) ElementType() reflect.Type
- func (o GetClustersFilterArrayOutput) Index(i pulumi.IntInput) GetClustersFilterOutput
- func (o GetClustersFilterArrayOutput) ToGetClustersFilterArrayOutput() GetClustersFilterArrayOutput
- func (o GetClustersFilterArrayOutput) ToGetClustersFilterArrayOutputWithContext(ctx context.Context) GetClustersFilterArrayOutput
- type GetClustersFilterInput
- type GetClustersFilterOutput
- func (GetClustersFilterOutput) ElementType() reflect.Type
- func (o GetClustersFilterOutput) Name() pulumi.StringOutput
- func (o GetClustersFilterOutput) ToGetClustersFilterOutput() GetClustersFilterOutput
- func (o GetClustersFilterOutput) ToGetClustersFilterOutputWithContext(ctx context.Context) GetClustersFilterOutput
- func (o GetClustersFilterOutput) Values() pulumi.StringArrayOutput
- type GetClustersOutputArgs
- type GetClustersResult
- type GetClustersResultOutput
- func (o GetClustersResultOutput) ClusterArns() pulumi.StringArrayOutput
- func (o GetClustersResultOutput) ClusterIdentifiers() pulumi.StringArrayOutput
- func (GetClustersResultOutput) ElementType() reflect.Type
- func (o GetClustersResultOutput) Filters() GetClustersFilterArrayOutput
- func (o GetClustersResultOutput) Id() pulumi.StringOutput
- func (o GetClustersResultOutput) ToGetClustersResultOutput() GetClustersResultOutput
- func (o GetClustersResultOutput) ToGetClustersResultOutputWithContext(ctx context.Context) GetClustersResultOutput
- type GetEngineVersionArgs
- type GetEngineVersionFilter
- type GetEngineVersionFilterArgs
- type GetEngineVersionFilterArray
- func (GetEngineVersionFilterArray) ElementType() reflect.Type
- func (i GetEngineVersionFilterArray) ToGetEngineVersionFilterArrayOutput() GetEngineVersionFilterArrayOutput
- func (i GetEngineVersionFilterArray) ToGetEngineVersionFilterArrayOutputWithContext(ctx context.Context) GetEngineVersionFilterArrayOutput
- type GetEngineVersionFilterArrayInput
- type GetEngineVersionFilterArrayOutput
- func (GetEngineVersionFilterArrayOutput) ElementType() reflect.Type
- func (o GetEngineVersionFilterArrayOutput) Index(i pulumi.IntInput) GetEngineVersionFilterOutput
- func (o GetEngineVersionFilterArrayOutput) ToGetEngineVersionFilterArrayOutput() GetEngineVersionFilterArrayOutput
- func (o GetEngineVersionFilterArrayOutput) ToGetEngineVersionFilterArrayOutputWithContext(ctx context.Context) GetEngineVersionFilterArrayOutput
- type GetEngineVersionFilterInput
- type GetEngineVersionFilterOutput
- func (GetEngineVersionFilterOutput) ElementType() reflect.Type
- func (o GetEngineVersionFilterOutput) Name() pulumi.StringOutput
- func (o GetEngineVersionFilterOutput) ToGetEngineVersionFilterOutput() GetEngineVersionFilterOutput
- func (o GetEngineVersionFilterOutput) ToGetEngineVersionFilterOutputWithContext(ctx context.Context) GetEngineVersionFilterOutput
- func (o GetEngineVersionFilterOutput) Values() pulumi.StringArrayOutput
- type GetEngineVersionOutputArgs
- type GetEngineVersionResult
- type GetEngineVersionResultOutput
- func (o GetEngineVersionResultOutput) DefaultCharacterSet() pulumi.StringOutput
- func (o GetEngineVersionResultOutput) DefaultOnly() pulumi.BoolPtrOutput
- func (GetEngineVersionResultOutput) ElementType() reflect.Type
- func (o GetEngineVersionResultOutput) Engine() pulumi.StringOutput
- func (o GetEngineVersionResultOutput) EngineDescription() pulumi.StringOutput
- func (o GetEngineVersionResultOutput) ExportableLogTypes() pulumi.StringArrayOutput
- func (o GetEngineVersionResultOutput) Filters() GetEngineVersionFilterArrayOutput
- func (o GetEngineVersionResultOutput) Id() pulumi.StringOutput
- func (o GetEngineVersionResultOutput) IncludeAll() pulumi.BoolPtrOutput
- func (o GetEngineVersionResultOutput) ParameterGroupFamily() pulumi.StringOutput
- func (o GetEngineVersionResultOutput) PreferredVersions() pulumi.StringArrayOutput
- func (o GetEngineVersionResultOutput) Status() pulumi.StringOutput
- func (o GetEngineVersionResultOutput) SupportedCharacterSets() pulumi.StringArrayOutput
- func (o GetEngineVersionResultOutput) SupportedFeatureNames() pulumi.StringArrayOutput
- func (o GetEngineVersionResultOutput) SupportedModes() pulumi.StringArrayOutput
- func (o GetEngineVersionResultOutput) SupportedTimezones() pulumi.StringArrayOutput
- func (o GetEngineVersionResultOutput) SupportsGlobalDatabases() pulumi.BoolOutput
- func (o GetEngineVersionResultOutput) SupportsLogExportsToCloudwatch() pulumi.BoolOutput
- func (o GetEngineVersionResultOutput) SupportsParallelQuery() pulumi.BoolOutput
- func (o GetEngineVersionResultOutput) SupportsReadReplica() pulumi.BoolOutput
- func (o GetEngineVersionResultOutput) ToGetEngineVersionResultOutput() GetEngineVersionResultOutput
- func (o GetEngineVersionResultOutput) ToGetEngineVersionResultOutputWithContext(ctx context.Context) GetEngineVersionResultOutput
- func (o GetEngineVersionResultOutput) ValidUpgradeTargets() pulumi.StringArrayOutput
- func (o GetEngineVersionResultOutput) Version() pulumi.StringOutput
- func (o GetEngineVersionResultOutput) VersionDescription() pulumi.StringOutput
- type GetEventCategoriesArgs
- type GetEventCategoriesOutputArgs
- type GetEventCategoriesResult
- type GetEventCategoriesResultOutput
- func (GetEventCategoriesResultOutput) ElementType() reflect.Type
- func (o GetEventCategoriesResultOutput) EventCategories() pulumi.StringArrayOutput
- func (o GetEventCategoriesResultOutput) Id() pulumi.StringOutput
- func (o GetEventCategoriesResultOutput) SourceType() pulumi.StringPtrOutput
- func (o GetEventCategoriesResultOutput) ToGetEventCategoriesResultOutput() GetEventCategoriesResultOutput
- func (o GetEventCategoriesResultOutput) ToGetEventCategoriesResultOutputWithContext(ctx context.Context) GetEventCategoriesResultOutput
- type GetInstancesArgs
- type GetInstancesFilter
- type GetInstancesFilterArgs
- type GetInstancesFilterArray
- type GetInstancesFilterArrayInput
- type GetInstancesFilterArrayOutput
- func (GetInstancesFilterArrayOutput) ElementType() reflect.Type
- func (o GetInstancesFilterArrayOutput) Index(i pulumi.IntInput) GetInstancesFilterOutput
- func (o GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutput() GetInstancesFilterArrayOutput
- func (o GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutputWithContext(ctx context.Context) GetInstancesFilterArrayOutput
- type GetInstancesFilterInput
- type GetInstancesFilterOutput
- func (GetInstancesFilterOutput) ElementType() reflect.Type
- func (o GetInstancesFilterOutput) Name() pulumi.StringOutput
- func (o GetInstancesFilterOutput) ToGetInstancesFilterOutput() GetInstancesFilterOutput
- func (o GetInstancesFilterOutput) ToGetInstancesFilterOutputWithContext(ctx context.Context) GetInstancesFilterOutput
- func (o GetInstancesFilterOutput) Values() pulumi.StringArrayOutput
- type GetInstancesOutputArgs
- type GetInstancesResult
- type GetInstancesResultOutput
- func (GetInstancesResultOutput) ElementType() reflect.Type
- func (o GetInstancesResultOutput) Filters() GetInstancesFilterArrayOutput
- func (o GetInstancesResultOutput) Id() pulumi.StringOutput
- func (o GetInstancesResultOutput) InstanceArns() pulumi.StringArrayOutput
- func (o GetInstancesResultOutput) InstanceIdentifiers() pulumi.StringArrayOutput
- func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput
- func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput
- type GetOrderableDbInstanceArgs
- type GetOrderableDbInstanceOutputArgs
- type GetOrderableDbInstanceResult
- type GetOrderableDbInstanceResultOutput
- func (o GetOrderableDbInstanceResultOutput) AvailabilityZoneGroup() pulumi.StringOutput
- func (o GetOrderableDbInstanceResultOutput) AvailabilityZones() pulumi.StringArrayOutput
- func (GetOrderableDbInstanceResultOutput) ElementType() reflect.Type
- func (o GetOrderableDbInstanceResultOutput) Engine() pulumi.StringOutput
- func (o GetOrderableDbInstanceResultOutput) EngineVersion() pulumi.StringOutput
- func (o GetOrderableDbInstanceResultOutput) Id() pulumi.StringOutput
- func (o GetOrderableDbInstanceResultOutput) InstanceClass() pulumi.StringOutput
- func (o GetOrderableDbInstanceResultOutput) LicenseModel() pulumi.StringOutput
- func (o GetOrderableDbInstanceResultOutput) MaxIopsPerDbInstance() pulumi.IntOutput
- func (o GetOrderableDbInstanceResultOutput) MaxIopsPerGib() pulumi.Float64Output
- func (o GetOrderableDbInstanceResultOutput) MaxStorageSize() pulumi.IntOutput
- func (o GetOrderableDbInstanceResultOutput) MinIopsPerDbInstance() pulumi.IntOutput
- func (o GetOrderableDbInstanceResultOutput) MinIopsPerGib() pulumi.Float64Output
- func (o GetOrderableDbInstanceResultOutput) MinStorageSize() pulumi.IntOutput
- func (o GetOrderableDbInstanceResultOutput) MultiAzCapable() pulumi.BoolOutput
- func (o GetOrderableDbInstanceResultOutput) OutpostCapable() pulumi.BoolOutput
- func (o GetOrderableDbInstanceResultOutput) PreferredEngineVersions() pulumi.StringArrayOutput
- func (o GetOrderableDbInstanceResultOutput) PreferredInstanceClasses() pulumi.StringArrayOutput
- func (o GetOrderableDbInstanceResultOutput) ReadReplicaCapable() pulumi.BoolOutput
- func (o GetOrderableDbInstanceResultOutput) StorageType() pulumi.StringOutput
- func (o GetOrderableDbInstanceResultOutput) SupportedEngineModes() pulumi.StringArrayOutput
- func (o GetOrderableDbInstanceResultOutput) SupportedNetworkTypes() pulumi.StringArrayOutput
- func (o GetOrderableDbInstanceResultOutput) SupportsEnhancedMonitoring() pulumi.BoolOutput
- func (o GetOrderableDbInstanceResultOutput) SupportsGlobalDatabases() pulumi.BoolOutput
- func (o GetOrderableDbInstanceResultOutput) SupportsIamDatabaseAuthentication() pulumi.BoolOutput
- func (o GetOrderableDbInstanceResultOutput) SupportsIops() pulumi.BoolOutput
- func (o GetOrderableDbInstanceResultOutput) SupportsKerberosAuthentication() pulumi.BoolOutput
- func (o GetOrderableDbInstanceResultOutput) SupportsPerformanceInsights() pulumi.BoolOutput
- func (o GetOrderableDbInstanceResultOutput) SupportsStorageAutoscaling() pulumi.BoolOutput
- func (o GetOrderableDbInstanceResultOutput) SupportsStorageEncryption() pulumi.BoolOutput
- func (o GetOrderableDbInstanceResultOutput) ToGetOrderableDbInstanceResultOutput() GetOrderableDbInstanceResultOutput
- func (o GetOrderableDbInstanceResultOutput) ToGetOrderableDbInstanceResultOutputWithContext(ctx context.Context) GetOrderableDbInstanceResultOutput
- func (o GetOrderableDbInstanceResultOutput) Vpc() pulumi.BoolOutput
- type GetProxyAuth
- type GetProxyAuthArgs
- type GetProxyAuthArray
- type GetProxyAuthArrayInput
- type GetProxyAuthArrayOutput
- func (GetProxyAuthArrayOutput) ElementType() reflect.Type
- func (o GetProxyAuthArrayOutput) Index(i pulumi.IntInput) GetProxyAuthOutput
- func (o GetProxyAuthArrayOutput) ToGetProxyAuthArrayOutput() GetProxyAuthArrayOutput
- func (o GetProxyAuthArrayOutput) ToGetProxyAuthArrayOutputWithContext(ctx context.Context) GetProxyAuthArrayOutput
- type GetProxyAuthInput
- type GetProxyAuthOutput
- func (o GetProxyAuthOutput) AuthScheme() pulumi.StringOutput
- func (o GetProxyAuthOutput) Description() pulumi.StringOutput
- func (GetProxyAuthOutput) ElementType() reflect.Type
- func (o GetProxyAuthOutput) IamAuth() pulumi.StringOutput
- func (o GetProxyAuthOutput) SecretArn() pulumi.StringOutput
- func (o GetProxyAuthOutput) ToGetProxyAuthOutput() GetProxyAuthOutput
- func (o GetProxyAuthOutput) ToGetProxyAuthOutputWithContext(ctx context.Context) GetProxyAuthOutput
- func (o GetProxyAuthOutput) Username() pulumi.StringOutput
- type GetReservedInstanceOfferingArgs
- type GetReservedInstanceOfferingOutputArgs
- type GetReservedInstanceOfferingResult
- type GetReservedInstanceOfferingResultOutput
- func (o GetReservedInstanceOfferingResultOutput) CurrencyCode() pulumi.StringOutput
- func (o GetReservedInstanceOfferingResultOutput) DbInstanceClass() pulumi.StringOutput
- func (o GetReservedInstanceOfferingResultOutput) Duration() pulumi.IntOutput
- func (GetReservedInstanceOfferingResultOutput) ElementType() reflect.Type
- func (o GetReservedInstanceOfferingResultOutput) FixedPrice() pulumi.Float64Output
- func (o GetReservedInstanceOfferingResultOutput) Id() pulumi.StringOutput
- func (o GetReservedInstanceOfferingResultOutput) MultiAz() pulumi.BoolOutput
- func (o GetReservedInstanceOfferingResultOutput) OfferingId() pulumi.StringOutput
- func (o GetReservedInstanceOfferingResultOutput) OfferingType() pulumi.StringOutput
- func (o GetReservedInstanceOfferingResultOutput) ProductDescription() pulumi.StringOutput
- func (o GetReservedInstanceOfferingResultOutput) ToGetReservedInstanceOfferingResultOutput() GetReservedInstanceOfferingResultOutput
- func (o GetReservedInstanceOfferingResultOutput) ToGetReservedInstanceOfferingResultOutputWithContext(ctx context.Context) GetReservedInstanceOfferingResultOutput
- type GlobalCluster
- type GlobalClusterArgs
- type GlobalClusterArray
- type GlobalClusterArrayInput
- type GlobalClusterArrayOutput
- func (GlobalClusterArrayOutput) ElementType() reflect.Type
- func (o GlobalClusterArrayOutput) Index(i pulumi.IntInput) GlobalClusterOutput
- func (o GlobalClusterArrayOutput) ToGlobalClusterArrayOutput() GlobalClusterArrayOutput
- func (o GlobalClusterArrayOutput) ToGlobalClusterArrayOutputWithContext(ctx context.Context) GlobalClusterArrayOutput
- type GlobalClusterGlobalClusterMember
- type GlobalClusterGlobalClusterMemberArgs
- func (GlobalClusterGlobalClusterMemberArgs) ElementType() reflect.Type
- func (i GlobalClusterGlobalClusterMemberArgs) ToGlobalClusterGlobalClusterMemberOutput() GlobalClusterGlobalClusterMemberOutput
- func (i GlobalClusterGlobalClusterMemberArgs) ToGlobalClusterGlobalClusterMemberOutputWithContext(ctx context.Context) GlobalClusterGlobalClusterMemberOutput
- type GlobalClusterGlobalClusterMemberArray
- func (GlobalClusterGlobalClusterMemberArray) ElementType() reflect.Type
- func (i GlobalClusterGlobalClusterMemberArray) ToGlobalClusterGlobalClusterMemberArrayOutput() GlobalClusterGlobalClusterMemberArrayOutput
- func (i GlobalClusterGlobalClusterMemberArray) ToGlobalClusterGlobalClusterMemberArrayOutputWithContext(ctx context.Context) GlobalClusterGlobalClusterMemberArrayOutput
- type GlobalClusterGlobalClusterMemberArrayInput
- type GlobalClusterGlobalClusterMemberArrayOutput
- func (GlobalClusterGlobalClusterMemberArrayOutput) ElementType() reflect.Type
- func (o GlobalClusterGlobalClusterMemberArrayOutput) Index(i pulumi.IntInput) GlobalClusterGlobalClusterMemberOutput
- func (o GlobalClusterGlobalClusterMemberArrayOutput) ToGlobalClusterGlobalClusterMemberArrayOutput() GlobalClusterGlobalClusterMemberArrayOutput
- func (o GlobalClusterGlobalClusterMemberArrayOutput) ToGlobalClusterGlobalClusterMemberArrayOutputWithContext(ctx context.Context) GlobalClusterGlobalClusterMemberArrayOutput
- type GlobalClusterGlobalClusterMemberInput
- type GlobalClusterGlobalClusterMemberOutput
- func (o GlobalClusterGlobalClusterMemberOutput) DbClusterArn() pulumi.StringPtrOutput
- func (GlobalClusterGlobalClusterMemberOutput) ElementType() reflect.Type
- func (o GlobalClusterGlobalClusterMemberOutput) IsWriter() pulumi.BoolPtrOutput
- func (o GlobalClusterGlobalClusterMemberOutput) ToGlobalClusterGlobalClusterMemberOutput() GlobalClusterGlobalClusterMemberOutput
- func (o GlobalClusterGlobalClusterMemberOutput) ToGlobalClusterGlobalClusterMemberOutputWithContext(ctx context.Context) GlobalClusterGlobalClusterMemberOutput
- type GlobalClusterInput
- type GlobalClusterMap
- type GlobalClusterMapInput
- type GlobalClusterMapOutput
- func (GlobalClusterMapOutput) ElementType() reflect.Type
- func (o GlobalClusterMapOutput) MapIndex(k pulumi.StringInput) GlobalClusterOutput
- func (o GlobalClusterMapOutput) ToGlobalClusterMapOutput() GlobalClusterMapOutput
- func (o GlobalClusterMapOutput) ToGlobalClusterMapOutputWithContext(ctx context.Context) GlobalClusterMapOutput
- type GlobalClusterOutput
- func (o GlobalClusterOutput) Arn() pulumi.StringOutput
- func (o GlobalClusterOutput) DatabaseName() pulumi.StringPtrOutput
- func (o GlobalClusterOutput) DeletionProtection() pulumi.BoolPtrOutput
- func (GlobalClusterOutput) ElementType() reflect.Type
- func (o GlobalClusterOutput) Engine() pulumi.StringOutput
- func (o GlobalClusterOutput) EngineVersion() pulumi.StringOutput
- func (o GlobalClusterOutput) EngineVersionActual() pulumi.StringOutput
- func (o GlobalClusterOutput) ForceDestroy() pulumi.BoolPtrOutput
- func (o GlobalClusterOutput) GlobalClusterIdentifier() pulumi.StringOutput
- func (o GlobalClusterOutput) GlobalClusterMembers() GlobalClusterGlobalClusterMemberArrayOutput
- func (o GlobalClusterOutput) GlobalClusterResourceId() pulumi.StringOutput
- func (o GlobalClusterOutput) SourceDbClusterIdentifier() pulumi.StringOutput
- func (o GlobalClusterOutput) StorageEncrypted() pulumi.BoolOutput
- func (o GlobalClusterOutput) ToGlobalClusterOutput() GlobalClusterOutput
- func (o GlobalClusterOutput) ToGlobalClusterOutputWithContext(ctx context.Context) GlobalClusterOutput
- type GlobalClusterState
- type Instance
- type InstanceArgs
- type InstanceArray
- type InstanceArrayInput
- type InstanceArrayOutput
- type InstanceAutomatedBackupsReplication
- func (*InstanceAutomatedBackupsReplication) ElementType() reflect.Type
- func (i *InstanceAutomatedBackupsReplication) ToInstanceAutomatedBackupsReplicationOutput() InstanceAutomatedBackupsReplicationOutput
- func (i *InstanceAutomatedBackupsReplication) ToInstanceAutomatedBackupsReplicationOutputWithContext(ctx context.Context) InstanceAutomatedBackupsReplicationOutput
- type InstanceAutomatedBackupsReplicationArgs
- type InstanceAutomatedBackupsReplicationArray
- func (InstanceAutomatedBackupsReplicationArray) ElementType() reflect.Type
- func (i InstanceAutomatedBackupsReplicationArray) ToInstanceAutomatedBackupsReplicationArrayOutput() InstanceAutomatedBackupsReplicationArrayOutput
- func (i InstanceAutomatedBackupsReplicationArray) ToInstanceAutomatedBackupsReplicationArrayOutputWithContext(ctx context.Context) InstanceAutomatedBackupsReplicationArrayOutput
- type InstanceAutomatedBackupsReplicationArrayInput
- type InstanceAutomatedBackupsReplicationArrayOutput
- func (InstanceAutomatedBackupsReplicationArrayOutput) ElementType() reflect.Type
- func (o InstanceAutomatedBackupsReplicationArrayOutput) Index(i pulumi.IntInput) InstanceAutomatedBackupsReplicationOutput
- func (o InstanceAutomatedBackupsReplicationArrayOutput) ToInstanceAutomatedBackupsReplicationArrayOutput() InstanceAutomatedBackupsReplicationArrayOutput
- func (o InstanceAutomatedBackupsReplicationArrayOutput) ToInstanceAutomatedBackupsReplicationArrayOutputWithContext(ctx context.Context) InstanceAutomatedBackupsReplicationArrayOutput
- type InstanceAutomatedBackupsReplicationInput
- type InstanceAutomatedBackupsReplicationMap
- func (InstanceAutomatedBackupsReplicationMap) ElementType() reflect.Type
- func (i InstanceAutomatedBackupsReplicationMap) ToInstanceAutomatedBackupsReplicationMapOutput() InstanceAutomatedBackupsReplicationMapOutput
- func (i InstanceAutomatedBackupsReplicationMap) ToInstanceAutomatedBackupsReplicationMapOutputWithContext(ctx context.Context) InstanceAutomatedBackupsReplicationMapOutput
- type InstanceAutomatedBackupsReplicationMapInput
- type InstanceAutomatedBackupsReplicationMapOutput
- func (InstanceAutomatedBackupsReplicationMapOutput) ElementType() reflect.Type
- func (o InstanceAutomatedBackupsReplicationMapOutput) MapIndex(k pulumi.StringInput) InstanceAutomatedBackupsReplicationOutput
- func (o InstanceAutomatedBackupsReplicationMapOutput) ToInstanceAutomatedBackupsReplicationMapOutput() InstanceAutomatedBackupsReplicationMapOutput
- func (o InstanceAutomatedBackupsReplicationMapOutput) ToInstanceAutomatedBackupsReplicationMapOutputWithContext(ctx context.Context) InstanceAutomatedBackupsReplicationMapOutput
- type InstanceAutomatedBackupsReplicationOutput
- func (InstanceAutomatedBackupsReplicationOutput) ElementType() reflect.Type
- func (o InstanceAutomatedBackupsReplicationOutput) KmsKeyId() pulumi.StringOutput
- func (o InstanceAutomatedBackupsReplicationOutput) PreSignedUrl() pulumi.StringPtrOutput
- func (o InstanceAutomatedBackupsReplicationOutput) RetentionPeriod() pulumi.IntPtrOutput
- func (o InstanceAutomatedBackupsReplicationOutput) SourceDbInstanceArn() pulumi.StringOutput
- func (o InstanceAutomatedBackupsReplicationOutput) ToInstanceAutomatedBackupsReplicationOutput() InstanceAutomatedBackupsReplicationOutput
- func (o InstanceAutomatedBackupsReplicationOutput) ToInstanceAutomatedBackupsReplicationOutputWithContext(ctx context.Context) InstanceAutomatedBackupsReplicationOutput
- type InstanceAutomatedBackupsReplicationState
- type InstanceBlueGreenUpdate
- type InstanceBlueGreenUpdateArgs
- func (InstanceBlueGreenUpdateArgs) ElementType() reflect.Type
- func (i InstanceBlueGreenUpdateArgs) ToInstanceBlueGreenUpdateOutput() InstanceBlueGreenUpdateOutput
- func (i InstanceBlueGreenUpdateArgs) ToInstanceBlueGreenUpdateOutputWithContext(ctx context.Context) InstanceBlueGreenUpdateOutput
- func (i InstanceBlueGreenUpdateArgs) ToInstanceBlueGreenUpdatePtrOutput() InstanceBlueGreenUpdatePtrOutput
- func (i InstanceBlueGreenUpdateArgs) ToInstanceBlueGreenUpdatePtrOutputWithContext(ctx context.Context) InstanceBlueGreenUpdatePtrOutput
- type InstanceBlueGreenUpdateInput
- type InstanceBlueGreenUpdateOutput
- func (InstanceBlueGreenUpdateOutput) ElementType() reflect.Type
- func (o InstanceBlueGreenUpdateOutput) Enabled() pulumi.BoolPtrOutput
- func (o InstanceBlueGreenUpdateOutput) ToInstanceBlueGreenUpdateOutput() InstanceBlueGreenUpdateOutput
- func (o InstanceBlueGreenUpdateOutput) ToInstanceBlueGreenUpdateOutputWithContext(ctx context.Context) InstanceBlueGreenUpdateOutput
- func (o InstanceBlueGreenUpdateOutput) ToInstanceBlueGreenUpdatePtrOutput() InstanceBlueGreenUpdatePtrOutput
- func (o InstanceBlueGreenUpdateOutput) ToInstanceBlueGreenUpdatePtrOutputWithContext(ctx context.Context) InstanceBlueGreenUpdatePtrOutput
- type InstanceBlueGreenUpdatePtrInput
- type InstanceBlueGreenUpdatePtrOutput
- func (o InstanceBlueGreenUpdatePtrOutput) Elem() InstanceBlueGreenUpdateOutput
- func (InstanceBlueGreenUpdatePtrOutput) ElementType() reflect.Type
- func (o InstanceBlueGreenUpdatePtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o InstanceBlueGreenUpdatePtrOutput) ToInstanceBlueGreenUpdatePtrOutput() InstanceBlueGreenUpdatePtrOutput
- func (o InstanceBlueGreenUpdatePtrOutput) ToInstanceBlueGreenUpdatePtrOutputWithContext(ctx context.Context) InstanceBlueGreenUpdatePtrOutput
- type InstanceInput
- type InstanceListenerEndpoint
- type InstanceListenerEndpointArgs
- func (InstanceListenerEndpointArgs) ElementType() reflect.Type
- func (i InstanceListenerEndpointArgs) ToInstanceListenerEndpointOutput() InstanceListenerEndpointOutput
- func (i InstanceListenerEndpointArgs) ToInstanceListenerEndpointOutputWithContext(ctx context.Context) InstanceListenerEndpointOutput
- type InstanceListenerEndpointArray
- func (InstanceListenerEndpointArray) ElementType() reflect.Type
- func (i InstanceListenerEndpointArray) ToInstanceListenerEndpointArrayOutput() InstanceListenerEndpointArrayOutput
- func (i InstanceListenerEndpointArray) ToInstanceListenerEndpointArrayOutputWithContext(ctx context.Context) InstanceListenerEndpointArrayOutput
- type InstanceListenerEndpointArrayInput
- type InstanceListenerEndpointArrayOutput
- func (InstanceListenerEndpointArrayOutput) ElementType() reflect.Type
- func (o InstanceListenerEndpointArrayOutput) Index(i pulumi.IntInput) InstanceListenerEndpointOutput
- func (o InstanceListenerEndpointArrayOutput) ToInstanceListenerEndpointArrayOutput() InstanceListenerEndpointArrayOutput
- func (o InstanceListenerEndpointArrayOutput) ToInstanceListenerEndpointArrayOutputWithContext(ctx context.Context) InstanceListenerEndpointArrayOutput
- type InstanceListenerEndpointInput
- type InstanceListenerEndpointOutput
- func (o InstanceListenerEndpointOutput) Address() pulumi.StringPtrOutput
- func (InstanceListenerEndpointOutput) ElementType() reflect.Type
- func (o InstanceListenerEndpointOutput) HostedZoneId() pulumi.StringPtrOutput
- func (o InstanceListenerEndpointOutput) Port() pulumi.IntPtrOutput
- func (o InstanceListenerEndpointOutput) ToInstanceListenerEndpointOutput() InstanceListenerEndpointOutput
- func (o InstanceListenerEndpointOutput) ToInstanceListenerEndpointOutputWithContext(ctx context.Context) InstanceListenerEndpointOutput
- type InstanceMap
- type InstanceMapInput
- type InstanceMapOutput
- type InstanceOutput
- func (o InstanceOutput) Address() pulumi.StringOutput
- func (o InstanceOutput) AllocatedStorage() pulumi.IntOutput
- func (o InstanceOutput) AllowMajorVersionUpgrade() pulumi.BoolPtrOutput
- func (o InstanceOutput) ApplyImmediately() pulumi.BoolPtrOutput
- func (o InstanceOutput) Arn() pulumi.StringOutput
- func (o InstanceOutput) AutoMinorVersionUpgrade() pulumi.BoolPtrOutput
- func (o InstanceOutput) AvailabilityZone() pulumi.StringOutput
- func (o InstanceOutput) BackupRetentionPeriod() pulumi.IntOutput
- func (o InstanceOutput) BackupWindow() pulumi.StringOutput
- func (o InstanceOutput) BlueGreenUpdate() InstanceBlueGreenUpdatePtrOutput
- func (o InstanceOutput) CaCertIdentifier() pulumi.StringOutput
- func (o InstanceOutput) CharacterSetName() pulumi.StringOutput
- func (o InstanceOutput) CopyTagsToSnapshot() pulumi.BoolPtrOutput
- func (o InstanceOutput) CustomIamInstanceProfile() pulumi.StringPtrOutput
- func (o InstanceOutput) CustomerOwnedIpEnabled() pulumi.BoolPtrOutput
- func (o InstanceOutput) DbName() pulumi.StringOutput
- func (o InstanceOutput) DbSubnetGroupName() pulumi.StringOutput
- func (o InstanceOutput) DeleteAutomatedBackups() pulumi.BoolPtrOutput
- func (o InstanceOutput) DeletionProtection() pulumi.BoolPtrOutput
- func (o InstanceOutput) Domain() pulumi.StringPtrOutput
- func (o InstanceOutput) DomainIamRoleName() pulumi.StringPtrOutput
- func (InstanceOutput) ElementType() reflect.Type
- func (o InstanceOutput) EnabledCloudwatchLogsExports() pulumi.StringArrayOutput
- func (o InstanceOutput) Endpoint() pulumi.StringOutput
- func (o InstanceOutput) Engine() pulumi.StringOutput
- func (o InstanceOutput) EngineVersion() pulumi.StringOutput
- func (o InstanceOutput) EngineVersionActual() pulumi.StringOutput
- func (o InstanceOutput) FinalSnapshotIdentifier() pulumi.StringPtrOutput
- func (o InstanceOutput) HostedZoneId() pulumi.StringOutput
- func (o InstanceOutput) IamDatabaseAuthenticationEnabled() pulumi.BoolPtrOutput
- func (o InstanceOutput) Identifier() pulumi.StringOutput
- func (o InstanceOutput) IdentifierPrefix() pulumi.StringOutput
- func (o InstanceOutput) InstanceClass() pulumi.StringOutput
- func (o InstanceOutput) Iops() pulumi.IntOutput
- func (o InstanceOutput) KmsKeyId() pulumi.StringOutput
- func (o InstanceOutput) LatestRestorableTime() pulumi.StringOutput
- func (o InstanceOutput) LicenseModel() pulumi.StringOutput
- func (o InstanceOutput) ListenerEndpoints() InstanceListenerEndpointArrayOutput
- func (o InstanceOutput) MaintenanceWindow() pulumi.StringOutput
- func (o InstanceOutput) MaxAllocatedStorage() pulumi.IntPtrOutput
- func (o InstanceOutput) MonitoringInterval() pulumi.IntPtrOutput
- func (o InstanceOutput) MonitoringRoleArn() pulumi.StringOutput
- func (o InstanceOutput) MultiAz() pulumi.BoolOutput
- func (o InstanceOutput) Name() pulumi.StringOutput
- func (o InstanceOutput) NcharCharacterSetName() pulumi.StringOutput
- func (o InstanceOutput) NetworkType() pulumi.StringOutput
- func (o InstanceOutput) OptionGroupName() pulumi.StringOutput
- func (o InstanceOutput) ParameterGroupName() pulumi.StringOutput
- func (o InstanceOutput) Password() pulumi.StringPtrOutput
- func (o InstanceOutput) PerformanceInsightsEnabled() pulumi.BoolPtrOutput
- func (o InstanceOutput) PerformanceInsightsKmsKeyId() pulumi.StringOutput
- func (o InstanceOutput) PerformanceInsightsRetentionPeriod() pulumi.IntOutput
- func (o InstanceOutput) Port() pulumi.IntOutput
- func (o InstanceOutput) PubliclyAccessible() pulumi.BoolPtrOutput
- func (o InstanceOutput) ReplicaMode() pulumi.StringOutput
- func (o InstanceOutput) Replicas() pulumi.StringArrayOutput
- func (o InstanceOutput) ReplicateSourceDb() pulumi.StringPtrOutput
- func (o InstanceOutput) ResourceId() pulumi.StringOutput
- func (o InstanceOutput) RestoreToPointInTime() InstanceRestoreToPointInTimePtrOutput
- func (o InstanceOutput) S3Import() InstanceS3ImportPtrOutput
- func (o InstanceOutput) SecurityGroupNames() pulumi.StringArrayOutputdeprecated
- func (o InstanceOutput) SkipFinalSnapshot() pulumi.BoolPtrOutput
- func (o InstanceOutput) SnapshotIdentifier() pulumi.StringOutput
- func (o InstanceOutput) Status() pulumi.StringOutput
- func (o InstanceOutput) StorageEncrypted() pulumi.BoolPtrOutput
- func (o InstanceOutput) StorageThroughput() pulumi.IntOutput
- func (o InstanceOutput) StorageType() pulumi.StringOutput
- func (o InstanceOutput) Tags() pulumi.StringMapOutput
- func (o InstanceOutput) TagsAll() pulumi.StringMapOutput
- func (o InstanceOutput) Timezone() pulumi.StringOutput
- func (o InstanceOutput) ToInstanceOutput() InstanceOutput
- func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- func (o InstanceOutput) Username() pulumi.StringOutput
- func (o InstanceOutput) VpcSecurityGroupIds() pulumi.StringArrayOutput
- type InstanceRestoreToPointInTime
- type InstanceRestoreToPointInTimeArgs
- func (InstanceRestoreToPointInTimeArgs) ElementType() reflect.Type
- func (i InstanceRestoreToPointInTimeArgs) ToInstanceRestoreToPointInTimeOutput() InstanceRestoreToPointInTimeOutput
- func (i InstanceRestoreToPointInTimeArgs) ToInstanceRestoreToPointInTimeOutputWithContext(ctx context.Context) InstanceRestoreToPointInTimeOutput
- func (i InstanceRestoreToPointInTimeArgs) ToInstanceRestoreToPointInTimePtrOutput() InstanceRestoreToPointInTimePtrOutput
- func (i InstanceRestoreToPointInTimeArgs) ToInstanceRestoreToPointInTimePtrOutputWithContext(ctx context.Context) InstanceRestoreToPointInTimePtrOutput
- type InstanceRestoreToPointInTimeInput
- type InstanceRestoreToPointInTimeOutput
- func (InstanceRestoreToPointInTimeOutput) ElementType() reflect.Type
- func (o InstanceRestoreToPointInTimeOutput) RestoreTime() pulumi.StringPtrOutput
- func (o InstanceRestoreToPointInTimeOutput) SourceDbInstanceAutomatedBackupsArn() pulumi.StringPtrOutput
- func (o InstanceRestoreToPointInTimeOutput) SourceDbInstanceIdentifier() pulumi.StringPtrOutput
- func (o InstanceRestoreToPointInTimeOutput) SourceDbiResourceId() pulumi.StringPtrOutput
- func (o InstanceRestoreToPointInTimeOutput) ToInstanceRestoreToPointInTimeOutput() InstanceRestoreToPointInTimeOutput
- func (o InstanceRestoreToPointInTimeOutput) ToInstanceRestoreToPointInTimeOutputWithContext(ctx context.Context) InstanceRestoreToPointInTimeOutput
- func (o InstanceRestoreToPointInTimeOutput) ToInstanceRestoreToPointInTimePtrOutput() InstanceRestoreToPointInTimePtrOutput
- func (o InstanceRestoreToPointInTimeOutput) ToInstanceRestoreToPointInTimePtrOutputWithContext(ctx context.Context) InstanceRestoreToPointInTimePtrOutput
- func (o InstanceRestoreToPointInTimeOutput) UseLatestRestorableTime() pulumi.BoolPtrOutput
- type InstanceRestoreToPointInTimePtrInput
- type InstanceRestoreToPointInTimePtrOutput
- func (o InstanceRestoreToPointInTimePtrOutput) Elem() InstanceRestoreToPointInTimeOutput
- func (InstanceRestoreToPointInTimePtrOutput) ElementType() reflect.Type
- func (o InstanceRestoreToPointInTimePtrOutput) RestoreTime() pulumi.StringPtrOutput
- func (o InstanceRestoreToPointInTimePtrOutput) SourceDbInstanceAutomatedBackupsArn() pulumi.StringPtrOutput
- func (o InstanceRestoreToPointInTimePtrOutput) SourceDbInstanceIdentifier() pulumi.StringPtrOutput
- func (o InstanceRestoreToPointInTimePtrOutput) SourceDbiResourceId() pulumi.StringPtrOutput
- func (o InstanceRestoreToPointInTimePtrOutput) ToInstanceRestoreToPointInTimePtrOutput() InstanceRestoreToPointInTimePtrOutput
- func (o InstanceRestoreToPointInTimePtrOutput) ToInstanceRestoreToPointInTimePtrOutputWithContext(ctx context.Context) InstanceRestoreToPointInTimePtrOutput
- func (o InstanceRestoreToPointInTimePtrOutput) UseLatestRestorableTime() pulumi.BoolPtrOutput
- type InstanceS3Import
- type InstanceS3ImportArgs
- func (InstanceS3ImportArgs) ElementType() reflect.Type
- func (i InstanceS3ImportArgs) ToInstanceS3ImportOutput() InstanceS3ImportOutput
- func (i InstanceS3ImportArgs) ToInstanceS3ImportOutputWithContext(ctx context.Context) InstanceS3ImportOutput
- func (i InstanceS3ImportArgs) ToInstanceS3ImportPtrOutput() InstanceS3ImportPtrOutput
- func (i InstanceS3ImportArgs) ToInstanceS3ImportPtrOutputWithContext(ctx context.Context) InstanceS3ImportPtrOutput
- type InstanceS3ImportInput
- type InstanceS3ImportOutput
- func (o InstanceS3ImportOutput) BucketName() pulumi.StringOutput
- func (o InstanceS3ImportOutput) BucketPrefix() pulumi.StringPtrOutput
- func (InstanceS3ImportOutput) ElementType() reflect.Type
- func (o InstanceS3ImportOutput) IngestionRole() pulumi.StringOutput
- func (o InstanceS3ImportOutput) SourceEngine() pulumi.StringOutput
- func (o InstanceS3ImportOutput) SourceEngineVersion() pulumi.StringOutput
- func (o InstanceS3ImportOutput) ToInstanceS3ImportOutput() InstanceS3ImportOutput
- func (o InstanceS3ImportOutput) ToInstanceS3ImportOutputWithContext(ctx context.Context) InstanceS3ImportOutput
- func (o InstanceS3ImportOutput) ToInstanceS3ImportPtrOutput() InstanceS3ImportPtrOutput
- func (o InstanceS3ImportOutput) ToInstanceS3ImportPtrOutputWithContext(ctx context.Context) InstanceS3ImportPtrOutput
- type InstanceS3ImportPtrInput
- type InstanceS3ImportPtrOutput
- func (o InstanceS3ImportPtrOutput) BucketName() pulumi.StringPtrOutput
- func (o InstanceS3ImportPtrOutput) BucketPrefix() pulumi.StringPtrOutput
- func (o InstanceS3ImportPtrOutput) Elem() InstanceS3ImportOutput
- func (InstanceS3ImportPtrOutput) ElementType() reflect.Type
- func (o InstanceS3ImportPtrOutput) IngestionRole() pulumi.StringPtrOutput
- func (o InstanceS3ImportPtrOutput) SourceEngine() pulumi.StringPtrOutput
- func (o InstanceS3ImportPtrOutput) SourceEngineVersion() pulumi.StringPtrOutput
- func (o InstanceS3ImportPtrOutput) ToInstanceS3ImportPtrOutput() InstanceS3ImportPtrOutput
- func (o InstanceS3ImportPtrOutput) ToInstanceS3ImportPtrOutputWithContext(ctx context.Context) InstanceS3ImportPtrOutput
- type InstanceState
- type InstanceType
- func (InstanceType) ElementType() reflect.Type
- func (e InstanceType) ToInstanceTypeOutput() InstanceTypeOutput
- func (e InstanceType) ToInstanceTypeOutputWithContext(ctx context.Context) InstanceTypeOutput
- func (e InstanceType) ToInstanceTypePtrOutput() InstanceTypePtrOutput
- func (e InstanceType) ToInstanceTypePtrOutputWithContext(ctx context.Context) InstanceTypePtrOutput
- func (e InstanceType) ToStringOutput() pulumi.StringOutput
- func (e InstanceType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e InstanceType) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e InstanceType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type InstanceTypeInput
- type InstanceTypeOutput
- func (InstanceTypeOutput) ElementType() reflect.Type
- func (o InstanceTypeOutput) ToInstanceTypeOutput() InstanceTypeOutput
- func (o InstanceTypeOutput) ToInstanceTypeOutputWithContext(ctx context.Context) InstanceTypeOutput
- func (o InstanceTypeOutput) ToInstanceTypePtrOutput() InstanceTypePtrOutput
- func (o InstanceTypeOutput) ToInstanceTypePtrOutputWithContext(ctx context.Context) InstanceTypePtrOutput
- func (o InstanceTypeOutput) ToStringOutput() pulumi.StringOutput
- func (o InstanceTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o InstanceTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o InstanceTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type InstanceTypePtrInput
- type InstanceTypePtrOutput
- func (o InstanceTypePtrOutput) Elem() InstanceTypeOutput
- func (InstanceTypePtrOutput) ElementType() reflect.Type
- func (o InstanceTypePtrOutput) ToInstanceTypePtrOutput() InstanceTypePtrOutput
- func (o InstanceTypePtrOutput) ToInstanceTypePtrOutputWithContext(ctx context.Context) InstanceTypePtrOutput
- func (o InstanceTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o InstanceTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type LookupClusterArgs
- type LookupClusterOutputArgs
- type LookupClusterResult
- type LookupClusterResultOutput
- func (o LookupClusterResultOutput) Arn() pulumi.StringOutput
- func (o LookupClusterResultOutput) AvailabilityZones() pulumi.StringArrayOutput
- func (o LookupClusterResultOutput) BacktrackWindow() pulumi.IntOutput
- func (o LookupClusterResultOutput) BackupRetentionPeriod() pulumi.IntOutput
- func (o LookupClusterResultOutput) ClusterIdentifier() pulumi.StringOutput
- func (o LookupClusterResultOutput) ClusterMembers() pulumi.StringArrayOutput
- func (o LookupClusterResultOutput) ClusterResourceId() pulumi.StringOutput
- func (o LookupClusterResultOutput) DatabaseName() pulumi.StringOutput
- func (o LookupClusterResultOutput) DbClusterParameterGroupName() pulumi.StringOutput
- func (o LookupClusterResultOutput) DbSubnetGroupName() pulumi.StringOutput
- func (LookupClusterResultOutput) ElementType() reflect.Type
- func (o LookupClusterResultOutput) EnabledCloudwatchLogsExports() pulumi.StringArrayOutput
- func (o LookupClusterResultOutput) Endpoint() pulumi.StringOutput
- func (o LookupClusterResultOutput) Engine() pulumi.StringOutput
- func (o LookupClusterResultOutput) EngineMode() pulumi.StringOutput
- func (o LookupClusterResultOutput) EngineVersion() pulumi.StringOutput
- func (o LookupClusterResultOutput) FinalSnapshotIdentifier() pulumi.StringOutput
- func (o LookupClusterResultOutput) HostedZoneId() pulumi.StringOutput
- func (o LookupClusterResultOutput) IamDatabaseAuthenticationEnabled() 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) NetworkType() pulumi.StringOutput
- func (o LookupClusterResultOutput) Port() pulumi.IntOutput
- func (o LookupClusterResultOutput) PreferredBackupWindow() pulumi.StringOutput
- func (o LookupClusterResultOutput) PreferredMaintenanceWindow() pulumi.StringOutput
- func (o LookupClusterResultOutput) ReaderEndpoint() pulumi.StringOutput
- func (o LookupClusterResultOutput) ReplicationSourceIdentifier() pulumi.StringOutput
- func (o LookupClusterResultOutput) StorageEncrypted() pulumi.BoolOutput
- func (o LookupClusterResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupClusterResultOutput) ToLookupClusterResultOutput() LookupClusterResultOutput
- func (o LookupClusterResultOutput) ToLookupClusterResultOutputWithContext(ctx context.Context) LookupClusterResultOutput
- func (o LookupClusterResultOutput) VpcSecurityGroupIds() pulumi.StringArrayOutput
- type LookupClusterSnapshotArgs
- type LookupClusterSnapshotOutputArgs
- type LookupClusterSnapshotResult
- type LookupClusterSnapshotResultOutput
- func (o LookupClusterSnapshotResultOutput) AllocatedStorage() pulumi.IntOutput
- func (o LookupClusterSnapshotResultOutput) AvailabilityZones() pulumi.StringArrayOutput
- func (o LookupClusterSnapshotResultOutput) DbClusterIdentifier() pulumi.StringPtrOutput
- func (o LookupClusterSnapshotResultOutput) DbClusterSnapshotArn() pulumi.StringOutput
- func (o LookupClusterSnapshotResultOutput) DbClusterSnapshotIdentifier() pulumi.StringPtrOutput
- func (LookupClusterSnapshotResultOutput) ElementType() reflect.Type
- func (o LookupClusterSnapshotResultOutput) Engine() pulumi.StringOutput
- func (o LookupClusterSnapshotResultOutput) EngineVersion() pulumi.StringOutput
- func (o LookupClusterSnapshotResultOutput) Id() pulumi.StringOutput
- func (o LookupClusterSnapshotResultOutput) IncludePublic() pulumi.BoolPtrOutput
- func (o LookupClusterSnapshotResultOutput) IncludeShared() pulumi.BoolPtrOutput
- func (o LookupClusterSnapshotResultOutput) KmsKeyId() pulumi.StringOutput
- func (o LookupClusterSnapshotResultOutput) LicenseModel() pulumi.StringOutput
- func (o LookupClusterSnapshotResultOutput) MostRecent() pulumi.BoolPtrOutput
- func (o LookupClusterSnapshotResultOutput) Port() pulumi.IntOutput
- func (o LookupClusterSnapshotResultOutput) SnapshotCreateTime() pulumi.StringOutput
- func (o LookupClusterSnapshotResultOutput) SnapshotType() pulumi.StringPtrOutput
- func (o LookupClusterSnapshotResultOutput) SourceDbClusterSnapshotArn() pulumi.StringOutput
- func (o LookupClusterSnapshotResultOutput) Status() pulumi.StringOutput
- func (o LookupClusterSnapshotResultOutput) StorageEncrypted() pulumi.BoolOutput
- func (o LookupClusterSnapshotResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupClusterSnapshotResultOutput) ToLookupClusterSnapshotResultOutput() LookupClusterSnapshotResultOutput
- func (o LookupClusterSnapshotResultOutput) ToLookupClusterSnapshotResultOutputWithContext(ctx context.Context) LookupClusterSnapshotResultOutput
- func (o LookupClusterSnapshotResultOutput) VpcId() pulumi.StringOutput
- type LookupInstanceArgs
- type LookupInstanceOutputArgs
- type LookupInstanceResult
- type LookupInstanceResultOutput
- func (o LookupInstanceResultOutput) Address() pulumi.StringOutput
- func (o LookupInstanceResultOutput) AllocatedStorage() pulumi.IntOutput
- func (o LookupInstanceResultOutput) AutoMinorVersionUpgrade() pulumi.BoolOutput
- func (o LookupInstanceResultOutput) AvailabilityZone() pulumi.StringOutput
- func (o LookupInstanceResultOutput) BackupRetentionPeriod() pulumi.IntOutput
- func (o LookupInstanceResultOutput) CaCertIdentifier() pulumi.StringOutput
- func (o LookupInstanceResultOutput) DbClusterIdentifier() pulumi.StringOutput
- func (o LookupInstanceResultOutput) DbInstanceArn() pulumi.StringOutput
- func (o LookupInstanceResultOutput) DbInstanceClass() pulumi.StringOutput
- func (o LookupInstanceResultOutput) DbInstanceIdentifier() pulumi.StringOutput
- func (o LookupInstanceResultOutput) DbInstancePort() pulumi.IntOutput
- func (o LookupInstanceResultOutput) DbName() pulumi.StringOutput
- func (o LookupInstanceResultOutput) DbParameterGroups() pulumi.StringArrayOutput
- func (o LookupInstanceResultOutput) DbSecurityGroups() pulumi.StringArrayOutput
- func (o LookupInstanceResultOutput) DbSubnetGroup() pulumi.StringOutput
- func (LookupInstanceResultOutput) ElementType() reflect.Type
- func (o LookupInstanceResultOutput) EnabledCloudwatchLogsExports() pulumi.StringArrayOutput
- func (o LookupInstanceResultOutput) Endpoint() pulumi.StringOutput
- func (o LookupInstanceResultOutput) Engine() pulumi.StringOutput
- func (o LookupInstanceResultOutput) EngineVersion() pulumi.StringOutput
- func (o LookupInstanceResultOutput) HostedZoneId() pulumi.StringOutput
- func (o LookupInstanceResultOutput) Id() pulumi.StringOutput
- func (o LookupInstanceResultOutput) Iops() pulumi.IntOutput
- func (o LookupInstanceResultOutput) KmsKeyId() pulumi.StringOutput
- func (o LookupInstanceResultOutput) LicenseModel() pulumi.StringOutput
- func (o LookupInstanceResultOutput) MasterUsername() pulumi.StringOutput
- func (o LookupInstanceResultOutput) MonitoringInterval() pulumi.IntOutput
- func (o LookupInstanceResultOutput) MonitoringRoleArn() pulumi.StringOutput
- func (o LookupInstanceResultOutput) MultiAz() pulumi.BoolOutput
- func (o LookupInstanceResultOutput) NetworkType() pulumi.StringOutput
- func (o LookupInstanceResultOutput) OptionGroupMemberships() pulumi.StringArrayOutput
- func (o LookupInstanceResultOutput) Port() pulumi.IntOutput
- func (o LookupInstanceResultOutput) PreferredBackupWindow() pulumi.StringOutput
- func (o LookupInstanceResultOutput) PreferredMaintenanceWindow() pulumi.StringOutput
- func (o LookupInstanceResultOutput) PubliclyAccessible() pulumi.BoolOutput
- func (o LookupInstanceResultOutput) ReplicateSourceDb() pulumi.StringOutput
- func (o LookupInstanceResultOutput) ResourceId() pulumi.StringOutput
- func (o LookupInstanceResultOutput) StorageEncrypted() pulumi.BoolOutput
- func (o LookupInstanceResultOutput) StorageThroughput() pulumi.IntOutput
- func (o LookupInstanceResultOutput) StorageType() pulumi.StringOutput
- func (o LookupInstanceResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupInstanceResultOutput) Timezone() pulumi.StringOutput
- func (o LookupInstanceResultOutput) ToLookupInstanceResultOutput() LookupInstanceResultOutput
- func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx context.Context) LookupInstanceResultOutput
- func (o LookupInstanceResultOutput) VpcSecurityGroups() pulumi.StringArrayOutput
- type LookupProxyArgs
- type LookupProxyOutputArgs
- type LookupProxyResult
- type LookupProxyResultOutput
- func (o LookupProxyResultOutput) Arn() pulumi.StringOutput
- func (o LookupProxyResultOutput) Auths() GetProxyAuthArrayOutput
- func (o LookupProxyResultOutput) DebugLogging() pulumi.BoolOutput
- func (LookupProxyResultOutput) ElementType() reflect.Type
- func (o LookupProxyResultOutput) Endpoint() pulumi.StringOutput
- func (o LookupProxyResultOutput) EngineFamily() pulumi.StringOutput
- func (o LookupProxyResultOutput) Id() pulumi.StringOutput
- func (o LookupProxyResultOutput) IdleClientTimeout() pulumi.IntOutput
- func (o LookupProxyResultOutput) Name() pulumi.StringOutput
- func (o LookupProxyResultOutput) RequireTls() pulumi.BoolOutput
- func (o LookupProxyResultOutput) RoleArn() pulumi.StringOutput
- func (o LookupProxyResultOutput) ToLookupProxyResultOutput() LookupProxyResultOutput
- func (o LookupProxyResultOutput) ToLookupProxyResultOutputWithContext(ctx context.Context) LookupProxyResultOutput
- func (o LookupProxyResultOutput) VpcId() pulumi.StringOutput
- func (o LookupProxyResultOutput) VpcSecurityGroupIds() pulumi.StringArrayOutput
- func (o LookupProxyResultOutput) VpcSubnetIds() pulumi.StringArrayOutput
- type LookupSnapshotArgs
- type LookupSnapshotOutputArgs
- type LookupSnapshotResult
- type LookupSnapshotResultOutput
- func (o LookupSnapshotResultOutput) AllocatedStorage() pulumi.IntOutput
- func (o LookupSnapshotResultOutput) AvailabilityZone() pulumi.StringOutput
- func (o LookupSnapshotResultOutput) DbInstanceIdentifier() pulumi.StringPtrOutput
- func (o LookupSnapshotResultOutput) DbSnapshotArn() pulumi.StringOutput
- func (o LookupSnapshotResultOutput) DbSnapshotIdentifier() pulumi.StringPtrOutput
- func (LookupSnapshotResultOutput) ElementType() reflect.Type
- func (o LookupSnapshotResultOutput) Encrypted() pulumi.BoolOutput
- func (o LookupSnapshotResultOutput) Engine() pulumi.StringOutput
- func (o LookupSnapshotResultOutput) EngineVersion() pulumi.StringOutput
- func (o LookupSnapshotResultOutput) Id() pulumi.StringOutput
- func (o LookupSnapshotResultOutput) IncludePublic() pulumi.BoolPtrOutput
- func (o LookupSnapshotResultOutput) IncludeShared() pulumi.BoolPtrOutput
- func (o LookupSnapshotResultOutput) Iops() pulumi.IntOutput
- func (o LookupSnapshotResultOutput) KmsKeyId() pulumi.StringOutput
- func (o LookupSnapshotResultOutput) LicenseModel() pulumi.StringOutput
- func (o LookupSnapshotResultOutput) MostRecent() pulumi.BoolPtrOutput
- func (o LookupSnapshotResultOutput) OptionGroupName() pulumi.StringOutput
- func (o LookupSnapshotResultOutput) Port() pulumi.IntOutput
- func (o LookupSnapshotResultOutput) SnapshotCreateTime() pulumi.StringOutput
- func (o LookupSnapshotResultOutput) SnapshotType() pulumi.StringPtrOutput
- func (o LookupSnapshotResultOutput) SourceDbSnapshotIdentifier() pulumi.StringOutput
- func (o LookupSnapshotResultOutput) SourceRegion() pulumi.StringOutput
- func (o LookupSnapshotResultOutput) Status() pulumi.StringOutput
- func (o LookupSnapshotResultOutput) StorageType() pulumi.StringOutput
- func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutput() LookupSnapshotResultOutput
- func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutputWithContext(ctx context.Context) LookupSnapshotResultOutput
- func (o LookupSnapshotResultOutput) VpcId() pulumi.StringOutput
- type LookupSubnetGroupArgs
- type LookupSubnetGroupOutputArgs
- type LookupSubnetGroupResult
- type LookupSubnetGroupResultOutput
- func (o LookupSubnetGroupResultOutput) Arn() pulumi.StringOutput
- func (o LookupSubnetGroupResultOutput) Description() pulumi.StringOutput
- func (LookupSubnetGroupResultOutput) ElementType() reflect.Type
- func (o LookupSubnetGroupResultOutput) Id() pulumi.StringOutput
- func (o LookupSubnetGroupResultOutput) Name() pulumi.StringOutput
- func (o LookupSubnetGroupResultOutput) Status() pulumi.StringOutput
- func (o LookupSubnetGroupResultOutput) SubnetIds() pulumi.StringArrayOutput
- func (o LookupSubnetGroupResultOutput) SupportedNetworkTypes() pulumi.StringArrayOutput
- func (o LookupSubnetGroupResultOutput) ToLookupSubnetGroupResultOutput() LookupSubnetGroupResultOutput
- func (o LookupSubnetGroupResultOutput) ToLookupSubnetGroupResultOutputWithContext(ctx context.Context) LookupSubnetGroupResultOutput
- func (o LookupSubnetGroupResultOutput) VpcId() pulumi.StringOutput
- type OptionGroup
- type OptionGroupArgs
- type OptionGroupArray
- type OptionGroupArrayInput
- type OptionGroupArrayOutput
- func (OptionGroupArrayOutput) ElementType() reflect.Type
- func (o OptionGroupArrayOutput) Index(i pulumi.IntInput) OptionGroupOutput
- func (o OptionGroupArrayOutput) ToOptionGroupArrayOutput() OptionGroupArrayOutput
- func (o OptionGroupArrayOutput) ToOptionGroupArrayOutputWithContext(ctx context.Context) OptionGroupArrayOutput
- type OptionGroupInput
- type OptionGroupMap
- type OptionGroupMapInput
- type OptionGroupMapOutput
- func (OptionGroupMapOutput) ElementType() reflect.Type
- func (o OptionGroupMapOutput) MapIndex(k pulumi.StringInput) OptionGroupOutput
- func (o OptionGroupMapOutput) ToOptionGroupMapOutput() OptionGroupMapOutput
- func (o OptionGroupMapOutput) ToOptionGroupMapOutputWithContext(ctx context.Context) OptionGroupMapOutput
- type OptionGroupOption
- type OptionGroupOptionArgs
- type OptionGroupOptionArray
- type OptionGroupOptionArrayInput
- type OptionGroupOptionArrayOutput
- func (OptionGroupOptionArrayOutput) ElementType() reflect.Type
- func (o OptionGroupOptionArrayOutput) Index(i pulumi.IntInput) OptionGroupOptionOutput
- func (o OptionGroupOptionArrayOutput) ToOptionGroupOptionArrayOutput() OptionGroupOptionArrayOutput
- func (o OptionGroupOptionArrayOutput) ToOptionGroupOptionArrayOutputWithContext(ctx context.Context) OptionGroupOptionArrayOutput
- type OptionGroupOptionInput
- type OptionGroupOptionOptionSetting
- type OptionGroupOptionOptionSettingArgs
- func (OptionGroupOptionOptionSettingArgs) ElementType() reflect.Type
- func (i OptionGroupOptionOptionSettingArgs) ToOptionGroupOptionOptionSettingOutput() OptionGroupOptionOptionSettingOutput
- func (i OptionGroupOptionOptionSettingArgs) ToOptionGroupOptionOptionSettingOutputWithContext(ctx context.Context) OptionGroupOptionOptionSettingOutput
- type OptionGroupOptionOptionSettingArray
- func (OptionGroupOptionOptionSettingArray) ElementType() reflect.Type
- func (i OptionGroupOptionOptionSettingArray) ToOptionGroupOptionOptionSettingArrayOutput() OptionGroupOptionOptionSettingArrayOutput
- func (i OptionGroupOptionOptionSettingArray) ToOptionGroupOptionOptionSettingArrayOutputWithContext(ctx context.Context) OptionGroupOptionOptionSettingArrayOutput
- type OptionGroupOptionOptionSettingArrayInput
- type OptionGroupOptionOptionSettingArrayOutput
- func (OptionGroupOptionOptionSettingArrayOutput) ElementType() reflect.Type
- func (o OptionGroupOptionOptionSettingArrayOutput) Index(i pulumi.IntInput) OptionGroupOptionOptionSettingOutput
- func (o OptionGroupOptionOptionSettingArrayOutput) ToOptionGroupOptionOptionSettingArrayOutput() OptionGroupOptionOptionSettingArrayOutput
- func (o OptionGroupOptionOptionSettingArrayOutput) ToOptionGroupOptionOptionSettingArrayOutputWithContext(ctx context.Context) OptionGroupOptionOptionSettingArrayOutput
- type OptionGroupOptionOptionSettingInput
- type OptionGroupOptionOptionSettingOutput
- func (OptionGroupOptionOptionSettingOutput) ElementType() reflect.Type
- func (o OptionGroupOptionOptionSettingOutput) Name() pulumi.StringOutput
- func (o OptionGroupOptionOptionSettingOutput) ToOptionGroupOptionOptionSettingOutput() OptionGroupOptionOptionSettingOutput
- func (o OptionGroupOptionOptionSettingOutput) ToOptionGroupOptionOptionSettingOutputWithContext(ctx context.Context) OptionGroupOptionOptionSettingOutput
- func (o OptionGroupOptionOptionSettingOutput) Value() pulumi.StringOutput
- type OptionGroupOptionOutput
- func (o OptionGroupOptionOutput) DbSecurityGroupMemberships() pulumi.StringArrayOutput
- func (OptionGroupOptionOutput) ElementType() reflect.Type
- func (o OptionGroupOptionOutput) OptionName() pulumi.StringOutput
- func (o OptionGroupOptionOutput) OptionSettings() OptionGroupOptionOptionSettingArrayOutput
- func (o OptionGroupOptionOutput) Port() pulumi.IntPtrOutput
- func (o OptionGroupOptionOutput) ToOptionGroupOptionOutput() OptionGroupOptionOutput
- func (o OptionGroupOptionOutput) ToOptionGroupOptionOutputWithContext(ctx context.Context) OptionGroupOptionOutput
- func (o OptionGroupOptionOutput) Version() pulumi.StringPtrOutput
- func (o OptionGroupOptionOutput) VpcSecurityGroupMemberships() pulumi.StringArrayOutput
- type OptionGroupOutput
- func (o OptionGroupOutput) Arn() pulumi.StringOutput
- func (OptionGroupOutput) ElementType() reflect.Type
- func (o OptionGroupOutput) EngineName() pulumi.StringOutput
- func (o OptionGroupOutput) MajorEngineVersion() pulumi.StringOutput
- func (o OptionGroupOutput) Name() pulumi.StringOutput
- func (o OptionGroupOutput) NamePrefix() pulumi.StringOutput
- func (o OptionGroupOutput) OptionGroupDescription() pulumi.StringOutput
- func (o OptionGroupOutput) Options() OptionGroupOptionArrayOutput
- func (o OptionGroupOutput) Tags() pulumi.StringMapOutput
- func (o OptionGroupOutput) TagsAll() pulumi.StringMapOutput
- func (o OptionGroupOutput) ToOptionGroupOutput() OptionGroupOutput
- func (o OptionGroupOutput) ToOptionGroupOutputWithContext(ctx context.Context) OptionGroupOutput
- type OptionGroupState
- type ParameterGroup
- 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 (o ParameterGroupOutput) Arn() pulumi.StringOutput
- func (o ParameterGroupOutput) Description() pulumi.StringOutput
- func (ParameterGroupOutput) ElementType() reflect.Type
- func (o ParameterGroupOutput) Family() pulumi.StringOutput
- func (o ParameterGroupOutput) Name() pulumi.StringOutput
- func (o ParameterGroupOutput) NamePrefix() pulumi.StringOutput
- func (o ParameterGroupOutput) Parameters() ParameterGroupParameterArrayOutput
- func (o ParameterGroupOutput) Tags() pulumi.StringMapOutput
- func (o ParameterGroupOutput) TagsAll() pulumi.StringMapOutput
- func (o ParameterGroupOutput) ToParameterGroupOutput() ParameterGroupOutput
- func (o ParameterGroupOutput) ToParameterGroupOutputWithContext(ctx context.Context) ParameterGroupOutput
- 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 (o ParameterGroupParameterOutput) ApplyMethod() pulumi.StringPtrOutput
- 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 ParameterGroupState
- type Proxy
- type ProxyArgs
- type ProxyArray
- type ProxyArrayInput
- type ProxyArrayOutput
- type ProxyAuth
- type ProxyAuthArgs
- type ProxyAuthArray
- type ProxyAuthArrayInput
- type ProxyAuthArrayOutput
- func (ProxyAuthArrayOutput) ElementType() reflect.Type
- func (o ProxyAuthArrayOutput) Index(i pulumi.IntInput) ProxyAuthOutput
- func (o ProxyAuthArrayOutput) ToProxyAuthArrayOutput() ProxyAuthArrayOutput
- func (o ProxyAuthArrayOutput) ToProxyAuthArrayOutputWithContext(ctx context.Context) ProxyAuthArrayOutput
- type ProxyAuthInput
- type ProxyAuthOutput
- func (o ProxyAuthOutput) AuthScheme() pulumi.StringPtrOutput
- func (o ProxyAuthOutput) ClientPasswordAuthType() pulumi.StringPtrOutput
- func (o ProxyAuthOutput) Description() pulumi.StringPtrOutput
- func (ProxyAuthOutput) ElementType() reflect.Type
- func (o ProxyAuthOutput) IamAuth() pulumi.StringPtrOutput
- func (o ProxyAuthOutput) SecretArn() pulumi.StringPtrOutput
- func (o ProxyAuthOutput) ToProxyAuthOutput() ProxyAuthOutput
- func (o ProxyAuthOutput) ToProxyAuthOutputWithContext(ctx context.Context) ProxyAuthOutput
- func (o ProxyAuthOutput) Username() pulumi.StringPtrOutput
- type ProxyDefaultTargetGroup
- type ProxyDefaultTargetGroupArgs
- type ProxyDefaultTargetGroupArray
- func (ProxyDefaultTargetGroupArray) ElementType() reflect.Type
- func (i ProxyDefaultTargetGroupArray) ToProxyDefaultTargetGroupArrayOutput() ProxyDefaultTargetGroupArrayOutput
- func (i ProxyDefaultTargetGroupArray) ToProxyDefaultTargetGroupArrayOutputWithContext(ctx context.Context) ProxyDefaultTargetGroupArrayOutput
- type ProxyDefaultTargetGroupArrayInput
- type ProxyDefaultTargetGroupArrayOutput
- func (ProxyDefaultTargetGroupArrayOutput) ElementType() reflect.Type
- func (o ProxyDefaultTargetGroupArrayOutput) Index(i pulumi.IntInput) ProxyDefaultTargetGroupOutput
- func (o ProxyDefaultTargetGroupArrayOutput) ToProxyDefaultTargetGroupArrayOutput() ProxyDefaultTargetGroupArrayOutput
- func (o ProxyDefaultTargetGroupArrayOutput) ToProxyDefaultTargetGroupArrayOutputWithContext(ctx context.Context) ProxyDefaultTargetGroupArrayOutput
- type ProxyDefaultTargetGroupConnectionPoolConfig
- type ProxyDefaultTargetGroupConnectionPoolConfigArgs
- func (ProxyDefaultTargetGroupConnectionPoolConfigArgs) ElementType() reflect.Type
- func (i ProxyDefaultTargetGroupConnectionPoolConfigArgs) ToProxyDefaultTargetGroupConnectionPoolConfigOutput() ProxyDefaultTargetGroupConnectionPoolConfigOutput
- func (i ProxyDefaultTargetGroupConnectionPoolConfigArgs) ToProxyDefaultTargetGroupConnectionPoolConfigOutputWithContext(ctx context.Context) ProxyDefaultTargetGroupConnectionPoolConfigOutput
- func (i ProxyDefaultTargetGroupConnectionPoolConfigArgs) ToProxyDefaultTargetGroupConnectionPoolConfigPtrOutput() ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput
- func (i ProxyDefaultTargetGroupConnectionPoolConfigArgs) ToProxyDefaultTargetGroupConnectionPoolConfigPtrOutputWithContext(ctx context.Context) ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput
- type ProxyDefaultTargetGroupConnectionPoolConfigInput
- type ProxyDefaultTargetGroupConnectionPoolConfigOutput
- func (o ProxyDefaultTargetGroupConnectionPoolConfigOutput) ConnectionBorrowTimeout() pulumi.IntPtrOutput
- func (ProxyDefaultTargetGroupConnectionPoolConfigOutput) ElementType() reflect.Type
- func (o ProxyDefaultTargetGroupConnectionPoolConfigOutput) InitQuery() pulumi.StringPtrOutput
- func (o ProxyDefaultTargetGroupConnectionPoolConfigOutput) MaxConnectionsPercent() pulumi.IntPtrOutput
- func (o ProxyDefaultTargetGroupConnectionPoolConfigOutput) MaxIdleConnectionsPercent() pulumi.IntPtrOutput
- func (o ProxyDefaultTargetGroupConnectionPoolConfigOutput) SessionPinningFilters() pulumi.StringArrayOutput
- func (o ProxyDefaultTargetGroupConnectionPoolConfigOutput) ToProxyDefaultTargetGroupConnectionPoolConfigOutput() ProxyDefaultTargetGroupConnectionPoolConfigOutput
- func (o ProxyDefaultTargetGroupConnectionPoolConfigOutput) ToProxyDefaultTargetGroupConnectionPoolConfigOutputWithContext(ctx context.Context) ProxyDefaultTargetGroupConnectionPoolConfigOutput
- func (o ProxyDefaultTargetGroupConnectionPoolConfigOutput) ToProxyDefaultTargetGroupConnectionPoolConfigPtrOutput() ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput
- func (o ProxyDefaultTargetGroupConnectionPoolConfigOutput) ToProxyDefaultTargetGroupConnectionPoolConfigPtrOutputWithContext(ctx context.Context) ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput
- type ProxyDefaultTargetGroupConnectionPoolConfigPtrInput
- type ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput
- func (o ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput) ConnectionBorrowTimeout() pulumi.IntPtrOutput
- func (o ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput) Elem() ProxyDefaultTargetGroupConnectionPoolConfigOutput
- func (ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput) ElementType() reflect.Type
- func (o ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput) InitQuery() pulumi.StringPtrOutput
- func (o ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput) MaxConnectionsPercent() pulumi.IntPtrOutput
- func (o ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput) MaxIdleConnectionsPercent() pulumi.IntPtrOutput
- func (o ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput) SessionPinningFilters() pulumi.StringArrayOutput
- func (o ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput) ToProxyDefaultTargetGroupConnectionPoolConfigPtrOutput() ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput
- func (o ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput) ToProxyDefaultTargetGroupConnectionPoolConfigPtrOutputWithContext(ctx context.Context) ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput
- type ProxyDefaultTargetGroupInput
- type ProxyDefaultTargetGroupMap
- func (ProxyDefaultTargetGroupMap) ElementType() reflect.Type
- func (i ProxyDefaultTargetGroupMap) ToProxyDefaultTargetGroupMapOutput() ProxyDefaultTargetGroupMapOutput
- func (i ProxyDefaultTargetGroupMap) ToProxyDefaultTargetGroupMapOutputWithContext(ctx context.Context) ProxyDefaultTargetGroupMapOutput
- type ProxyDefaultTargetGroupMapInput
- type ProxyDefaultTargetGroupMapOutput
- func (ProxyDefaultTargetGroupMapOutput) ElementType() reflect.Type
- func (o ProxyDefaultTargetGroupMapOutput) MapIndex(k pulumi.StringInput) ProxyDefaultTargetGroupOutput
- func (o ProxyDefaultTargetGroupMapOutput) ToProxyDefaultTargetGroupMapOutput() ProxyDefaultTargetGroupMapOutput
- func (o ProxyDefaultTargetGroupMapOutput) ToProxyDefaultTargetGroupMapOutputWithContext(ctx context.Context) ProxyDefaultTargetGroupMapOutput
- type ProxyDefaultTargetGroupOutput
- func (o ProxyDefaultTargetGroupOutput) Arn() pulumi.StringOutput
- func (o ProxyDefaultTargetGroupOutput) ConnectionPoolConfig() ProxyDefaultTargetGroupConnectionPoolConfigOutput
- func (o ProxyDefaultTargetGroupOutput) DbProxyName() pulumi.StringOutput
- func (ProxyDefaultTargetGroupOutput) ElementType() reflect.Type
- func (o ProxyDefaultTargetGroupOutput) Name() pulumi.StringOutput
- func (o ProxyDefaultTargetGroupOutput) ToProxyDefaultTargetGroupOutput() ProxyDefaultTargetGroupOutput
- func (o ProxyDefaultTargetGroupOutput) ToProxyDefaultTargetGroupOutputWithContext(ctx context.Context) ProxyDefaultTargetGroupOutput
- type ProxyDefaultTargetGroupState
- type ProxyEndpoint
- type ProxyEndpointArgs
- type ProxyEndpointArray
- type ProxyEndpointArrayInput
- type ProxyEndpointArrayOutput
- func (ProxyEndpointArrayOutput) ElementType() reflect.Type
- func (o ProxyEndpointArrayOutput) Index(i pulumi.IntInput) ProxyEndpointOutput
- func (o ProxyEndpointArrayOutput) ToProxyEndpointArrayOutput() ProxyEndpointArrayOutput
- func (o ProxyEndpointArrayOutput) ToProxyEndpointArrayOutputWithContext(ctx context.Context) ProxyEndpointArrayOutput
- type ProxyEndpointInput
- type ProxyEndpointMap
- type ProxyEndpointMapInput
- type ProxyEndpointMapOutput
- func (ProxyEndpointMapOutput) ElementType() reflect.Type
- func (o ProxyEndpointMapOutput) MapIndex(k pulumi.StringInput) ProxyEndpointOutput
- func (o ProxyEndpointMapOutput) ToProxyEndpointMapOutput() ProxyEndpointMapOutput
- func (o ProxyEndpointMapOutput) ToProxyEndpointMapOutputWithContext(ctx context.Context) ProxyEndpointMapOutput
- type ProxyEndpointOutput
- func (o ProxyEndpointOutput) Arn() pulumi.StringOutput
- func (o ProxyEndpointOutput) DbProxyEndpointName() pulumi.StringOutput
- func (o ProxyEndpointOutput) DbProxyName() pulumi.StringOutput
- func (ProxyEndpointOutput) ElementType() reflect.Type
- func (o ProxyEndpointOutput) Endpoint() pulumi.StringOutput
- func (o ProxyEndpointOutput) IsDefault() pulumi.BoolOutput
- func (o ProxyEndpointOutput) Tags() pulumi.StringMapOutput
- func (o ProxyEndpointOutput) TagsAll() pulumi.StringMapOutput
- func (o ProxyEndpointOutput) TargetRole() pulumi.StringPtrOutput
- func (o ProxyEndpointOutput) ToProxyEndpointOutput() ProxyEndpointOutput
- func (o ProxyEndpointOutput) ToProxyEndpointOutputWithContext(ctx context.Context) ProxyEndpointOutput
- func (o ProxyEndpointOutput) VpcId() pulumi.StringOutput
- func (o ProxyEndpointOutput) VpcSecurityGroupIds() pulumi.StringArrayOutput
- func (o ProxyEndpointOutput) VpcSubnetIds() pulumi.StringArrayOutput
- type ProxyEndpointState
- type ProxyInput
- type ProxyMap
- type ProxyMapInput
- type ProxyMapOutput
- type ProxyOutput
- func (o ProxyOutput) Arn() pulumi.StringOutput
- func (o ProxyOutput) Auths() ProxyAuthArrayOutput
- func (o ProxyOutput) DebugLogging() pulumi.BoolPtrOutput
- func (ProxyOutput) ElementType() reflect.Type
- func (o ProxyOutput) Endpoint() pulumi.StringOutput
- func (o ProxyOutput) EngineFamily() pulumi.StringOutput
- func (o ProxyOutput) IdleClientTimeout() pulumi.IntOutput
- func (o ProxyOutput) Name() pulumi.StringOutput
- func (o ProxyOutput) RequireTls() pulumi.BoolPtrOutput
- func (o ProxyOutput) RoleArn() pulumi.StringOutput
- func (o ProxyOutput) Tags() pulumi.StringMapOutput
- func (o ProxyOutput) TagsAll() pulumi.StringMapOutput
- func (o ProxyOutput) ToProxyOutput() ProxyOutput
- func (o ProxyOutput) ToProxyOutputWithContext(ctx context.Context) ProxyOutput
- func (o ProxyOutput) VpcSecurityGroupIds() pulumi.StringArrayOutput
- func (o ProxyOutput) VpcSubnetIds() pulumi.StringArrayOutput
- type ProxyState
- type ProxyTarget
- type ProxyTargetArgs
- type ProxyTargetArray
- type ProxyTargetArrayInput
- type ProxyTargetArrayOutput
- func (ProxyTargetArrayOutput) ElementType() reflect.Type
- func (o ProxyTargetArrayOutput) Index(i pulumi.IntInput) ProxyTargetOutput
- func (o ProxyTargetArrayOutput) ToProxyTargetArrayOutput() ProxyTargetArrayOutput
- func (o ProxyTargetArrayOutput) ToProxyTargetArrayOutputWithContext(ctx context.Context) ProxyTargetArrayOutput
- type ProxyTargetInput
- type ProxyTargetMap
- type ProxyTargetMapInput
- type ProxyTargetMapOutput
- func (ProxyTargetMapOutput) ElementType() reflect.Type
- func (o ProxyTargetMapOutput) MapIndex(k pulumi.StringInput) ProxyTargetOutput
- func (o ProxyTargetMapOutput) ToProxyTargetMapOutput() ProxyTargetMapOutput
- func (o ProxyTargetMapOutput) ToProxyTargetMapOutputWithContext(ctx context.Context) ProxyTargetMapOutput
- type ProxyTargetOutput
- func (o ProxyTargetOutput) DbClusterIdentifier() pulumi.StringPtrOutput
- func (o ProxyTargetOutput) DbInstanceIdentifier() pulumi.StringPtrOutput
- func (o ProxyTargetOutput) DbProxyName() pulumi.StringOutput
- func (ProxyTargetOutput) ElementType() reflect.Type
- func (o ProxyTargetOutput) Endpoint() pulumi.StringOutput
- func (o ProxyTargetOutput) Port() pulumi.IntOutput
- func (o ProxyTargetOutput) RdsResourceId() pulumi.StringOutput
- func (o ProxyTargetOutput) TargetArn() pulumi.StringOutput
- func (o ProxyTargetOutput) TargetGroupName() pulumi.StringOutput
- func (o ProxyTargetOutput) ToProxyTargetOutput() ProxyTargetOutput
- func (o ProxyTargetOutput) ToProxyTargetOutputWithContext(ctx context.Context) ProxyTargetOutput
- func (o ProxyTargetOutput) TrackedClusterId() pulumi.StringOutput
- func (o ProxyTargetOutput) Type() pulumi.StringOutput
- type ProxyTargetState
- type ReservedInstance
- type ReservedInstanceArgs
- type ReservedInstanceArray
- type ReservedInstanceArrayInput
- type ReservedInstanceArrayOutput
- func (ReservedInstanceArrayOutput) ElementType() reflect.Type
- func (o ReservedInstanceArrayOutput) Index(i pulumi.IntInput) ReservedInstanceOutput
- func (o ReservedInstanceArrayOutput) ToReservedInstanceArrayOutput() ReservedInstanceArrayOutput
- func (o ReservedInstanceArrayOutput) ToReservedInstanceArrayOutputWithContext(ctx context.Context) ReservedInstanceArrayOutput
- type ReservedInstanceInput
- type ReservedInstanceMap
- type ReservedInstanceMapInput
- type ReservedInstanceMapOutput
- func (ReservedInstanceMapOutput) ElementType() reflect.Type
- func (o ReservedInstanceMapOutput) MapIndex(k pulumi.StringInput) ReservedInstanceOutput
- func (o ReservedInstanceMapOutput) ToReservedInstanceMapOutput() ReservedInstanceMapOutput
- func (o ReservedInstanceMapOutput) ToReservedInstanceMapOutputWithContext(ctx context.Context) ReservedInstanceMapOutput
- type ReservedInstanceOutput
- func (o ReservedInstanceOutput) Arn() pulumi.StringOutput
- func (o ReservedInstanceOutput) CurrencyCode() pulumi.StringOutput
- func (o ReservedInstanceOutput) DbInstanceClass() pulumi.StringOutput
- func (o ReservedInstanceOutput) Duration() pulumi.IntOutput
- func (ReservedInstanceOutput) ElementType() reflect.Type
- func (o ReservedInstanceOutput) FixedPrice() pulumi.Float64Output
- func (o ReservedInstanceOutput) InstanceCount() pulumi.IntPtrOutput
- func (o ReservedInstanceOutput) LeaseId() pulumi.StringOutput
- func (o ReservedInstanceOutput) MultiAz() pulumi.BoolOutput
- func (o ReservedInstanceOutput) OfferingId() pulumi.StringOutput
- func (o ReservedInstanceOutput) OfferingType() pulumi.StringOutput
- func (o ReservedInstanceOutput) ProductDescription() pulumi.StringOutput
- func (o ReservedInstanceOutput) RecurringCharges() ReservedInstanceRecurringChargeArrayOutput
- func (o ReservedInstanceOutput) ReservationId() pulumi.StringPtrOutput
- func (o ReservedInstanceOutput) StartTime() pulumi.StringOutput
- func (o ReservedInstanceOutput) State() pulumi.StringOutput
- func (o ReservedInstanceOutput) Tags() pulumi.StringMapOutput
- func (o ReservedInstanceOutput) TagsAll() pulumi.StringMapOutput
- func (o ReservedInstanceOutput) ToReservedInstanceOutput() ReservedInstanceOutput
- func (o ReservedInstanceOutput) ToReservedInstanceOutputWithContext(ctx context.Context) ReservedInstanceOutput
- func (o ReservedInstanceOutput) UsagePrice() pulumi.Float64Output
- type ReservedInstanceRecurringCharge
- type ReservedInstanceRecurringChargeArgs
- func (ReservedInstanceRecurringChargeArgs) ElementType() reflect.Type
- func (i ReservedInstanceRecurringChargeArgs) ToReservedInstanceRecurringChargeOutput() ReservedInstanceRecurringChargeOutput
- func (i ReservedInstanceRecurringChargeArgs) ToReservedInstanceRecurringChargeOutputWithContext(ctx context.Context) ReservedInstanceRecurringChargeOutput
- type ReservedInstanceRecurringChargeArray
- func (ReservedInstanceRecurringChargeArray) ElementType() reflect.Type
- func (i ReservedInstanceRecurringChargeArray) ToReservedInstanceRecurringChargeArrayOutput() ReservedInstanceRecurringChargeArrayOutput
- func (i ReservedInstanceRecurringChargeArray) ToReservedInstanceRecurringChargeArrayOutputWithContext(ctx context.Context) ReservedInstanceRecurringChargeArrayOutput
- type ReservedInstanceRecurringChargeArrayInput
- type ReservedInstanceRecurringChargeArrayOutput
- func (ReservedInstanceRecurringChargeArrayOutput) ElementType() reflect.Type
- func (o ReservedInstanceRecurringChargeArrayOutput) Index(i pulumi.IntInput) ReservedInstanceRecurringChargeOutput
- func (o ReservedInstanceRecurringChargeArrayOutput) ToReservedInstanceRecurringChargeArrayOutput() ReservedInstanceRecurringChargeArrayOutput
- func (o ReservedInstanceRecurringChargeArrayOutput) ToReservedInstanceRecurringChargeArrayOutputWithContext(ctx context.Context) ReservedInstanceRecurringChargeArrayOutput
- type ReservedInstanceRecurringChargeInput
- type ReservedInstanceRecurringChargeOutput
- func (ReservedInstanceRecurringChargeOutput) ElementType() reflect.Type
- func (o ReservedInstanceRecurringChargeOutput) RecurringChargeAmount() pulumi.IntPtrOutput
- func (o ReservedInstanceRecurringChargeOutput) RecurringChargeFrequency() pulumi.StringPtrOutput
- func (o ReservedInstanceRecurringChargeOutput) ToReservedInstanceRecurringChargeOutput() ReservedInstanceRecurringChargeOutput
- func (o ReservedInstanceRecurringChargeOutput) ToReservedInstanceRecurringChargeOutputWithContext(ctx context.Context) ReservedInstanceRecurringChargeOutput
- type ReservedInstanceState
- type RoleAssociation
- type RoleAssociationArgs
- type RoleAssociationArray
- type RoleAssociationArrayInput
- type RoleAssociationArrayOutput
- func (RoleAssociationArrayOutput) ElementType() reflect.Type
- func (o RoleAssociationArrayOutput) Index(i pulumi.IntInput) RoleAssociationOutput
- func (o RoleAssociationArrayOutput) ToRoleAssociationArrayOutput() RoleAssociationArrayOutput
- func (o RoleAssociationArrayOutput) ToRoleAssociationArrayOutputWithContext(ctx context.Context) RoleAssociationArrayOutput
- type RoleAssociationInput
- type RoleAssociationMap
- type RoleAssociationMapInput
- type RoleAssociationMapOutput
- func (RoleAssociationMapOutput) ElementType() reflect.Type
- func (o RoleAssociationMapOutput) MapIndex(k pulumi.StringInput) RoleAssociationOutput
- func (o RoleAssociationMapOutput) ToRoleAssociationMapOutput() RoleAssociationMapOutput
- func (o RoleAssociationMapOutput) ToRoleAssociationMapOutputWithContext(ctx context.Context) RoleAssociationMapOutput
- type RoleAssociationOutput
- func (o RoleAssociationOutput) DbInstanceIdentifier() pulumi.StringOutput
- func (RoleAssociationOutput) ElementType() reflect.Type
- func (o RoleAssociationOutput) FeatureName() pulumi.StringOutput
- func (o RoleAssociationOutput) RoleArn() pulumi.StringOutput
- func (o RoleAssociationOutput) ToRoleAssociationOutput() RoleAssociationOutput
- func (o RoleAssociationOutput) ToRoleAssociationOutputWithContext(ctx context.Context) RoleAssociationOutput
- type RoleAssociationState
- type SecurityGroup
- 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) SecurityGroupId() pulumi.StringPtrOutput
- 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 (o SecurityGroupOutput) Arn() pulumi.StringOutput
- func (o SecurityGroupOutput) Description() pulumi.StringOutput
- func (SecurityGroupOutput) ElementType() reflect.Type
- func (o SecurityGroupOutput) Ingress() SecurityGroupIngressArrayOutput
- func (o SecurityGroupOutput) Name() pulumi.StringOutput
- func (o SecurityGroupOutput) Tags() pulumi.StringMapOutput
- func (o SecurityGroupOutput) TagsAll() pulumi.StringMapOutput
- func (o SecurityGroupOutput) ToSecurityGroupOutput() SecurityGroupOutput
- func (o SecurityGroupOutput) ToSecurityGroupOutputWithContext(ctx context.Context) SecurityGroupOutput
- type SecurityGroupState
- type Snapshot
- type SnapshotArgs
- type SnapshotArray
- type SnapshotArrayInput
- type SnapshotArrayOutput
- type SnapshotCopy
- type SnapshotCopyArgs
- type SnapshotCopyArray
- type SnapshotCopyArrayInput
- type SnapshotCopyArrayOutput
- func (SnapshotCopyArrayOutput) ElementType() reflect.Type
- func (o SnapshotCopyArrayOutput) Index(i pulumi.IntInput) SnapshotCopyOutput
- func (o SnapshotCopyArrayOutput) ToSnapshotCopyArrayOutput() SnapshotCopyArrayOutput
- func (o SnapshotCopyArrayOutput) ToSnapshotCopyArrayOutputWithContext(ctx context.Context) SnapshotCopyArrayOutput
- type SnapshotCopyInput
- type SnapshotCopyMap
- type SnapshotCopyMapInput
- type SnapshotCopyMapOutput
- func (SnapshotCopyMapOutput) ElementType() reflect.Type
- func (o SnapshotCopyMapOutput) MapIndex(k pulumi.StringInput) SnapshotCopyOutput
- func (o SnapshotCopyMapOutput) ToSnapshotCopyMapOutput() SnapshotCopyMapOutput
- func (o SnapshotCopyMapOutput) ToSnapshotCopyMapOutputWithContext(ctx context.Context) SnapshotCopyMapOutput
- type SnapshotCopyOutput
- func (o SnapshotCopyOutput) AllocatedStorage() pulumi.IntOutput
- func (o SnapshotCopyOutput) AvailabilityZone() pulumi.StringOutput
- func (o SnapshotCopyOutput) CopyTags() pulumi.BoolPtrOutput
- func (o SnapshotCopyOutput) DbSnapshotArn() pulumi.StringOutput
- func (o SnapshotCopyOutput) DestinationRegion() pulumi.StringPtrOutput
- func (SnapshotCopyOutput) ElementType() reflect.Type
- func (o SnapshotCopyOutput) Encrypted() pulumi.BoolOutput
- func (o SnapshotCopyOutput) Engine() pulumi.StringOutput
- func (o SnapshotCopyOutput) EngineVersion() pulumi.StringOutput
- func (o SnapshotCopyOutput) Iops() pulumi.IntOutput
- func (o SnapshotCopyOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o SnapshotCopyOutput) LicenseModel() pulumi.StringOutput
- func (o SnapshotCopyOutput) OptionGroupName() pulumi.StringOutput
- func (o SnapshotCopyOutput) Port() pulumi.IntOutput
- func (o SnapshotCopyOutput) PresignedUrl() pulumi.StringPtrOutput
- func (o SnapshotCopyOutput) SnapshotType() pulumi.StringOutput
- func (o SnapshotCopyOutput) SourceDbSnapshotIdentifier() pulumi.StringOutput
- func (o SnapshotCopyOutput) SourceRegion() pulumi.StringOutput
- func (o SnapshotCopyOutput) StorageType() pulumi.StringOutput
- func (o SnapshotCopyOutput) Tags() pulumi.StringMapOutput
- func (o SnapshotCopyOutput) TagsAll() pulumi.StringMapOutput
- func (o SnapshotCopyOutput) TargetCustomAvailabilityZone() pulumi.StringPtrOutput
- func (o SnapshotCopyOutput) TargetDbSnapshotIdentifier() pulumi.StringOutput
- func (o SnapshotCopyOutput) ToSnapshotCopyOutput() SnapshotCopyOutput
- func (o SnapshotCopyOutput) ToSnapshotCopyOutputWithContext(ctx context.Context) SnapshotCopyOutput
- func (o SnapshotCopyOutput) VpcId() pulumi.StringOutput
- type SnapshotCopyState
- type SnapshotInput
- type SnapshotMap
- type SnapshotMapInput
- type SnapshotMapOutput
- type SnapshotOutput
- func (o SnapshotOutput) AllocatedStorage() pulumi.IntOutput
- func (o SnapshotOutput) AvailabilityZone() pulumi.StringOutput
- func (o SnapshotOutput) DbInstanceIdentifier() pulumi.StringOutput
- func (o SnapshotOutput) DbSnapshotArn() pulumi.StringOutput
- func (o SnapshotOutput) DbSnapshotIdentifier() pulumi.StringOutput
- func (SnapshotOutput) ElementType() reflect.Type
- func (o SnapshotOutput) Encrypted() pulumi.BoolOutput
- func (o SnapshotOutput) Engine() pulumi.StringOutput
- func (o SnapshotOutput) EngineVersion() pulumi.StringOutput
- func (o SnapshotOutput) Iops() pulumi.IntOutput
- func (o SnapshotOutput) KmsKeyId() pulumi.StringOutput
- func (o SnapshotOutput) LicenseModel() pulumi.StringOutput
- func (o SnapshotOutput) OptionGroupName() pulumi.StringOutput
- func (o SnapshotOutput) Port() pulumi.IntOutput
- func (o SnapshotOutput) SharedAccounts() pulumi.StringArrayOutput
- func (o SnapshotOutput) SnapshotType() pulumi.StringOutput
- func (o SnapshotOutput) SourceDbSnapshotIdentifier() pulumi.StringOutput
- func (o SnapshotOutput) SourceRegion() pulumi.StringOutput
- func (o SnapshotOutput) Status() pulumi.StringOutput
- func (o SnapshotOutput) StorageType() pulumi.StringOutput
- func (o SnapshotOutput) Tags() pulumi.StringMapOutput
- func (o SnapshotOutput) TagsAll() pulumi.StringMapOutput
- func (o SnapshotOutput) ToSnapshotOutput() SnapshotOutput
- func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
- func (o SnapshotOutput) VpcId() pulumi.StringOutput
- type SnapshotState
- type StorageType
- func (StorageType) ElementType() reflect.Type
- func (e StorageType) ToStorageTypeOutput() StorageTypeOutput
- func (e StorageType) ToStorageTypeOutputWithContext(ctx context.Context) StorageTypeOutput
- func (e StorageType) ToStorageTypePtrOutput() StorageTypePtrOutput
- func (e StorageType) ToStorageTypePtrOutputWithContext(ctx context.Context) StorageTypePtrOutput
- func (e StorageType) ToStringOutput() pulumi.StringOutput
- func (e StorageType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (e StorageType) ToStringPtrOutput() pulumi.StringPtrOutput
- func (e StorageType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type StorageTypeInput
- type StorageTypeOutput
- func (StorageTypeOutput) ElementType() reflect.Type
- func (o StorageTypeOutput) ToStorageTypeOutput() StorageTypeOutput
- func (o StorageTypeOutput) ToStorageTypeOutputWithContext(ctx context.Context) StorageTypeOutput
- func (o StorageTypeOutput) ToStorageTypePtrOutput() StorageTypePtrOutput
- func (o StorageTypeOutput) ToStorageTypePtrOutputWithContext(ctx context.Context) StorageTypePtrOutput
- func (o StorageTypeOutput) ToStringOutput() pulumi.StringOutput
- func (o StorageTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
- func (o StorageTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o StorageTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type StorageTypePtrInput
- type StorageTypePtrOutput
- func (o StorageTypePtrOutput) Elem() StorageTypeOutput
- func (StorageTypePtrOutput) ElementType() reflect.Type
- func (o StorageTypePtrOutput) ToStorageTypePtrOutput() StorageTypePtrOutput
- func (o StorageTypePtrOutput) ToStorageTypePtrOutputWithContext(ctx context.Context) StorageTypePtrOutput
- func (o StorageTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
- func (o StorageTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
- type SubnetGroup
- 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 (o SubnetGroupOutput) Arn() pulumi.StringOutput
- func (o SubnetGroupOutput) Description() pulumi.StringOutput
- func (SubnetGroupOutput) ElementType() reflect.Type
- func (o SubnetGroupOutput) Name() pulumi.StringOutput
- func (o SubnetGroupOutput) NamePrefix() pulumi.StringOutput
- func (o SubnetGroupOutput) SubnetIds() pulumi.StringArrayOutput
- func (o SubnetGroupOutput) SupportedNetworkTypes() pulumi.StringArrayOutput
- func (o SubnetGroupOutput) Tags() pulumi.StringMapOutput
- func (o SubnetGroupOutput) TagsAll() pulumi.StringMapOutput
- func (o SubnetGroupOutput) ToSubnetGroupOutput() SubnetGroupOutput
- func (o SubnetGroupOutput) ToSubnetGroupOutputWithContext(ctx context.Context) SubnetGroupOutput
- type SubnetGroupState
Constants ¶
const ( EngineModeProvisioned = EngineMode("provisioned") EngineModeServerless = EngineMode("serverless") EngineModeParallelQuery = EngineMode("parallelquery") EngineModeGlobal = EngineMode("global") )
const ( EngineTypeAurora = EngineType("aurora") EngineTypeAuroraMysql = EngineType("aurora-mysql") EngineTypeAuroraPostgresql = EngineType("aurora-postgresql") )
const ( InstanceType_T4G_Micro = InstanceType("db.t4g.micro") InstanceType_T4G_Small = InstanceType("db.t4g.small") InstanceType_T4G_Medium = InstanceType("db.t4g.medium") InstanceType_T4G_Large = InstanceType("db.t4g.large") InstanceType_T4G_XLarge = InstanceType("db.t4g.xlarge") InstanceType_T4G_2XLarge = InstanceType("db.t4g.2xlarge") InstanceType_T3_Micro = InstanceType("db.t3.micro") InstanceType_T3_Small = InstanceType("db.t3.small") InstanceType_T3_Medium = InstanceType("db.t3.medium") InstanceType_T3_Large = InstanceType("db.t3.large") InstanceType_T3_XLarge = InstanceType("db.t3.xlarge") InstanceType_T3_2XLarge = InstanceType("db.t3.2xlarge") InstanceType_T2_Micro = InstanceType("db.t2.micro") InstanceType_T2_Small = InstanceType("db.t2.small") InstanceType_T2_Medium = InstanceType("db.t2.medium") InstanceType_T2_Large = InstanceType("db.t2.large") InstanceType_T2_XLarge = InstanceType("db.t2.xlarge") InstanceType_T2_2XLarge = InstanceType("db.t2.2xlarge") InstanceType_M1_Small = InstanceType("db.m1.small") InstanceType_M1_Medium = InstanceType("db.m1.medium") InstanceType_M1_Large = InstanceType("db.m1.large") InstanceType_M1_XLarge = InstanceType("db.m1.xlarge") InstanceType_M2_XLarge = InstanceType("db.m2.xlarge") InstanceType_M2_2XLarge = InstanceType("db.m2.2xlarge") InstanceType_M2_4XLarge = InstanceType("db.m2.4xlarge") InstanceType_M3_Medium = InstanceType("db.m3.medium") InstanceType_M3_Large = InstanceType("db.m3.large") InstanceType_M3_XLarge = InstanceType("db.m3.xlarge") InstanceType_M3_2XLarge = InstanceType("db.m3.2xlarge") InstanceType_M4_Large = InstanceType("db.m4.large") InstanceType_M4_XLarge = InstanceType("db.m4.xlarge") InstanceType_M4_2XLarge = InstanceType("db.m4.2xlarge") InstanceType_M4_4XLarge = InstanceType("db.m4.4xlarge") InstanceType_M4_10XLarge = InstanceType("db.m4.10xlarge") InstanceType_M4_16XLarge = InstanceType("db.m4.10xlarge") InstanceType_M5_Large = InstanceType("db.m5.large") InstanceType_M5_XLarge = InstanceType("db.m5.xlarge") InstanceType_M5_2XLarge = InstanceType("db.m5.2xlarge") InstanceType_M5_4XLarge = InstanceType("db.m5.4xlarge") InstanceType_M5_12XLarge = InstanceType("db.m5.12xlarge") InstanceType_M5_24XLarge = InstanceType("db.m5.24xlarge") InstanceType_M6G_Large = InstanceType("db.m6g.large") InstanceType_M6G_XLarge = InstanceType("db.m6g.xlarge") InstanceType_M6G_2XLarge = InstanceType("db.m6g.2xlarge") InstanceType_M6G_4XLarge = InstanceType("db.m6g.4xlarge") InstanceType_M6G_8XLarge = InstanceType("db.m6g.8xlarge") InstanceType_M6G_12XLarge = InstanceType("db.m6g.12xlarge") InstanceType_M6G_16XLarge = InstanceType("db.m6g.16xlarge") InstanceType_R3_Large = InstanceType("db.r3.large") InstanceType_R3_XLarge = InstanceType("db.r3.xlarge") InstanceType_R3_2XLarge = InstanceType("db.r3.2xlarge") InstanceType_R3_4XLarge = InstanceType("db.r3.4xlarge") InstanceType_R3_8XLarge = InstanceType("db.r3.8xlarge") InstanceType_R4_Large = InstanceType("db.r4.large") InstanceType_R4_XLarge = InstanceType("db.r4.xlarge") InstanceType_R4_2XLarge = InstanceType("db.r4.2xlarge") InstanceType_R4_4XLarge = InstanceType("db.r4.4xlarge") InstanceType_R4_8XLarge = InstanceType("db.r4.8xlarge") InstanceType_R4_16XLarge = InstanceType("db.r4.16xlarge") InstanceType_R5_Large = InstanceType("db.r5.large") InstanceType_R5_XLarge = InstanceType("db.r5.xlarge") InstanceType_R5_2XLarge = InstanceType("db.r5.2xlarge") InstanceType_R5_4XLarge = InstanceType("db.r5.4xlarge") InstanceType_R5_12XLarge = InstanceType("db.r5.12xlarge") InstanceType_R5_24XLarge = InstanceType("db.r5.24xlarge") InstanceType_R6G_Large = InstanceType("db.r6g.large") InstanceType_R6G_XLarge = InstanceType("db.r6g.xlarge") InstanceType_R6G_2XLarge = InstanceType("db.r6g.2xlarge") InstanceType_R6G_4XLarge = InstanceType("db.r6g.4xlarge") InstanceType_R6G_8XLarge = InstanceType("db.r6g.8xlarge") InstanceType_R6G_12XLarge = InstanceType("db.r6g.12xlarge") InstanceType_R6G_16XLarge = InstanceType("db.r6g.16xlarge") InstanceType_X1_16XLarge = InstanceType("db.x1.16xlarge") InstanceType_X1_32XLarge = InstanceType("db.x1.32xlarge") InstanceType_X1E_XLarge = InstanceType("db.x1e.xlarge") InstanceType_X1E_2XLarge = InstanceType("db.x1e.2xlarge") InstanceType_X1E_4XLarge = InstanceType("db.x1e.4xlarge") InstanceType_X1E_8XLarge = InstanceType("db.x1e.8xlarge") InstanceType_X1E_32XLarge = InstanceType("db.x1e.32xlarge") )
const ( StorageTypeStandard = StorageType("standard") StorageTypeGP2 = StorageType("gp2") StorageTypeGP3 = StorageType("gp3") StorageTypeIO1 = StorageType("io1") )
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶
PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.
Types ¶
type Cluster ¶
type Cluster struct { pulumi.CustomResourceState // The amount of storage in gibibytes (GiB) to allocate to each DB instance in the Multi-AZ DB cluster. (This setting is required to create a Multi-AZ DB cluster). AllocatedStorage pulumi.IntOutput `pulumi:"allocatedStorage"` // Enable to allow major engine version upgrades when changing engine versions. Defaults to `false`. AllowMajorVersionUpgrade pulumi.BoolPtrOutput `pulumi:"allowMajorVersionUpgrade"` // Specifies whether any cluster modifications are applied immediately, or during the next maintenance window. Default is `false`. See [Amazon RDS Documentation for more information.](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Modifying.html) ApplyImmediately pulumi.BoolOutput `pulumi:"applyImmediately"` // Amazon Resource Name (ARN) of cluster Arn pulumi.StringOutput `pulumi:"arn"` // List of EC2 Availability Zones for the DB cluster storage where DB cluster instances can be created. RDS automatically assigns 3 AZs if less than 3 AZs are configured, which will show as a difference requiring resource recreation next apply. We recommend specifying 3 AZs or using the `lifecycle` configuration block `ignoreChanges` argument if necessary. A maximum of 3 AZs can be configured. AvailabilityZones pulumi.StringArrayOutput `pulumi:"availabilityZones"` // The target backtrack window, in seconds. Only available for `aurora` and `aurora-mysql` engines currently. To disable backtracking, set this value to `0`. Defaults to `0`. Must be between `0` and `259200` (72 hours) BacktrackWindow pulumi.IntPtrOutput `pulumi:"backtrackWindow"` // The days to retain backups for. Default `1` BackupRetentionPeriod pulumi.IntPtrOutput `pulumi:"backupRetentionPeriod"` // The cluster identifier. If omitted, this provider will assign a random, unique identifier. ClusterIdentifier pulumi.StringOutput `pulumi:"clusterIdentifier"` // Creates a unique cluster identifier beginning with the specified prefix. Conflicts with `clusterIdentifier`. ClusterIdentifierPrefix pulumi.StringOutput `pulumi:"clusterIdentifierPrefix"` // List of RDS Instances that are a part of this cluster ClusterMembers pulumi.StringArrayOutput `pulumi:"clusterMembers"` // The RDS Cluster Resource ID ClusterResourceId pulumi.StringOutput `pulumi:"clusterResourceId"` // Copy all Cluster `tags` to snapshots. Default is `false`. CopyTagsToSnapshot pulumi.BoolPtrOutput `pulumi:"copyTagsToSnapshot"` // Name for an automatically created database on cluster creation. There are different naming restrictions per database engine: [RDS Naming Constraints](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints) DatabaseName pulumi.StringOutput `pulumi:"databaseName"` // The compute and memory capacity of each DB instance in the Multi-AZ DB cluster, for example db.m6g.xlarge. Not all DB instance classes are available in all AWS Regions, or for all database engines. For the full list of DB instance classes and availability for your engine, see [DB instance class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) in the Amazon RDS User Guide. (This setting is required to create a Multi-AZ DB cluster). DbClusterInstanceClass pulumi.StringPtrOutput `pulumi:"dbClusterInstanceClass"` // A cluster parameter group to associate with the cluster. DbClusterParameterGroupName pulumi.StringOutput `pulumi:"dbClusterParameterGroupName"` // Instance parameter group to associate with all instances of the DB cluster. The `dbInstanceParameterGroupName` parameter is only valid in combination with the `allowMajorVersionUpgrade` parameter. DbInstanceParameterGroupName pulumi.StringPtrOutput `pulumi:"dbInstanceParameterGroupName"` // A DB subnet group to associate with this DB instance. **NOTE:** This must match the `dbSubnetGroupName` specified on every `rds.ClusterInstance` in the cluster. DbSubnetGroupName pulumi.StringOutput `pulumi:"dbSubnetGroupName"` // If the DB instance should have deletion protection enabled. The database can't be deleted when this value is set to `true`. The default is `false`. DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"` // Whether cluster should forward writes to an associated global cluster. Applied to secondary clusters to enable them to forward writes to an `rds.GlobalCluster`'s primary cluster. See the [Aurora Userguide documentation](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-write-forwarding.html) for more information. EnableGlobalWriteForwarding pulumi.BoolPtrOutput `pulumi:"enableGlobalWriteForwarding"` // Enable HTTP endpoint (data API). Only valid when `engineMode` is set to `serverless`. EnableHttpEndpoint pulumi.BoolPtrOutput `pulumi:"enableHttpEndpoint"` // Set of log types to export to cloudwatch. If omitted, no logs will be exported. The following log types are supported: `audit`, `error`, `general`, `slowquery`, `postgresql` (PostgreSQL). EnabledCloudwatchLogsExports pulumi.StringArrayOutput `pulumi:"enabledCloudwatchLogsExports"` // The DNS address of the RDS instance Endpoint pulumi.StringOutput `pulumi:"endpoint"` // The name of the database engine to be used for this DB cluster. Defaults to `aurora`. Valid Values: `aurora`, `aurora-mysql`, `aurora-postgresql`, `mysql`, `postgres`. (Note that `mysql` and `postgres` are Multi-AZ RDS clusters). Engine pulumi.StringPtrOutput `pulumi:"engine"` // The database engine mode. Valid values: `global` (only valid for Aurora MySQL 1.21 and earlier), `multimaster`, `parallelquery`, `provisioned`, `serverless`. Defaults to: `provisioned`. See the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/aurora-serverless.html) for limitations when using `serverless`. EngineMode pulumi.StringPtrOutput `pulumi:"engineMode"` // The database engine version. Updating this argument results in an outage. See the [Aurora MySQL](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Updates.html) and [Aurora Postgres](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Updates.html) documentation for your configured engine to determine this value. For example with Aurora MySQL 2, a potential value for this argument is `5.7.mysql_aurora.2.03.2`. The value can contain a partial version where supported by the API. The actual engine version used is returned in the attribute `engineVersionActual`, , see Attributes Reference below. EngineVersion pulumi.StringOutput `pulumi:"engineVersion"` // The running version of the database. EngineVersionActual pulumi.StringOutput `pulumi:"engineVersionActual"` // The name of your final DB snapshot when this DB cluster is deleted. If omitted, no final snapshot will be made. FinalSnapshotIdentifier pulumi.StringPtrOutput `pulumi:"finalSnapshotIdentifier"` // The global cluster identifier specified on `rds.GlobalCluster`. GlobalClusterIdentifier pulumi.StringPtrOutput `pulumi:"globalClusterIdentifier"` // The Route53 Hosted Zone ID of the endpoint HostedZoneId pulumi.StringOutput `pulumi:"hostedZoneId"` // Specifies whether or not mappings of AWS Identity and Access Management (IAM) accounts to database accounts is enabled. Please see [AWS Documentation](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html) for availability and limitations. IamDatabaseAuthenticationEnabled pulumi.BoolPtrOutput `pulumi:"iamDatabaseAuthenticationEnabled"` // A List of ARNs for the IAM roles to associate to the RDS Cluster. IamRoles pulumi.StringArrayOutput `pulumi:"iamRoles"` // The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for each DB instance in the Multi-AZ DB cluster. For information about valid Iops values, see [Amazon RDS Provisioned IOPS storage to improve performance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS) in the Amazon RDS User Guide. (This setting is required to create a Multi-AZ DB cluster). Must be a multiple between .5 and 50 of the storage amount for the DB cluster. Iops pulumi.IntPtrOutput `pulumi:"iops"` // The ARN for the KMS encryption key. When specifying `kmsKeyId`, `storageEncrypted` needs to be set to true. KmsKeyId pulumi.StringOutput `pulumi:"kmsKeyId"` // Password for the master DB user. Note that this may show up in logs, and it will be stored in the state file. Please refer to the [RDS Naming Constraints](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints) MasterPassword pulumi.StringPtrOutput `pulumi:"masterPassword"` // Username for the master DB user. Please refer to the [RDS Naming Constraints](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints). This argument does not support in-place updates and cannot be changed during a restore from snapshot. MasterUsername pulumi.StringOutput `pulumi:"masterUsername"` // The network type of the cluster. Valid values: `IPV4`, `DUAL`. NetworkType pulumi.StringOutput `pulumi:"networkType"` // The port on which the DB accepts connections Port pulumi.IntOutput `pulumi:"port"` // The daily time range during which automated backups are created if automated backups are enabled using the BackupRetentionPeriod parameter.Time in UTC. Default: A 30-minute window selected at random from an 8-hour block of time per regionE.g., 04:00-09:00 PreferredBackupWindow pulumi.StringOutput `pulumi:"preferredBackupWindow"` // The weekly time range during which system maintenance can occur, in (UTC) e.g., wed:04:00-wed:04:30 PreferredMaintenanceWindow pulumi.StringOutput `pulumi:"preferredMaintenanceWindow"` // A read-only endpoint for the Aurora cluster, automatically // load-balanced across replicas ReaderEndpoint pulumi.StringOutput `pulumi:"readerEndpoint"` // ARN of a source DB cluster or DB instance if this DB cluster is to be created as a Read Replica. If DB Cluster is part of a Global Cluster, use the `lifecycle` configuration block `ignoreChanges` argument to prevent this provider from showing differences for this argument instead of configuring this value. ReplicationSourceIdentifier pulumi.StringPtrOutput `pulumi:"replicationSourceIdentifier"` // Nested attribute for [point in time restore](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PIT.html). More details below. RestoreToPointInTime ClusterRestoreToPointInTimePtrOutput `pulumi:"restoreToPointInTime"` S3Import ClusterS3ImportPtrOutput `pulumi:"s3Import"` // Nested attribute with scaling properties. Only valid when `engineMode` is set to `serverless`. More details below. ScalingConfiguration ClusterScalingConfigurationPtrOutput `pulumi:"scalingConfiguration"` // Nested attribute with scaling properties for ServerlessV2. Only valid when `engineMode` is set to `provisioned`. More details below. Serverlessv2ScalingConfiguration ClusterServerlessv2ScalingConfigurationPtrOutput `pulumi:"serverlessv2ScalingConfiguration"` // Determines whether a final DB snapshot is created before the DB cluster is deleted. If true is specified, no DB snapshot is created. If false is specified, a DB snapshot is created before the DB cluster is deleted, using the value from `finalSnapshotIdentifier`. Default is `false`. SkipFinalSnapshot pulumi.BoolPtrOutput `pulumi:"skipFinalSnapshot"` // Specifies whether or not to create this cluster from a snapshot. You can use either the name or ARN when specifying a DB cluster snapshot, or the ARN when specifying a DB snapshot. SnapshotIdentifier pulumi.StringPtrOutput `pulumi:"snapshotIdentifier"` // The source region for an encrypted replica DB cluster. SourceRegion pulumi.StringPtrOutput `pulumi:"sourceRegion"` // Specifies whether the DB cluster is encrypted. The default is `false` for `provisioned` `engineMode` and `true` for `serverless` `engineMode`. When restoring an unencrypted `snapshotIdentifier`, the `kmsKeyId` argument must be provided to encrypt the restored cluster. The provider will only perform drift detection if a configuration value is provided. StorageEncrypted pulumi.BoolOutput `pulumi:"storageEncrypted"` // Specifies the storage type to be associated with the DB cluster. (This setting is required to create a Multi-AZ DB cluster). Valid values: `io1`, Default: `io1`. StorageType pulumi.StringPtrOutput `pulumi:"storageType"` // A map of tags to assign to the DB cluster. 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"` // List of VPC security groups to associate with the Cluster VpcSecurityGroupIds pulumi.StringArrayOutput `pulumi:"vpcSecurityGroupIds"` }
Manages a [RDS Aurora Cluster](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html). To manage cluster instances that inherit configuration from the cluster (when not running the cluster in `serverless` engine mode), see the `rds.ClusterInstance` resource. To manage non-Aurora databases (e.g., MySQL, PostgreSQL, SQL Server, etc.), see the `rds.Instance` resource.
For information on the difference between the available Aurora MySQL engines see [Comparison between Aurora MySQL 1 and Aurora MySQL 2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AuroraMySQL.Updates.20180206.html) in the Amazon RDS User Guide.
Changes to an RDS Cluster can occur when you manually change a parameter, such as `port`, and are reflected in the next maintenance window. Because of this, this provider may report a difference in its planning phase because a modification has not yet taken place. You can use the `applyImmediately` flag to instruct the service to apply the change immediately (see documentation below).
> **Note:** using `applyImmediately` can result in a brief downtime as the server reboots. See the AWS Docs on [RDS Maintenance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html) for more information.
## Example Usage ### Aurora MySQL 2.x (MySQL 5.7)
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.NewCluster(ctx, "default", &rds.ClusterArgs{ AvailabilityZones: pulumi.StringArray{ pulumi.String("us-west-2a"), pulumi.String("us-west-2b"), pulumi.String("us-west-2c"), }, BackupRetentionPeriod: pulumi.Int(5), ClusterIdentifier: pulumi.String("aurora-cluster-demo"), DatabaseName: pulumi.String("mydb"), Engine: pulumi.String("aurora-mysql"), EngineVersion: pulumi.String("5.7.mysql_aurora.2.03.2"), MasterPassword: pulumi.String("bar"), MasterUsername: pulumi.String("foo"), PreferredBackupWindow: pulumi.String("07:00-09:00"), }) if err != nil { return err } return nil }) }
``` ### Aurora MySQL 1.x (MySQL 5.6)
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.NewCluster(ctx, "default", &rds.ClusterArgs{ AvailabilityZones: pulumi.StringArray{ pulumi.String("us-west-2a"), pulumi.String("us-west-2b"), pulumi.String("us-west-2c"), }, BackupRetentionPeriod: pulumi.Int(5), ClusterIdentifier: pulumi.String("aurora-cluster-demo"), DatabaseName: pulumi.String("mydb"), MasterPassword: pulumi.String("bar"), MasterUsername: pulumi.String("foo"), PreferredBackupWindow: pulumi.String("07:00-09:00"), }) if err != nil { return err } return nil }) }
``` ### Aurora with PostgreSQL engine
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.NewCluster(ctx, "postgresql", &rds.ClusterArgs{ AvailabilityZones: pulumi.StringArray{ pulumi.String("us-west-2a"), pulumi.String("us-west-2b"), pulumi.String("us-west-2c"), }, BackupRetentionPeriod: pulumi.Int(5), ClusterIdentifier: pulumi.String("aurora-cluster-demo"), DatabaseName: pulumi.String("mydb"), Engine: pulumi.String("aurora-postgresql"), MasterPassword: pulumi.String("bar"), MasterUsername: pulumi.String("foo"), PreferredBackupWindow: pulumi.String("07:00-09:00"), }) if err != nil { return err } return nil }) }
``` ### Aurora Multi-Master Cluster
> More information about Aurora Multi-Master Clusters can be found in the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-multi-master.html).
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.NewCluster(ctx, "example", &rds.ClusterArgs{ ClusterIdentifier: pulumi.String("example"), DbSubnetGroupName: pulumi.Any(aws_db_subnet_group.Example.Name), EngineMode: pulumi.String("multimaster"), MasterPassword: pulumi.String("barbarbarbar"), MasterUsername: pulumi.String("foo"), SkipFinalSnapshot: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
``` ### RDS Multi-AZ Cluster
> More information about RDS Multi-AZ Clusters can be found in the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/multi-az-db-clusters-concepts.html).
To create a Multi-AZ RDS cluster, you must additionally specify the `engine`, `storageType`, `allocatedStorage`, `iops` and `dbClusterInstanceClass` attributes.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.NewCluster(ctx, "example", &rds.ClusterArgs{ AllocatedStorage: pulumi.Int(100), AvailabilityZones: pulumi.StringArray{ pulumi.String("us-west-2a"), pulumi.String("us-west-2b"), pulumi.String("us-west-2c"), }, ClusterIdentifier: pulumi.String("example"), DbClusterInstanceClass: pulumi.String("db.r6gd.xlarge"), Engine: pulumi.String("mysql"), Iops: pulumi.Int(1000), MasterPassword: pulumi.String("mustbeeightcharaters"), MasterUsername: pulumi.String("test"), StorageType: pulumi.String("io1"), }) if err != nil { return err } return nil }) }
``` ### RDS Serverless v2 Cluster
> More information about RDS Serverless v2 Clusters can be found in the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html).
To create a Serverless v2 RDS cluster, you must additionally specify the `engineMode` and `serverlessv2ScalingConfiguration` attributes. An `rds.ClusterInstance` resource must also be added to the cluster with the `instanceClass` attribute specified.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleCluster, err := rds.NewCluster(ctx, "exampleCluster", &rds.ClusterArgs{ ClusterIdentifier: pulumi.String("example"), Engine: pulumi.String("aurora-postgresql"), EngineMode: pulumi.String("provisioned"), EngineVersion: pulumi.String("13.6"), DatabaseName: pulumi.String("test"), MasterUsername: pulumi.String("test"), MasterPassword: pulumi.String("must_be_eight_characters"), Serverlessv2ScalingConfiguration: &rds.ClusterServerlessv2ScalingConfigurationArgs{ MaxCapacity: pulumi.Float64(1), MinCapacity: pulumi.Float64(0.5), }, }) if err != nil { return err } _, err = rds.NewClusterInstance(ctx, "exampleClusterInstance", &rds.ClusterInstanceArgs{ ClusterIdentifier: exampleCluster.ID(), InstanceClass: pulumi.String("db.serverless"), Engine: exampleCluster.Engine, EngineVersion: exampleCluster.EngineVersion, }) if err != nil { return err } return nil }) }
```
## Import
RDS Clusters can be imported using the `cluster_identifier`, e.g.,
```sh
$ pulumi import aws:rds/cluster:Cluster aurora_cluster aurora-prod-cluster
```
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
type ClusterActivityStream ¶ added in v5.2.0
type ClusterActivityStream struct { pulumi.CustomResourceState // Specifies whether the database activity stream includes engine-native audit fields. This option only applies to an Oracle DB instance. By default, no engine-native audit fields are included. Defaults `false`. EngineNativeAuditFieldsIncluded pulumi.BoolPtrOutput `pulumi:"engineNativeAuditFieldsIncluded"` // The name of the Amazon Kinesis data stream to be used for the database activity stream. KinesisStreamName pulumi.StringOutput `pulumi:"kinesisStreamName"` // The AWS KMS key identifier for encrypting messages in the database activity stream. The AWS KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. KmsKeyId pulumi.StringOutput `pulumi:"kmsKeyId"` // Specifies the mode of the database activity stream. Database events such as a change or access generate an activity stream event. The database session can handle these events either synchronously or asynchronously. One of: `sync`, `async`. Mode pulumi.StringOutput `pulumi:"mode"` // The Amazon Resource Name (ARN) of the DB cluster. ResourceArn pulumi.StringOutput `pulumi:"resourceArn"` }
Manages RDS Aurora Cluster Database Activity Streams.
Database Activity Streams have some limits and requirements, refer to the [Monitoring Amazon Aurora using Database Activity Streams](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/DBActivityStreams.html) documentation for detailed limitations and requirements.
> **Note:** This resource always calls the RDS [`StartActivityStream`][2] API with the `ApplyImmediately` parameter set to `true`. This is because the provider needs the activity stream to be started in order for it to get the associated attributes.
> **Note:** This resource depends on having at least one `rds.ClusterInstance` created. To avoid race conditions when all resources are being created together, add an explicit resource reference using the resource `dependsOn` meta-argument.
> **Note:** This resource is available in all regions except the following: `cn-north-1`, `cn-northwest-1`, `us-gov-east-1`, `us-gov-west-1`
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/kms" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultCluster, err := rds.NewCluster(ctx, "defaultCluster", &rds.ClusterArgs{ ClusterIdentifier: pulumi.String("aurora-cluster-demo"), AvailabilityZones: pulumi.StringArray{ pulumi.String("us-west-2a"), pulumi.String("us-west-2b"), pulumi.String("us-west-2c"), }, DatabaseName: pulumi.String("mydb"), MasterUsername: pulumi.String("foo"), MasterPassword: pulumi.String("mustbeeightcharaters"), Engine: pulumi.String("aurora-postgresql"), EngineVersion: pulumi.String("13.4"), }) if err != nil { return err } defaultClusterInstance, err := rds.NewClusterInstance(ctx, "defaultClusterInstance", &rds.ClusterInstanceArgs{ Identifier: pulumi.String("aurora-instance-demo"), ClusterIdentifier: defaultCluster.ClusterIdentifier, Engine: defaultCluster.Engine, InstanceClass: pulumi.String("db.r6g.large"), }) if err != nil { return err } defaultKey, err := kms.NewKey(ctx, "defaultKey", &kms.KeyArgs{ Description: pulumi.String("AWS KMS Key to encrypt Database Activity Stream"), }) if err != nil { return err } _, err = rds.NewClusterActivityStream(ctx, "defaultClusterActivityStream", &rds.ClusterActivityStreamArgs{ ResourceArn: defaultCluster.Arn, Mode: pulumi.String("async"), KmsKeyId: defaultKey.KeyId, }, pulumi.DependsOn([]pulumi.Resource{ defaultClusterInstance, })) if err != nil { return err } return nil }) }
```
## Import
RDS Aurora Cluster Database Activity Streams can be imported using the `resource_arn`, e.g.
```sh
$ pulumi import aws:rds/clusterActivityStream:ClusterActivityStream default arn:aws:rds:us-west-2:123456789012:cluster:aurora-cluster-demo
```
[1]https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/DBActivityStreams.html [2]https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_StartActivityStream.html [3]https://docs.aws.amazon.com/cli/latest/reference/rds/start-activity-stream.html
func GetClusterActivityStream ¶ added in v5.2.0
func GetClusterActivityStream(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ClusterActivityStreamState, opts ...pulumi.ResourceOption) (*ClusterActivityStream, error)
GetClusterActivityStream gets an existing ClusterActivityStream 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 NewClusterActivityStream ¶ added in v5.2.0
func NewClusterActivityStream(ctx *pulumi.Context, name string, args *ClusterActivityStreamArgs, opts ...pulumi.ResourceOption) (*ClusterActivityStream, error)
NewClusterActivityStream registers a new resource with the given unique name, arguments, and options.
func (*ClusterActivityStream) ElementType ¶ added in v5.2.0
func (*ClusterActivityStream) ElementType() reflect.Type
func (*ClusterActivityStream) ToClusterActivityStreamOutput ¶ added in v5.2.0
func (i *ClusterActivityStream) ToClusterActivityStreamOutput() ClusterActivityStreamOutput
func (*ClusterActivityStream) ToClusterActivityStreamOutputWithContext ¶ added in v5.2.0
func (i *ClusterActivityStream) ToClusterActivityStreamOutputWithContext(ctx context.Context) ClusterActivityStreamOutput
type ClusterActivityStreamArgs ¶ added in v5.2.0
type ClusterActivityStreamArgs struct { // Specifies whether the database activity stream includes engine-native audit fields. This option only applies to an Oracle DB instance. By default, no engine-native audit fields are included. Defaults `false`. EngineNativeAuditFieldsIncluded pulumi.BoolPtrInput // The AWS KMS key identifier for encrypting messages in the database activity stream. The AWS KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. KmsKeyId pulumi.StringInput // Specifies the mode of the database activity stream. Database events such as a change or access generate an activity stream event. The database session can handle these events either synchronously or asynchronously. One of: `sync`, `async`. Mode pulumi.StringInput // The Amazon Resource Name (ARN) of the DB cluster. ResourceArn pulumi.StringInput }
The set of arguments for constructing a ClusterActivityStream resource.
func (ClusterActivityStreamArgs) ElementType ¶ added in v5.2.0
func (ClusterActivityStreamArgs) ElementType() reflect.Type
type ClusterActivityStreamArray ¶ added in v5.2.0
type ClusterActivityStreamArray []ClusterActivityStreamInput
func (ClusterActivityStreamArray) ElementType ¶ added in v5.2.0
func (ClusterActivityStreamArray) ElementType() reflect.Type
func (ClusterActivityStreamArray) ToClusterActivityStreamArrayOutput ¶ added in v5.2.0
func (i ClusterActivityStreamArray) ToClusterActivityStreamArrayOutput() ClusterActivityStreamArrayOutput
func (ClusterActivityStreamArray) ToClusterActivityStreamArrayOutputWithContext ¶ added in v5.2.0
func (i ClusterActivityStreamArray) ToClusterActivityStreamArrayOutputWithContext(ctx context.Context) ClusterActivityStreamArrayOutput
type ClusterActivityStreamArrayInput ¶ added in v5.2.0
type ClusterActivityStreamArrayInput interface { pulumi.Input ToClusterActivityStreamArrayOutput() ClusterActivityStreamArrayOutput ToClusterActivityStreamArrayOutputWithContext(context.Context) ClusterActivityStreamArrayOutput }
ClusterActivityStreamArrayInput is an input type that accepts ClusterActivityStreamArray and ClusterActivityStreamArrayOutput values. You can construct a concrete instance of `ClusterActivityStreamArrayInput` via:
ClusterActivityStreamArray{ ClusterActivityStreamArgs{...} }
type ClusterActivityStreamArrayOutput ¶ added in v5.2.0
type ClusterActivityStreamArrayOutput struct{ *pulumi.OutputState }
func (ClusterActivityStreamArrayOutput) ElementType ¶ added in v5.2.0
func (ClusterActivityStreamArrayOutput) ElementType() reflect.Type
func (ClusterActivityStreamArrayOutput) Index ¶ added in v5.2.0
func (o ClusterActivityStreamArrayOutput) Index(i pulumi.IntInput) ClusterActivityStreamOutput
func (ClusterActivityStreamArrayOutput) ToClusterActivityStreamArrayOutput ¶ added in v5.2.0
func (o ClusterActivityStreamArrayOutput) ToClusterActivityStreamArrayOutput() ClusterActivityStreamArrayOutput
func (ClusterActivityStreamArrayOutput) ToClusterActivityStreamArrayOutputWithContext ¶ added in v5.2.0
func (o ClusterActivityStreamArrayOutput) ToClusterActivityStreamArrayOutputWithContext(ctx context.Context) ClusterActivityStreamArrayOutput
type ClusterActivityStreamInput ¶ added in v5.2.0
type ClusterActivityStreamInput interface { pulumi.Input ToClusterActivityStreamOutput() ClusterActivityStreamOutput ToClusterActivityStreamOutputWithContext(ctx context.Context) ClusterActivityStreamOutput }
type ClusterActivityStreamMap ¶ added in v5.2.0
type ClusterActivityStreamMap map[string]ClusterActivityStreamInput
func (ClusterActivityStreamMap) ElementType ¶ added in v5.2.0
func (ClusterActivityStreamMap) ElementType() reflect.Type
func (ClusterActivityStreamMap) ToClusterActivityStreamMapOutput ¶ added in v5.2.0
func (i ClusterActivityStreamMap) ToClusterActivityStreamMapOutput() ClusterActivityStreamMapOutput
func (ClusterActivityStreamMap) ToClusterActivityStreamMapOutputWithContext ¶ added in v5.2.0
func (i ClusterActivityStreamMap) ToClusterActivityStreamMapOutputWithContext(ctx context.Context) ClusterActivityStreamMapOutput
type ClusterActivityStreamMapInput ¶ added in v5.2.0
type ClusterActivityStreamMapInput interface { pulumi.Input ToClusterActivityStreamMapOutput() ClusterActivityStreamMapOutput ToClusterActivityStreamMapOutputWithContext(context.Context) ClusterActivityStreamMapOutput }
ClusterActivityStreamMapInput is an input type that accepts ClusterActivityStreamMap and ClusterActivityStreamMapOutput values. You can construct a concrete instance of `ClusterActivityStreamMapInput` via:
ClusterActivityStreamMap{ "key": ClusterActivityStreamArgs{...} }
type ClusterActivityStreamMapOutput ¶ added in v5.2.0
type ClusterActivityStreamMapOutput struct{ *pulumi.OutputState }
func (ClusterActivityStreamMapOutput) ElementType ¶ added in v5.2.0
func (ClusterActivityStreamMapOutput) ElementType() reflect.Type
func (ClusterActivityStreamMapOutput) MapIndex ¶ added in v5.2.0
func (o ClusterActivityStreamMapOutput) MapIndex(k pulumi.StringInput) ClusterActivityStreamOutput
func (ClusterActivityStreamMapOutput) ToClusterActivityStreamMapOutput ¶ added in v5.2.0
func (o ClusterActivityStreamMapOutput) ToClusterActivityStreamMapOutput() ClusterActivityStreamMapOutput
func (ClusterActivityStreamMapOutput) ToClusterActivityStreamMapOutputWithContext ¶ added in v5.2.0
func (o ClusterActivityStreamMapOutput) ToClusterActivityStreamMapOutputWithContext(ctx context.Context) ClusterActivityStreamMapOutput
type ClusterActivityStreamOutput ¶ added in v5.2.0
type ClusterActivityStreamOutput struct{ *pulumi.OutputState }
func (ClusterActivityStreamOutput) ElementType ¶ added in v5.2.0
func (ClusterActivityStreamOutput) ElementType() reflect.Type
func (ClusterActivityStreamOutput) EngineNativeAuditFieldsIncluded ¶ added in v5.4.0
func (o ClusterActivityStreamOutput) EngineNativeAuditFieldsIncluded() pulumi.BoolPtrOutput
Specifies whether the database activity stream includes engine-native audit fields. This option only applies to an Oracle DB instance. By default, no engine-native audit fields are included. Defaults `false`.
func (ClusterActivityStreamOutput) KinesisStreamName ¶ added in v5.4.0
func (o ClusterActivityStreamOutput) KinesisStreamName() pulumi.StringOutput
The name of the Amazon Kinesis data stream to be used for the database activity stream.
func (ClusterActivityStreamOutput) KmsKeyId ¶ added in v5.4.0
func (o ClusterActivityStreamOutput) KmsKeyId() pulumi.StringOutput
The AWS KMS key identifier for encrypting messages in the database activity stream. The AWS KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
func (ClusterActivityStreamOutput) Mode ¶ added in v5.4.0
func (o ClusterActivityStreamOutput) Mode() pulumi.StringOutput
Specifies the mode of the database activity stream. Database events such as a change or access generate an activity stream event. The database session can handle these events either synchronously or asynchronously. One of: `sync`, `async`.
func (ClusterActivityStreamOutput) ResourceArn ¶ added in v5.4.0
func (o ClusterActivityStreamOutput) ResourceArn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the DB cluster.
func (ClusterActivityStreamOutput) ToClusterActivityStreamOutput ¶ added in v5.2.0
func (o ClusterActivityStreamOutput) ToClusterActivityStreamOutput() ClusterActivityStreamOutput
func (ClusterActivityStreamOutput) ToClusterActivityStreamOutputWithContext ¶ added in v5.2.0
func (o ClusterActivityStreamOutput) ToClusterActivityStreamOutputWithContext(ctx context.Context) ClusterActivityStreamOutput
type ClusterActivityStreamState ¶ added in v5.2.0
type ClusterActivityStreamState struct { // Specifies whether the database activity stream includes engine-native audit fields. This option only applies to an Oracle DB instance. By default, no engine-native audit fields are included. Defaults `false`. EngineNativeAuditFieldsIncluded pulumi.BoolPtrInput // The name of the Amazon Kinesis data stream to be used for the database activity stream. KinesisStreamName pulumi.StringPtrInput // The AWS KMS key identifier for encrypting messages in the database activity stream. The AWS KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key. KmsKeyId pulumi.StringPtrInput // Specifies the mode of the database activity stream. Database events such as a change or access generate an activity stream event. The database session can handle these events either synchronously or asynchronously. One of: `sync`, `async`. Mode pulumi.StringPtrInput // The Amazon Resource Name (ARN) of the DB cluster. ResourceArn pulumi.StringPtrInput }
func (ClusterActivityStreamState) ElementType ¶ added in v5.2.0
func (ClusterActivityStreamState) ElementType() reflect.Type
type ClusterArgs ¶
type ClusterArgs struct { // The amount of storage in gibibytes (GiB) to allocate to each DB instance in the Multi-AZ DB cluster. (This setting is required to create a Multi-AZ DB cluster). AllocatedStorage pulumi.IntPtrInput // Enable to allow major engine version upgrades when changing engine versions. Defaults to `false`. AllowMajorVersionUpgrade pulumi.BoolPtrInput // Specifies whether any cluster modifications are applied immediately, or during the next maintenance window. Default is `false`. See [Amazon RDS Documentation for more information.](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Modifying.html) ApplyImmediately pulumi.BoolPtrInput // List of EC2 Availability Zones for the DB cluster storage where DB cluster instances can be created. RDS automatically assigns 3 AZs if less than 3 AZs are configured, which will show as a difference requiring resource recreation next apply. We recommend specifying 3 AZs or using the `lifecycle` configuration block `ignoreChanges` argument if necessary. A maximum of 3 AZs can be configured. AvailabilityZones pulumi.StringArrayInput // The target backtrack window, in seconds. Only available for `aurora` and `aurora-mysql` engines currently. To disable backtracking, set this value to `0`. Defaults to `0`. Must be between `0` and `259200` (72 hours) BacktrackWindow pulumi.IntPtrInput // The days to retain backups for. Default `1` BackupRetentionPeriod pulumi.IntPtrInput // The cluster identifier. If omitted, this provider will assign a random, unique identifier. ClusterIdentifier pulumi.StringPtrInput // Creates a unique cluster identifier beginning with the specified prefix. Conflicts with `clusterIdentifier`. ClusterIdentifierPrefix pulumi.StringPtrInput // List of RDS Instances that are a part of this cluster ClusterMembers pulumi.StringArrayInput // Copy all Cluster `tags` to snapshots. Default is `false`. CopyTagsToSnapshot pulumi.BoolPtrInput // Name for an automatically created database on cluster creation. There are different naming restrictions per database engine: [RDS Naming Constraints](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints) DatabaseName pulumi.StringPtrInput // The compute and memory capacity of each DB instance in the Multi-AZ DB cluster, for example db.m6g.xlarge. Not all DB instance classes are available in all AWS Regions, or for all database engines. For the full list of DB instance classes and availability for your engine, see [DB instance class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) in the Amazon RDS User Guide. (This setting is required to create a Multi-AZ DB cluster). DbClusterInstanceClass pulumi.StringPtrInput // A cluster parameter group to associate with the cluster. DbClusterParameterGroupName pulumi.StringPtrInput // Instance parameter group to associate with all instances of the DB cluster. The `dbInstanceParameterGroupName` parameter is only valid in combination with the `allowMajorVersionUpgrade` parameter. DbInstanceParameterGroupName pulumi.StringPtrInput // A DB subnet group to associate with this DB instance. **NOTE:** This must match the `dbSubnetGroupName` specified on every `rds.ClusterInstance` in the cluster. DbSubnetGroupName pulumi.StringPtrInput // If the DB instance should have deletion protection enabled. The database can't be deleted when this value is set to `true`. The default is `false`. DeletionProtection pulumi.BoolPtrInput // Whether cluster should forward writes to an associated global cluster. Applied to secondary clusters to enable them to forward writes to an `rds.GlobalCluster`'s primary cluster. See the [Aurora Userguide documentation](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-write-forwarding.html) for more information. EnableGlobalWriteForwarding pulumi.BoolPtrInput // Enable HTTP endpoint (data API). Only valid when `engineMode` is set to `serverless`. EnableHttpEndpoint pulumi.BoolPtrInput // Set of log types to export to cloudwatch. If omitted, no logs will be exported. The following log types are supported: `audit`, `error`, `general`, `slowquery`, `postgresql` (PostgreSQL). EnabledCloudwatchLogsExports pulumi.StringArrayInput // The name of the database engine to be used for this DB cluster. Defaults to `aurora`. Valid Values: `aurora`, `aurora-mysql`, `aurora-postgresql`, `mysql`, `postgres`. (Note that `mysql` and `postgres` are Multi-AZ RDS clusters). Engine pulumi.StringPtrInput // The database engine mode. Valid values: `global` (only valid for Aurora MySQL 1.21 and earlier), `multimaster`, `parallelquery`, `provisioned`, `serverless`. Defaults to: `provisioned`. See the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/aurora-serverless.html) for limitations when using `serverless`. EngineMode pulumi.StringPtrInput // The database engine version. Updating this argument results in an outage. See the [Aurora MySQL](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Updates.html) and [Aurora Postgres](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Updates.html) documentation for your configured engine to determine this value. For example with Aurora MySQL 2, a potential value for this argument is `5.7.mysql_aurora.2.03.2`. The value can contain a partial version where supported by the API. The actual engine version used is returned in the attribute `engineVersionActual`, , see Attributes Reference below. EngineVersion pulumi.StringPtrInput // The name of your final DB snapshot when this DB cluster is deleted. If omitted, no final snapshot will be made. FinalSnapshotIdentifier pulumi.StringPtrInput // The global cluster identifier specified on `rds.GlobalCluster`. GlobalClusterIdentifier pulumi.StringPtrInput // Specifies whether or not mappings of AWS Identity and Access Management (IAM) accounts to database accounts is enabled. Please see [AWS Documentation](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html) for availability and limitations. IamDatabaseAuthenticationEnabled pulumi.BoolPtrInput // A List of ARNs for the IAM roles to associate to the RDS Cluster. IamRoles pulumi.StringArrayInput // The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for each DB instance in the Multi-AZ DB cluster. For information about valid Iops values, see [Amazon RDS Provisioned IOPS storage to improve performance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS) in the Amazon RDS User Guide. (This setting is required to create a Multi-AZ DB cluster). Must be a multiple between .5 and 50 of the storage amount for the DB cluster. Iops pulumi.IntPtrInput // The ARN for the KMS encryption key. When specifying `kmsKeyId`, `storageEncrypted` needs to be set to true. KmsKeyId pulumi.StringPtrInput // Password for the master DB user. Note that this may show up in logs, and it will be stored in the state file. Please refer to the [RDS Naming Constraints](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints) MasterPassword pulumi.StringPtrInput // Username for the master DB user. Please refer to the [RDS Naming Constraints](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints). This argument does not support in-place updates and cannot be changed during a restore from snapshot. MasterUsername pulumi.StringPtrInput // The network type of the cluster. Valid values: `IPV4`, `DUAL`. NetworkType pulumi.StringPtrInput // The port on which the DB accepts connections Port pulumi.IntPtrInput // The daily time range during which automated backups are created if automated backups are enabled using the BackupRetentionPeriod parameter.Time in UTC. Default: A 30-minute window selected at random from an 8-hour block of time per regionE.g., 04:00-09:00 PreferredBackupWindow pulumi.StringPtrInput // The weekly time range during which system maintenance can occur, in (UTC) e.g., wed:04:00-wed:04:30 PreferredMaintenanceWindow pulumi.StringPtrInput // ARN of a source DB cluster or DB instance if this DB cluster is to be created as a Read Replica. If DB Cluster is part of a Global Cluster, use the `lifecycle` configuration block `ignoreChanges` argument to prevent this provider from showing differences for this argument instead of configuring this value. ReplicationSourceIdentifier pulumi.StringPtrInput // Nested attribute for [point in time restore](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PIT.html). More details below. RestoreToPointInTime ClusterRestoreToPointInTimePtrInput S3Import ClusterS3ImportPtrInput // Nested attribute with scaling properties. Only valid when `engineMode` is set to `serverless`. More details below. ScalingConfiguration ClusterScalingConfigurationPtrInput // Nested attribute with scaling properties for ServerlessV2. Only valid when `engineMode` is set to `provisioned`. More details below. Serverlessv2ScalingConfiguration ClusterServerlessv2ScalingConfigurationPtrInput // Determines whether a final DB snapshot is created before the DB cluster is deleted. If true is specified, no DB snapshot is created. If false is specified, a DB snapshot is created before the DB cluster is deleted, using the value from `finalSnapshotIdentifier`. Default is `false`. SkipFinalSnapshot pulumi.BoolPtrInput // Specifies whether or not to create this cluster from a snapshot. You can use either the name or ARN when specifying a DB cluster snapshot, or the ARN when specifying a DB snapshot. SnapshotIdentifier pulumi.StringPtrInput // The source region for an encrypted replica DB cluster. SourceRegion pulumi.StringPtrInput // Specifies whether the DB cluster is encrypted. The default is `false` for `provisioned` `engineMode` and `true` for `serverless` `engineMode`. When restoring an unencrypted `snapshotIdentifier`, the `kmsKeyId` argument must be provided to encrypt the restored cluster. The provider will only perform drift detection if a configuration value is provided. StorageEncrypted pulumi.BoolPtrInput // Specifies the storage type to be associated with the DB cluster. (This setting is required to create a Multi-AZ DB cluster). Valid values: `io1`, Default: `io1`. StorageType pulumi.StringPtrInput // A map of tags to assign to the DB cluster. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // List of VPC security groups to associate 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 ClusterEndpoint ¶
type ClusterEndpoint struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of cluster Arn pulumi.StringOutput `pulumi:"arn"` // The identifier to use for the new endpoint. This parameter is stored as a lowercase string. ClusterEndpointIdentifier pulumi.StringOutput `pulumi:"clusterEndpointIdentifier"` // The cluster identifier. ClusterIdentifier pulumi.StringOutput `pulumi:"clusterIdentifier"` // The type of the endpoint. One of: READER , ANY . CustomEndpointType pulumi.StringOutput `pulumi:"customEndpointType"` // A custom endpoint for the Aurora cluster Endpoint pulumi.StringOutput `pulumi:"endpoint"` // List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty. Conflicts with `staticMembers`. ExcludedMembers pulumi.StringArrayOutput `pulumi:"excludedMembers"` // List of DB instance identifiers that are part of the custom endpoint group. Conflicts with `excludedMembers`. StaticMembers pulumi.StringArrayOutput `pulumi:"staticMembers"` // Key-value map of resource tags. .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"` }
Manages an RDS Aurora Cluster Endpoint. You can refer to the [User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Overview.Endpoints.html#Aurora.Endpoints.Cluster).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.NewCluster(ctx, "default", &rds.ClusterArgs{ ClusterIdentifier: pulumi.String("aurora-cluster-demo"), AvailabilityZones: pulumi.StringArray{ pulumi.String("us-west-2a"), pulumi.String("us-west-2b"), pulumi.String("us-west-2c"), }, DatabaseName: pulumi.String("mydb"), MasterUsername: pulumi.String("foo"), MasterPassword: pulumi.String("bar"), BackupRetentionPeriod: pulumi.Int(5), PreferredBackupWindow: pulumi.String("07:00-09:00"), }) if err != nil { return err } test1, err := rds.NewClusterInstance(ctx, "test1", &rds.ClusterInstanceArgs{ ApplyImmediately: pulumi.Bool(true), ClusterIdentifier: _default.ID(), Identifier: pulumi.String("test1"), InstanceClass: pulumi.String("db.t2.small"), Engine: _default.Engine, EngineVersion: _default.EngineVersion, }) if err != nil { return err } test2, err := rds.NewClusterInstance(ctx, "test2", &rds.ClusterInstanceArgs{ ApplyImmediately: pulumi.Bool(true), ClusterIdentifier: _default.ID(), Identifier: pulumi.String("test2"), InstanceClass: pulumi.String("db.t2.small"), Engine: _default.Engine, EngineVersion: _default.EngineVersion, }) if err != nil { return err } test3, err := rds.NewClusterInstance(ctx, "test3", &rds.ClusterInstanceArgs{ ApplyImmediately: pulumi.Bool(true), ClusterIdentifier: _default.ID(), Identifier: pulumi.String("test3"), InstanceClass: pulumi.String("db.t2.small"), Engine: _default.Engine, EngineVersion: _default.EngineVersion, }) if err != nil { return err } _, err = rds.NewClusterEndpoint(ctx, "eligible", &rds.ClusterEndpointArgs{ ClusterIdentifier: _default.ID(), ClusterEndpointIdentifier: pulumi.String("reader"), CustomEndpointType: pulumi.String("READER"), ExcludedMembers: pulumi.StringArray{ test1.ID(), test2.ID(), }, }) if err != nil { return err } _, err = rds.NewClusterEndpoint(ctx, "static", &rds.ClusterEndpointArgs{ ClusterIdentifier: _default.ID(), ClusterEndpointIdentifier: pulumi.String("static"), CustomEndpointType: pulumi.String("READER"), StaticMembers: pulumi.StringArray{ test1.ID(), test3.ID(), }, }) if err != nil { return err } return nil }) }
```
## Import
RDS Clusters Endpoint can be imported using the `cluster_endpoint_identifier`, e.g.,
```sh
$ pulumi import aws:rds/clusterEndpoint:ClusterEndpoint custom_reader aurora-prod-cluster-custom-reader
```
[1]https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Overview.Endpoints.html#Aurora.Endpoints.Cluster
func GetClusterEndpoint ¶
func GetClusterEndpoint(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ClusterEndpointState, opts ...pulumi.ResourceOption) (*ClusterEndpoint, error)
GetClusterEndpoint gets an existing ClusterEndpoint 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 NewClusterEndpoint ¶
func NewClusterEndpoint(ctx *pulumi.Context, name string, args *ClusterEndpointArgs, opts ...pulumi.ResourceOption) (*ClusterEndpoint, error)
NewClusterEndpoint registers a new resource with the given unique name, arguments, and options.
func (*ClusterEndpoint) ElementType ¶
func (*ClusterEndpoint) ElementType() reflect.Type
func (*ClusterEndpoint) ToClusterEndpointOutput ¶
func (i *ClusterEndpoint) ToClusterEndpointOutput() ClusterEndpointOutput
func (*ClusterEndpoint) ToClusterEndpointOutputWithContext ¶
func (i *ClusterEndpoint) ToClusterEndpointOutputWithContext(ctx context.Context) ClusterEndpointOutput
type ClusterEndpointArgs ¶
type ClusterEndpointArgs struct { // The identifier to use for the new endpoint. This parameter is stored as a lowercase string. ClusterEndpointIdentifier pulumi.StringInput // The cluster identifier. ClusterIdentifier pulumi.StringInput // The type of the endpoint. One of: READER , ANY . CustomEndpointType pulumi.StringInput // List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty. Conflicts with `staticMembers`. ExcludedMembers pulumi.StringArrayInput // List of DB instance identifiers that are part of the custom endpoint group. Conflicts with `excludedMembers`. StaticMembers pulumi.StringArrayInput // Key-value map of resource tags. .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 ClusterEndpoint resource.
func (ClusterEndpointArgs) ElementType ¶
func (ClusterEndpointArgs) ElementType() reflect.Type
type ClusterEndpointArray ¶
type ClusterEndpointArray []ClusterEndpointInput
func (ClusterEndpointArray) ElementType ¶
func (ClusterEndpointArray) ElementType() reflect.Type
func (ClusterEndpointArray) ToClusterEndpointArrayOutput ¶
func (i ClusterEndpointArray) ToClusterEndpointArrayOutput() ClusterEndpointArrayOutput
func (ClusterEndpointArray) ToClusterEndpointArrayOutputWithContext ¶
func (i ClusterEndpointArray) ToClusterEndpointArrayOutputWithContext(ctx context.Context) ClusterEndpointArrayOutput
type ClusterEndpointArrayInput ¶
type ClusterEndpointArrayInput interface { pulumi.Input ToClusterEndpointArrayOutput() ClusterEndpointArrayOutput ToClusterEndpointArrayOutputWithContext(context.Context) ClusterEndpointArrayOutput }
ClusterEndpointArrayInput is an input type that accepts ClusterEndpointArray and ClusterEndpointArrayOutput values. You can construct a concrete instance of `ClusterEndpointArrayInput` via:
ClusterEndpointArray{ ClusterEndpointArgs{...} }
type ClusterEndpointArrayOutput ¶
type ClusterEndpointArrayOutput struct{ *pulumi.OutputState }
func (ClusterEndpointArrayOutput) ElementType ¶
func (ClusterEndpointArrayOutput) ElementType() reflect.Type
func (ClusterEndpointArrayOutput) Index ¶
func (o ClusterEndpointArrayOutput) Index(i pulumi.IntInput) ClusterEndpointOutput
func (ClusterEndpointArrayOutput) ToClusterEndpointArrayOutput ¶
func (o ClusterEndpointArrayOutput) ToClusterEndpointArrayOutput() ClusterEndpointArrayOutput
func (ClusterEndpointArrayOutput) ToClusterEndpointArrayOutputWithContext ¶
func (o ClusterEndpointArrayOutput) ToClusterEndpointArrayOutputWithContext(ctx context.Context) ClusterEndpointArrayOutput
type ClusterEndpointInput ¶
type ClusterEndpointInput interface { pulumi.Input ToClusterEndpointOutput() ClusterEndpointOutput ToClusterEndpointOutputWithContext(ctx context.Context) ClusterEndpointOutput }
type ClusterEndpointMap ¶
type ClusterEndpointMap map[string]ClusterEndpointInput
func (ClusterEndpointMap) ElementType ¶
func (ClusterEndpointMap) ElementType() reflect.Type
func (ClusterEndpointMap) ToClusterEndpointMapOutput ¶
func (i ClusterEndpointMap) ToClusterEndpointMapOutput() ClusterEndpointMapOutput
func (ClusterEndpointMap) ToClusterEndpointMapOutputWithContext ¶
func (i ClusterEndpointMap) ToClusterEndpointMapOutputWithContext(ctx context.Context) ClusterEndpointMapOutput
type ClusterEndpointMapInput ¶
type ClusterEndpointMapInput interface { pulumi.Input ToClusterEndpointMapOutput() ClusterEndpointMapOutput ToClusterEndpointMapOutputWithContext(context.Context) ClusterEndpointMapOutput }
ClusterEndpointMapInput is an input type that accepts ClusterEndpointMap and ClusterEndpointMapOutput values. You can construct a concrete instance of `ClusterEndpointMapInput` via:
ClusterEndpointMap{ "key": ClusterEndpointArgs{...} }
type ClusterEndpointMapOutput ¶
type ClusterEndpointMapOutput struct{ *pulumi.OutputState }
func (ClusterEndpointMapOutput) ElementType ¶
func (ClusterEndpointMapOutput) ElementType() reflect.Type
func (ClusterEndpointMapOutput) MapIndex ¶
func (o ClusterEndpointMapOutput) MapIndex(k pulumi.StringInput) ClusterEndpointOutput
func (ClusterEndpointMapOutput) ToClusterEndpointMapOutput ¶
func (o ClusterEndpointMapOutput) ToClusterEndpointMapOutput() ClusterEndpointMapOutput
func (ClusterEndpointMapOutput) ToClusterEndpointMapOutputWithContext ¶
func (o ClusterEndpointMapOutput) ToClusterEndpointMapOutputWithContext(ctx context.Context) ClusterEndpointMapOutput
type ClusterEndpointOutput ¶
type ClusterEndpointOutput struct{ *pulumi.OutputState }
func (ClusterEndpointOutput) Arn ¶ added in v5.4.0
func (o ClusterEndpointOutput) Arn() pulumi.StringOutput
Amazon Resource Name (ARN) of cluster
func (ClusterEndpointOutput) ClusterEndpointIdentifier ¶ added in v5.4.0
func (o ClusterEndpointOutput) ClusterEndpointIdentifier() pulumi.StringOutput
The identifier to use for the new endpoint. This parameter is stored as a lowercase string.
func (ClusterEndpointOutput) ClusterIdentifier ¶ added in v5.4.0
func (o ClusterEndpointOutput) ClusterIdentifier() pulumi.StringOutput
The cluster identifier.
func (ClusterEndpointOutput) CustomEndpointType ¶ added in v5.4.0
func (o ClusterEndpointOutput) CustomEndpointType() pulumi.StringOutput
The type of the endpoint. One of: READER , ANY .
func (ClusterEndpointOutput) ElementType ¶
func (ClusterEndpointOutput) ElementType() reflect.Type
func (ClusterEndpointOutput) Endpoint ¶ added in v5.4.0
func (o ClusterEndpointOutput) Endpoint() pulumi.StringOutput
A custom endpoint for the Aurora cluster
func (ClusterEndpointOutput) ExcludedMembers ¶ added in v5.4.0
func (o ClusterEndpointOutput) ExcludedMembers() pulumi.StringArrayOutput
List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty. Conflicts with `staticMembers`.
func (ClusterEndpointOutput) StaticMembers ¶ added in v5.4.0
func (o ClusterEndpointOutput) StaticMembers() pulumi.StringArrayOutput
List of DB instance identifiers that are part of the custom endpoint group. Conflicts with `excludedMembers`.
func (ClusterEndpointOutput) Tags ¶ added in v5.4.0
func (o ClusterEndpointOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (ClusterEndpointOutput) TagsAll ¶ added in v5.4.0
func (o ClusterEndpointOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (ClusterEndpointOutput) ToClusterEndpointOutput ¶
func (o ClusterEndpointOutput) ToClusterEndpointOutput() ClusterEndpointOutput
func (ClusterEndpointOutput) ToClusterEndpointOutputWithContext ¶
func (o ClusterEndpointOutput) ToClusterEndpointOutputWithContext(ctx context.Context) ClusterEndpointOutput
type ClusterEndpointState ¶
type ClusterEndpointState struct { // Amazon Resource Name (ARN) of cluster Arn pulumi.StringPtrInput // The identifier to use for the new endpoint. This parameter is stored as a lowercase string. ClusterEndpointIdentifier pulumi.StringPtrInput // The cluster identifier. ClusterIdentifier pulumi.StringPtrInput // The type of the endpoint. One of: READER , ANY . CustomEndpointType pulumi.StringPtrInput // A custom endpoint for the Aurora cluster Endpoint pulumi.StringPtrInput // List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty. Conflicts with `staticMembers`. ExcludedMembers pulumi.StringArrayInput // List of DB instance identifiers that are part of the custom endpoint group. Conflicts with `excludedMembers`. StaticMembers pulumi.StringArrayInput // Key-value map of resource tags. .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 }
func (ClusterEndpointState) ElementType ¶
func (ClusterEndpointState) ElementType() reflect.Type
type ClusterInput ¶
type ClusterInput interface { pulumi.Input ToClusterOutput() ClusterOutput ToClusterOutputWithContext(ctx context.Context) ClusterOutput }
type ClusterInstance ¶
type ClusterInstance struct { pulumi.CustomResourceState // Specifies whether any database modifications // are applied immediately, or during the next maintenance window. Default is`false`. ApplyImmediately pulumi.BoolOutput `pulumi:"applyImmediately"` // Amazon Resource Name (ARN) of cluster instance Arn pulumi.StringOutput `pulumi:"arn"` // Indicates that minor engine upgrades will be applied automatically to the DB instance during the maintenance window. Default `true`. AutoMinorVersionUpgrade pulumi.BoolPtrOutput `pulumi:"autoMinorVersionUpgrade"` // The EC2 Availability Zone that the DB instance is created in. See [docs](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html) about the details. AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"` // The identifier of the CA certificate for the DB instance. CaCertIdentifier pulumi.StringOutput `pulumi:"caCertIdentifier"` // The identifier of the `rds.Cluster` in which to launch this instance. ClusterIdentifier pulumi.StringOutput `pulumi:"clusterIdentifier"` // Indicates whether to copy all of the user-defined tags from the DB instance to snapshots of the DB instance. Default `false`. CopyTagsToSnapshot pulumi.BoolPtrOutput `pulumi:"copyTagsToSnapshot"` // The name of the DB parameter group to associate with this instance. DbParameterGroupName pulumi.StringOutput `pulumi:"dbParameterGroupName"` // A DB subnet group to associate with this DB instance. **NOTE:** This must match the `dbSubnetGroupName` of the attached `rds.Cluster`. DbSubnetGroupName pulumi.StringOutput `pulumi:"dbSubnetGroupName"` // The region-unique, immutable identifier for the DB instance. DbiResourceId pulumi.StringOutput `pulumi:"dbiResourceId"` // The DNS address for this instance. May not be writable Endpoint pulumi.StringOutput `pulumi:"endpoint"` // The name of the database engine to be used for the RDS instance. Defaults to `aurora`. Valid Values: `aurora`, `aurora-mysql`, `aurora-postgresql`. // For information on the difference between the available Aurora MySQL engines // see [Comparison between Aurora MySQL 1 and Aurora MySQL 2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AuroraMySQL.Updates.20180206.html) // in the Amazon RDS User Guide. Engine pulumi.StringPtrOutput `pulumi:"engine"` // The database engine version. EngineVersion pulumi.StringOutput `pulumi:"engineVersion"` // The database engine version EngineVersionActual pulumi.StringOutput `pulumi:"engineVersionActual"` // The indentifier for the RDS instance, 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"` // The instance class to use. For details on CPU // and memory, see [Scaling Aurora DB Instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.Managing.html). Aurora uses `db.*` instance classes/types. Please see [AWS Documentation](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) for currently available instance classes and complete details. InstanceClass pulumi.StringOutput `pulumi:"instanceClass"` // The ARN for the KMS encryption key if one is set to the cluster. KmsKeyId pulumi.StringOutput `pulumi:"kmsKeyId"` // The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0. Valid Values: 0, 1, 5, 10, 15, 30, 60. MonitoringInterval pulumi.IntPtrOutput `pulumi:"monitoringInterval"` // The ARN for the IAM role that permits RDS to send // enhanced monitoring metrics to CloudWatch Logs. You can find more information on the [AWS Documentation](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html) // what IAM permissions are needed to allow Enhanced Monitoring for RDS Instances. MonitoringRoleArn pulumi.StringOutput `pulumi:"monitoringRoleArn"` // The network type of the DB instance. NetworkType pulumi.StringOutput `pulumi:"networkType"` // Specifies whether Performance Insights is enabled or not. PerformanceInsightsEnabled pulumi.BoolOutput `pulumi:"performanceInsightsEnabled"` // ARN for the KMS key to encrypt Performance Insights data. When specifying `performanceInsightsKmsKeyId`, `performanceInsightsEnabled` needs to be set to true. PerformanceInsightsKmsKeyId pulumi.StringOutput `pulumi:"performanceInsightsKmsKeyId"` // Amount of time in days to retain Performance Insights data. Valid values are `7`, `731` (2 years) or a multiple of `31`. When specifying `performanceInsightsRetentionPeriod`, `performanceInsightsEnabled` needs to be set to true. Defaults to '7'. PerformanceInsightsRetentionPeriod pulumi.IntOutput `pulumi:"performanceInsightsRetentionPeriod"` // The database port Port pulumi.IntOutput `pulumi:"port"` // The daily time range during which automated backups are created if automated backups are enabled. Eg: "04:00-09:00". **NOTE:** If `preferredBackupWindow` is set at the cluster level, this argument **must** be omitted. PreferredBackupWindow pulumi.StringOutput `pulumi:"preferredBackupWindow"` // The window to perform maintenance in. // Syntax: "ddd:hh24:mi-ddd:hh24:mi". Eg: "Mon:00:00-Mon:03:00". PreferredMaintenanceWindow pulumi.StringOutput `pulumi:"preferredMaintenanceWindow"` // Default 0. Failover Priority setting on instance level. The reader who has lower tier has higher priority to get promoted to writer. PromotionTier pulumi.IntPtrOutput `pulumi:"promotionTier"` // Bool to control if instance is publicly accessible. // Default `false`. See the documentation on [Creating DB Instances](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html) for more // details on controlling this property. PubliclyAccessible pulumi.BoolPtrOutput `pulumi:"publiclyAccessible"` // Specifies whether the DB cluster is encrypted. StorageEncrypted pulumi.BoolOutput `pulumi:"storageEncrypted"` // A map of tags to assign to the instance. 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"` // Boolean indicating if this instance is writable. `False` indicates this instance is a read replica. Writer pulumi.BoolOutput `pulumi:"writer"` }
Provides an RDS Cluster Instance Resource. A Cluster Instance Resource defines attributes that are specific to a single instance in a RDS Cluster, specifically running Amazon Aurora.
Unlike other RDS resources that support replication, with Amazon Aurora you do not designate a primary and subsequent replicas. Instead, you simply add RDS Instances and Aurora manages the replication. You can use the [count][5] meta-parameter to make multiple instances and join them all to the same RDS Cluster, or you may specify different Cluster Instance resources with various `instanceClass` sizes.
For more information on Amazon Aurora, see [Aurora on Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Aurora.html) in the Amazon RDS User Guide.
> **NOTE:** Deletion Protection from the RDS service can only be enabled at the cluster level, not for individual cluster instances. You can still add the [`protect` CustomResourceOption](https://www.pulumi.com/docs/intro/concepts/programming-model/#protect) to this resource configuration if you desire protection from accidental deletion.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.NewCluster(ctx, "default", &rds.ClusterArgs{ ClusterIdentifier: pulumi.String("aurora-cluster-demo"), AvailabilityZones: pulumi.StringArray{ pulumi.String("us-west-2a"), pulumi.String("us-west-2b"), pulumi.String("us-west-2c"), }, DatabaseName: pulumi.String("mydb"), MasterUsername: pulumi.String("foo"), MasterPassword: pulumi.String("barbut8chars"), }) if err != nil { return err } var clusterInstances []*rds.ClusterInstance for index := 0; index < 2; index++ { key0 := index val0 := index __res, err := rds.NewClusterInstance(ctx, fmt.Sprintf("clusterInstances-%v", key0), &rds.ClusterInstanceArgs{ Identifier: pulumi.String(fmt.Sprintf("aurora-cluster-demo-%v", val0)), ClusterIdentifier: _default.ID(), InstanceClass: pulumi.String("db.r4.large"), Engine: _default.Engine, EngineVersion: _default.EngineVersion, }) if err != nil { return err } clusterInstances = append(clusterInstances, __res) } return nil }) }
```
## Import
RDS Cluster Instances can be imported using the `identifier`, e.g.,
```sh
$ pulumi import aws:rds/clusterInstance:ClusterInstance prod_instance_1 aurora-cluster-instance-1
```
func GetClusterInstance ¶
func GetClusterInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ClusterInstanceState, opts ...pulumi.ResourceOption) (*ClusterInstance, error)
GetClusterInstance gets an existing ClusterInstance 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 NewClusterInstance ¶
func NewClusterInstance(ctx *pulumi.Context, name string, args *ClusterInstanceArgs, opts ...pulumi.ResourceOption) (*ClusterInstance, error)
NewClusterInstance registers a new resource with the given unique name, arguments, and options.
func (*ClusterInstance) ElementType ¶
func (*ClusterInstance) ElementType() reflect.Type
func (*ClusterInstance) ToClusterInstanceOutput ¶
func (i *ClusterInstance) ToClusterInstanceOutput() ClusterInstanceOutput
func (*ClusterInstance) ToClusterInstanceOutputWithContext ¶
func (i *ClusterInstance) ToClusterInstanceOutputWithContext(ctx context.Context) ClusterInstanceOutput
type ClusterInstanceArgs ¶
type ClusterInstanceArgs struct { // Specifies whether any database modifications // are applied immediately, or during the next maintenance window. Default is`false`. ApplyImmediately pulumi.BoolPtrInput // Indicates that minor engine upgrades will be applied automatically to the DB instance during the maintenance window. Default `true`. AutoMinorVersionUpgrade pulumi.BoolPtrInput // The EC2 Availability Zone that the DB instance is created in. See [docs](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html) about the details. AvailabilityZone pulumi.StringPtrInput // The identifier of the CA certificate for the DB instance. CaCertIdentifier pulumi.StringPtrInput // The identifier of the `rds.Cluster` in which to launch this instance. ClusterIdentifier pulumi.StringInput // Indicates whether to copy all of the user-defined tags from the DB instance to snapshots of the DB instance. Default `false`. CopyTagsToSnapshot pulumi.BoolPtrInput // The name of the DB parameter group to associate with this instance. DbParameterGroupName pulumi.StringPtrInput // A DB subnet group to associate with this DB instance. **NOTE:** This must match the `dbSubnetGroupName` of the attached `rds.Cluster`. DbSubnetGroupName pulumi.StringPtrInput // The name of the database engine to be used for the RDS instance. Defaults to `aurora`. Valid Values: `aurora`, `aurora-mysql`, `aurora-postgresql`. // For information on the difference between the available Aurora MySQL engines // see [Comparison between Aurora MySQL 1 and Aurora MySQL 2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AuroraMySQL.Updates.20180206.html) // in the Amazon RDS User Guide. Engine pulumi.StringPtrInput // The database engine version. EngineVersion pulumi.StringPtrInput // The indentifier for the RDS instance, 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 // The instance class to use. For details on CPU // and memory, see [Scaling Aurora DB Instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.Managing.html). Aurora uses `db.*` instance classes/types. Please see [AWS Documentation](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) for currently available instance classes and complete details. InstanceClass pulumi.StringInput // The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0. Valid Values: 0, 1, 5, 10, 15, 30, 60. MonitoringInterval pulumi.IntPtrInput // The ARN for the IAM role that permits RDS to send // enhanced monitoring metrics to CloudWatch Logs. You can find more information on the [AWS Documentation](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html) // what IAM permissions are needed to allow Enhanced Monitoring for RDS Instances. MonitoringRoleArn pulumi.StringPtrInput // Specifies whether Performance Insights is enabled or not. PerformanceInsightsEnabled pulumi.BoolPtrInput // ARN for the KMS key to encrypt Performance Insights data. When specifying `performanceInsightsKmsKeyId`, `performanceInsightsEnabled` needs to be set to true. PerformanceInsightsKmsKeyId pulumi.StringPtrInput // Amount of time in days to retain Performance Insights data. Valid values are `7`, `731` (2 years) or a multiple of `31`. When specifying `performanceInsightsRetentionPeriod`, `performanceInsightsEnabled` needs to be set to true. Defaults to '7'. PerformanceInsightsRetentionPeriod pulumi.IntPtrInput // The daily time range during which automated backups are created if automated backups are enabled. Eg: "04:00-09:00". **NOTE:** If `preferredBackupWindow` is set at the cluster level, this argument **must** be omitted. PreferredBackupWindow pulumi.StringPtrInput // The window to perform maintenance in. // Syntax: "ddd:hh24:mi-ddd:hh24:mi". Eg: "Mon:00:00-Mon:03:00". PreferredMaintenanceWindow pulumi.StringPtrInput // Default 0. Failover Priority setting on instance level. The reader who has lower tier has higher priority to get promoted to writer. PromotionTier pulumi.IntPtrInput // Bool to control if instance is publicly accessible. // Default `false`. See the documentation on [Creating DB Instances](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html) for more // details on controlling this property. PubliclyAccessible pulumi.BoolPtrInput // A map of tags to assign to the instance. 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 ClusterInstance resource.
func (ClusterInstanceArgs) ElementType ¶
func (ClusterInstanceArgs) ElementType() reflect.Type
type ClusterInstanceArray ¶
type ClusterInstanceArray []ClusterInstanceInput
func (ClusterInstanceArray) ElementType ¶
func (ClusterInstanceArray) ElementType() reflect.Type
func (ClusterInstanceArray) ToClusterInstanceArrayOutput ¶
func (i ClusterInstanceArray) ToClusterInstanceArrayOutput() ClusterInstanceArrayOutput
func (ClusterInstanceArray) ToClusterInstanceArrayOutputWithContext ¶
func (i ClusterInstanceArray) ToClusterInstanceArrayOutputWithContext(ctx context.Context) ClusterInstanceArrayOutput
type ClusterInstanceArrayInput ¶
type ClusterInstanceArrayInput interface { pulumi.Input ToClusterInstanceArrayOutput() ClusterInstanceArrayOutput ToClusterInstanceArrayOutputWithContext(context.Context) ClusterInstanceArrayOutput }
ClusterInstanceArrayInput is an input type that accepts ClusterInstanceArray and ClusterInstanceArrayOutput values. You can construct a concrete instance of `ClusterInstanceArrayInput` via:
ClusterInstanceArray{ ClusterInstanceArgs{...} }
type ClusterInstanceArrayOutput ¶
type ClusterInstanceArrayOutput struct{ *pulumi.OutputState }
func (ClusterInstanceArrayOutput) ElementType ¶
func (ClusterInstanceArrayOutput) ElementType() reflect.Type
func (ClusterInstanceArrayOutput) Index ¶
func (o ClusterInstanceArrayOutput) Index(i pulumi.IntInput) ClusterInstanceOutput
func (ClusterInstanceArrayOutput) ToClusterInstanceArrayOutput ¶
func (o ClusterInstanceArrayOutput) ToClusterInstanceArrayOutput() ClusterInstanceArrayOutput
func (ClusterInstanceArrayOutput) ToClusterInstanceArrayOutputWithContext ¶
func (o ClusterInstanceArrayOutput) ToClusterInstanceArrayOutputWithContext(ctx context.Context) ClusterInstanceArrayOutput
type ClusterInstanceInput ¶
type ClusterInstanceInput interface { pulumi.Input ToClusterInstanceOutput() ClusterInstanceOutput ToClusterInstanceOutputWithContext(ctx context.Context) ClusterInstanceOutput }
type ClusterInstanceMap ¶
type ClusterInstanceMap map[string]ClusterInstanceInput
func (ClusterInstanceMap) ElementType ¶
func (ClusterInstanceMap) ElementType() reflect.Type
func (ClusterInstanceMap) ToClusterInstanceMapOutput ¶
func (i ClusterInstanceMap) ToClusterInstanceMapOutput() ClusterInstanceMapOutput
func (ClusterInstanceMap) ToClusterInstanceMapOutputWithContext ¶
func (i ClusterInstanceMap) ToClusterInstanceMapOutputWithContext(ctx context.Context) ClusterInstanceMapOutput
type ClusterInstanceMapInput ¶
type ClusterInstanceMapInput interface { pulumi.Input ToClusterInstanceMapOutput() ClusterInstanceMapOutput ToClusterInstanceMapOutputWithContext(context.Context) ClusterInstanceMapOutput }
ClusterInstanceMapInput is an input type that accepts ClusterInstanceMap and ClusterInstanceMapOutput values. You can construct a concrete instance of `ClusterInstanceMapInput` via:
ClusterInstanceMap{ "key": ClusterInstanceArgs{...} }
type ClusterInstanceMapOutput ¶
type ClusterInstanceMapOutput struct{ *pulumi.OutputState }
func (ClusterInstanceMapOutput) ElementType ¶
func (ClusterInstanceMapOutput) ElementType() reflect.Type
func (ClusterInstanceMapOutput) MapIndex ¶
func (o ClusterInstanceMapOutput) MapIndex(k pulumi.StringInput) ClusterInstanceOutput
func (ClusterInstanceMapOutput) ToClusterInstanceMapOutput ¶
func (o ClusterInstanceMapOutput) ToClusterInstanceMapOutput() ClusterInstanceMapOutput
func (ClusterInstanceMapOutput) ToClusterInstanceMapOutputWithContext ¶
func (o ClusterInstanceMapOutput) ToClusterInstanceMapOutputWithContext(ctx context.Context) ClusterInstanceMapOutput
type ClusterInstanceOutput ¶
type ClusterInstanceOutput struct{ *pulumi.OutputState }
func (ClusterInstanceOutput) ApplyImmediately ¶ added in v5.4.0
func (o ClusterInstanceOutput) ApplyImmediately() pulumi.BoolOutput
Specifies whether any database modifications are applied immediately, or during the next maintenance window. Default is`false`.
func (ClusterInstanceOutput) Arn ¶ added in v5.4.0
func (o ClusterInstanceOutput) Arn() pulumi.StringOutput
Amazon Resource Name (ARN) of cluster instance
func (ClusterInstanceOutput) AutoMinorVersionUpgrade ¶ added in v5.4.0
func (o ClusterInstanceOutput) AutoMinorVersionUpgrade() pulumi.BoolPtrOutput
Indicates that minor engine upgrades will be applied automatically to the DB instance during the maintenance window. Default `true`.
func (ClusterInstanceOutput) AvailabilityZone ¶ added in v5.4.0
func (o ClusterInstanceOutput) AvailabilityZone() pulumi.StringOutput
The EC2 Availability Zone that the DB instance is created in. See [docs](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html) about the details.
func (ClusterInstanceOutput) CaCertIdentifier ¶ added in v5.4.0
func (o ClusterInstanceOutput) CaCertIdentifier() pulumi.StringOutput
The identifier of the CA certificate for the DB instance.
func (ClusterInstanceOutput) ClusterIdentifier ¶ added in v5.4.0
func (o ClusterInstanceOutput) ClusterIdentifier() pulumi.StringOutput
The identifier of the `rds.Cluster` in which to launch this instance.
func (ClusterInstanceOutput) CopyTagsToSnapshot ¶ added in v5.4.0
func (o ClusterInstanceOutput) CopyTagsToSnapshot() pulumi.BoolPtrOutput
Indicates whether to copy all of the user-defined tags from the DB instance to snapshots of the DB instance. Default `false`.
func (ClusterInstanceOutput) DbParameterGroupName ¶ added in v5.4.0
func (o ClusterInstanceOutput) DbParameterGroupName() pulumi.StringOutput
The name of the DB parameter group to associate with this instance.
func (ClusterInstanceOutput) DbSubnetGroupName ¶ added in v5.4.0
func (o ClusterInstanceOutput) DbSubnetGroupName() pulumi.StringOutput
A DB subnet group to associate with this DB instance. **NOTE:** This must match the `dbSubnetGroupName` of the attached `rds.Cluster`.
func (ClusterInstanceOutput) DbiResourceId ¶ added in v5.4.0
func (o ClusterInstanceOutput) DbiResourceId() pulumi.StringOutput
The region-unique, immutable identifier for the DB instance.
func (ClusterInstanceOutput) ElementType ¶
func (ClusterInstanceOutput) ElementType() reflect.Type
func (ClusterInstanceOutput) Endpoint ¶ added in v5.4.0
func (o ClusterInstanceOutput) Endpoint() pulumi.StringOutput
The DNS address for this instance. May not be writable
func (ClusterInstanceOutput) Engine ¶ added in v5.4.0
func (o ClusterInstanceOutput) Engine() pulumi.StringPtrOutput
The name of the database engine to be used for the RDS instance. Defaults to `aurora`. Valid Values: `aurora`, `aurora-mysql`, `aurora-postgresql`. For information on the difference between the available Aurora MySQL engines see [Comparison between Aurora MySQL 1 and Aurora MySQL 2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AuroraMySQL.Updates.20180206.html) in the Amazon RDS User Guide.
func (ClusterInstanceOutput) EngineVersion ¶ added in v5.4.0
func (o ClusterInstanceOutput) EngineVersion() pulumi.StringOutput
The database engine version.
func (ClusterInstanceOutput) EngineVersionActual ¶ added in v5.4.0
func (o ClusterInstanceOutput) EngineVersionActual() pulumi.StringOutput
The database engine version
func (ClusterInstanceOutput) Identifier ¶ added in v5.4.0
func (o ClusterInstanceOutput) Identifier() pulumi.StringOutput
The indentifier for the RDS instance, if omitted, this provider will assign a random, unique identifier.
func (ClusterInstanceOutput) IdentifierPrefix ¶ added in v5.4.0
func (o ClusterInstanceOutput) IdentifierPrefix() pulumi.StringOutput
Creates a unique identifier beginning with the specified prefix. Conflicts with `identifier`.
func (ClusterInstanceOutput) InstanceClass ¶ added in v5.4.0
func (o ClusterInstanceOutput) InstanceClass() pulumi.StringOutput
The instance class to use. For details on CPU and memory, see [Scaling Aurora DB Instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.Managing.html). Aurora uses `db.*` instance classes/types. Please see [AWS Documentation](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) for currently available instance classes and complete details.
func (ClusterInstanceOutput) KmsKeyId ¶ added in v5.4.0
func (o ClusterInstanceOutput) KmsKeyId() pulumi.StringOutput
The ARN for the KMS encryption key if one is set to the cluster.
func (ClusterInstanceOutput) MonitoringInterval ¶ added in v5.4.0
func (o ClusterInstanceOutput) MonitoringInterval() pulumi.IntPtrOutput
The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0. Valid Values: 0, 1, 5, 10, 15, 30, 60.
func (ClusterInstanceOutput) MonitoringRoleArn ¶ added in v5.4.0
func (o ClusterInstanceOutput) MonitoringRoleArn() pulumi.StringOutput
The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to CloudWatch Logs. You can find more information on the [AWS Documentation](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html) what IAM permissions are needed to allow Enhanced Monitoring for RDS Instances.
func (ClusterInstanceOutput) NetworkType ¶ added in v5.14.0
func (o ClusterInstanceOutput) NetworkType() pulumi.StringOutput
The network type of the DB instance.
func (ClusterInstanceOutput) PerformanceInsightsEnabled ¶ added in v5.4.0
func (o ClusterInstanceOutput) PerformanceInsightsEnabled() pulumi.BoolOutput
Specifies whether Performance Insights is enabled or not.
func (ClusterInstanceOutput) PerformanceInsightsKmsKeyId ¶ added in v5.4.0
func (o ClusterInstanceOutput) PerformanceInsightsKmsKeyId() pulumi.StringOutput
ARN for the KMS key to encrypt Performance Insights data. When specifying `performanceInsightsKmsKeyId`, `performanceInsightsEnabled` needs to be set to true.
func (ClusterInstanceOutput) PerformanceInsightsRetentionPeriod ¶ added in v5.4.0
func (o ClusterInstanceOutput) PerformanceInsightsRetentionPeriod() pulumi.IntOutput
Amount of time in days to retain Performance Insights data. Valid values are `7`, `731` (2 years) or a multiple of `31`. When specifying `performanceInsightsRetentionPeriod`, `performanceInsightsEnabled` needs to be set to true. Defaults to '7'.
func (ClusterInstanceOutput) Port ¶ added in v5.4.0
func (o ClusterInstanceOutput) Port() pulumi.IntOutput
The database port
func (ClusterInstanceOutput) PreferredBackupWindow ¶ added in v5.4.0
func (o ClusterInstanceOutput) PreferredBackupWindow() pulumi.StringOutput
The daily time range during which automated backups are created if automated backups are enabled. Eg: "04:00-09:00". **NOTE:** If `preferredBackupWindow` is set at the cluster level, this argument **must** be omitted.
func (ClusterInstanceOutput) PreferredMaintenanceWindow ¶ added in v5.4.0
func (o ClusterInstanceOutput) PreferredMaintenanceWindow() pulumi.StringOutput
The window to perform maintenance in. Syntax: "ddd:hh24:mi-ddd:hh24:mi". Eg: "Mon:00:00-Mon:03:00".
func (ClusterInstanceOutput) PromotionTier ¶ added in v5.4.0
func (o ClusterInstanceOutput) PromotionTier() pulumi.IntPtrOutput
Default 0. Failover Priority setting on instance level. The reader who has lower tier has higher priority to get promoted to writer.
func (ClusterInstanceOutput) PubliclyAccessible ¶ added in v5.4.0
func (o ClusterInstanceOutput) PubliclyAccessible() pulumi.BoolPtrOutput
Bool to control if instance is publicly accessible. Default `false`. See the documentation on [Creating DB Instances](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html) for more details on controlling this property.
func (ClusterInstanceOutput) StorageEncrypted ¶ added in v5.4.0
func (o ClusterInstanceOutput) StorageEncrypted() pulumi.BoolOutput
Specifies whether the DB cluster is encrypted.
func (ClusterInstanceOutput) Tags ¶ added in v5.4.0
func (o ClusterInstanceOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the instance. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (ClusterInstanceOutput) TagsAll ¶ added in v5.4.0
func (o ClusterInstanceOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (ClusterInstanceOutput) ToClusterInstanceOutput ¶
func (o ClusterInstanceOutput) ToClusterInstanceOutput() ClusterInstanceOutput
func (ClusterInstanceOutput) ToClusterInstanceOutputWithContext ¶
func (o ClusterInstanceOutput) ToClusterInstanceOutputWithContext(ctx context.Context) ClusterInstanceOutput
func (ClusterInstanceOutput) Writer ¶ added in v5.4.0
func (o ClusterInstanceOutput) Writer() pulumi.BoolOutput
Boolean indicating if this instance is writable. `False` indicates this instance is a read replica.
type ClusterInstanceState ¶
type ClusterInstanceState struct { // Specifies whether any database modifications // are applied immediately, or during the next maintenance window. Default is`false`. ApplyImmediately pulumi.BoolPtrInput // Amazon Resource Name (ARN) of cluster instance Arn pulumi.StringPtrInput // Indicates that minor engine upgrades will be applied automatically to the DB instance during the maintenance window. Default `true`. AutoMinorVersionUpgrade pulumi.BoolPtrInput // The EC2 Availability Zone that the DB instance is created in. See [docs](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html) about the details. AvailabilityZone pulumi.StringPtrInput // The identifier of the CA certificate for the DB instance. CaCertIdentifier pulumi.StringPtrInput // The identifier of the `rds.Cluster` in which to launch this instance. ClusterIdentifier pulumi.StringPtrInput // Indicates whether to copy all of the user-defined tags from the DB instance to snapshots of the DB instance. Default `false`. CopyTagsToSnapshot pulumi.BoolPtrInput // The name of the DB parameter group to associate with this instance. DbParameterGroupName pulumi.StringPtrInput // A DB subnet group to associate with this DB instance. **NOTE:** This must match the `dbSubnetGroupName` of the attached `rds.Cluster`. DbSubnetGroupName pulumi.StringPtrInput // The region-unique, immutable identifier for the DB instance. DbiResourceId pulumi.StringPtrInput // The DNS address for this instance. May not be writable Endpoint pulumi.StringPtrInput // The name of the database engine to be used for the RDS instance. Defaults to `aurora`. Valid Values: `aurora`, `aurora-mysql`, `aurora-postgresql`. // For information on the difference between the available Aurora MySQL engines // see [Comparison between Aurora MySQL 1 and Aurora MySQL 2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AuroraMySQL.Updates.20180206.html) // in the Amazon RDS User Guide. Engine pulumi.StringPtrInput // The database engine version. EngineVersion pulumi.StringPtrInput // The database engine version EngineVersionActual pulumi.StringPtrInput // The indentifier for the RDS instance, 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 // The instance class to use. For details on CPU // and memory, see [Scaling Aurora DB Instances](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.Managing.html). Aurora uses `db.*` instance classes/types. Please see [AWS Documentation](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) for currently available instance classes and complete details. InstanceClass pulumi.StringPtrInput // The ARN for the KMS encryption key if one is set to the cluster. KmsKeyId pulumi.StringPtrInput // The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0. Valid Values: 0, 1, 5, 10, 15, 30, 60. MonitoringInterval pulumi.IntPtrInput // The ARN for the IAM role that permits RDS to send // enhanced monitoring metrics to CloudWatch Logs. You can find more information on the [AWS Documentation](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html) // what IAM permissions are needed to allow Enhanced Monitoring for RDS Instances. MonitoringRoleArn pulumi.StringPtrInput // The network type of the DB instance. NetworkType pulumi.StringPtrInput // Specifies whether Performance Insights is enabled or not. PerformanceInsightsEnabled pulumi.BoolPtrInput // ARN for the KMS key to encrypt Performance Insights data. When specifying `performanceInsightsKmsKeyId`, `performanceInsightsEnabled` needs to be set to true. PerformanceInsightsKmsKeyId pulumi.StringPtrInput // Amount of time in days to retain Performance Insights data. Valid values are `7`, `731` (2 years) or a multiple of `31`. When specifying `performanceInsightsRetentionPeriod`, `performanceInsightsEnabled` needs to be set to true. Defaults to '7'. PerformanceInsightsRetentionPeriod pulumi.IntPtrInput // The database port Port pulumi.IntPtrInput // The daily time range during which automated backups are created if automated backups are enabled. Eg: "04:00-09:00". **NOTE:** If `preferredBackupWindow` is set at the cluster level, this argument **must** be omitted. PreferredBackupWindow pulumi.StringPtrInput // The window to perform maintenance in. // Syntax: "ddd:hh24:mi-ddd:hh24:mi". Eg: "Mon:00:00-Mon:03:00". PreferredMaintenanceWindow pulumi.StringPtrInput // Default 0. Failover Priority setting on instance level. The reader who has lower tier has higher priority to get promoted to writer. PromotionTier pulumi.IntPtrInput // Bool to control if instance is publicly accessible. // Default `false`. See the documentation on [Creating DB Instances](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html) for more // details on controlling this property. PubliclyAccessible pulumi.BoolPtrInput // Specifies whether the DB cluster is encrypted. StorageEncrypted pulumi.BoolPtrInput // A map of tags to assign to the instance. 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 // Boolean indicating if this instance is writable. `False` indicates this instance is a read replica. Writer pulumi.BoolPtrInput }
func (ClusterInstanceState) ElementType ¶
func (ClusterInstanceState) ElementType() reflect.Type
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) AllocatedStorage ¶ added in v5.4.0
func (o ClusterOutput) AllocatedStorage() pulumi.IntOutput
The amount of storage in gibibytes (GiB) to allocate to each DB instance in the Multi-AZ DB cluster. (This setting is required to create a Multi-AZ DB cluster).
func (ClusterOutput) AllowMajorVersionUpgrade ¶ added in v5.4.0
func (o ClusterOutput) AllowMajorVersionUpgrade() pulumi.BoolPtrOutput
Enable to allow major engine version upgrades when changing engine versions. Defaults to `false`.
func (ClusterOutput) ApplyImmediately ¶ added in v5.4.0
func (o ClusterOutput) ApplyImmediately() pulumi.BoolOutput
Specifies whether any cluster modifications are applied immediately, or during the next maintenance window. Default is `false`. See [Amazon RDS Documentation for more information.](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Modifying.html)
func (ClusterOutput) Arn ¶ added in v5.4.0
func (o ClusterOutput) Arn() pulumi.StringOutput
Amazon Resource Name (ARN) of cluster
func (ClusterOutput) AvailabilityZones ¶ added in v5.4.0
func (o ClusterOutput) AvailabilityZones() pulumi.StringArrayOutput
List of EC2 Availability Zones for the DB cluster storage where DB cluster instances can be created. RDS automatically assigns 3 AZs if less than 3 AZs are configured, which will show as a difference requiring resource recreation next apply. We recommend specifying 3 AZs or using the `lifecycle` configuration block `ignoreChanges` argument if necessary. A maximum of 3 AZs can be configured.
func (ClusterOutput) BacktrackWindow ¶ added in v5.4.0
func (o ClusterOutput) BacktrackWindow() pulumi.IntPtrOutput
The target backtrack window, in seconds. Only available for `aurora` and `aurora-mysql` engines currently. To disable backtracking, set this value to `0`. Defaults to `0`. Must be between `0` and `259200` (72 hours)
func (ClusterOutput) BackupRetentionPeriod ¶ added in v5.4.0
func (o ClusterOutput) BackupRetentionPeriod() pulumi.IntPtrOutput
The days to retain backups for. Default `1`
func (ClusterOutput) ClusterIdentifier ¶ added in v5.4.0
func (o ClusterOutput) ClusterIdentifier() pulumi.StringOutput
The cluster identifier. If omitted, this provider will assign a random, unique identifier.
func (ClusterOutput) ClusterIdentifierPrefix ¶ added in v5.4.0
func (o ClusterOutput) ClusterIdentifierPrefix() pulumi.StringOutput
Creates a unique cluster identifier beginning with the specified prefix. Conflicts with `clusterIdentifier`.
func (ClusterOutput) ClusterMembers ¶ added in v5.4.0
func (o ClusterOutput) ClusterMembers() pulumi.StringArrayOutput
List of RDS Instances that are a part of this cluster
func (ClusterOutput) ClusterResourceId ¶ added in v5.4.0
func (o ClusterOutput) ClusterResourceId() pulumi.StringOutput
The RDS Cluster Resource ID
func (ClusterOutput) CopyTagsToSnapshot ¶ added in v5.4.0
func (o ClusterOutput) CopyTagsToSnapshot() pulumi.BoolPtrOutput
Copy all Cluster `tags` to snapshots. Default is `false`.
func (ClusterOutput) DatabaseName ¶ added in v5.4.0
func (o ClusterOutput) DatabaseName() pulumi.StringOutput
Name for an automatically created database on cluster creation. There are different naming restrictions per database engine: [RDS Naming Constraints](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints)
func (ClusterOutput) DbClusterInstanceClass ¶ added in v5.4.0
func (o ClusterOutput) DbClusterInstanceClass() pulumi.StringPtrOutput
The compute and memory capacity of each DB instance in the Multi-AZ DB cluster, for example db.m6g.xlarge. Not all DB instance classes are available in all AWS Regions, or for all database engines. For the full list of DB instance classes and availability for your engine, see [DB instance class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) in the Amazon RDS User Guide. (This setting is required to create a Multi-AZ DB cluster).
func (ClusterOutput) DbClusterParameterGroupName ¶ added in v5.4.0
func (o ClusterOutput) DbClusterParameterGroupName() pulumi.StringOutput
A cluster parameter group to associate with the cluster.
func (ClusterOutput) DbInstanceParameterGroupName ¶ added in v5.4.0
func (o ClusterOutput) DbInstanceParameterGroupName() pulumi.StringPtrOutput
Instance parameter group to associate with all instances of the DB cluster. The `dbInstanceParameterGroupName` parameter is only valid in combination with the `allowMajorVersionUpgrade` parameter.
func (ClusterOutput) DbSubnetGroupName ¶ added in v5.4.0
func (o ClusterOutput) DbSubnetGroupName() pulumi.StringOutput
A DB subnet group to associate with this DB instance. **NOTE:** This must match the `dbSubnetGroupName` specified on every `rds.ClusterInstance` in the cluster.
func (ClusterOutput) DeletionProtection ¶ added in v5.4.0
func (o ClusterOutput) DeletionProtection() pulumi.BoolPtrOutput
If the DB instance should have deletion protection enabled. The database can't be deleted when this value is set to `true`. The default is `false`.
func (ClusterOutput) ElementType ¶
func (ClusterOutput) ElementType() reflect.Type
func (ClusterOutput) EnableGlobalWriteForwarding ¶ added in v5.4.0
func (o ClusterOutput) EnableGlobalWriteForwarding() pulumi.BoolPtrOutput
Whether cluster should forward writes to an associated global cluster. Applied to secondary clusters to enable them to forward writes to an `rds.GlobalCluster`'s primary cluster. See the [Aurora Userguide documentation](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-write-forwarding.html) for more information.
func (ClusterOutput) EnableHttpEndpoint ¶ added in v5.4.0
func (o ClusterOutput) EnableHttpEndpoint() pulumi.BoolPtrOutput
Enable HTTP endpoint (data API). Only valid when `engineMode` is set to `serverless`.
func (ClusterOutput) EnabledCloudwatchLogsExports ¶ added in v5.4.0
func (o ClusterOutput) EnabledCloudwatchLogsExports() pulumi.StringArrayOutput
Set of log types to export to cloudwatch. If omitted, no logs will be exported. The following log types are supported: `audit`, `error`, `general`, `slowquery`, `postgresql` (PostgreSQL).
func (ClusterOutput) Endpoint ¶ added in v5.4.0
func (o ClusterOutput) Endpoint() pulumi.StringOutput
The DNS address of the RDS instance
func (ClusterOutput) Engine ¶ added in v5.4.0
func (o ClusterOutput) Engine() pulumi.StringPtrOutput
The name of the database engine to be used for this DB cluster. Defaults to `aurora`. Valid Values: `aurora`, `aurora-mysql`, `aurora-postgresql`, `mysql`, `postgres`. (Note that `mysql` and `postgres` are Multi-AZ RDS clusters).
func (ClusterOutput) EngineMode ¶ added in v5.4.0
func (o ClusterOutput) EngineMode() pulumi.StringPtrOutput
The database engine mode. Valid values: `global` (only valid for Aurora MySQL 1.21 and earlier), `multimaster`, `parallelquery`, `provisioned`, `serverless`. Defaults to: `provisioned`. See the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/aurora-serverless.html) for limitations when using `serverless`.
func (ClusterOutput) EngineVersion ¶ added in v5.4.0
func (o ClusterOutput) EngineVersion() pulumi.StringOutput
The database engine version. Updating this argument results in an outage. See the [Aurora MySQL](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Updates.html) and [Aurora Postgres](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Updates.html) documentation for your configured engine to determine this value. For example with Aurora MySQL 2, a potential value for this argument is `5.7.mysql_aurora.2.03.2`. The value can contain a partial version where supported by the API. The actual engine version used is returned in the attribute `engineVersionActual`, , see Attributes Reference below.
func (ClusterOutput) EngineVersionActual ¶ added in v5.4.0
func (o ClusterOutput) EngineVersionActual() pulumi.StringOutput
The running version of the database.
func (ClusterOutput) FinalSnapshotIdentifier ¶ added in v5.4.0
func (o ClusterOutput) FinalSnapshotIdentifier() pulumi.StringPtrOutput
The name of your final DB snapshot when this DB cluster is deleted. If omitted, no final snapshot will be made.
func (ClusterOutput) GlobalClusterIdentifier ¶ added in v5.4.0
func (o ClusterOutput) GlobalClusterIdentifier() pulumi.StringPtrOutput
The global cluster identifier specified on `rds.GlobalCluster`.
func (ClusterOutput) HostedZoneId ¶ added in v5.4.0
func (o ClusterOutput) HostedZoneId() pulumi.StringOutput
The Route53 Hosted Zone ID of the endpoint
func (ClusterOutput) IamDatabaseAuthenticationEnabled ¶ added in v5.4.0
func (o ClusterOutput) IamDatabaseAuthenticationEnabled() pulumi.BoolPtrOutput
Specifies whether or not mappings of AWS Identity and Access Management (IAM) accounts to database accounts is enabled. Please see [AWS Documentation](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html) for availability and limitations.
func (ClusterOutput) IamRoles ¶ added in v5.4.0
func (o ClusterOutput) IamRoles() pulumi.StringArrayOutput
A List of ARNs for the IAM roles to associate to the RDS Cluster.
func (ClusterOutput) Iops ¶ added in v5.4.0
func (o ClusterOutput) Iops() pulumi.IntPtrOutput
The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for each DB instance in the Multi-AZ DB cluster. For information about valid Iops values, see [Amazon RDS Provisioned IOPS storage to improve performance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS) in the Amazon RDS User Guide. (This setting is required to create a Multi-AZ DB cluster). Must be a multiple between .5 and 50 of the storage amount for the DB cluster.
func (ClusterOutput) KmsKeyId ¶ added in v5.4.0
func (o ClusterOutput) KmsKeyId() pulumi.StringOutput
The ARN for the KMS encryption key. When specifying `kmsKeyId`, `storageEncrypted` needs to be set to true.
func (ClusterOutput) MasterPassword ¶ added in v5.4.0
func (o ClusterOutput) MasterPassword() pulumi.StringPtrOutput
Password for the master DB user. Note that this may show up in logs, and it will be stored in the state file. Please refer to the [RDS Naming Constraints](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints)
func (ClusterOutput) MasterUsername ¶ added in v5.4.0
func (o ClusterOutput) MasterUsername() pulumi.StringOutput
Username for the master DB user. Please refer to the [RDS Naming Constraints](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints). This argument does not support in-place updates and cannot be changed during a restore from snapshot.
func (ClusterOutput) NetworkType ¶ added in v5.14.0
func (o ClusterOutput) NetworkType() pulumi.StringOutput
The network type of the cluster. Valid values: `IPV4`, `DUAL`.
func (ClusterOutput) Port ¶ added in v5.4.0
func (o ClusterOutput) Port() pulumi.IntOutput
The port on which the DB accepts connections
func (ClusterOutput) PreferredBackupWindow ¶ added in v5.4.0
func (o ClusterOutput) PreferredBackupWindow() pulumi.StringOutput
The daily time range during which automated backups are created if automated backups are enabled using the BackupRetentionPeriod parameter.Time in UTC. Default: A 30-minute window selected at random from an 8-hour block of time per regionE.g., 04:00-09:00
func (ClusterOutput) PreferredMaintenanceWindow ¶ added in v5.4.0
func (o ClusterOutput) PreferredMaintenanceWindow() pulumi.StringOutput
The weekly time range during which system maintenance can occur, in (UTC) e.g., wed:04:00-wed:04:30
func (ClusterOutput) ReaderEndpoint ¶ added in v5.4.0
func (o ClusterOutput) ReaderEndpoint() pulumi.StringOutput
A read-only endpoint for the Aurora cluster, automatically load-balanced across replicas
func (ClusterOutput) ReplicationSourceIdentifier ¶ added in v5.4.0
func (o ClusterOutput) ReplicationSourceIdentifier() pulumi.StringPtrOutput
ARN of a source DB cluster or DB instance if this DB cluster is to be created as a Read Replica. If DB Cluster is part of a Global Cluster, use the `lifecycle` configuration block `ignoreChanges` argument to prevent this provider from showing differences for this argument instead of configuring this value.
func (ClusterOutput) RestoreToPointInTime ¶ added in v5.4.0
func (o ClusterOutput) RestoreToPointInTime() ClusterRestoreToPointInTimePtrOutput
Nested attribute for [point in time restore](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PIT.html). More details below.
func (ClusterOutput) S3Import ¶ added in v5.4.0
func (o ClusterOutput) S3Import() ClusterS3ImportPtrOutput
func (ClusterOutput) ScalingConfiguration ¶ added in v5.4.0
func (o ClusterOutput) ScalingConfiguration() ClusterScalingConfigurationPtrOutput
Nested attribute with scaling properties. Only valid when `engineMode` is set to `serverless`. More details below.
func (ClusterOutput) Serverlessv2ScalingConfiguration ¶ added in v5.5.0
func (o ClusterOutput) Serverlessv2ScalingConfiguration() ClusterServerlessv2ScalingConfigurationPtrOutput
Nested attribute with scaling properties for ServerlessV2. Only valid when `engineMode` is set to `provisioned`. More details below.
func (ClusterOutput) SkipFinalSnapshot ¶ added in v5.4.0
func (o ClusterOutput) SkipFinalSnapshot() pulumi.BoolPtrOutput
Determines whether a final DB snapshot is created before the DB cluster is deleted. If true is specified, no DB snapshot is created. If false is specified, a DB snapshot is created before the DB cluster is deleted, using the value from `finalSnapshotIdentifier`. Default is `false`.
func (ClusterOutput) SnapshotIdentifier ¶ added in v5.4.0
func (o ClusterOutput) SnapshotIdentifier() pulumi.StringPtrOutput
Specifies whether or not to create this cluster from a snapshot. You can use either the name or ARN when specifying a DB cluster snapshot, or the ARN when specifying a DB snapshot.
func (ClusterOutput) SourceRegion ¶ added in v5.4.0
func (o ClusterOutput) SourceRegion() pulumi.StringPtrOutput
The source region for an encrypted replica DB cluster.
func (ClusterOutput) StorageEncrypted ¶ added in v5.4.0
func (o ClusterOutput) StorageEncrypted() pulumi.BoolOutput
Specifies whether the DB cluster is encrypted. The default is `false` for `provisioned` `engineMode` and `true` for `serverless` `engineMode`. When restoring an unencrypted `snapshotIdentifier`, the `kmsKeyId` argument must be provided to encrypt the restored cluster. The provider will only perform drift detection if a configuration value is provided.
func (ClusterOutput) StorageType ¶ added in v5.4.0
func (o ClusterOutput) StorageType() pulumi.StringPtrOutput
Specifies the storage type to be associated with the DB cluster. (This setting is required to create a Multi-AZ DB cluster). Valid values: `io1`, Default: `io1`.
func (ClusterOutput) Tags ¶ added in v5.4.0
func (o ClusterOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the DB cluster. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (ClusterOutput) TagsAll ¶ added in v5.4.0
func (o ClusterOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (ClusterOutput) ToClusterOutput ¶
func (o ClusterOutput) ToClusterOutput() ClusterOutput
func (ClusterOutput) ToClusterOutputWithContext ¶
func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
func (ClusterOutput) VpcSecurityGroupIds ¶ added in v5.4.0
func (o ClusterOutput) VpcSecurityGroupIds() pulumi.StringArrayOutput
List of VPC security groups to associate with the Cluster
type ClusterParameterGroup ¶
type ClusterParameterGroup struct { pulumi.CustomResourceState // The ARN of the db cluster parameter group. Arn pulumi.StringOutput `pulumi:"arn"` // The description of the DB cluster parameter group. Defaults to "Managed by Pulumi". Description pulumi.StringOutput `pulumi:"description"` // The family of the DB cluster parameter group. Family pulumi.StringOutput `pulumi:"family"` // The name of the DB parameter. Name pulumi.StringOutput `pulumi:"name"` // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringOutput `pulumi:"namePrefix"` // A list of DB parameters to apply. Note that parameters may differ from a family to an other. Full list of all parameters can be discovered via [`aws rds describe-db-cluster-parameters`](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-cluster-parameters.html) after initial creation of the group. Parameters ClusterParameterGroupParameterArrayOutput `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 `defaultTags` configuration block. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides an RDS DB cluster parameter group resource. Documentation of the available parameters for various Aurora engines can be found at:
* [Aurora MySQL Parameters](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AuroraMySQL.Reference.html) * [Aurora PostgreSQL Parameters](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AuroraPostgreSQL.Reference.html)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.NewClusterParameterGroup(ctx, "default", &rds.ClusterParameterGroupArgs{ Description: pulumi.String("RDS default cluster parameter group"), Family: pulumi.String("aurora5.6"), Parameters: rds.ClusterParameterGroupParameterArray{ &rds.ClusterParameterGroupParameterArgs{ Name: pulumi.String("character_set_server"), Value: pulumi.String("utf8"), }, &rds.ClusterParameterGroupParameterArgs{ Name: pulumi.String("character_set_client"), Value: pulumi.String("utf8"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
RDS Cluster Parameter Groups can be imported using the `name`, e.g.,
```sh
$ pulumi import aws:rds/clusterParameterGroup:ClusterParameterGroup cluster_pg production-pg-1
```
func GetClusterParameterGroup ¶
func GetClusterParameterGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ClusterParameterGroupState, opts ...pulumi.ResourceOption) (*ClusterParameterGroup, error)
GetClusterParameterGroup gets an existing ClusterParameterGroup 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 NewClusterParameterGroup ¶
func NewClusterParameterGroup(ctx *pulumi.Context, name string, args *ClusterParameterGroupArgs, opts ...pulumi.ResourceOption) (*ClusterParameterGroup, error)
NewClusterParameterGroup registers a new resource with the given unique name, arguments, and options.
func (*ClusterParameterGroup) ElementType ¶
func (*ClusterParameterGroup) ElementType() reflect.Type
func (*ClusterParameterGroup) ToClusterParameterGroupOutput ¶
func (i *ClusterParameterGroup) ToClusterParameterGroupOutput() ClusterParameterGroupOutput
func (*ClusterParameterGroup) ToClusterParameterGroupOutputWithContext ¶
func (i *ClusterParameterGroup) ToClusterParameterGroupOutputWithContext(ctx context.Context) ClusterParameterGroupOutput
type ClusterParameterGroupArgs ¶
type ClusterParameterGroupArgs struct { // The description of the DB cluster parameter group. Defaults to "Managed by Pulumi". Description pulumi.StringPtrInput // The family of the DB cluster parameter group. Family pulumi.StringInput // The name of the DB parameter. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrInput // A list of DB parameters to apply. Note that parameters may differ from a family to an other. Full list of all parameters can be discovered via [`aws rds describe-db-cluster-parameters`](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-cluster-parameters.html) after initial creation of the group. Parameters ClusterParameterGroupParameterArrayInput // 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 ClusterParameterGroup resource.
func (ClusterParameterGroupArgs) ElementType ¶
func (ClusterParameterGroupArgs) ElementType() reflect.Type
type ClusterParameterGroupArray ¶
type ClusterParameterGroupArray []ClusterParameterGroupInput
func (ClusterParameterGroupArray) ElementType ¶
func (ClusterParameterGroupArray) ElementType() reflect.Type
func (ClusterParameterGroupArray) ToClusterParameterGroupArrayOutput ¶
func (i ClusterParameterGroupArray) ToClusterParameterGroupArrayOutput() ClusterParameterGroupArrayOutput
func (ClusterParameterGroupArray) ToClusterParameterGroupArrayOutputWithContext ¶
func (i ClusterParameterGroupArray) ToClusterParameterGroupArrayOutputWithContext(ctx context.Context) ClusterParameterGroupArrayOutput
type ClusterParameterGroupArrayInput ¶
type ClusterParameterGroupArrayInput interface { pulumi.Input ToClusterParameterGroupArrayOutput() ClusterParameterGroupArrayOutput ToClusterParameterGroupArrayOutputWithContext(context.Context) ClusterParameterGroupArrayOutput }
ClusterParameterGroupArrayInput is an input type that accepts ClusterParameterGroupArray and ClusterParameterGroupArrayOutput values. You can construct a concrete instance of `ClusterParameterGroupArrayInput` via:
ClusterParameterGroupArray{ ClusterParameterGroupArgs{...} }
type ClusterParameterGroupArrayOutput ¶
type ClusterParameterGroupArrayOutput struct{ *pulumi.OutputState }
func (ClusterParameterGroupArrayOutput) ElementType ¶
func (ClusterParameterGroupArrayOutput) ElementType() reflect.Type
func (ClusterParameterGroupArrayOutput) Index ¶
func (o ClusterParameterGroupArrayOutput) Index(i pulumi.IntInput) ClusterParameterGroupOutput
func (ClusterParameterGroupArrayOutput) ToClusterParameterGroupArrayOutput ¶
func (o ClusterParameterGroupArrayOutput) ToClusterParameterGroupArrayOutput() ClusterParameterGroupArrayOutput
func (ClusterParameterGroupArrayOutput) ToClusterParameterGroupArrayOutputWithContext ¶
func (o ClusterParameterGroupArrayOutput) ToClusterParameterGroupArrayOutputWithContext(ctx context.Context) ClusterParameterGroupArrayOutput
type ClusterParameterGroupInput ¶
type ClusterParameterGroupInput interface { pulumi.Input ToClusterParameterGroupOutput() ClusterParameterGroupOutput ToClusterParameterGroupOutputWithContext(ctx context.Context) ClusterParameterGroupOutput }
type ClusterParameterGroupMap ¶
type ClusterParameterGroupMap map[string]ClusterParameterGroupInput
func (ClusterParameterGroupMap) ElementType ¶
func (ClusterParameterGroupMap) ElementType() reflect.Type
func (ClusterParameterGroupMap) ToClusterParameterGroupMapOutput ¶
func (i ClusterParameterGroupMap) ToClusterParameterGroupMapOutput() ClusterParameterGroupMapOutput
func (ClusterParameterGroupMap) ToClusterParameterGroupMapOutputWithContext ¶
func (i ClusterParameterGroupMap) ToClusterParameterGroupMapOutputWithContext(ctx context.Context) ClusterParameterGroupMapOutput
type ClusterParameterGroupMapInput ¶
type ClusterParameterGroupMapInput interface { pulumi.Input ToClusterParameterGroupMapOutput() ClusterParameterGroupMapOutput ToClusterParameterGroupMapOutputWithContext(context.Context) ClusterParameterGroupMapOutput }
ClusterParameterGroupMapInput is an input type that accepts ClusterParameterGroupMap and ClusterParameterGroupMapOutput values. You can construct a concrete instance of `ClusterParameterGroupMapInput` via:
ClusterParameterGroupMap{ "key": ClusterParameterGroupArgs{...} }
type ClusterParameterGroupMapOutput ¶
type ClusterParameterGroupMapOutput struct{ *pulumi.OutputState }
func (ClusterParameterGroupMapOutput) ElementType ¶
func (ClusterParameterGroupMapOutput) ElementType() reflect.Type
func (ClusterParameterGroupMapOutput) MapIndex ¶
func (o ClusterParameterGroupMapOutput) MapIndex(k pulumi.StringInput) ClusterParameterGroupOutput
func (ClusterParameterGroupMapOutput) ToClusterParameterGroupMapOutput ¶
func (o ClusterParameterGroupMapOutput) ToClusterParameterGroupMapOutput() ClusterParameterGroupMapOutput
func (ClusterParameterGroupMapOutput) ToClusterParameterGroupMapOutputWithContext ¶
func (o ClusterParameterGroupMapOutput) ToClusterParameterGroupMapOutputWithContext(ctx context.Context) ClusterParameterGroupMapOutput
type ClusterParameterGroupOutput ¶
type ClusterParameterGroupOutput struct{ *pulumi.OutputState }
func (ClusterParameterGroupOutput) Arn ¶ added in v5.4.0
func (o ClusterParameterGroupOutput) Arn() pulumi.StringOutput
The ARN of the db cluster parameter group.
func (ClusterParameterGroupOutput) Description ¶ added in v5.4.0
func (o ClusterParameterGroupOutput) Description() pulumi.StringOutput
The description of the DB cluster parameter group. Defaults to "Managed by Pulumi".
func (ClusterParameterGroupOutput) ElementType ¶
func (ClusterParameterGroupOutput) ElementType() reflect.Type
func (ClusterParameterGroupOutput) Family ¶ added in v5.4.0
func (o ClusterParameterGroupOutput) Family() pulumi.StringOutput
The family of the DB cluster parameter group.
func (ClusterParameterGroupOutput) Name ¶ added in v5.4.0
func (o ClusterParameterGroupOutput) Name() pulumi.StringOutput
The name of the DB parameter.
func (ClusterParameterGroupOutput) NamePrefix ¶ added in v5.4.0
func (o ClusterParameterGroupOutput) NamePrefix() pulumi.StringOutput
Creates a unique name beginning with the specified prefix. Conflicts with `name`.
func (ClusterParameterGroupOutput) Parameters ¶ added in v5.4.0
func (o ClusterParameterGroupOutput) Parameters() ClusterParameterGroupParameterArrayOutput
A list of DB parameters to apply. Note that parameters may differ from a family to an other. Full list of all parameters can be discovered via [`aws rds describe-db-cluster-parameters`](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-cluster-parameters.html) after initial creation of the group.
func (ClusterParameterGroupOutput) Tags ¶ added in v5.4.0
func (o ClusterParameterGroupOutput) Tags() pulumi.StringMapOutput
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.
func (ClusterParameterGroupOutput) TagsAll ¶ added in v5.4.0
func (o ClusterParameterGroupOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (ClusterParameterGroupOutput) ToClusterParameterGroupOutput ¶
func (o ClusterParameterGroupOutput) ToClusterParameterGroupOutput() ClusterParameterGroupOutput
func (ClusterParameterGroupOutput) ToClusterParameterGroupOutputWithContext ¶
func (o ClusterParameterGroupOutput) ToClusterParameterGroupOutputWithContext(ctx context.Context) ClusterParameterGroupOutput
type ClusterParameterGroupParameter ¶
type ClusterParameterGroupParameter struct { // "immediate" (default), or "pending-reboot". Some // engines can't apply some parameters without a reboot, and you will need to // specify "pending-reboot" here. ApplyMethod *string `pulumi:"applyMethod"` // The name of the DB parameter. Name string `pulumi:"name"` // The value of the DB parameter. Value string `pulumi:"value"` }
type ClusterParameterGroupParameterArgs ¶
type ClusterParameterGroupParameterArgs struct { // "immediate" (default), or "pending-reboot". Some // engines can't apply some parameters without a reboot, and you will need to // specify "pending-reboot" here. ApplyMethod pulumi.StringPtrInput `pulumi:"applyMethod"` // The name of the DB parameter. Name pulumi.StringInput `pulumi:"name"` // The value of the DB parameter. Value pulumi.StringInput `pulumi:"value"` }
func (ClusterParameterGroupParameterArgs) ElementType ¶
func (ClusterParameterGroupParameterArgs) ElementType() reflect.Type
func (ClusterParameterGroupParameterArgs) ToClusterParameterGroupParameterOutput ¶
func (i ClusterParameterGroupParameterArgs) ToClusterParameterGroupParameterOutput() ClusterParameterGroupParameterOutput
func (ClusterParameterGroupParameterArgs) ToClusterParameterGroupParameterOutputWithContext ¶
func (i ClusterParameterGroupParameterArgs) ToClusterParameterGroupParameterOutputWithContext(ctx context.Context) ClusterParameterGroupParameterOutput
type ClusterParameterGroupParameterArray ¶
type ClusterParameterGroupParameterArray []ClusterParameterGroupParameterInput
func (ClusterParameterGroupParameterArray) ElementType ¶
func (ClusterParameterGroupParameterArray) ElementType() reflect.Type
func (ClusterParameterGroupParameterArray) ToClusterParameterGroupParameterArrayOutput ¶
func (i ClusterParameterGroupParameterArray) ToClusterParameterGroupParameterArrayOutput() ClusterParameterGroupParameterArrayOutput
func (ClusterParameterGroupParameterArray) ToClusterParameterGroupParameterArrayOutputWithContext ¶
func (i ClusterParameterGroupParameterArray) ToClusterParameterGroupParameterArrayOutputWithContext(ctx context.Context) ClusterParameterGroupParameterArrayOutput
type ClusterParameterGroupParameterArrayInput ¶
type ClusterParameterGroupParameterArrayInput interface { pulumi.Input ToClusterParameterGroupParameterArrayOutput() ClusterParameterGroupParameterArrayOutput ToClusterParameterGroupParameterArrayOutputWithContext(context.Context) ClusterParameterGroupParameterArrayOutput }
ClusterParameterGroupParameterArrayInput is an input type that accepts ClusterParameterGroupParameterArray and ClusterParameterGroupParameterArrayOutput values. You can construct a concrete instance of `ClusterParameterGroupParameterArrayInput` via:
ClusterParameterGroupParameterArray{ ClusterParameterGroupParameterArgs{...} }
type ClusterParameterGroupParameterArrayOutput ¶
type ClusterParameterGroupParameterArrayOutput struct{ *pulumi.OutputState }
func (ClusterParameterGroupParameterArrayOutput) ElementType ¶
func (ClusterParameterGroupParameterArrayOutput) ElementType() reflect.Type
func (ClusterParameterGroupParameterArrayOutput) ToClusterParameterGroupParameterArrayOutput ¶
func (o ClusterParameterGroupParameterArrayOutput) ToClusterParameterGroupParameterArrayOutput() ClusterParameterGroupParameterArrayOutput
func (ClusterParameterGroupParameterArrayOutput) ToClusterParameterGroupParameterArrayOutputWithContext ¶
func (o ClusterParameterGroupParameterArrayOutput) ToClusterParameterGroupParameterArrayOutputWithContext(ctx context.Context) ClusterParameterGroupParameterArrayOutput
type ClusterParameterGroupParameterInput ¶
type ClusterParameterGroupParameterInput interface { pulumi.Input ToClusterParameterGroupParameterOutput() ClusterParameterGroupParameterOutput ToClusterParameterGroupParameterOutputWithContext(context.Context) ClusterParameterGroupParameterOutput }
ClusterParameterGroupParameterInput is an input type that accepts ClusterParameterGroupParameterArgs and ClusterParameterGroupParameterOutput values. You can construct a concrete instance of `ClusterParameterGroupParameterInput` via:
ClusterParameterGroupParameterArgs{...}
type ClusterParameterGroupParameterOutput ¶
type ClusterParameterGroupParameterOutput struct{ *pulumi.OutputState }
func (ClusterParameterGroupParameterOutput) ApplyMethod ¶
func (o ClusterParameterGroupParameterOutput) ApplyMethod() pulumi.StringPtrOutput
"immediate" (default), or "pending-reboot". Some engines can't apply some parameters without a reboot, and you will need to specify "pending-reboot" here.
func (ClusterParameterGroupParameterOutput) ElementType ¶
func (ClusterParameterGroupParameterOutput) ElementType() reflect.Type
func (ClusterParameterGroupParameterOutput) Name ¶
func (o ClusterParameterGroupParameterOutput) Name() pulumi.StringOutput
The name of the DB parameter.
func (ClusterParameterGroupParameterOutput) ToClusterParameterGroupParameterOutput ¶
func (o ClusterParameterGroupParameterOutput) ToClusterParameterGroupParameterOutput() ClusterParameterGroupParameterOutput
func (ClusterParameterGroupParameterOutput) ToClusterParameterGroupParameterOutputWithContext ¶
func (o ClusterParameterGroupParameterOutput) ToClusterParameterGroupParameterOutputWithContext(ctx context.Context) ClusterParameterGroupParameterOutput
func (ClusterParameterGroupParameterOutput) Value ¶
func (o ClusterParameterGroupParameterOutput) Value() pulumi.StringOutput
The value of the DB parameter.
type ClusterParameterGroupState ¶
type ClusterParameterGroupState struct { // The ARN of the db cluster parameter group. Arn pulumi.StringPtrInput // The description of the DB cluster parameter group. Defaults to "Managed by Pulumi". Description pulumi.StringPtrInput // The family of the DB cluster parameter group. Family pulumi.StringPtrInput // The name of the DB parameter. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrInput // A list of DB parameters to apply. Note that parameters may differ from a family to an other. Full list of all parameters can be discovered via [`aws rds describe-db-cluster-parameters`](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-cluster-parameters.html) after initial creation of the group. Parameters ClusterParameterGroupParameterArrayInput // 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 }
func (ClusterParameterGroupState) ElementType ¶
func (ClusterParameterGroupState) ElementType() reflect.Type
type ClusterRestoreToPointInTime ¶
type ClusterRestoreToPointInTime struct { // Date and time in UTC format to restore the database cluster to. Conflicts with `useLatestRestorableTime`. RestoreToTime *string `pulumi:"restoreToTime"` // Type of restore to be performed. // Valid options are `full-copy` (default) and `copy-on-write`. RestoreType *string `pulumi:"restoreType"` // The identifier of the source database cluster from which to restore. SourceClusterIdentifier string `pulumi:"sourceClusterIdentifier"` // Set to true to restore the database cluster to the latest restorable backup time. Defaults to false. Conflicts with `restoreToTime`. UseLatestRestorableTime *bool `pulumi:"useLatestRestorableTime"` }
type ClusterRestoreToPointInTimeArgs ¶
type ClusterRestoreToPointInTimeArgs struct { // Date and time in UTC format to restore the database cluster to. Conflicts with `useLatestRestorableTime`. RestoreToTime pulumi.StringPtrInput `pulumi:"restoreToTime"` // Type of restore to be performed. // Valid options are `full-copy` (default) and `copy-on-write`. RestoreType pulumi.StringPtrInput `pulumi:"restoreType"` // The identifier of the source database cluster from which to restore. SourceClusterIdentifier pulumi.StringInput `pulumi:"sourceClusterIdentifier"` // Set to true to restore the database cluster to the latest restorable backup time. Defaults to false. Conflicts with `restoreToTime`. UseLatestRestorableTime pulumi.BoolPtrInput `pulumi:"useLatestRestorableTime"` }
func (ClusterRestoreToPointInTimeArgs) ElementType ¶
func (ClusterRestoreToPointInTimeArgs) ElementType() reflect.Type
func (ClusterRestoreToPointInTimeArgs) ToClusterRestoreToPointInTimeOutput ¶
func (i ClusterRestoreToPointInTimeArgs) ToClusterRestoreToPointInTimeOutput() ClusterRestoreToPointInTimeOutput
func (ClusterRestoreToPointInTimeArgs) ToClusterRestoreToPointInTimeOutputWithContext ¶
func (i ClusterRestoreToPointInTimeArgs) ToClusterRestoreToPointInTimeOutputWithContext(ctx context.Context) ClusterRestoreToPointInTimeOutput
func (ClusterRestoreToPointInTimeArgs) ToClusterRestoreToPointInTimePtrOutput ¶
func (i ClusterRestoreToPointInTimeArgs) ToClusterRestoreToPointInTimePtrOutput() ClusterRestoreToPointInTimePtrOutput
func (ClusterRestoreToPointInTimeArgs) ToClusterRestoreToPointInTimePtrOutputWithContext ¶
func (i ClusterRestoreToPointInTimeArgs) ToClusterRestoreToPointInTimePtrOutputWithContext(ctx context.Context) ClusterRestoreToPointInTimePtrOutput
type ClusterRestoreToPointInTimeInput ¶
type ClusterRestoreToPointInTimeInput interface { pulumi.Input ToClusterRestoreToPointInTimeOutput() ClusterRestoreToPointInTimeOutput ToClusterRestoreToPointInTimeOutputWithContext(context.Context) ClusterRestoreToPointInTimeOutput }
ClusterRestoreToPointInTimeInput is an input type that accepts ClusterRestoreToPointInTimeArgs and ClusterRestoreToPointInTimeOutput values. You can construct a concrete instance of `ClusterRestoreToPointInTimeInput` via:
ClusterRestoreToPointInTimeArgs{...}
type ClusterRestoreToPointInTimeOutput ¶
type ClusterRestoreToPointInTimeOutput struct{ *pulumi.OutputState }
func (ClusterRestoreToPointInTimeOutput) ElementType ¶
func (ClusterRestoreToPointInTimeOutput) ElementType() reflect.Type
func (ClusterRestoreToPointInTimeOutput) RestoreToTime ¶
func (o ClusterRestoreToPointInTimeOutput) RestoreToTime() pulumi.StringPtrOutput
Date and time in UTC format to restore the database cluster to. Conflicts with `useLatestRestorableTime`.
func (ClusterRestoreToPointInTimeOutput) RestoreType ¶
func (o ClusterRestoreToPointInTimeOutput) RestoreType() pulumi.StringPtrOutput
Type of restore to be performed. Valid options are `full-copy` (default) and `copy-on-write`.
func (ClusterRestoreToPointInTimeOutput) SourceClusterIdentifier ¶
func (o ClusterRestoreToPointInTimeOutput) SourceClusterIdentifier() pulumi.StringOutput
The identifier of the source database cluster from which to restore.
func (ClusterRestoreToPointInTimeOutput) ToClusterRestoreToPointInTimeOutput ¶
func (o ClusterRestoreToPointInTimeOutput) ToClusterRestoreToPointInTimeOutput() ClusterRestoreToPointInTimeOutput
func (ClusterRestoreToPointInTimeOutput) ToClusterRestoreToPointInTimeOutputWithContext ¶
func (o ClusterRestoreToPointInTimeOutput) ToClusterRestoreToPointInTimeOutputWithContext(ctx context.Context) ClusterRestoreToPointInTimeOutput
func (ClusterRestoreToPointInTimeOutput) ToClusterRestoreToPointInTimePtrOutput ¶
func (o ClusterRestoreToPointInTimeOutput) ToClusterRestoreToPointInTimePtrOutput() ClusterRestoreToPointInTimePtrOutput
func (ClusterRestoreToPointInTimeOutput) ToClusterRestoreToPointInTimePtrOutputWithContext ¶
func (o ClusterRestoreToPointInTimeOutput) ToClusterRestoreToPointInTimePtrOutputWithContext(ctx context.Context) ClusterRestoreToPointInTimePtrOutput
func (ClusterRestoreToPointInTimeOutput) UseLatestRestorableTime ¶
func (o ClusterRestoreToPointInTimeOutput) UseLatestRestorableTime() pulumi.BoolPtrOutput
Set to true to restore the database cluster to the latest restorable backup time. Defaults to false. Conflicts with `restoreToTime`.
type ClusterRestoreToPointInTimePtrInput ¶
type ClusterRestoreToPointInTimePtrInput interface { pulumi.Input ToClusterRestoreToPointInTimePtrOutput() ClusterRestoreToPointInTimePtrOutput ToClusterRestoreToPointInTimePtrOutputWithContext(context.Context) ClusterRestoreToPointInTimePtrOutput }
ClusterRestoreToPointInTimePtrInput is an input type that accepts ClusterRestoreToPointInTimeArgs, ClusterRestoreToPointInTimePtr and ClusterRestoreToPointInTimePtrOutput values. You can construct a concrete instance of `ClusterRestoreToPointInTimePtrInput` via:
ClusterRestoreToPointInTimeArgs{...} or: nil
func ClusterRestoreToPointInTimePtr ¶
func ClusterRestoreToPointInTimePtr(v *ClusterRestoreToPointInTimeArgs) ClusterRestoreToPointInTimePtrInput
type ClusterRestoreToPointInTimePtrOutput ¶
type ClusterRestoreToPointInTimePtrOutput struct{ *pulumi.OutputState }
func (ClusterRestoreToPointInTimePtrOutput) ElementType ¶
func (ClusterRestoreToPointInTimePtrOutput) ElementType() reflect.Type
func (ClusterRestoreToPointInTimePtrOutput) RestoreToTime ¶
func (o ClusterRestoreToPointInTimePtrOutput) RestoreToTime() pulumi.StringPtrOutput
Date and time in UTC format to restore the database cluster to. Conflicts with `useLatestRestorableTime`.
func (ClusterRestoreToPointInTimePtrOutput) RestoreType ¶
func (o ClusterRestoreToPointInTimePtrOutput) RestoreType() pulumi.StringPtrOutput
Type of restore to be performed. Valid options are `full-copy` (default) and `copy-on-write`.
func (ClusterRestoreToPointInTimePtrOutput) SourceClusterIdentifier ¶
func (o ClusterRestoreToPointInTimePtrOutput) SourceClusterIdentifier() pulumi.StringPtrOutput
The identifier of the source database cluster from which to restore.
func (ClusterRestoreToPointInTimePtrOutput) ToClusterRestoreToPointInTimePtrOutput ¶
func (o ClusterRestoreToPointInTimePtrOutput) ToClusterRestoreToPointInTimePtrOutput() ClusterRestoreToPointInTimePtrOutput
func (ClusterRestoreToPointInTimePtrOutput) ToClusterRestoreToPointInTimePtrOutputWithContext ¶
func (o ClusterRestoreToPointInTimePtrOutput) ToClusterRestoreToPointInTimePtrOutputWithContext(ctx context.Context) ClusterRestoreToPointInTimePtrOutput
func (ClusterRestoreToPointInTimePtrOutput) UseLatestRestorableTime ¶
func (o ClusterRestoreToPointInTimePtrOutput) UseLatestRestorableTime() pulumi.BoolPtrOutput
Set to true to restore the database cluster to the latest restorable backup time. Defaults to false. Conflicts with `restoreToTime`.
type ClusterRoleAssociation ¶
type ClusterRoleAssociation struct { pulumi.CustomResourceState // DB Cluster Identifier to associate with the IAM Role. DbClusterIdentifier pulumi.StringOutput `pulumi:"dbClusterIdentifier"` // Name of the feature for association. This can be found in the AWS documentation relevant to the integration or a full list is available in the `SupportedFeatureNames` list returned by [AWS CLI rds describe-db-engine-versions](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-engine-versions.html). FeatureName pulumi.StringOutput `pulumi:"featureName"` // Amazon Resource Name (ARN) of the IAM Role to associate with the DB Cluster. RoleArn pulumi.StringOutput `pulumi:"roleArn"` }
Manages a RDS DB Cluster association with an IAM Role. Example use cases:
* [Creating an IAM Role to Allow Amazon Aurora to Access AWS Services](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Integrating.Authorizing.IAM.CreateRole.html) * [Importing Amazon S3 Data into an RDS PostgreSQL DB Cluster](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PostgreSQL.S3Import.html)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.NewClusterRoleAssociation(ctx, "example", &rds.ClusterRoleAssociationArgs{ DbClusterIdentifier: pulumi.Any(aws_rds_cluster.Example.Id), FeatureName: pulumi.String("S3_INTEGRATION"), RoleArn: pulumi.Any(aws_iam_role.Example.Arn), }) if err != nil { return err } return nil }) }
```
## Import
`aws_rds_cluster_role_association` can be imported using the DB Cluster Identifier and IAM Role ARN separated by a comma (`,`), e.g.,
```sh
$ pulumi import aws:rds/clusterRoleAssociation:ClusterRoleAssociation example my-db-cluster,arn:aws:iam::123456789012:role/my-role
```
func GetClusterRoleAssociation ¶
func GetClusterRoleAssociation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ClusterRoleAssociationState, opts ...pulumi.ResourceOption) (*ClusterRoleAssociation, error)
GetClusterRoleAssociation gets an existing ClusterRoleAssociation 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 NewClusterRoleAssociation ¶
func NewClusterRoleAssociation(ctx *pulumi.Context, name string, args *ClusterRoleAssociationArgs, opts ...pulumi.ResourceOption) (*ClusterRoleAssociation, error)
NewClusterRoleAssociation registers a new resource with the given unique name, arguments, and options.
func (*ClusterRoleAssociation) ElementType ¶
func (*ClusterRoleAssociation) ElementType() reflect.Type
func (*ClusterRoleAssociation) ToClusterRoleAssociationOutput ¶
func (i *ClusterRoleAssociation) ToClusterRoleAssociationOutput() ClusterRoleAssociationOutput
func (*ClusterRoleAssociation) ToClusterRoleAssociationOutputWithContext ¶
func (i *ClusterRoleAssociation) ToClusterRoleAssociationOutputWithContext(ctx context.Context) ClusterRoleAssociationOutput
type ClusterRoleAssociationArgs ¶
type ClusterRoleAssociationArgs struct { // DB Cluster Identifier to associate with the IAM Role. DbClusterIdentifier pulumi.StringInput // Name of the feature for association. This can be found in the AWS documentation relevant to the integration or a full list is available in the `SupportedFeatureNames` list returned by [AWS CLI rds describe-db-engine-versions](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-engine-versions.html). FeatureName pulumi.StringInput // Amazon Resource Name (ARN) of the IAM Role to associate with the DB Cluster. RoleArn pulumi.StringInput }
The set of arguments for constructing a ClusterRoleAssociation resource.
func (ClusterRoleAssociationArgs) ElementType ¶
func (ClusterRoleAssociationArgs) ElementType() reflect.Type
type ClusterRoleAssociationArray ¶
type ClusterRoleAssociationArray []ClusterRoleAssociationInput
func (ClusterRoleAssociationArray) ElementType ¶
func (ClusterRoleAssociationArray) ElementType() reflect.Type
func (ClusterRoleAssociationArray) ToClusterRoleAssociationArrayOutput ¶
func (i ClusterRoleAssociationArray) ToClusterRoleAssociationArrayOutput() ClusterRoleAssociationArrayOutput
func (ClusterRoleAssociationArray) ToClusterRoleAssociationArrayOutputWithContext ¶
func (i ClusterRoleAssociationArray) ToClusterRoleAssociationArrayOutputWithContext(ctx context.Context) ClusterRoleAssociationArrayOutput
type ClusterRoleAssociationArrayInput ¶
type ClusterRoleAssociationArrayInput interface { pulumi.Input ToClusterRoleAssociationArrayOutput() ClusterRoleAssociationArrayOutput ToClusterRoleAssociationArrayOutputWithContext(context.Context) ClusterRoleAssociationArrayOutput }
ClusterRoleAssociationArrayInput is an input type that accepts ClusterRoleAssociationArray and ClusterRoleAssociationArrayOutput values. You can construct a concrete instance of `ClusterRoleAssociationArrayInput` via:
ClusterRoleAssociationArray{ ClusterRoleAssociationArgs{...} }
type ClusterRoleAssociationArrayOutput ¶
type ClusterRoleAssociationArrayOutput struct{ *pulumi.OutputState }
func (ClusterRoleAssociationArrayOutput) ElementType ¶
func (ClusterRoleAssociationArrayOutput) ElementType() reflect.Type
func (ClusterRoleAssociationArrayOutput) Index ¶
func (o ClusterRoleAssociationArrayOutput) Index(i pulumi.IntInput) ClusterRoleAssociationOutput
func (ClusterRoleAssociationArrayOutput) ToClusterRoleAssociationArrayOutput ¶
func (o ClusterRoleAssociationArrayOutput) ToClusterRoleAssociationArrayOutput() ClusterRoleAssociationArrayOutput
func (ClusterRoleAssociationArrayOutput) ToClusterRoleAssociationArrayOutputWithContext ¶
func (o ClusterRoleAssociationArrayOutput) ToClusterRoleAssociationArrayOutputWithContext(ctx context.Context) ClusterRoleAssociationArrayOutput
type ClusterRoleAssociationInput ¶
type ClusterRoleAssociationInput interface { pulumi.Input ToClusterRoleAssociationOutput() ClusterRoleAssociationOutput ToClusterRoleAssociationOutputWithContext(ctx context.Context) ClusterRoleAssociationOutput }
type ClusterRoleAssociationMap ¶
type ClusterRoleAssociationMap map[string]ClusterRoleAssociationInput
func (ClusterRoleAssociationMap) ElementType ¶
func (ClusterRoleAssociationMap) ElementType() reflect.Type
func (ClusterRoleAssociationMap) ToClusterRoleAssociationMapOutput ¶
func (i ClusterRoleAssociationMap) ToClusterRoleAssociationMapOutput() ClusterRoleAssociationMapOutput
func (ClusterRoleAssociationMap) ToClusterRoleAssociationMapOutputWithContext ¶
func (i ClusterRoleAssociationMap) ToClusterRoleAssociationMapOutputWithContext(ctx context.Context) ClusterRoleAssociationMapOutput
type ClusterRoleAssociationMapInput ¶
type ClusterRoleAssociationMapInput interface { pulumi.Input ToClusterRoleAssociationMapOutput() ClusterRoleAssociationMapOutput ToClusterRoleAssociationMapOutputWithContext(context.Context) ClusterRoleAssociationMapOutput }
ClusterRoleAssociationMapInput is an input type that accepts ClusterRoleAssociationMap and ClusterRoleAssociationMapOutput values. You can construct a concrete instance of `ClusterRoleAssociationMapInput` via:
ClusterRoleAssociationMap{ "key": ClusterRoleAssociationArgs{...} }
type ClusterRoleAssociationMapOutput ¶
type ClusterRoleAssociationMapOutput struct{ *pulumi.OutputState }
func (ClusterRoleAssociationMapOutput) ElementType ¶
func (ClusterRoleAssociationMapOutput) ElementType() reflect.Type
func (ClusterRoleAssociationMapOutput) MapIndex ¶
func (o ClusterRoleAssociationMapOutput) MapIndex(k pulumi.StringInput) ClusterRoleAssociationOutput
func (ClusterRoleAssociationMapOutput) ToClusterRoleAssociationMapOutput ¶
func (o ClusterRoleAssociationMapOutput) ToClusterRoleAssociationMapOutput() ClusterRoleAssociationMapOutput
func (ClusterRoleAssociationMapOutput) ToClusterRoleAssociationMapOutputWithContext ¶
func (o ClusterRoleAssociationMapOutput) ToClusterRoleAssociationMapOutputWithContext(ctx context.Context) ClusterRoleAssociationMapOutput
type ClusterRoleAssociationOutput ¶
type ClusterRoleAssociationOutput struct{ *pulumi.OutputState }
func (ClusterRoleAssociationOutput) DbClusterIdentifier ¶ added in v5.4.0
func (o ClusterRoleAssociationOutput) DbClusterIdentifier() pulumi.StringOutput
DB Cluster Identifier to associate with the IAM Role.
func (ClusterRoleAssociationOutput) ElementType ¶
func (ClusterRoleAssociationOutput) ElementType() reflect.Type
func (ClusterRoleAssociationOutput) FeatureName ¶ added in v5.4.0
func (o ClusterRoleAssociationOutput) FeatureName() pulumi.StringOutput
Name of the feature for association. This can be found in the AWS documentation relevant to the integration or a full list is available in the `SupportedFeatureNames` list returned by [AWS CLI rds describe-db-engine-versions](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-engine-versions.html).
func (ClusterRoleAssociationOutput) RoleArn ¶ added in v5.4.0
func (o ClusterRoleAssociationOutput) RoleArn() pulumi.StringOutput
Amazon Resource Name (ARN) of the IAM Role to associate with the DB Cluster.
func (ClusterRoleAssociationOutput) ToClusterRoleAssociationOutput ¶
func (o ClusterRoleAssociationOutput) ToClusterRoleAssociationOutput() ClusterRoleAssociationOutput
func (ClusterRoleAssociationOutput) ToClusterRoleAssociationOutputWithContext ¶
func (o ClusterRoleAssociationOutput) ToClusterRoleAssociationOutputWithContext(ctx context.Context) ClusterRoleAssociationOutput
type ClusterRoleAssociationState ¶
type ClusterRoleAssociationState struct { // DB Cluster Identifier to associate with the IAM Role. DbClusterIdentifier pulumi.StringPtrInput // Name of the feature for association. This can be found in the AWS documentation relevant to the integration or a full list is available in the `SupportedFeatureNames` list returned by [AWS CLI rds describe-db-engine-versions](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-engine-versions.html). FeatureName pulumi.StringPtrInput // Amazon Resource Name (ARN) of the IAM Role to associate with the DB Cluster. RoleArn pulumi.StringPtrInput }
func (ClusterRoleAssociationState) ElementType ¶
func (ClusterRoleAssociationState) ElementType() reflect.Type
type ClusterS3Import ¶
type ClusterS3Import struct { // The bucket name where your backup is stored BucketName string `pulumi:"bucketName"` // Can be blank, but is the path to your backup BucketPrefix *string `pulumi:"bucketPrefix"` // Role applied to load the data. IngestionRole string `pulumi:"ingestionRole"` // Source engine for the backup SourceEngine string `pulumi:"sourceEngine"` // Version of the source engine used to make the backup SourceEngineVersion string `pulumi:"sourceEngineVersion"` }
type ClusterS3ImportArgs ¶
type ClusterS3ImportArgs struct { // The bucket name where your backup is stored BucketName pulumi.StringInput `pulumi:"bucketName"` // Can be blank, but is the path to your backup BucketPrefix pulumi.StringPtrInput `pulumi:"bucketPrefix"` // Role applied to load the data. IngestionRole pulumi.StringInput `pulumi:"ingestionRole"` // Source engine for the backup SourceEngine pulumi.StringInput `pulumi:"sourceEngine"` // Version of the source engine used to make the backup SourceEngineVersion pulumi.StringInput `pulumi:"sourceEngineVersion"` }
func (ClusterS3ImportArgs) ElementType ¶
func (ClusterS3ImportArgs) ElementType() reflect.Type
func (ClusterS3ImportArgs) ToClusterS3ImportOutput ¶
func (i ClusterS3ImportArgs) ToClusterS3ImportOutput() ClusterS3ImportOutput
func (ClusterS3ImportArgs) ToClusterS3ImportOutputWithContext ¶
func (i ClusterS3ImportArgs) ToClusterS3ImportOutputWithContext(ctx context.Context) ClusterS3ImportOutput
func (ClusterS3ImportArgs) ToClusterS3ImportPtrOutput ¶
func (i ClusterS3ImportArgs) ToClusterS3ImportPtrOutput() ClusterS3ImportPtrOutput
func (ClusterS3ImportArgs) ToClusterS3ImportPtrOutputWithContext ¶
func (i ClusterS3ImportArgs) ToClusterS3ImportPtrOutputWithContext(ctx context.Context) ClusterS3ImportPtrOutput
type ClusterS3ImportInput ¶
type ClusterS3ImportInput interface { pulumi.Input ToClusterS3ImportOutput() ClusterS3ImportOutput ToClusterS3ImportOutputWithContext(context.Context) ClusterS3ImportOutput }
ClusterS3ImportInput is an input type that accepts ClusterS3ImportArgs and ClusterS3ImportOutput values. You can construct a concrete instance of `ClusterS3ImportInput` via:
ClusterS3ImportArgs{...}
type ClusterS3ImportOutput ¶
type ClusterS3ImportOutput struct{ *pulumi.OutputState }
func (ClusterS3ImportOutput) BucketName ¶
func (o ClusterS3ImportOutput) BucketName() pulumi.StringOutput
The bucket name where your backup is stored
func (ClusterS3ImportOutput) BucketPrefix ¶
func (o ClusterS3ImportOutput) BucketPrefix() pulumi.StringPtrOutput
Can be blank, but is the path to your backup
func (ClusterS3ImportOutput) ElementType ¶
func (ClusterS3ImportOutput) ElementType() reflect.Type
func (ClusterS3ImportOutput) IngestionRole ¶
func (o ClusterS3ImportOutput) IngestionRole() pulumi.StringOutput
Role applied to load the data.
func (ClusterS3ImportOutput) SourceEngine ¶
func (o ClusterS3ImportOutput) SourceEngine() pulumi.StringOutput
Source engine for the backup
func (ClusterS3ImportOutput) SourceEngineVersion ¶
func (o ClusterS3ImportOutput) SourceEngineVersion() pulumi.StringOutput
Version of the source engine used to make the backup
func (ClusterS3ImportOutput) ToClusterS3ImportOutput ¶
func (o ClusterS3ImportOutput) ToClusterS3ImportOutput() ClusterS3ImportOutput
func (ClusterS3ImportOutput) ToClusterS3ImportOutputWithContext ¶
func (o ClusterS3ImportOutput) ToClusterS3ImportOutputWithContext(ctx context.Context) ClusterS3ImportOutput
func (ClusterS3ImportOutput) ToClusterS3ImportPtrOutput ¶
func (o ClusterS3ImportOutput) ToClusterS3ImportPtrOutput() ClusterS3ImportPtrOutput
func (ClusterS3ImportOutput) ToClusterS3ImportPtrOutputWithContext ¶
func (o ClusterS3ImportOutput) ToClusterS3ImportPtrOutputWithContext(ctx context.Context) ClusterS3ImportPtrOutput
type ClusterS3ImportPtrInput ¶
type ClusterS3ImportPtrInput interface { pulumi.Input ToClusterS3ImportPtrOutput() ClusterS3ImportPtrOutput ToClusterS3ImportPtrOutputWithContext(context.Context) ClusterS3ImportPtrOutput }
ClusterS3ImportPtrInput is an input type that accepts ClusterS3ImportArgs, ClusterS3ImportPtr and ClusterS3ImportPtrOutput values. You can construct a concrete instance of `ClusterS3ImportPtrInput` via:
ClusterS3ImportArgs{...} or: nil
func ClusterS3ImportPtr ¶
func ClusterS3ImportPtr(v *ClusterS3ImportArgs) ClusterS3ImportPtrInput
type ClusterS3ImportPtrOutput ¶
type ClusterS3ImportPtrOutput struct{ *pulumi.OutputState }
func (ClusterS3ImportPtrOutput) BucketName ¶
func (o ClusterS3ImportPtrOutput) BucketName() pulumi.StringPtrOutput
The bucket name where your backup is stored
func (ClusterS3ImportPtrOutput) BucketPrefix ¶
func (o ClusterS3ImportPtrOutput) BucketPrefix() pulumi.StringPtrOutput
Can be blank, but is the path to your backup
func (ClusterS3ImportPtrOutput) Elem ¶
func (o ClusterS3ImportPtrOutput) Elem() ClusterS3ImportOutput
func (ClusterS3ImportPtrOutput) ElementType ¶
func (ClusterS3ImportPtrOutput) ElementType() reflect.Type
func (ClusterS3ImportPtrOutput) IngestionRole ¶
func (o ClusterS3ImportPtrOutput) IngestionRole() pulumi.StringPtrOutput
Role applied to load the data.
func (ClusterS3ImportPtrOutput) SourceEngine ¶
func (o ClusterS3ImportPtrOutput) SourceEngine() pulumi.StringPtrOutput
Source engine for the backup
func (ClusterS3ImportPtrOutput) SourceEngineVersion ¶
func (o ClusterS3ImportPtrOutput) SourceEngineVersion() pulumi.StringPtrOutput
Version of the source engine used to make the backup
func (ClusterS3ImportPtrOutput) ToClusterS3ImportPtrOutput ¶
func (o ClusterS3ImportPtrOutput) ToClusterS3ImportPtrOutput() ClusterS3ImportPtrOutput
func (ClusterS3ImportPtrOutput) ToClusterS3ImportPtrOutputWithContext ¶
func (o ClusterS3ImportPtrOutput) ToClusterS3ImportPtrOutputWithContext(ctx context.Context) ClusterS3ImportPtrOutput
type ClusterScalingConfiguration ¶
type ClusterScalingConfiguration struct { // Whether to enable automatic pause. A DB cluster can be paused only when it's idle (it has no connections). If a DB cluster is paused for more than seven days, the DB cluster might be backed up with a snapshot. In this case, the DB cluster is restored when there is a request to connect to it. Defaults to `true`. AutoPause *bool `pulumi:"autoPause"` // The maximum capacity for an Aurora DB cluster in `serverless` DB engine mode. The maximum capacity must be greater than or equal to the minimum capacity. Valid Aurora MySQL capacity values are `1`, `2`, `4`, `8`, `16`, `32`, `64`, `128`, `256`. Valid Aurora PostgreSQL capacity values are (`2`, `4`, `8`, `16`, `32`, `64`, `192`, and `384`). Defaults to `16`. MaxCapacity *int `pulumi:"maxCapacity"` // The minimum capacity for an Aurora DB cluster in `serverless` DB engine mode. The minimum capacity must be lesser than or equal to the maximum capacity. Valid Aurora MySQL capacity values are `1`, `2`, `4`, `8`, `16`, `32`, `64`, `128`, `256`. Valid Aurora PostgreSQL capacity values are (`2`, `4`, `8`, `16`, `32`, `64`, `192`, and `384`). Defaults to `1`. MinCapacity *int `pulumi:"minCapacity"` // The time, in seconds, before an Aurora DB cluster in serverless mode is paused. Valid values are `300` through `86400`. Defaults to `300`. SecondsUntilAutoPause *int `pulumi:"secondsUntilAutoPause"` // The action to take when the timeout is reached. Valid values: `ForceApplyCapacityChange`, `RollbackCapacityChange`. Defaults to `RollbackCapacityChange`. See [documentation](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.how-it-works.html#aurora-serverless.how-it-works.timeout-action). TimeoutAction *string `pulumi:"timeoutAction"` }
type ClusterScalingConfigurationArgs ¶
type ClusterScalingConfigurationArgs struct { // Whether to enable automatic pause. A DB cluster can be paused only when it's idle (it has no connections). If a DB cluster is paused for more than seven days, the DB cluster might be backed up with a snapshot. In this case, the DB cluster is restored when there is a request to connect to it. Defaults to `true`. AutoPause pulumi.BoolPtrInput `pulumi:"autoPause"` // The maximum capacity for an Aurora DB cluster in `serverless` DB engine mode. The maximum capacity must be greater than or equal to the minimum capacity. Valid Aurora MySQL capacity values are `1`, `2`, `4`, `8`, `16`, `32`, `64`, `128`, `256`. Valid Aurora PostgreSQL capacity values are (`2`, `4`, `8`, `16`, `32`, `64`, `192`, and `384`). Defaults to `16`. MaxCapacity pulumi.IntPtrInput `pulumi:"maxCapacity"` // The minimum capacity for an Aurora DB cluster in `serverless` DB engine mode. The minimum capacity must be lesser than or equal to the maximum capacity. Valid Aurora MySQL capacity values are `1`, `2`, `4`, `8`, `16`, `32`, `64`, `128`, `256`. Valid Aurora PostgreSQL capacity values are (`2`, `4`, `8`, `16`, `32`, `64`, `192`, and `384`). Defaults to `1`. MinCapacity pulumi.IntPtrInput `pulumi:"minCapacity"` // The time, in seconds, before an Aurora DB cluster in serverless mode is paused. Valid values are `300` through `86400`. Defaults to `300`. SecondsUntilAutoPause pulumi.IntPtrInput `pulumi:"secondsUntilAutoPause"` // The action to take when the timeout is reached. Valid values: `ForceApplyCapacityChange`, `RollbackCapacityChange`. Defaults to `RollbackCapacityChange`. See [documentation](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.how-it-works.html#aurora-serverless.how-it-works.timeout-action). TimeoutAction pulumi.StringPtrInput `pulumi:"timeoutAction"` }
func (ClusterScalingConfigurationArgs) ElementType ¶
func (ClusterScalingConfigurationArgs) ElementType() reflect.Type
func (ClusterScalingConfigurationArgs) ToClusterScalingConfigurationOutput ¶
func (i ClusterScalingConfigurationArgs) ToClusterScalingConfigurationOutput() ClusterScalingConfigurationOutput
func (ClusterScalingConfigurationArgs) ToClusterScalingConfigurationOutputWithContext ¶
func (i ClusterScalingConfigurationArgs) ToClusterScalingConfigurationOutputWithContext(ctx context.Context) ClusterScalingConfigurationOutput
func (ClusterScalingConfigurationArgs) ToClusterScalingConfigurationPtrOutput ¶
func (i ClusterScalingConfigurationArgs) ToClusterScalingConfigurationPtrOutput() ClusterScalingConfigurationPtrOutput
func (ClusterScalingConfigurationArgs) ToClusterScalingConfigurationPtrOutputWithContext ¶
func (i ClusterScalingConfigurationArgs) ToClusterScalingConfigurationPtrOutputWithContext(ctx context.Context) ClusterScalingConfigurationPtrOutput
type ClusterScalingConfigurationInput ¶
type ClusterScalingConfigurationInput interface { pulumi.Input ToClusterScalingConfigurationOutput() ClusterScalingConfigurationOutput ToClusterScalingConfigurationOutputWithContext(context.Context) ClusterScalingConfigurationOutput }
ClusterScalingConfigurationInput is an input type that accepts ClusterScalingConfigurationArgs and ClusterScalingConfigurationOutput values. You can construct a concrete instance of `ClusterScalingConfigurationInput` via:
ClusterScalingConfigurationArgs{...}
type ClusterScalingConfigurationOutput ¶
type ClusterScalingConfigurationOutput struct{ *pulumi.OutputState }
func (ClusterScalingConfigurationOutput) AutoPause ¶
func (o ClusterScalingConfigurationOutput) AutoPause() pulumi.BoolPtrOutput
Whether to enable automatic pause. A DB cluster can be paused only when it's idle (it has no connections). If a DB cluster is paused for more than seven days, the DB cluster might be backed up with a snapshot. In this case, the DB cluster is restored when there is a request to connect to it. Defaults to `true`.
func (ClusterScalingConfigurationOutput) ElementType ¶
func (ClusterScalingConfigurationOutput) ElementType() reflect.Type
func (ClusterScalingConfigurationOutput) MaxCapacity ¶
func (o ClusterScalingConfigurationOutput) MaxCapacity() pulumi.IntPtrOutput
The maximum capacity for an Aurora DB cluster in `serverless` DB engine mode. The maximum capacity must be greater than or equal to the minimum capacity. Valid Aurora MySQL capacity values are `1`, `2`, `4`, `8`, `16`, `32`, `64`, `128`, `256`. Valid Aurora PostgreSQL capacity values are (`2`, `4`, `8`, `16`, `32`, `64`, `192`, and `384`). Defaults to `16`.
func (ClusterScalingConfigurationOutput) MinCapacity ¶
func (o ClusterScalingConfigurationOutput) MinCapacity() pulumi.IntPtrOutput
The minimum capacity for an Aurora DB cluster in `serverless` DB engine mode. The minimum capacity must be lesser than or equal to the maximum capacity. Valid Aurora MySQL capacity values are `1`, `2`, `4`, `8`, `16`, `32`, `64`, `128`, `256`. Valid Aurora PostgreSQL capacity values are (`2`, `4`, `8`, `16`, `32`, `64`, `192`, and `384`). Defaults to `1`.
func (ClusterScalingConfigurationOutput) SecondsUntilAutoPause ¶
func (o ClusterScalingConfigurationOutput) SecondsUntilAutoPause() pulumi.IntPtrOutput
The time, in seconds, before an Aurora DB cluster in serverless mode is paused. Valid values are `300` through `86400`. Defaults to `300`.
func (ClusterScalingConfigurationOutput) TimeoutAction ¶
func (o ClusterScalingConfigurationOutput) TimeoutAction() pulumi.StringPtrOutput
The action to take when the timeout is reached. Valid values: `ForceApplyCapacityChange`, `RollbackCapacityChange`. Defaults to `RollbackCapacityChange`. See [documentation](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.how-it-works.html#aurora-serverless.how-it-works.timeout-action).
func (ClusterScalingConfigurationOutput) ToClusterScalingConfigurationOutput ¶
func (o ClusterScalingConfigurationOutput) ToClusterScalingConfigurationOutput() ClusterScalingConfigurationOutput
func (ClusterScalingConfigurationOutput) ToClusterScalingConfigurationOutputWithContext ¶
func (o ClusterScalingConfigurationOutput) ToClusterScalingConfigurationOutputWithContext(ctx context.Context) ClusterScalingConfigurationOutput
func (ClusterScalingConfigurationOutput) ToClusterScalingConfigurationPtrOutput ¶
func (o ClusterScalingConfigurationOutput) ToClusterScalingConfigurationPtrOutput() ClusterScalingConfigurationPtrOutput
func (ClusterScalingConfigurationOutput) ToClusterScalingConfigurationPtrOutputWithContext ¶
func (o ClusterScalingConfigurationOutput) ToClusterScalingConfigurationPtrOutputWithContext(ctx context.Context) ClusterScalingConfigurationPtrOutput
type ClusterScalingConfigurationPtrInput ¶
type ClusterScalingConfigurationPtrInput interface { pulumi.Input ToClusterScalingConfigurationPtrOutput() ClusterScalingConfigurationPtrOutput ToClusterScalingConfigurationPtrOutputWithContext(context.Context) ClusterScalingConfigurationPtrOutput }
ClusterScalingConfigurationPtrInput is an input type that accepts ClusterScalingConfigurationArgs, ClusterScalingConfigurationPtr and ClusterScalingConfigurationPtrOutput values. You can construct a concrete instance of `ClusterScalingConfigurationPtrInput` via:
ClusterScalingConfigurationArgs{...} or: nil
func ClusterScalingConfigurationPtr ¶
func ClusterScalingConfigurationPtr(v *ClusterScalingConfigurationArgs) ClusterScalingConfigurationPtrInput
type ClusterScalingConfigurationPtrOutput ¶
type ClusterScalingConfigurationPtrOutput struct{ *pulumi.OutputState }
func (ClusterScalingConfigurationPtrOutput) AutoPause ¶
func (o ClusterScalingConfigurationPtrOutput) AutoPause() pulumi.BoolPtrOutput
Whether to enable automatic pause. A DB cluster can be paused only when it's idle (it has no connections). If a DB cluster is paused for more than seven days, the DB cluster might be backed up with a snapshot. In this case, the DB cluster is restored when there is a request to connect to it. Defaults to `true`.
func (ClusterScalingConfigurationPtrOutput) ElementType ¶
func (ClusterScalingConfigurationPtrOutput) ElementType() reflect.Type
func (ClusterScalingConfigurationPtrOutput) MaxCapacity ¶
func (o ClusterScalingConfigurationPtrOutput) MaxCapacity() pulumi.IntPtrOutput
The maximum capacity for an Aurora DB cluster in `serverless` DB engine mode. The maximum capacity must be greater than or equal to the minimum capacity. Valid Aurora MySQL capacity values are `1`, `2`, `4`, `8`, `16`, `32`, `64`, `128`, `256`. Valid Aurora PostgreSQL capacity values are (`2`, `4`, `8`, `16`, `32`, `64`, `192`, and `384`). Defaults to `16`.
func (ClusterScalingConfigurationPtrOutput) MinCapacity ¶
func (o ClusterScalingConfigurationPtrOutput) MinCapacity() pulumi.IntPtrOutput
The minimum capacity for an Aurora DB cluster in `serverless` DB engine mode. The minimum capacity must be lesser than or equal to the maximum capacity. Valid Aurora MySQL capacity values are `1`, `2`, `4`, `8`, `16`, `32`, `64`, `128`, `256`. Valid Aurora PostgreSQL capacity values are (`2`, `4`, `8`, `16`, `32`, `64`, `192`, and `384`). Defaults to `1`.
func (ClusterScalingConfigurationPtrOutput) SecondsUntilAutoPause ¶
func (o ClusterScalingConfigurationPtrOutput) SecondsUntilAutoPause() pulumi.IntPtrOutput
The time, in seconds, before an Aurora DB cluster in serverless mode is paused. Valid values are `300` through `86400`. Defaults to `300`.
func (ClusterScalingConfigurationPtrOutput) TimeoutAction ¶
func (o ClusterScalingConfigurationPtrOutput) TimeoutAction() pulumi.StringPtrOutput
The action to take when the timeout is reached. Valid values: `ForceApplyCapacityChange`, `RollbackCapacityChange`. Defaults to `RollbackCapacityChange`. See [documentation](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.how-it-works.html#aurora-serverless.how-it-works.timeout-action).
func (ClusterScalingConfigurationPtrOutput) ToClusterScalingConfigurationPtrOutput ¶
func (o ClusterScalingConfigurationPtrOutput) ToClusterScalingConfigurationPtrOutput() ClusterScalingConfigurationPtrOutput
func (ClusterScalingConfigurationPtrOutput) ToClusterScalingConfigurationPtrOutputWithContext ¶
func (o ClusterScalingConfigurationPtrOutput) ToClusterScalingConfigurationPtrOutputWithContext(ctx context.Context) ClusterScalingConfigurationPtrOutput
type ClusterServerlessv2ScalingConfiguration ¶ added in v5.5.0
type ClusterServerlessv2ScalingConfiguration struct { // The maximum capacity for an Aurora DB cluster in `serverless` DB engine mode. The maximum capacity must be greater than or equal to the minimum capacity. Valid Aurora MySQL capacity values are `1`, `2`, `4`, `8`, `16`, `32`, `64`, `128`, `256`. Valid Aurora PostgreSQL capacity values are (`2`, `4`, `8`, `16`, `32`, `64`, `192`, and `384`). Defaults to `16`. MaxCapacity float64 `pulumi:"maxCapacity"` // The minimum capacity for an Aurora DB cluster in `serverless` DB engine mode. The minimum capacity must be lesser than or equal to the maximum capacity. Valid Aurora MySQL capacity values are `1`, `2`, `4`, `8`, `16`, `32`, `64`, `128`, `256`. Valid Aurora PostgreSQL capacity values are (`2`, `4`, `8`, `16`, `32`, `64`, `192`, and `384`). Defaults to `1`. MinCapacity float64 `pulumi:"minCapacity"` }
type ClusterServerlessv2ScalingConfigurationArgs ¶ added in v5.5.0
type ClusterServerlessv2ScalingConfigurationArgs struct { // The maximum capacity for an Aurora DB cluster in `serverless` DB engine mode. The maximum capacity must be greater than or equal to the minimum capacity. Valid Aurora MySQL capacity values are `1`, `2`, `4`, `8`, `16`, `32`, `64`, `128`, `256`. Valid Aurora PostgreSQL capacity values are (`2`, `4`, `8`, `16`, `32`, `64`, `192`, and `384`). Defaults to `16`. MaxCapacity pulumi.Float64Input `pulumi:"maxCapacity"` // The minimum capacity for an Aurora DB cluster in `serverless` DB engine mode. The minimum capacity must be lesser than or equal to the maximum capacity. Valid Aurora MySQL capacity values are `1`, `2`, `4`, `8`, `16`, `32`, `64`, `128`, `256`. Valid Aurora PostgreSQL capacity values are (`2`, `4`, `8`, `16`, `32`, `64`, `192`, and `384`). Defaults to `1`. MinCapacity pulumi.Float64Input `pulumi:"minCapacity"` }
func (ClusterServerlessv2ScalingConfigurationArgs) ElementType ¶ added in v5.5.0
func (ClusterServerlessv2ScalingConfigurationArgs) ElementType() reflect.Type
func (ClusterServerlessv2ScalingConfigurationArgs) ToClusterServerlessv2ScalingConfigurationOutput ¶ added in v5.5.0
func (i ClusterServerlessv2ScalingConfigurationArgs) ToClusterServerlessv2ScalingConfigurationOutput() ClusterServerlessv2ScalingConfigurationOutput
func (ClusterServerlessv2ScalingConfigurationArgs) ToClusterServerlessv2ScalingConfigurationOutputWithContext ¶ added in v5.5.0
func (i ClusterServerlessv2ScalingConfigurationArgs) ToClusterServerlessv2ScalingConfigurationOutputWithContext(ctx context.Context) ClusterServerlessv2ScalingConfigurationOutput
func (ClusterServerlessv2ScalingConfigurationArgs) ToClusterServerlessv2ScalingConfigurationPtrOutput ¶ added in v5.5.0
func (i ClusterServerlessv2ScalingConfigurationArgs) ToClusterServerlessv2ScalingConfigurationPtrOutput() ClusterServerlessv2ScalingConfigurationPtrOutput
func (ClusterServerlessv2ScalingConfigurationArgs) ToClusterServerlessv2ScalingConfigurationPtrOutputWithContext ¶ added in v5.5.0
func (i ClusterServerlessv2ScalingConfigurationArgs) ToClusterServerlessv2ScalingConfigurationPtrOutputWithContext(ctx context.Context) ClusterServerlessv2ScalingConfigurationPtrOutput
type ClusterServerlessv2ScalingConfigurationInput ¶ added in v5.5.0
type ClusterServerlessv2ScalingConfigurationInput interface { pulumi.Input ToClusterServerlessv2ScalingConfigurationOutput() ClusterServerlessv2ScalingConfigurationOutput ToClusterServerlessv2ScalingConfigurationOutputWithContext(context.Context) ClusterServerlessv2ScalingConfigurationOutput }
ClusterServerlessv2ScalingConfigurationInput is an input type that accepts ClusterServerlessv2ScalingConfigurationArgs and ClusterServerlessv2ScalingConfigurationOutput values. You can construct a concrete instance of `ClusterServerlessv2ScalingConfigurationInput` via:
ClusterServerlessv2ScalingConfigurationArgs{...}
type ClusterServerlessv2ScalingConfigurationOutput ¶ added in v5.5.0
type ClusterServerlessv2ScalingConfigurationOutput struct{ *pulumi.OutputState }
func (ClusterServerlessv2ScalingConfigurationOutput) ElementType ¶ added in v5.5.0
func (ClusterServerlessv2ScalingConfigurationOutput) ElementType() reflect.Type
func (ClusterServerlessv2ScalingConfigurationOutput) MaxCapacity ¶ added in v5.5.0
func (o ClusterServerlessv2ScalingConfigurationOutput) MaxCapacity() pulumi.Float64Output
The maximum capacity for an Aurora DB cluster in `serverless` DB engine mode. The maximum capacity must be greater than or equal to the minimum capacity. Valid Aurora MySQL capacity values are `1`, `2`, `4`, `8`, `16`, `32`, `64`, `128`, `256`. Valid Aurora PostgreSQL capacity values are (`2`, `4`, `8`, `16`, `32`, `64`, `192`, and `384`). Defaults to `16`.
func (ClusterServerlessv2ScalingConfigurationOutput) MinCapacity ¶ added in v5.5.0
func (o ClusterServerlessv2ScalingConfigurationOutput) MinCapacity() pulumi.Float64Output
The minimum capacity for an Aurora DB cluster in `serverless` DB engine mode. The minimum capacity must be lesser than or equal to the maximum capacity. Valid Aurora MySQL capacity values are `1`, `2`, `4`, `8`, `16`, `32`, `64`, `128`, `256`. Valid Aurora PostgreSQL capacity values are (`2`, `4`, `8`, `16`, `32`, `64`, `192`, and `384`). Defaults to `1`.
func (ClusterServerlessv2ScalingConfigurationOutput) ToClusterServerlessv2ScalingConfigurationOutput ¶ added in v5.5.0
func (o ClusterServerlessv2ScalingConfigurationOutput) ToClusterServerlessv2ScalingConfigurationOutput() ClusterServerlessv2ScalingConfigurationOutput
func (ClusterServerlessv2ScalingConfigurationOutput) ToClusterServerlessv2ScalingConfigurationOutputWithContext ¶ added in v5.5.0
func (o ClusterServerlessv2ScalingConfigurationOutput) ToClusterServerlessv2ScalingConfigurationOutputWithContext(ctx context.Context) ClusterServerlessv2ScalingConfigurationOutput
func (ClusterServerlessv2ScalingConfigurationOutput) ToClusterServerlessv2ScalingConfigurationPtrOutput ¶ added in v5.5.0
func (o ClusterServerlessv2ScalingConfigurationOutput) ToClusterServerlessv2ScalingConfigurationPtrOutput() ClusterServerlessv2ScalingConfigurationPtrOutput
func (ClusterServerlessv2ScalingConfigurationOutput) ToClusterServerlessv2ScalingConfigurationPtrOutputWithContext ¶ added in v5.5.0
func (o ClusterServerlessv2ScalingConfigurationOutput) ToClusterServerlessv2ScalingConfigurationPtrOutputWithContext(ctx context.Context) ClusterServerlessv2ScalingConfigurationPtrOutput
type ClusterServerlessv2ScalingConfigurationPtrInput ¶ added in v5.5.0
type ClusterServerlessv2ScalingConfigurationPtrInput interface { pulumi.Input ToClusterServerlessv2ScalingConfigurationPtrOutput() ClusterServerlessv2ScalingConfigurationPtrOutput ToClusterServerlessv2ScalingConfigurationPtrOutputWithContext(context.Context) ClusterServerlessv2ScalingConfigurationPtrOutput }
ClusterServerlessv2ScalingConfigurationPtrInput is an input type that accepts ClusterServerlessv2ScalingConfigurationArgs, ClusterServerlessv2ScalingConfigurationPtr and ClusterServerlessv2ScalingConfigurationPtrOutput values. You can construct a concrete instance of `ClusterServerlessv2ScalingConfigurationPtrInput` via:
ClusterServerlessv2ScalingConfigurationArgs{...} or: nil
func ClusterServerlessv2ScalingConfigurationPtr ¶ added in v5.5.0
func ClusterServerlessv2ScalingConfigurationPtr(v *ClusterServerlessv2ScalingConfigurationArgs) ClusterServerlessv2ScalingConfigurationPtrInput
type ClusterServerlessv2ScalingConfigurationPtrOutput ¶ added in v5.5.0
type ClusterServerlessv2ScalingConfigurationPtrOutput struct{ *pulumi.OutputState }
func (ClusterServerlessv2ScalingConfigurationPtrOutput) ElementType ¶ added in v5.5.0
func (ClusterServerlessv2ScalingConfigurationPtrOutput) ElementType() reflect.Type
func (ClusterServerlessv2ScalingConfigurationPtrOutput) MaxCapacity ¶ added in v5.5.0
func (o ClusterServerlessv2ScalingConfigurationPtrOutput) MaxCapacity() pulumi.Float64PtrOutput
The maximum capacity for an Aurora DB cluster in `serverless` DB engine mode. The maximum capacity must be greater than or equal to the minimum capacity. Valid Aurora MySQL capacity values are `1`, `2`, `4`, `8`, `16`, `32`, `64`, `128`, `256`. Valid Aurora PostgreSQL capacity values are (`2`, `4`, `8`, `16`, `32`, `64`, `192`, and `384`). Defaults to `16`.
func (ClusterServerlessv2ScalingConfigurationPtrOutput) MinCapacity ¶ added in v5.5.0
func (o ClusterServerlessv2ScalingConfigurationPtrOutput) MinCapacity() pulumi.Float64PtrOutput
The minimum capacity for an Aurora DB cluster in `serverless` DB engine mode. The minimum capacity must be lesser than or equal to the maximum capacity. Valid Aurora MySQL capacity values are `1`, `2`, `4`, `8`, `16`, `32`, `64`, `128`, `256`. Valid Aurora PostgreSQL capacity values are (`2`, `4`, `8`, `16`, `32`, `64`, `192`, and `384`). Defaults to `1`.
func (ClusterServerlessv2ScalingConfigurationPtrOutput) ToClusterServerlessv2ScalingConfigurationPtrOutput ¶ added in v5.5.0
func (o ClusterServerlessv2ScalingConfigurationPtrOutput) ToClusterServerlessv2ScalingConfigurationPtrOutput() ClusterServerlessv2ScalingConfigurationPtrOutput
func (ClusterServerlessv2ScalingConfigurationPtrOutput) ToClusterServerlessv2ScalingConfigurationPtrOutputWithContext ¶ added in v5.5.0
func (o ClusterServerlessv2ScalingConfigurationPtrOutput) ToClusterServerlessv2ScalingConfigurationPtrOutputWithContext(ctx context.Context) ClusterServerlessv2ScalingConfigurationPtrOutput
type ClusterSnapshot ¶
type ClusterSnapshot struct { pulumi.CustomResourceState // Allocated storage size in gigabytes (GB). AllocatedStorage pulumi.IntOutput `pulumi:"allocatedStorage"` // List of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in. AvailabilityZones pulumi.StringArrayOutput `pulumi:"availabilityZones"` // The DB Cluster Identifier from which to take the snapshot. DbClusterIdentifier pulumi.StringOutput `pulumi:"dbClusterIdentifier"` // The Amazon Resource Name (ARN) for the DB Cluster Snapshot. DbClusterSnapshotArn pulumi.StringOutput `pulumi:"dbClusterSnapshotArn"` // The Identifier for the snapshot. DbClusterSnapshotIdentifier pulumi.StringOutput `pulumi:"dbClusterSnapshotIdentifier"` // Name of the database engine. Engine pulumi.StringOutput `pulumi:"engine"` // Version of the database engine for this DB cluster snapshot. EngineVersion pulumi.StringOutput `pulumi:"engineVersion"` // If storageEncrypted is true, the AWS KMS key identifier for the encrypted DB cluster snapshot. KmsKeyId pulumi.StringOutput `pulumi:"kmsKeyId"` // License model information for the restored DB cluster. LicenseModel pulumi.StringOutput `pulumi:"licenseModel"` // Port that the DB cluster was listening on at the time of the snapshot. Port pulumi.IntOutput `pulumi:"port"` SnapshotType pulumi.StringOutput `pulumi:"snapshotType"` SourceDbClusterSnapshotArn pulumi.StringOutput `pulumi:"sourceDbClusterSnapshotArn"` // The status of this DB Cluster Snapshot. Status pulumi.StringOutput `pulumi:"status"` // Whether the DB cluster snapshot is encrypted. StorageEncrypted pulumi.BoolOutput `pulumi:"storageEncrypted"` // A map of tags to assign to the DB cluster. 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"` // The VPC ID associated with the DB cluster snapshot. VpcId pulumi.StringOutput `pulumi:"vpcId"` }
Manages an RDS database cluster snapshot for Aurora clusters. For managing RDS database instance snapshots, see the `rds.Snapshot` resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.NewClusterSnapshot(ctx, "example", &rds.ClusterSnapshotArgs{ DbClusterIdentifier: pulumi.Any(aws_rds_cluster.Example.Id), DbClusterSnapshotIdentifier: pulumi.String("resourcetestsnapshot1234"), }) if err != nil { return err } return nil }) }
```
## Import
`aws_db_cluster_snapshot` can be imported by using the cluster snapshot identifier, e.g.,
```sh
$ pulumi import aws:rds/clusterSnapshot:ClusterSnapshot example my-cluster-snapshot
```
func GetClusterSnapshot ¶
func GetClusterSnapshot(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ClusterSnapshotState, opts ...pulumi.ResourceOption) (*ClusterSnapshot, error)
GetClusterSnapshot gets an existing ClusterSnapshot 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 NewClusterSnapshot ¶
func NewClusterSnapshot(ctx *pulumi.Context, name string, args *ClusterSnapshotArgs, opts ...pulumi.ResourceOption) (*ClusterSnapshot, error)
NewClusterSnapshot registers a new resource with the given unique name, arguments, and options.
func (*ClusterSnapshot) ElementType ¶
func (*ClusterSnapshot) ElementType() reflect.Type
func (*ClusterSnapshot) ToClusterSnapshotOutput ¶
func (i *ClusterSnapshot) ToClusterSnapshotOutput() ClusterSnapshotOutput
func (*ClusterSnapshot) ToClusterSnapshotOutputWithContext ¶
func (i *ClusterSnapshot) ToClusterSnapshotOutputWithContext(ctx context.Context) ClusterSnapshotOutput
type ClusterSnapshotArgs ¶
type ClusterSnapshotArgs struct { // The DB Cluster Identifier from which to take the snapshot. DbClusterIdentifier pulumi.StringInput // The Identifier for the snapshot. DbClusterSnapshotIdentifier pulumi.StringInput // A map of tags to assign to the DB cluster. 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 ClusterSnapshot resource.
func (ClusterSnapshotArgs) ElementType ¶
func (ClusterSnapshotArgs) ElementType() reflect.Type
type ClusterSnapshotArray ¶
type ClusterSnapshotArray []ClusterSnapshotInput
func (ClusterSnapshotArray) ElementType ¶
func (ClusterSnapshotArray) ElementType() reflect.Type
func (ClusterSnapshotArray) ToClusterSnapshotArrayOutput ¶
func (i ClusterSnapshotArray) ToClusterSnapshotArrayOutput() ClusterSnapshotArrayOutput
func (ClusterSnapshotArray) ToClusterSnapshotArrayOutputWithContext ¶
func (i ClusterSnapshotArray) ToClusterSnapshotArrayOutputWithContext(ctx context.Context) ClusterSnapshotArrayOutput
type ClusterSnapshotArrayInput ¶
type ClusterSnapshotArrayInput interface { pulumi.Input ToClusterSnapshotArrayOutput() ClusterSnapshotArrayOutput ToClusterSnapshotArrayOutputWithContext(context.Context) ClusterSnapshotArrayOutput }
ClusterSnapshotArrayInput is an input type that accepts ClusterSnapshotArray and ClusterSnapshotArrayOutput values. You can construct a concrete instance of `ClusterSnapshotArrayInput` via:
ClusterSnapshotArray{ ClusterSnapshotArgs{...} }
type ClusterSnapshotArrayOutput ¶
type ClusterSnapshotArrayOutput struct{ *pulumi.OutputState }
func (ClusterSnapshotArrayOutput) ElementType ¶
func (ClusterSnapshotArrayOutput) ElementType() reflect.Type
func (ClusterSnapshotArrayOutput) Index ¶
func (o ClusterSnapshotArrayOutput) Index(i pulumi.IntInput) ClusterSnapshotOutput
func (ClusterSnapshotArrayOutput) ToClusterSnapshotArrayOutput ¶
func (o ClusterSnapshotArrayOutput) ToClusterSnapshotArrayOutput() ClusterSnapshotArrayOutput
func (ClusterSnapshotArrayOutput) ToClusterSnapshotArrayOutputWithContext ¶
func (o ClusterSnapshotArrayOutput) ToClusterSnapshotArrayOutputWithContext(ctx context.Context) ClusterSnapshotArrayOutput
type ClusterSnapshotInput ¶
type ClusterSnapshotInput interface { pulumi.Input ToClusterSnapshotOutput() ClusterSnapshotOutput ToClusterSnapshotOutputWithContext(ctx context.Context) ClusterSnapshotOutput }
type ClusterSnapshotMap ¶
type ClusterSnapshotMap map[string]ClusterSnapshotInput
func (ClusterSnapshotMap) ElementType ¶
func (ClusterSnapshotMap) ElementType() reflect.Type
func (ClusterSnapshotMap) ToClusterSnapshotMapOutput ¶
func (i ClusterSnapshotMap) ToClusterSnapshotMapOutput() ClusterSnapshotMapOutput
func (ClusterSnapshotMap) ToClusterSnapshotMapOutputWithContext ¶
func (i ClusterSnapshotMap) ToClusterSnapshotMapOutputWithContext(ctx context.Context) ClusterSnapshotMapOutput
type ClusterSnapshotMapInput ¶
type ClusterSnapshotMapInput interface { pulumi.Input ToClusterSnapshotMapOutput() ClusterSnapshotMapOutput ToClusterSnapshotMapOutputWithContext(context.Context) ClusterSnapshotMapOutput }
ClusterSnapshotMapInput is an input type that accepts ClusterSnapshotMap and ClusterSnapshotMapOutput values. You can construct a concrete instance of `ClusterSnapshotMapInput` via:
ClusterSnapshotMap{ "key": ClusterSnapshotArgs{...} }
type ClusterSnapshotMapOutput ¶
type ClusterSnapshotMapOutput struct{ *pulumi.OutputState }
func (ClusterSnapshotMapOutput) ElementType ¶
func (ClusterSnapshotMapOutput) ElementType() reflect.Type
func (ClusterSnapshotMapOutput) MapIndex ¶
func (o ClusterSnapshotMapOutput) MapIndex(k pulumi.StringInput) ClusterSnapshotOutput
func (ClusterSnapshotMapOutput) ToClusterSnapshotMapOutput ¶
func (o ClusterSnapshotMapOutput) ToClusterSnapshotMapOutput() ClusterSnapshotMapOutput
func (ClusterSnapshotMapOutput) ToClusterSnapshotMapOutputWithContext ¶
func (o ClusterSnapshotMapOutput) ToClusterSnapshotMapOutputWithContext(ctx context.Context) ClusterSnapshotMapOutput
type ClusterSnapshotOutput ¶
type ClusterSnapshotOutput struct{ *pulumi.OutputState }
func (ClusterSnapshotOutput) AllocatedStorage ¶ added in v5.4.0
func (o ClusterSnapshotOutput) AllocatedStorage() pulumi.IntOutput
Allocated storage size in gigabytes (GB).
func (ClusterSnapshotOutput) AvailabilityZones ¶ added in v5.4.0
func (o ClusterSnapshotOutput) AvailabilityZones() pulumi.StringArrayOutput
List of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.
func (ClusterSnapshotOutput) DbClusterIdentifier ¶ added in v5.4.0
func (o ClusterSnapshotOutput) DbClusterIdentifier() pulumi.StringOutput
The DB Cluster Identifier from which to take the snapshot.
func (ClusterSnapshotOutput) DbClusterSnapshotArn ¶ added in v5.4.0
func (o ClusterSnapshotOutput) DbClusterSnapshotArn() pulumi.StringOutput
The Amazon Resource Name (ARN) for the DB Cluster Snapshot.
func (ClusterSnapshotOutput) DbClusterSnapshotIdentifier ¶ added in v5.4.0
func (o ClusterSnapshotOutput) DbClusterSnapshotIdentifier() pulumi.StringOutput
The Identifier for the snapshot.
func (ClusterSnapshotOutput) ElementType ¶
func (ClusterSnapshotOutput) ElementType() reflect.Type
func (ClusterSnapshotOutput) Engine ¶ added in v5.4.0
func (o ClusterSnapshotOutput) Engine() pulumi.StringOutput
Name of the database engine.
func (ClusterSnapshotOutput) EngineVersion ¶ added in v5.4.0
func (o ClusterSnapshotOutput) EngineVersion() pulumi.StringOutput
Version of the database engine for this DB cluster snapshot.
func (ClusterSnapshotOutput) KmsKeyId ¶ added in v5.4.0
func (o ClusterSnapshotOutput) KmsKeyId() pulumi.StringOutput
If storageEncrypted is true, the AWS KMS key identifier for the encrypted DB cluster snapshot.
func (ClusterSnapshotOutput) LicenseModel ¶ added in v5.4.0
func (o ClusterSnapshotOutput) LicenseModel() pulumi.StringOutput
License model information for the restored DB cluster.
func (ClusterSnapshotOutput) Port ¶ added in v5.4.0
func (o ClusterSnapshotOutput) Port() pulumi.IntOutput
Port that the DB cluster was listening on at the time of the snapshot.
func (ClusterSnapshotOutput) SnapshotType ¶ added in v5.4.0
func (o ClusterSnapshotOutput) SnapshotType() pulumi.StringOutput
func (ClusterSnapshotOutput) SourceDbClusterSnapshotArn ¶ added in v5.4.0
func (o ClusterSnapshotOutput) SourceDbClusterSnapshotArn() pulumi.StringOutput
func (ClusterSnapshotOutput) Status ¶ added in v5.4.0
func (o ClusterSnapshotOutput) Status() pulumi.StringOutput
The status of this DB Cluster Snapshot.
func (ClusterSnapshotOutput) StorageEncrypted ¶ added in v5.4.0
func (o ClusterSnapshotOutput) StorageEncrypted() pulumi.BoolOutput
Whether the DB cluster snapshot is encrypted.
func (ClusterSnapshotOutput) Tags ¶ added in v5.4.0
func (o ClusterSnapshotOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the DB cluster. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (ClusterSnapshotOutput) TagsAll ¶ added in v5.4.0
func (o ClusterSnapshotOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (ClusterSnapshotOutput) ToClusterSnapshotOutput ¶
func (o ClusterSnapshotOutput) ToClusterSnapshotOutput() ClusterSnapshotOutput
func (ClusterSnapshotOutput) ToClusterSnapshotOutputWithContext ¶
func (o ClusterSnapshotOutput) ToClusterSnapshotOutputWithContext(ctx context.Context) ClusterSnapshotOutput
func (ClusterSnapshotOutput) VpcId ¶ added in v5.4.0
func (o ClusterSnapshotOutput) VpcId() pulumi.StringOutput
The VPC ID associated with the DB cluster snapshot.
type ClusterSnapshotState ¶
type ClusterSnapshotState struct { // Allocated storage size in gigabytes (GB). AllocatedStorage pulumi.IntPtrInput // List of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in. AvailabilityZones pulumi.StringArrayInput // The DB Cluster Identifier from which to take the snapshot. DbClusterIdentifier pulumi.StringPtrInput // The Amazon Resource Name (ARN) for the DB Cluster Snapshot. DbClusterSnapshotArn pulumi.StringPtrInput // The Identifier for the snapshot. DbClusterSnapshotIdentifier pulumi.StringPtrInput // Name of the database engine. Engine pulumi.StringPtrInput // Version of the database engine for this DB cluster snapshot. EngineVersion pulumi.StringPtrInput // If storageEncrypted is true, the AWS KMS key identifier for the encrypted DB cluster snapshot. KmsKeyId pulumi.StringPtrInput // License model information for the restored DB cluster. LicenseModel pulumi.StringPtrInput // Port that the DB cluster was listening on at the time of the snapshot. Port pulumi.IntPtrInput SnapshotType pulumi.StringPtrInput SourceDbClusterSnapshotArn pulumi.StringPtrInput // The status of this DB Cluster Snapshot. Status pulumi.StringPtrInput // Whether the DB cluster snapshot is encrypted. StorageEncrypted pulumi.BoolPtrInput // A map of tags to assign to the DB cluster. 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 // The VPC ID associated with the DB cluster snapshot. VpcId pulumi.StringPtrInput }
func (ClusterSnapshotState) ElementType ¶
func (ClusterSnapshotState) ElementType() reflect.Type
type ClusterState ¶
type ClusterState struct { // The amount of storage in gibibytes (GiB) to allocate to each DB instance in the Multi-AZ DB cluster. (This setting is required to create a Multi-AZ DB cluster). AllocatedStorage pulumi.IntPtrInput // Enable to allow major engine version upgrades when changing engine versions. Defaults to `false`. AllowMajorVersionUpgrade pulumi.BoolPtrInput // Specifies whether any cluster modifications are applied immediately, or during the next maintenance window. Default is `false`. See [Amazon RDS Documentation for more information.](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Modifying.html) ApplyImmediately pulumi.BoolPtrInput // Amazon Resource Name (ARN) of cluster Arn pulumi.StringPtrInput // List of EC2 Availability Zones for the DB cluster storage where DB cluster instances can be created. RDS automatically assigns 3 AZs if less than 3 AZs are configured, which will show as a difference requiring resource recreation next apply. We recommend specifying 3 AZs or using the `lifecycle` configuration block `ignoreChanges` argument if necessary. A maximum of 3 AZs can be configured. AvailabilityZones pulumi.StringArrayInput // The target backtrack window, in seconds. Only available for `aurora` and `aurora-mysql` engines currently. To disable backtracking, set this value to `0`. Defaults to `0`. Must be between `0` and `259200` (72 hours) BacktrackWindow pulumi.IntPtrInput // The days to retain backups for. Default `1` BackupRetentionPeriod pulumi.IntPtrInput // The cluster identifier. If omitted, this provider will assign a random, unique identifier. ClusterIdentifier pulumi.StringPtrInput // Creates a unique cluster identifier beginning with the specified prefix. Conflicts with `clusterIdentifier`. ClusterIdentifierPrefix pulumi.StringPtrInput // List of RDS Instances that are a part of this cluster ClusterMembers pulumi.StringArrayInput // The RDS Cluster Resource ID ClusterResourceId pulumi.StringPtrInput // Copy all Cluster `tags` to snapshots. Default is `false`. CopyTagsToSnapshot pulumi.BoolPtrInput // Name for an automatically created database on cluster creation. There are different naming restrictions per database engine: [RDS Naming Constraints](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints) DatabaseName pulumi.StringPtrInput // The compute and memory capacity of each DB instance in the Multi-AZ DB cluster, for example db.m6g.xlarge. Not all DB instance classes are available in all AWS Regions, or for all database engines. For the full list of DB instance classes and availability for your engine, see [DB instance class](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html) in the Amazon RDS User Guide. (This setting is required to create a Multi-AZ DB cluster). DbClusterInstanceClass pulumi.StringPtrInput // A cluster parameter group to associate with the cluster. DbClusterParameterGroupName pulumi.StringPtrInput // Instance parameter group to associate with all instances of the DB cluster. The `dbInstanceParameterGroupName` parameter is only valid in combination with the `allowMajorVersionUpgrade` parameter. DbInstanceParameterGroupName pulumi.StringPtrInput // A DB subnet group to associate with this DB instance. **NOTE:** This must match the `dbSubnetGroupName` specified on every `rds.ClusterInstance` in the cluster. DbSubnetGroupName pulumi.StringPtrInput // If the DB instance should have deletion protection enabled. The database can't be deleted when this value is set to `true`. The default is `false`. DeletionProtection pulumi.BoolPtrInput // Whether cluster should forward writes to an associated global cluster. Applied to secondary clusters to enable them to forward writes to an `rds.GlobalCluster`'s primary cluster. See the [Aurora Userguide documentation](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-write-forwarding.html) for more information. EnableGlobalWriteForwarding pulumi.BoolPtrInput // Enable HTTP endpoint (data API). Only valid when `engineMode` is set to `serverless`. EnableHttpEndpoint pulumi.BoolPtrInput // Set of log types to export to cloudwatch. If omitted, no logs will be exported. The following log types are supported: `audit`, `error`, `general`, `slowquery`, `postgresql` (PostgreSQL). EnabledCloudwatchLogsExports pulumi.StringArrayInput // The DNS address of the RDS instance Endpoint pulumi.StringPtrInput // The name of the database engine to be used for this DB cluster. Defaults to `aurora`. Valid Values: `aurora`, `aurora-mysql`, `aurora-postgresql`, `mysql`, `postgres`. (Note that `mysql` and `postgres` are Multi-AZ RDS clusters). Engine pulumi.StringPtrInput // The database engine mode. Valid values: `global` (only valid for Aurora MySQL 1.21 and earlier), `multimaster`, `parallelquery`, `provisioned`, `serverless`. Defaults to: `provisioned`. See the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/aurora-serverless.html) for limitations when using `serverless`. EngineMode pulumi.StringPtrInput // The database engine version. Updating this argument results in an outage. See the [Aurora MySQL](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraMySQL.Updates.html) and [Aurora Postgres](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/AuroraPostgreSQL.Updates.html) documentation for your configured engine to determine this value. For example with Aurora MySQL 2, a potential value for this argument is `5.7.mysql_aurora.2.03.2`. The value can contain a partial version where supported by the API. The actual engine version used is returned in the attribute `engineVersionActual`, , see Attributes Reference below. EngineVersion pulumi.StringPtrInput // The running version of the database. EngineVersionActual pulumi.StringPtrInput // The name of your final DB snapshot when this DB cluster is deleted. If omitted, no final snapshot will be made. FinalSnapshotIdentifier pulumi.StringPtrInput // The global cluster identifier specified on `rds.GlobalCluster`. GlobalClusterIdentifier pulumi.StringPtrInput // The Route53 Hosted Zone ID of the endpoint HostedZoneId pulumi.StringPtrInput // Specifies whether or not mappings of AWS Identity and Access Management (IAM) accounts to database accounts is enabled. Please see [AWS Documentation](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.html) for availability and limitations. IamDatabaseAuthenticationEnabled pulumi.BoolPtrInput // A List of ARNs for the IAM roles to associate to the RDS Cluster. IamRoles pulumi.StringArrayInput // The amount of Provisioned IOPS (input/output operations per second) to be initially allocated for each DB instance in the Multi-AZ DB cluster. For information about valid Iops values, see [Amazon RDS Provisioned IOPS storage to improve performance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#USER_PIOPS) in the Amazon RDS User Guide. (This setting is required to create a Multi-AZ DB cluster). Must be a multiple between .5 and 50 of the storage amount for the DB cluster. Iops pulumi.IntPtrInput // The ARN for the KMS encryption key. When specifying `kmsKeyId`, `storageEncrypted` needs to be set to true. KmsKeyId pulumi.StringPtrInput // Password for the master DB user. Note that this may show up in logs, and it will be stored in the state file. Please refer to the [RDS Naming Constraints](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints) MasterPassword pulumi.StringPtrInput // Username for the master DB user. Please refer to the [RDS Naming Constraints](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Limits.html#RDS_Limits.Constraints). This argument does not support in-place updates and cannot be changed during a restore from snapshot. MasterUsername pulumi.StringPtrInput // The network type of the cluster. Valid values: `IPV4`, `DUAL`. NetworkType pulumi.StringPtrInput // The port on which the DB accepts connections Port pulumi.IntPtrInput // The daily time range during which automated backups are created if automated backups are enabled using the BackupRetentionPeriod parameter.Time in UTC. Default: A 30-minute window selected at random from an 8-hour block of time per regionE.g., 04:00-09:00 PreferredBackupWindow pulumi.StringPtrInput // The weekly time range during which system maintenance can occur, in (UTC) e.g., wed:04:00-wed:04:30 PreferredMaintenanceWindow pulumi.StringPtrInput // A read-only endpoint for the Aurora cluster, automatically // load-balanced across replicas ReaderEndpoint pulumi.StringPtrInput // ARN of a source DB cluster or DB instance if this DB cluster is to be created as a Read Replica. If DB Cluster is part of a Global Cluster, use the `lifecycle` configuration block `ignoreChanges` argument to prevent this provider from showing differences for this argument instead of configuring this value. ReplicationSourceIdentifier pulumi.StringPtrInput // Nested attribute for [point in time restore](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_PIT.html). More details below. RestoreToPointInTime ClusterRestoreToPointInTimePtrInput S3Import ClusterS3ImportPtrInput // Nested attribute with scaling properties. Only valid when `engineMode` is set to `serverless`. More details below. ScalingConfiguration ClusterScalingConfigurationPtrInput // Nested attribute with scaling properties for ServerlessV2. Only valid when `engineMode` is set to `provisioned`. More details below. Serverlessv2ScalingConfiguration ClusterServerlessv2ScalingConfigurationPtrInput // Determines whether a final DB snapshot is created before the DB cluster is deleted. If true is specified, no DB snapshot is created. If false is specified, a DB snapshot is created before the DB cluster is deleted, using the value from `finalSnapshotIdentifier`. Default is `false`. SkipFinalSnapshot pulumi.BoolPtrInput // Specifies whether or not to create this cluster from a snapshot. You can use either the name or ARN when specifying a DB cluster snapshot, or the ARN when specifying a DB snapshot. SnapshotIdentifier pulumi.StringPtrInput // The source region for an encrypted replica DB cluster. SourceRegion pulumi.StringPtrInput // Specifies whether the DB cluster is encrypted. The default is `false` for `provisioned` `engineMode` and `true` for `serverless` `engineMode`. When restoring an unencrypted `snapshotIdentifier`, the `kmsKeyId` argument must be provided to encrypt the restored cluster. The provider will only perform drift detection if a configuration value is provided. StorageEncrypted pulumi.BoolPtrInput // Specifies the storage type to be associated with the DB cluster. (This setting is required to create a Multi-AZ DB cluster). Valid values: `io1`, Default: `io1`. StorageType pulumi.StringPtrInput // A map of tags to assign to the DB cluster. 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 // List of VPC security groups to associate with the Cluster VpcSecurityGroupIds pulumi.StringArrayInput }
func (ClusterState) ElementType ¶
func (ClusterState) ElementType() reflect.Type
type EngineMode ¶
type EngineMode string
func (EngineMode) ElementType ¶
func (EngineMode) ElementType() reflect.Type
func (EngineMode) ToEngineModeOutput ¶
func (e EngineMode) ToEngineModeOutput() EngineModeOutput
func (EngineMode) ToEngineModeOutputWithContext ¶
func (e EngineMode) ToEngineModeOutputWithContext(ctx context.Context) EngineModeOutput
func (EngineMode) ToEngineModePtrOutput ¶
func (e EngineMode) ToEngineModePtrOutput() EngineModePtrOutput
func (EngineMode) ToEngineModePtrOutputWithContext ¶
func (e EngineMode) ToEngineModePtrOutputWithContext(ctx context.Context) EngineModePtrOutput
func (EngineMode) ToStringOutput ¶
func (e EngineMode) ToStringOutput() pulumi.StringOutput
func (EngineMode) ToStringOutputWithContext ¶
func (e EngineMode) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (EngineMode) ToStringPtrOutput ¶
func (e EngineMode) ToStringPtrOutput() pulumi.StringPtrOutput
func (EngineMode) ToStringPtrOutputWithContext ¶
func (e EngineMode) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type EngineModeInput ¶
type EngineModeInput interface { pulumi.Input ToEngineModeOutput() EngineModeOutput ToEngineModeOutputWithContext(context.Context) EngineModeOutput }
EngineModeInput is an input type that accepts EngineModeArgs and EngineModeOutput values. You can construct a concrete instance of `EngineModeInput` via:
EngineModeArgs{...}
type EngineModeOutput ¶
type EngineModeOutput struct{ *pulumi.OutputState }
func (EngineModeOutput) ElementType ¶
func (EngineModeOutput) ElementType() reflect.Type
func (EngineModeOutput) ToEngineModeOutput ¶
func (o EngineModeOutput) ToEngineModeOutput() EngineModeOutput
func (EngineModeOutput) ToEngineModeOutputWithContext ¶
func (o EngineModeOutput) ToEngineModeOutputWithContext(ctx context.Context) EngineModeOutput
func (EngineModeOutput) ToEngineModePtrOutput ¶
func (o EngineModeOutput) ToEngineModePtrOutput() EngineModePtrOutput
func (EngineModeOutput) ToEngineModePtrOutputWithContext ¶
func (o EngineModeOutput) ToEngineModePtrOutputWithContext(ctx context.Context) EngineModePtrOutput
func (EngineModeOutput) ToStringOutput ¶
func (o EngineModeOutput) ToStringOutput() pulumi.StringOutput
func (EngineModeOutput) ToStringOutputWithContext ¶
func (o EngineModeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (EngineModeOutput) ToStringPtrOutput ¶
func (o EngineModeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (EngineModeOutput) ToStringPtrOutputWithContext ¶
func (o EngineModeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type EngineModePtrInput ¶
type EngineModePtrInput interface { pulumi.Input ToEngineModePtrOutput() EngineModePtrOutput ToEngineModePtrOutputWithContext(context.Context) EngineModePtrOutput }
func EngineModePtr ¶
func EngineModePtr(v string) EngineModePtrInput
type EngineModePtrOutput ¶
type EngineModePtrOutput struct{ *pulumi.OutputState }
func (EngineModePtrOutput) Elem ¶
func (o EngineModePtrOutput) Elem() EngineModeOutput
func (EngineModePtrOutput) ElementType ¶
func (EngineModePtrOutput) ElementType() reflect.Type
func (EngineModePtrOutput) ToEngineModePtrOutput ¶
func (o EngineModePtrOutput) ToEngineModePtrOutput() EngineModePtrOutput
func (EngineModePtrOutput) ToEngineModePtrOutputWithContext ¶
func (o EngineModePtrOutput) ToEngineModePtrOutputWithContext(ctx context.Context) EngineModePtrOutput
func (EngineModePtrOutput) ToStringPtrOutput ¶
func (o EngineModePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (EngineModePtrOutput) ToStringPtrOutputWithContext ¶
func (o EngineModePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type EngineType ¶
type EngineType string
func (EngineType) ElementType ¶
func (EngineType) ElementType() reflect.Type
func (EngineType) ToEngineTypeOutput ¶
func (e EngineType) ToEngineTypeOutput() EngineTypeOutput
func (EngineType) ToEngineTypeOutputWithContext ¶
func (e EngineType) ToEngineTypeOutputWithContext(ctx context.Context) EngineTypeOutput
func (EngineType) ToEngineTypePtrOutput ¶
func (e EngineType) ToEngineTypePtrOutput() EngineTypePtrOutput
func (EngineType) ToEngineTypePtrOutputWithContext ¶
func (e EngineType) ToEngineTypePtrOutputWithContext(ctx context.Context) EngineTypePtrOutput
func (EngineType) ToStringOutput ¶
func (e EngineType) ToStringOutput() pulumi.StringOutput
func (EngineType) ToStringOutputWithContext ¶
func (e EngineType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (EngineType) ToStringPtrOutput ¶
func (e EngineType) ToStringPtrOutput() pulumi.StringPtrOutput
func (EngineType) ToStringPtrOutputWithContext ¶
func (e EngineType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type EngineTypeInput ¶
type EngineTypeInput interface { pulumi.Input ToEngineTypeOutput() EngineTypeOutput ToEngineTypeOutputWithContext(context.Context) EngineTypeOutput }
EngineTypeInput is an input type that accepts EngineTypeArgs and EngineTypeOutput values. You can construct a concrete instance of `EngineTypeInput` via:
EngineTypeArgs{...}
type EngineTypeOutput ¶
type EngineTypeOutput struct{ *pulumi.OutputState }
func (EngineTypeOutput) ElementType ¶
func (EngineTypeOutput) ElementType() reflect.Type
func (EngineTypeOutput) ToEngineTypeOutput ¶
func (o EngineTypeOutput) ToEngineTypeOutput() EngineTypeOutput
func (EngineTypeOutput) ToEngineTypeOutputWithContext ¶
func (o EngineTypeOutput) ToEngineTypeOutputWithContext(ctx context.Context) EngineTypeOutput
func (EngineTypeOutput) ToEngineTypePtrOutput ¶
func (o EngineTypeOutput) ToEngineTypePtrOutput() EngineTypePtrOutput
func (EngineTypeOutput) ToEngineTypePtrOutputWithContext ¶
func (o EngineTypeOutput) ToEngineTypePtrOutputWithContext(ctx context.Context) EngineTypePtrOutput
func (EngineTypeOutput) ToStringOutput ¶
func (o EngineTypeOutput) ToStringOutput() pulumi.StringOutput
func (EngineTypeOutput) ToStringOutputWithContext ¶
func (o EngineTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (EngineTypeOutput) ToStringPtrOutput ¶
func (o EngineTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (EngineTypeOutput) ToStringPtrOutputWithContext ¶
func (o EngineTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type EngineTypePtrInput ¶
type EngineTypePtrInput interface { pulumi.Input ToEngineTypePtrOutput() EngineTypePtrOutput ToEngineTypePtrOutputWithContext(context.Context) EngineTypePtrOutput }
func EngineTypePtr ¶
func EngineTypePtr(v string) EngineTypePtrInput
type EngineTypePtrOutput ¶
type EngineTypePtrOutput struct{ *pulumi.OutputState }
func (EngineTypePtrOutput) Elem ¶
func (o EngineTypePtrOutput) Elem() EngineTypeOutput
func (EngineTypePtrOutput) ElementType ¶
func (EngineTypePtrOutput) ElementType() reflect.Type
func (EngineTypePtrOutput) ToEngineTypePtrOutput ¶
func (o EngineTypePtrOutput) ToEngineTypePtrOutput() EngineTypePtrOutput
func (EngineTypePtrOutput) ToEngineTypePtrOutputWithContext ¶
func (o EngineTypePtrOutput) ToEngineTypePtrOutputWithContext(ctx context.Context) EngineTypePtrOutput
func (EngineTypePtrOutput) ToStringPtrOutput ¶
func (o EngineTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (EngineTypePtrOutput) ToStringPtrOutputWithContext ¶
func (o EngineTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type EventSubscription ¶
type EventSubscription struct { pulumi.CustomResourceState // The Amazon Resource Name of the RDS event notification subscription Arn pulumi.StringOutput `pulumi:"arn"` // The AWS customer account associated with the RDS 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 http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html or run `aws rds describe-event-categories`. EventCategories pulumi.StringArrayOutput `pulumi:"eventCategories"` // The name of the DB event subscription. By default generated by this provider. Name pulumi.StringOutput `pulumi:"name"` // The name of the DB event subscription. Conflicts with `name`. NamePrefix pulumi.StringOutput `pulumi:"namePrefix"` // The SNS topic to send events to. SnsTopic pulumi.StringOutput `pulumi:"snsTopic"` // 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 `db-instance`, `db-security-group`, `db-parameter-group`, `db-snapshot`, `db-cluster` or `db-cluster-snapshot`. If not set, all sources will be subscribed to. SourceType pulumi.StringPtrOutput `pulumi:"sourceType"` // 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"` }
Provides a DB event subscription resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/sns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultInstance, err := rds.NewInstance(ctx, "defaultInstance", &rds.InstanceArgs{ AllocatedStorage: pulumi.Int(10), Engine: pulumi.String("mysql"), EngineVersion: pulumi.String("5.6.17"), InstanceClass: pulumi.String("db.t2.micro"), Name: pulumi.String("mydb"), Username: pulumi.String("foo"), Password: pulumi.String("bar"), DbSubnetGroupName: pulumi.String("my_database_subnet_group"), ParameterGroupName: pulumi.String("default.mysql5.6"), }) if err != nil { return err } defaultTopic, err := sns.NewTopic(ctx, "defaultTopic", nil) if err != nil { return err } _, err = rds.NewEventSubscription(ctx, "defaultEventSubscription", &rds.EventSubscriptionArgs{ SnsTopic: defaultTopic.Arn, SourceType: pulumi.String("db-instance"), SourceIds: pulumi.StringArray{ defaultInstance.ID(), }, EventCategories: pulumi.StringArray{ pulumi.String("availability"), pulumi.String("deletion"), pulumi.String("failover"), pulumi.String("failure"), pulumi.String("low storage"), pulumi.String("maintenance"), pulumi.String("notification"), pulumi.String("read replica"), pulumi.String("recovery"), pulumi.String("restoration"), }, }) if err != nil { return err } return nil }) }
```
## Import
DB Event Subscriptions can be imported using the `name`, e.g.,
```sh
$ pulumi import aws:rds/eventSubscription:EventSubscription default rds-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
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 http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html or run `aws rds describe-event-categories`. EventCategories pulumi.StringArrayInput // The name of the DB event subscription. By default generated by this provider. Name pulumi.StringPtrInput // The name of the DB event subscription. Conflicts with `name`. NamePrefix pulumi.StringPtrInput // The SNS topic to send events to. SnsTopic 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 `db-instance`, `db-security-group`, `db-parameter-group`, `db-snapshot`, `db-cluster` or `db-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) Arn ¶ added in v5.4.0
func (o EventSubscriptionOutput) Arn() pulumi.StringOutput
The Amazon Resource Name of the RDS event notification subscription
func (EventSubscriptionOutput) CustomerAwsId ¶ added in v5.4.0
func (o EventSubscriptionOutput) CustomerAwsId() pulumi.StringOutput
The AWS customer account associated with the RDS event notification subscription
func (EventSubscriptionOutput) ElementType ¶
func (EventSubscriptionOutput) ElementType() reflect.Type
func (EventSubscriptionOutput) Enabled ¶ added in v5.4.0
func (o EventSubscriptionOutput) Enabled() pulumi.BoolPtrOutput
A boolean flag to enable/disable the subscription. Defaults to true.
func (EventSubscriptionOutput) EventCategories ¶ added in v5.4.0
func (o EventSubscriptionOutput) EventCategories() pulumi.StringArrayOutput
A list of event categories for a SourceType that you want to subscribe to. See http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html or run `aws rds describe-event-categories`.
func (EventSubscriptionOutput) Name ¶ added in v5.4.0
func (o EventSubscriptionOutput) Name() pulumi.StringOutput
The name of the DB event subscription. By default generated by this provider.
func (EventSubscriptionOutput) NamePrefix ¶ added in v5.4.0
func (o EventSubscriptionOutput) NamePrefix() pulumi.StringOutput
The name of the DB event subscription. Conflicts with `name`.
func (EventSubscriptionOutput) SnsTopic ¶ added in v5.4.0
func (o EventSubscriptionOutput) SnsTopic() pulumi.StringOutput
The SNS topic to send events to.
func (EventSubscriptionOutput) SourceIds ¶ added in v5.4.0
func (o EventSubscriptionOutput) SourceIds() pulumi.StringArrayOutput
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.
func (EventSubscriptionOutput) SourceType ¶ added in v5.4.0
func (o EventSubscriptionOutput) SourceType() pulumi.StringPtrOutput
The type of source that will be generating the events. Valid options are `db-instance`, `db-security-group`, `db-parameter-group`, `db-snapshot`, `db-cluster` or `db-cluster-snapshot`. If not set, all sources will be subscribed to.
func (EventSubscriptionOutput) Tags ¶ added in v5.4.0
func (o EventSubscriptionOutput) Tags() pulumi.StringMapOutput
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.
func (EventSubscriptionOutput) TagsAll ¶ added in v5.4.0
func (o EventSubscriptionOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (EventSubscriptionOutput) ToEventSubscriptionOutput ¶
func (o EventSubscriptionOutput) ToEventSubscriptionOutput() EventSubscriptionOutput
func (EventSubscriptionOutput) ToEventSubscriptionOutputWithContext ¶
func (o EventSubscriptionOutput) ToEventSubscriptionOutputWithContext(ctx context.Context) EventSubscriptionOutput
type EventSubscriptionState ¶
type EventSubscriptionState struct { // The Amazon Resource Name of the RDS event notification subscription Arn pulumi.StringPtrInput // The AWS customer account associated with the RDS 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 http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Events.html or run `aws rds describe-event-categories`. EventCategories pulumi.StringArrayInput // The name of the DB event subscription. By default generated by this provider. Name pulumi.StringPtrInput // The name of the DB event subscription. Conflicts with `name`. NamePrefix pulumi.StringPtrInput // The SNS topic to send events to. SnsTopic 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 `db-instance`, `db-security-group`, `db-parameter-group`, `db-snapshot`, `db-cluster` or `db-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 // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapInput }
func (EventSubscriptionState) ElementType ¶
func (EventSubscriptionState) ElementType() reflect.Type
type GetCertificateArgs ¶
type GetCertificateArgs struct { // Certificate identifier. For example, `rds-ca-2019`. Id *string `pulumi:"id"` // When enabled, returns the certificate with the latest `ValidTill`. LatestValidTill *bool `pulumi:"latestValidTill"` }
A collection of arguments for invoking getCertificate.
type GetCertificateOutputArgs ¶
type GetCertificateOutputArgs struct { // Certificate identifier. For example, `rds-ca-2019`. Id pulumi.StringPtrInput `pulumi:"id"` // When enabled, returns the certificate with the latest `ValidTill`. LatestValidTill pulumi.BoolPtrInput `pulumi:"latestValidTill"` }
A collection of arguments for invoking getCertificate.
func (GetCertificateOutputArgs) ElementType ¶
func (GetCertificateOutputArgs) ElementType() reflect.Type
type GetCertificateResult ¶
type GetCertificateResult struct { // ARN of the certificate. Arn string `pulumi:"arn"` // Type of certificate. For example, `CA`. CertificateType string `pulumi:"certificateType"` // Boolean whether there is an override for the default certificate identifier. CustomerOverride bool `pulumi:"customerOverride"` // If there is an override for the default certificate identifier, when the override expires. CustomerOverrideValidTill string `pulumi:"customerOverrideValidTill"` Id string `pulumi:"id"` LatestValidTill *bool `pulumi:"latestValidTill"` // Thumbprint of the certificate. Thumbprint string `pulumi:"thumbprint"` // [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) of certificate starting validity date. ValidFrom string `pulumi:"validFrom"` // [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) of certificate ending validity date. ValidTill string `pulumi:"validTill"` }
A collection of values returned by getCertificate.
func GetCertificate ¶
func GetCertificate(ctx *pulumi.Context, args *GetCertificateArgs, opts ...pulumi.InvokeOption) (*GetCertificateResult, error)
Information about an RDS Certificate.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.GetCertificate(ctx, &rds.GetCertificateArgs{ LatestValidTill: pulumi.BoolRef(true), }, nil) if err != nil { return err } return nil }) }
```
type GetCertificateResultOutput ¶
type GetCertificateResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCertificate.
func GetCertificateOutput ¶
func GetCertificateOutput(ctx *pulumi.Context, args GetCertificateOutputArgs, opts ...pulumi.InvokeOption) GetCertificateResultOutput
func (GetCertificateResultOutput) Arn ¶
func (o GetCertificateResultOutput) Arn() pulumi.StringOutput
ARN of the certificate.
func (GetCertificateResultOutput) CertificateType ¶
func (o GetCertificateResultOutput) CertificateType() pulumi.StringOutput
Type of certificate. For example, `CA`.
func (GetCertificateResultOutput) CustomerOverride ¶
func (o GetCertificateResultOutput) CustomerOverride() pulumi.BoolOutput
Boolean whether there is an override for the default certificate identifier.
func (GetCertificateResultOutput) CustomerOverrideValidTill ¶
func (o GetCertificateResultOutput) CustomerOverrideValidTill() pulumi.StringOutput
If there is an override for the default certificate identifier, when the override expires.
func (GetCertificateResultOutput) ElementType ¶
func (GetCertificateResultOutput) ElementType() reflect.Type
func (GetCertificateResultOutput) Id ¶
func (o GetCertificateResultOutput) Id() pulumi.StringOutput
func (GetCertificateResultOutput) LatestValidTill ¶
func (o GetCertificateResultOutput) LatestValidTill() pulumi.BoolPtrOutput
func (GetCertificateResultOutput) Thumbprint ¶
func (o GetCertificateResultOutput) Thumbprint() pulumi.StringOutput
Thumbprint of the certificate.
func (GetCertificateResultOutput) ToGetCertificateResultOutput ¶
func (o GetCertificateResultOutput) ToGetCertificateResultOutput() GetCertificateResultOutput
func (GetCertificateResultOutput) ToGetCertificateResultOutputWithContext ¶
func (o GetCertificateResultOutput) ToGetCertificateResultOutputWithContext(ctx context.Context) GetCertificateResultOutput
func (GetCertificateResultOutput) ValidFrom ¶
func (o GetCertificateResultOutput) ValidFrom() pulumi.StringOutput
[RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) of certificate starting validity date.
func (GetCertificateResultOutput) ValidTill ¶
func (o GetCertificateResultOutput) ValidTill() pulumi.StringOutput
[RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) of certificate ending validity date.
type GetClustersArgs ¶ added in v5.22.0
type GetClustersArgs struct { // Configuration block(s) for filtering. Detailed below. Filters []GetClustersFilter `pulumi:"filters"` }
A collection of arguments for invoking getClusters.
type GetClustersFilter ¶ added in v5.22.0
type GetClustersFilter struct { // Name of the filter field. Valid values can be found in the [RDS DescribeDBClusters API Reference](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBClusters.html). Name string `pulumi:"name"` // Set of values that are accepted for the given filter field. Results will be selected if any given value matches. Values []string `pulumi:"values"` }
type GetClustersFilterArgs ¶ added in v5.22.0
type GetClustersFilterArgs struct { // Name of the filter field. Valid values can be found in the [RDS DescribeDBClusters API Reference](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBClusters.html). Name pulumi.StringInput `pulumi:"name"` // Set of values that are accepted for the given filter field. Results will be selected if any given value matches. Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetClustersFilterArgs) ElementType ¶ added in v5.22.0
func (GetClustersFilterArgs) ElementType() reflect.Type
func (GetClustersFilterArgs) ToGetClustersFilterOutput ¶ added in v5.22.0
func (i GetClustersFilterArgs) ToGetClustersFilterOutput() GetClustersFilterOutput
func (GetClustersFilterArgs) ToGetClustersFilterOutputWithContext ¶ added in v5.22.0
func (i GetClustersFilterArgs) ToGetClustersFilterOutputWithContext(ctx context.Context) GetClustersFilterOutput
type GetClustersFilterArray ¶ added in v5.22.0
type GetClustersFilterArray []GetClustersFilterInput
func (GetClustersFilterArray) ElementType ¶ added in v5.22.0
func (GetClustersFilterArray) ElementType() reflect.Type
func (GetClustersFilterArray) ToGetClustersFilterArrayOutput ¶ added in v5.22.0
func (i GetClustersFilterArray) ToGetClustersFilterArrayOutput() GetClustersFilterArrayOutput
func (GetClustersFilterArray) ToGetClustersFilterArrayOutputWithContext ¶ added in v5.22.0
func (i GetClustersFilterArray) ToGetClustersFilterArrayOutputWithContext(ctx context.Context) GetClustersFilterArrayOutput
type GetClustersFilterArrayInput ¶ added in v5.22.0
type GetClustersFilterArrayInput interface { pulumi.Input ToGetClustersFilterArrayOutput() GetClustersFilterArrayOutput ToGetClustersFilterArrayOutputWithContext(context.Context) GetClustersFilterArrayOutput }
GetClustersFilterArrayInput is an input type that accepts GetClustersFilterArray and GetClustersFilterArrayOutput values. You can construct a concrete instance of `GetClustersFilterArrayInput` via:
GetClustersFilterArray{ GetClustersFilterArgs{...} }
type GetClustersFilterArrayOutput ¶ added in v5.22.0
type GetClustersFilterArrayOutput struct{ *pulumi.OutputState }
func (GetClustersFilterArrayOutput) ElementType ¶ added in v5.22.0
func (GetClustersFilterArrayOutput) ElementType() reflect.Type
func (GetClustersFilterArrayOutput) Index ¶ added in v5.22.0
func (o GetClustersFilterArrayOutput) Index(i pulumi.IntInput) GetClustersFilterOutput
func (GetClustersFilterArrayOutput) ToGetClustersFilterArrayOutput ¶ added in v5.22.0
func (o GetClustersFilterArrayOutput) ToGetClustersFilterArrayOutput() GetClustersFilterArrayOutput
func (GetClustersFilterArrayOutput) ToGetClustersFilterArrayOutputWithContext ¶ added in v5.22.0
func (o GetClustersFilterArrayOutput) ToGetClustersFilterArrayOutputWithContext(ctx context.Context) GetClustersFilterArrayOutput
type GetClustersFilterInput ¶ added in v5.22.0
type GetClustersFilterInput interface { pulumi.Input ToGetClustersFilterOutput() GetClustersFilterOutput ToGetClustersFilterOutputWithContext(context.Context) GetClustersFilterOutput }
GetClustersFilterInput is an input type that accepts GetClustersFilterArgs and GetClustersFilterOutput values. You can construct a concrete instance of `GetClustersFilterInput` via:
GetClustersFilterArgs{...}
type GetClustersFilterOutput ¶ added in v5.22.0
type GetClustersFilterOutput struct{ *pulumi.OutputState }
func (GetClustersFilterOutput) ElementType ¶ added in v5.22.0
func (GetClustersFilterOutput) ElementType() reflect.Type
func (GetClustersFilterOutput) Name ¶ added in v5.22.0
func (o GetClustersFilterOutput) Name() pulumi.StringOutput
Name of the filter field. Valid values can be found in the [RDS DescribeDBClusters API Reference](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBClusters.html).
func (GetClustersFilterOutput) ToGetClustersFilterOutput ¶ added in v5.22.0
func (o GetClustersFilterOutput) ToGetClustersFilterOutput() GetClustersFilterOutput
func (GetClustersFilterOutput) ToGetClustersFilterOutputWithContext ¶ added in v5.22.0
func (o GetClustersFilterOutput) ToGetClustersFilterOutputWithContext(ctx context.Context) GetClustersFilterOutput
func (GetClustersFilterOutput) Values ¶ added in v5.22.0
func (o GetClustersFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
type GetClustersOutputArgs ¶ added in v5.22.0
type GetClustersOutputArgs struct { // Configuration block(s) for filtering. Detailed below. Filters GetClustersFilterArrayInput `pulumi:"filters"` }
A collection of arguments for invoking getClusters.
func (GetClustersOutputArgs) ElementType ¶ added in v5.22.0
func (GetClustersOutputArgs) ElementType() reflect.Type
type GetClustersResult ¶ added in v5.22.0
type GetClustersResult struct { // Set of cluster ARNs of the matched RDS clusters. ClusterArns []string `pulumi:"clusterArns"` // Set of ARNs of cluster identifiers of the matched RDS clusters. ClusterIdentifiers []string `pulumi:"clusterIdentifiers"` Filters []GetClustersFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` }
A collection of values returned by getClusters.
func GetClusters ¶ added in v5.22.0
func GetClusters(ctx *pulumi.Context, args *GetClustersArgs, opts ...pulumi.InvokeOption) (*GetClustersResult, error)
Data source for managing an AWS RDS (Relational Database) Clusters.
## Example Usage ### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.GetClusters(ctx, &rds.GetClustersArgs{ Filters: []rds.GetClustersFilter{ { Name: "engine", Values: []string{ "aurora-postgresql", }, }, }, }, nil) if err != nil { return err } return nil }) }
```
type GetClustersResultOutput ¶ added in v5.22.0
type GetClustersResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getClusters.
func GetClustersOutput ¶ added in v5.22.0
func GetClustersOutput(ctx *pulumi.Context, args GetClustersOutputArgs, opts ...pulumi.InvokeOption) GetClustersResultOutput
func (GetClustersResultOutput) ClusterArns ¶ added in v5.22.0
func (o GetClustersResultOutput) ClusterArns() pulumi.StringArrayOutput
Set of cluster ARNs of the matched RDS clusters.
func (GetClustersResultOutput) ClusterIdentifiers ¶ added in v5.22.0
func (o GetClustersResultOutput) ClusterIdentifiers() pulumi.StringArrayOutput
Set of ARNs of cluster identifiers of the matched RDS clusters.
func (GetClustersResultOutput) ElementType ¶ added in v5.22.0
func (GetClustersResultOutput) ElementType() reflect.Type
func (GetClustersResultOutput) Filters ¶ added in v5.22.0
func (o GetClustersResultOutput) Filters() GetClustersFilterArrayOutput
func (GetClustersResultOutput) Id ¶ added in v5.22.0
func (o GetClustersResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetClustersResultOutput) ToGetClustersResultOutput ¶ added in v5.22.0
func (o GetClustersResultOutput) ToGetClustersResultOutput() GetClustersResultOutput
func (GetClustersResultOutput) ToGetClustersResultOutputWithContext ¶ added in v5.22.0
func (o GetClustersResultOutput) ToGetClustersResultOutputWithContext(ctx context.Context) GetClustersResultOutput
type GetEngineVersionArgs ¶
type GetEngineVersionArgs struct { // When set to `true`, the default version for the specified `engine` or combination of `engine` and major `version` will be returned. Can be used to limit responses to a single version when they would otherwise fail for returning multiple versions. DefaultOnly *bool `pulumi:"defaultOnly"` // DB engine. Engine values include `aurora`, `aurora-mysql`, `aurora-postgresql`, `docdb`, `mariadb`, `mysql`, `neptune`, `oracle-ee`, `oracle-se`, `oracle-se1`, `oracle-se2`, `postgres`, `sqlserver-ee`, `sqlserver-ex`, `sqlserver-se`, and `sqlserver-web`. Engine string `pulumi:"engine"` // One or more name/value pairs to filter off of. There are several valid keys; for a full reference, check out [describe-db-engine-versions in the AWS CLI reference](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/describe-db-engine-versions.html). Filters []GetEngineVersionFilter `pulumi:"filters"` // When set to `true`, the specified `version` or member of `preferredVersions` will be returned even if it is `deprecated`. Otherwise, only `available` versions will be returned. IncludeAll *bool `pulumi:"includeAll"` // Name of a specific DB parameter group family. Examples of parameter group families are `mysql8.0`, `mariadb10.4`, and `postgres12`. ParameterGroupFamily *string `pulumi:"parameterGroupFamily"` // Ordered list of preferred engine versions. 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. If both the `version` and `preferredVersions` arguments are not configured, the data source will return the default version for the engine. PreferredVersions []string `pulumi:"preferredVersions"` // Version of the DB engine. For example, `5.7.22`, `10.1.34`, and `12.3`. If both the `version` and `preferredVersions` arguments are not configured, the data source will return the default version for the engine. Version *string `pulumi:"version"` }
A collection of arguments for invoking getEngineVersion.
type GetEngineVersionFilter ¶ added in v5.12.1
type GetEngineVersionFilterArgs ¶ added in v5.12.1
type GetEngineVersionFilterArgs struct { Name pulumi.StringInput `pulumi:"name"` Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetEngineVersionFilterArgs) ElementType ¶ added in v5.12.1
func (GetEngineVersionFilterArgs) ElementType() reflect.Type
func (GetEngineVersionFilterArgs) ToGetEngineVersionFilterOutput ¶ added in v5.12.1
func (i GetEngineVersionFilterArgs) ToGetEngineVersionFilterOutput() GetEngineVersionFilterOutput
func (GetEngineVersionFilterArgs) ToGetEngineVersionFilterOutputWithContext ¶ added in v5.12.1
func (i GetEngineVersionFilterArgs) ToGetEngineVersionFilterOutputWithContext(ctx context.Context) GetEngineVersionFilterOutput
type GetEngineVersionFilterArray ¶ added in v5.12.1
type GetEngineVersionFilterArray []GetEngineVersionFilterInput
func (GetEngineVersionFilterArray) ElementType ¶ added in v5.12.1
func (GetEngineVersionFilterArray) ElementType() reflect.Type
func (GetEngineVersionFilterArray) ToGetEngineVersionFilterArrayOutput ¶ added in v5.12.1
func (i GetEngineVersionFilterArray) ToGetEngineVersionFilterArrayOutput() GetEngineVersionFilterArrayOutput
func (GetEngineVersionFilterArray) ToGetEngineVersionFilterArrayOutputWithContext ¶ added in v5.12.1
func (i GetEngineVersionFilterArray) ToGetEngineVersionFilterArrayOutputWithContext(ctx context.Context) GetEngineVersionFilterArrayOutput
type GetEngineVersionFilterArrayInput ¶ added in v5.12.1
type GetEngineVersionFilterArrayInput interface { pulumi.Input ToGetEngineVersionFilterArrayOutput() GetEngineVersionFilterArrayOutput ToGetEngineVersionFilterArrayOutputWithContext(context.Context) GetEngineVersionFilterArrayOutput }
GetEngineVersionFilterArrayInput is an input type that accepts GetEngineVersionFilterArray and GetEngineVersionFilterArrayOutput values. You can construct a concrete instance of `GetEngineVersionFilterArrayInput` via:
GetEngineVersionFilterArray{ GetEngineVersionFilterArgs{...} }
type GetEngineVersionFilterArrayOutput ¶ added in v5.12.1
type GetEngineVersionFilterArrayOutput struct{ *pulumi.OutputState }
func (GetEngineVersionFilterArrayOutput) ElementType ¶ added in v5.12.1
func (GetEngineVersionFilterArrayOutput) ElementType() reflect.Type
func (GetEngineVersionFilterArrayOutput) Index ¶ added in v5.12.1
func (o GetEngineVersionFilterArrayOutput) Index(i pulumi.IntInput) GetEngineVersionFilterOutput
func (GetEngineVersionFilterArrayOutput) ToGetEngineVersionFilterArrayOutput ¶ added in v5.12.1
func (o GetEngineVersionFilterArrayOutput) ToGetEngineVersionFilterArrayOutput() GetEngineVersionFilterArrayOutput
func (GetEngineVersionFilterArrayOutput) ToGetEngineVersionFilterArrayOutputWithContext ¶ added in v5.12.1
func (o GetEngineVersionFilterArrayOutput) ToGetEngineVersionFilterArrayOutputWithContext(ctx context.Context) GetEngineVersionFilterArrayOutput
type GetEngineVersionFilterInput ¶ added in v5.12.1
type GetEngineVersionFilterInput interface { pulumi.Input ToGetEngineVersionFilterOutput() GetEngineVersionFilterOutput ToGetEngineVersionFilterOutputWithContext(context.Context) GetEngineVersionFilterOutput }
GetEngineVersionFilterInput is an input type that accepts GetEngineVersionFilterArgs and GetEngineVersionFilterOutput values. You can construct a concrete instance of `GetEngineVersionFilterInput` via:
GetEngineVersionFilterArgs{...}
type GetEngineVersionFilterOutput ¶ added in v5.12.1
type GetEngineVersionFilterOutput struct{ *pulumi.OutputState }
func (GetEngineVersionFilterOutput) ElementType ¶ added in v5.12.1
func (GetEngineVersionFilterOutput) ElementType() reflect.Type
func (GetEngineVersionFilterOutput) Name ¶ added in v5.12.1
func (o GetEngineVersionFilterOutput) Name() pulumi.StringOutput
func (GetEngineVersionFilterOutput) ToGetEngineVersionFilterOutput ¶ added in v5.12.1
func (o GetEngineVersionFilterOutput) ToGetEngineVersionFilterOutput() GetEngineVersionFilterOutput
func (GetEngineVersionFilterOutput) ToGetEngineVersionFilterOutputWithContext ¶ added in v5.12.1
func (o GetEngineVersionFilterOutput) ToGetEngineVersionFilterOutputWithContext(ctx context.Context) GetEngineVersionFilterOutput
func (GetEngineVersionFilterOutput) Values ¶ added in v5.12.1
func (o GetEngineVersionFilterOutput) Values() pulumi.StringArrayOutput
type GetEngineVersionOutputArgs ¶
type GetEngineVersionOutputArgs struct { // When set to `true`, the default version for the specified `engine` or combination of `engine` and major `version` will be returned. Can be used to limit responses to a single version when they would otherwise fail for returning multiple versions. DefaultOnly pulumi.BoolPtrInput `pulumi:"defaultOnly"` // DB engine. Engine values include `aurora`, `aurora-mysql`, `aurora-postgresql`, `docdb`, `mariadb`, `mysql`, `neptune`, `oracle-ee`, `oracle-se`, `oracle-se1`, `oracle-se2`, `postgres`, `sqlserver-ee`, `sqlserver-ex`, `sqlserver-se`, and `sqlserver-web`. Engine pulumi.StringInput `pulumi:"engine"` // One or more name/value pairs to filter off of. There are several valid keys; for a full reference, check out [describe-db-engine-versions in the AWS CLI reference](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/describe-db-engine-versions.html). Filters GetEngineVersionFilterArrayInput `pulumi:"filters"` // When set to `true`, the specified `version` or member of `preferredVersions` will be returned even if it is `deprecated`. Otherwise, only `available` versions will be returned. IncludeAll pulumi.BoolPtrInput `pulumi:"includeAll"` // Name of a specific DB parameter group family. Examples of parameter group families are `mysql8.0`, `mariadb10.4`, and `postgres12`. ParameterGroupFamily pulumi.StringPtrInput `pulumi:"parameterGroupFamily"` // Ordered list of preferred engine versions. 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. If both the `version` and `preferredVersions` arguments are not configured, the data source will return the default version for the engine. PreferredVersions pulumi.StringArrayInput `pulumi:"preferredVersions"` // Version of the DB engine. For example, `5.7.22`, `10.1.34`, and `12.3`. If both the `version` and `preferredVersions` arguments are not configured, the data source will return the default version for the engine. Version pulumi.StringPtrInput `pulumi:"version"` }
A collection of arguments for invoking getEngineVersion.
func (GetEngineVersionOutputArgs) ElementType ¶
func (GetEngineVersionOutputArgs) ElementType() reflect.Type
type GetEngineVersionResult ¶
type GetEngineVersionResult struct { // The default character set for new instances of this engine version. DefaultCharacterSet string `pulumi:"defaultCharacterSet"` DefaultOnly *bool `pulumi:"defaultOnly"` Engine string `pulumi:"engine"` // Description of the database engine. EngineDescription string `pulumi:"engineDescription"` // Set of log types that the database engine has available for export to CloudWatch Logs. ExportableLogTypes []string `pulumi:"exportableLogTypes"` Filters []GetEngineVersionFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` IncludeAll *bool `pulumi:"includeAll"` ParameterGroupFamily string `pulumi:"parameterGroupFamily"` PreferredVersions []string `pulumi:"preferredVersions"` // Status of the DB engine version, either available or deprecated. Status string `pulumi:"status"` // Set of the character sets supported by this engine. SupportedCharacterSets []string `pulumi:"supportedCharacterSets"` // Set of features supported by the DB engine. SupportedFeatureNames []string `pulumi:"supportedFeatureNames"` // Set of the supported DB engine modes. SupportedModes []string `pulumi:"supportedModes"` // Set of the time zones supported by this engine. SupportedTimezones []string `pulumi:"supportedTimezones"` // Indicates whether you can use Aurora global databases with a specific DB engine version. SupportsGlobalDatabases bool `pulumi:"supportsGlobalDatabases"` // Indicates whether the engine version supports exporting the log types specified by `exportableLogTypes` to CloudWatch Logs. SupportsLogExportsToCloudwatch bool `pulumi:"supportsLogExportsToCloudwatch"` // Indicates whether you can use Aurora parallel query with a specific DB engine version. SupportsParallelQuery bool `pulumi:"supportsParallelQuery"` // Indicates whether the database engine version supports read replicas. SupportsReadReplica bool `pulumi:"supportsReadReplica"` // Set of engine versions that this database engine version can be upgraded to. ValidUpgradeTargets []string `pulumi:"validUpgradeTargets"` Version string `pulumi:"version"` // Description of the database engine version. VersionDescription string `pulumi:"versionDescription"` }
A collection of values returned by getEngineVersion.
func GetEngineVersion ¶
func GetEngineVersion(ctx *pulumi.Context, args *GetEngineVersionArgs, opts ...pulumi.InvokeOption) (*GetEngineVersionResult, error)
Information about an RDS engine version.
## Example Usage ### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.GetEngineVersion(ctx, &rds.GetEngineVersionArgs{ Engine: "mysql", PreferredVersions: []string{ "8.0.27", "8.0.26", }, }, nil) if err != nil { return err } return nil }) }
``` ### With `filter`
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.GetEngineVersion(ctx, &rds.GetEngineVersionArgs{ Engine: "aurora-postgresql", Filters: []rds.GetEngineVersionFilter{ { Name: "engine-mode", Values: []string{ "serverless", }, }, }, IncludeAll: pulumi.BoolRef(true), Version: pulumi.StringRef("10.14"), }, nil) if err != nil { return err } return nil }) }
```
type GetEngineVersionResultOutput ¶
type GetEngineVersionResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEngineVersion.
func GetEngineVersionOutput ¶
func GetEngineVersionOutput(ctx *pulumi.Context, args GetEngineVersionOutputArgs, opts ...pulumi.InvokeOption) GetEngineVersionResultOutput
func (GetEngineVersionResultOutput) DefaultCharacterSet ¶
func (o GetEngineVersionResultOutput) DefaultCharacterSet() pulumi.StringOutput
The default character set for new instances of this engine version.
func (GetEngineVersionResultOutput) DefaultOnly ¶ added in v5.21.0
func (o GetEngineVersionResultOutput) DefaultOnly() pulumi.BoolPtrOutput
func (GetEngineVersionResultOutput) ElementType ¶
func (GetEngineVersionResultOutput) ElementType() reflect.Type
func (GetEngineVersionResultOutput) Engine ¶
func (o GetEngineVersionResultOutput) Engine() pulumi.StringOutput
func (GetEngineVersionResultOutput) EngineDescription ¶
func (o GetEngineVersionResultOutput) EngineDescription() pulumi.StringOutput
Description of the database engine.
func (GetEngineVersionResultOutput) ExportableLogTypes ¶
func (o GetEngineVersionResultOutput) ExportableLogTypes() pulumi.StringArrayOutput
Set of log types that the database engine has available for export to CloudWatch Logs.
func (GetEngineVersionResultOutput) Filters ¶ added in v5.12.1
func (o GetEngineVersionResultOutput) Filters() GetEngineVersionFilterArrayOutput
func (GetEngineVersionResultOutput) Id ¶
func (o GetEngineVersionResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetEngineVersionResultOutput) IncludeAll ¶ added in v5.21.0
func (o GetEngineVersionResultOutput) IncludeAll() pulumi.BoolPtrOutput
func (GetEngineVersionResultOutput) ParameterGroupFamily ¶
func (o GetEngineVersionResultOutput) ParameterGroupFamily() pulumi.StringOutput
func (GetEngineVersionResultOutput) PreferredVersions ¶
func (o GetEngineVersionResultOutput) PreferredVersions() pulumi.StringArrayOutput
func (GetEngineVersionResultOutput) Status ¶
func (o GetEngineVersionResultOutput) Status() pulumi.StringOutput
Status of the DB engine version, either available or deprecated.
func (GetEngineVersionResultOutput) SupportedCharacterSets ¶
func (o GetEngineVersionResultOutput) SupportedCharacterSets() pulumi.StringArrayOutput
Set of the character sets supported by this engine.
func (GetEngineVersionResultOutput) SupportedFeatureNames ¶
func (o GetEngineVersionResultOutput) SupportedFeatureNames() pulumi.StringArrayOutput
Set of features supported by the DB engine.
func (GetEngineVersionResultOutput) SupportedModes ¶
func (o GetEngineVersionResultOutput) SupportedModes() pulumi.StringArrayOutput
Set of the supported DB engine modes.
func (GetEngineVersionResultOutput) SupportedTimezones ¶
func (o GetEngineVersionResultOutput) SupportedTimezones() pulumi.StringArrayOutput
Set of the time zones supported by this engine.
func (GetEngineVersionResultOutput) SupportsGlobalDatabases ¶
func (o GetEngineVersionResultOutput) SupportsGlobalDatabases() pulumi.BoolOutput
Indicates whether you can use Aurora global databases with a specific DB engine version.
func (GetEngineVersionResultOutput) SupportsLogExportsToCloudwatch ¶
func (o GetEngineVersionResultOutput) SupportsLogExportsToCloudwatch() pulumi.BoolOutput
Indicates whether the engine version supports exporting the log types specified by `exportableLogTypes` to CloudWatch Logs.
func (GetEngineVersionResultOutput) SupportsParallelQuery ¶
func (o GetEngineVersionResultOutput) SupportsParallelQuery() pulumi.BoolOutput
Indicates whether you can use Aurora parallel query with a specific DB engine version.
func (GetEngineVersionResultOutput) SupportsReadReplica ¶
func (o GetEngineVersionResultOutput) SupportsReadReplica() pulumi.BoolOutput
Indicates whether the database engine version supports read replicas.
func (GetEngineVersionResultOutput) ToGetEngineVersionResultOutput ¶
func (o GetEngineVersionResultOutput) ToGetEngineVersionResultOutput() GetEngineVersionResultOutput
func (GetEngineVersionResultOutput) ToGetEngineVersionResultOutputWithContext ¶
func (o GetEngineVersionResultOutput) ToGetEngineVersionResultOutputWithContext(ctx context.Context) GetEngineVersionResultOutput
func (GetEngineVersionResultOutput) ValidUpgradeTargets ¶
func (o GetEngineVersionResultOutput) ValidUpgradeTargets() pulumi.StringArrayOutput
Set of engine versions that this database engine version can be upgraded to.
func (GetEngineVersionResultOutput) Version ¶
func (o GetEngineVersionResultOutput) Version() pulumi.StringOutput
func (GetEngineVersionResultOutput) VersionDescription ¶
func (o GetEngineVersionResultOutput) VersionDescription() pulumi.StringOutput
Description of the database engine version.
type GetEventCategoriesArgs ¶
type GetEventCategoriesArgs struct { // Type of source that will be generating the events. Valid options are db-instance, db-security-group, db-parameter-group, db-snapshot, db-cluster or db-cluster-snapshot. SourceType *string `pulumi:"sourceType"` }
A collection of arguments for invoking getEventCategories.
type GetEventCategoriesOutputArgs ¶
type GetEventCategoriesOutputArgs struct { // Type of source that will be generating the events. Valid options are db-instance, db-security-group, db-parameter-group, db-snapshot, db-cluster or db-cluster-snapshot. SourceType pulumi.StringPtrInput `pulumi:"sourceType"` }
A collection of arguments for invoking getEventCategories.
func (GetEventCategoriesOutputArgs) ElementType ¶
func (GetEventCategoriesOutputArgs) ElementType() reflect.Type
type GetEventCategoriesResult ¶
type GetEventCategoriesResult struct { // List of the event categories. EventCategories []string `pulumi:"eventCategories"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` SourceType *string `pulumi:"sourceType"` }
A collection of values returned by getEventCategories.
func GetEventCategories ¶
func GetEventCategories(ctx *pulumi.Context, args *GetEventCategoriesArgs, opts ...pulumi.InvokeOption) (*GetEventCategoriesResult, error)
## Example Usage
List the event categories of all the RDS resources.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleEventCategories, err := rds.GetEventCategories(ctx, nil, nil) if err != nil { return err } ctx.Export("example", exampleEventCategories.EventCategories) return nil }) }
```
List the event categories specific to the RDS resource `db-snapshot`.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleEventCategories, err := rds.GetEventCategories(ctx, &rds.GetEventCategoriesArgs{ SourceType: pulumi.StringRef("db-snapshot"), }, nil) if err != nil { return err } ctx.Export("example", exampleEventCategories.EventCategories) return nil }) }
```
type GetEventCategoriesResultOutput ¶
type GetEventCategoriesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEventCategories.
func GetEventCategoriesOutput ¶
func GetEventCategoriesOutput(ctx *pulumi.Context, args GetEventCategoriesOutputArgs, opts ...pulumi.InvokeOption) GetEventCategoriesResultOutput
func (GetEventCategoriesResultOutput) ElementType ¶
func (GetEventCategoriesResultOutput) ElementType() reflect.Type
func (GetEventCategoriesResultOutput) EventCategories ¶
func (o GetEventCategoriesResultOutput) EventCategories() pulumi.StringArrayOutput
List of the event categories.
func (GetEventCategoriesResultOutput) Id ¶
func (o GetEventCategoriesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetEventCategoriesResultOutput) SourceType ¶
func (o GetEventCategoriesResultOutput) SourceType() pulumi.StringPtrOutput
func (GetEventCategoriesResultOutput) ToGetEventCategoriesResultOutput ¶
func (o GetEventCategoriesResultOutput) ToGetEventCategoriesResultOutput() GetEventCategoriesResultOutput
func (GetEventCategoriesResultOutput) ToGetEventCategoriesResultOutputWithContext ¶
func (o GetEventCategoriesResultOutput) ToGetEventCategoriesResultOutputWithContext(ctx context.Context) GetEventCategoriesResultOutput
type GetInstancesArgs ¶ added in v5.27.0
type GetInstancesArgs struct { // Configuration block(s) for filtering. Detailed below. Filters []GetInstancesFilter `pulumi:"filters"` }
A collection of arguments for invoking getInstances.
type GetInstancesFilter ¶ added in v5.27.0
type GetInstancesFilter struct { // Name of the filter field. Valid values can be found in the [RDS DescribeDBClusters API Reference](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBClusters.html). Name string `pulumi:"name"` // Set of values that are accepted for the given filter field. Results will be selected if any given value matches. Values []string `pulumi:"values"` }
type GetInstancesFilterArgs ¶ added in v5.27.0
type GetInstancesFilterArgs struct { // Name of the filter field. Valid values can be found in the [RDS DescribeDBClusters API Reference](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBClusters.html). Name pulumi.StringInput `pulumi:"name"` // Set of values that are accepted for the given filter field. Results will be selected if any given value matches. Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetInstancesFilterArgs) ElementType ¶ added in v5.27.0
func (GetInstancesFilterArgs) ElementType() reflect.Type
func (GetInstancesFilterArgs) ToGetInstancesFilterOutput ¶ added in v5.27.0
func (i GetInstancesFilterArgs) ToGetInstancesFilterOutput() GetInstancesFilterOutput
func (GetInstancesFilterArgs) ToGetInstancesFilterOutputWithContext ¶ added in v5.27.0
func (i GetInstancesFilterArgs) ToGetInstancesFilterOutputWithContext(ctx context.Context) GetInstancesFilterOutput
type GetInstancesFilterArray ¶ added in v5.27.0
type GetInstancesFilterArray []GetInstancesFilterInput
func (GetInstancesFilterArray) ElementType ¶ added in v5.27.0
func (GetInstancesFilterArray) ElementType() reflect.Type
func (GetInstancesFilterArray) ToGetInstancesFilterArrayOutput ¶ added in v5.27.0
func (i GetInstancesFilterArray) ToGetInstancesFilterArrayOutput() GetInstancesFilterArrayOutput
func (GetInstancesFilterArray) ToGetInstancesFilterArrayOutputWithContext ¶ added in v5.27.0
func (i GetInstancesFilterArray) ToGetInstancesFilterArrayOutputWithContext(ctx context.Context) GetInstancesFilterArrayOutput
type GetInstancesFilterArrayInput ¶ added in v5.27.0
type GetInstancesFilterArrayInput interface { pulumi.Input ToGetInstancesFilterArrayOutput() GetInstancesFilterArrayOutput ToGetInstancesFilterArrayOutputWithContext(context.Context) GetInstancesFilterArrayOutput }
GetInstancesFilterArrayInput is an input type that accepts GetInstancesFilterArray and GetInstancesFilterArrayOutput values. You can construct a concrete instance of `GetInstancesFilterArrayInput` via:
GetInstancesFilterArray{ GetInstancesFilterArgs{...} }
type GetInstancesFilterArrayOutput ¶ added in v5.27.0
type GetInstancesFilterArrayOutput struct{ *pulumi.OutputState }
func (GetInstancesFilterArrayOutput) ElementType ¶ added in v5.27.0
func (GetInstancesFilterArrayOutput) ElementType() reflect.Type
func (GetInstancesFilterArrayOutput) Index ¶ added in v5.27.0
func (o GetInstancesFilterArrayOutput) Index(i pulumi.IntInput) GetInstancesFilterOutput
func (GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutput ¶ added in v5.27.0
func (o GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutput() GetInstancesFilterArrayOutput
func (GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutputWithContext ¶ added in v5.27.0
func (o GetInstancesFilterArrayOutput) ToGetInstancesFilterArrayOutputWithContext(ctx context.Context) GetInstancesFilterArrayOutput
type GetInstancesFilterInput ¶ added in v5.27.0
type GetInstancesFilterInput interface { pulumi.Input ToGetInstancesFilterOutput() GetInstancesFilterOutput ToGetInstancesFilterOutputWithContext(context.Context) GetInstancesFilterOutput }
GetInstancesFilterInput is an input type that accepts GetInstancesFilterArgs and GetInstancesFilterOutput values. You can construct a concrete instance of `GetInstancesFilterInput` via:
GetInstancesFilterArgs{...}
type GetInstancesFilterOutput ¶ added in v5.27.0
type GetInstancesFilterOutput struct{ *pulumi.OutputState }
func (GetInstancesFilterOutput) ElementType ¶ added in v5.27.0
func (GetInstancesFilterOutput) ElementType() reflect.Type
func (GetInstancesFilterOutput) Name ¶ added in v5.27.0
func (o GetInstancesFilterOutput) Name() pulumi.StringOutput
Name of the filter field. Valid values can be found in the [RDS DescribeDBClusters API Reference](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBClusters.html).
func (GetInstancesFilterOutput) ToGetInstancesFilterOutput ¶ added in v5.27.0
func (o GetInstancesFilterOutput) ToGetInstancesFilterOutput() GetInstancesFilterOutput
func (GetInstancesFilterOutput) ToGetInstancesFilterOutputWithContext ¶ added in v5.27.0
func (o GetInstancesFilterOutput) ToGetInstancesFilterOutputWithContext(ctx context.Context) GetInstancesFilterOutput
func (GetInstancesFilterOutput) Values ¶ added in v5.27.0
func (o GetInstancesFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given filter field. Results will be selected if any given value matches.
type GetInstancesOutputArgs ¶ added in v5.27.0
type GetInstancesOutputArgs struct { // Configuration block(s) for filtering. Detailed below. Filters GetInstancesFilterArrayInput `pulumi:"filters"` }
A collection of arguments for invoking getInstances.
func (GetInstancesOutputArgs) ElementType ¶ added in v5.27.0
func (GetInstancesOutputArgs) ElementType() reflect.Type
type GetInstancesResult ¶ added in v5.27.0
type GetInstancesResult struct { Filters []GetInstancesFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // ARNs of the matched RDS instances. InstanceArns []string `pulumi:"instanceArns"` // Identifiers of the matched RDS instances. InstanceIdentifiers []string `pulumi:"instanceIdentifiers"` }
A collection of values returned by getInstances.
func GetInstances ¶ added in v5.27.0
func GetInstances(ctx *pulumi.Context, args *GetInstancesArgs, opts ...pulumi.InvokeOption) (*GetInstancesResult, error)
Data source for listing RDS Database Instances.
## Example Usage ### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.GetInstances(ctx, &rds.GetInstancesArgs{ Filters: []rds.GetInstancesFilter{ { Name: "db-instance-id", Values: []string{ "my-database-id", }, }, }, }, nil) if err != nil { return err } return nil }) }
```
type GetInstancesResultOutput ¶ added in v5.27.0
type GetInstancesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInstances.
func GetInstancesOutput ¶ added in v5.27.0
func GetInstancesOutput(ctx *pulumi.Context, args GetInstancesOutputArgs, opts ...pulumi.InvokeOption) GetInstancesResultOutput
func (GetInstancesResultOutput) ElementType ¶ added in v5.27.0
func (GetInstancesResultOutput) ElementType() reflect.Type
func (GetInstancesResultOutput) Filters ¶ added in v5.27.0
func (o GetInstancesResultOutput) Filters() GetInstancesFilterArrayOutput
func (GetInstancesResultOutput) Id ¶ added in v5.27.0
func (o GetInstancesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetInstancesResultOutput) InstanceArns ¶ added in v5.27.0
func (o GetInstancesResultOutput) InstanceArns() pulumi.StringArrayOutput
ARNs of the matched RDS instances.
func (GetInstancesResultOutput) InstanceIdentifiers ¶ added in v5.27.0
func (o GetInstancesResultOutput) InstanceIdentifiers() pulumi.StringArrayOutput
Identifiers of the matched RDS instances.
func (GetInstancesResultOutput) ToGetInstancesResultOutput ¶ added in v5.27.0
func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput
func (GetInstancesResultOutput) ToGetInstancesResultOutputWithContext ¶ added in v5.27.0
func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput
type GetOrderableDbInstanceArgs ¶
type GetOrderableDbInstanceArgs struct { // Availability zone group. AvailabilityZoneGroup *string `pulumi:"availabilityZoneGroup"` // DB engine. Engine values include `aurora`, `aurora-mysql`, `aurora-postgresql`, `docdb`, `mariadb`, `mysql`, `neptune`, `oracle-ee`, `oracle-se`, `oracle-se1`, `oracle-se2`, `postgres`, `sqlserver-ee`, `sqlserver-ex`, `sqlserver-se`, and `sqlserver-web`. Engine string `pulumi:"engine"` // Version of the DB engine. If none is provided, the AWS-defined default version will be used. EngineVersion *string `pulumi:"engineVersion"` // DB instance class. Examples of classes are `db.m3.2xlarge`, `db.t2.small`, and `db.m3.medium`. InstanceClass *string `pulumi:"instanceClass"` // License model. Examples of license models are `general-public-license`, `bring-your-own-license`, and `amazon-license`. LicenseModel *string `pulumi:"licenseModel"` // Ordered list of preferred RDS DB instance engine versions. 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. PreferredEngineVersions []string `pulumi:"preferredEngineVersions"` // Ordered list of preferred RDS DB instance classes. 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. PreferredInstanceClasses []string `pulumi:"preferredInstanceClasses"` // Storage types. Examples of storage types are `standard`, `io1`, `gp2`, and `aurora`. StorageType *string `pulumi:"storageType"` // Enable this to ensure a DB instance supports Enhanced Monitoring at intervals from 1 to 60 seconds. SupportsEnhancedMonitoring *bool `pulumi:"supportsEnhancedMonitoring"` // Enable this to ensure a DB instance supports Aurora global databases with a specific combination of other DB engine attributes. SupportsGlobalDatabases *bool `pulumi:"supportsGlobalDatabases"` // Enable this to ensure a DB instance supports IAM database authentication. SupportsIamDatabaseAuthentication *bool `pulumi:"supportsIamDatabaseAuthentication"` // Enable this to ensure a DB instance supports provisioned IOPS. SupportsIops *bool `pulumi:"supportsIops"` // Enable this to ensure a DB instance supports Kerberos Authentication. SupportsKerberosAuthentication *bool `pulumi:"supportsKerberosAuthentication"` // Enable this to ensure a DB instance supports Performance Insights. SupportsPerformanceInsights *bool `pulumi:"supportsPerformanceInsights"` // Enable this to ensure Amazon RDS can automatically scale storage for DB instances that use the specified DB instance class. SupportsStorageAutoscaling *bool `pulumi:"supportsStorageAutoscaling"` // Enable this to ensure a DB instance supports encrypted storage. SupportsStorageEncryption *bool `pulumi:"supportsStorageEncryption"` // Boolean that indicates whether to show only VPC or non-VPC offerings. Vpc *bool `pulumi:"vpc"` }
A collection of arguments for invoking getOrderableDbInstance.
type GetOrderableDbInstanceOutputArgs ¶
type GetOrderableDbInstanceOutputArgs struct { // Availability zone group. AvailabilityZoneGroup pulumi.StringPtrInput `pulumi:"availabilityZoneGroup"` // DB engine. Engine values include `aurora`, `aurora-mysql`, `aurora-postgresql`, `docdb`, `mariadb`, `mysql`, `neptune`, `oracle-ee`, `oracle-se`, `oracle-se1`, `oracle-se2`, `postgres`, `sqlserver-ee`, `sqlserver-ex`, `sqlserver-se`, and `sqlserver-web`. Engine pulumi.StringInput `pulumi:"engine"` // Version of the DB engine. If none is provided, the AWS-defined default version will be used. EngineVersion pulumi.StringPtrInput `pulumi:"engineVersion"` // DB instance class. Examples of classes are `db.m3.2xlarge`, `db.t2.small`, and `db.m3.medium`. InstanceClass pulumi.StringPtrInput `pulumi:"instanceClass"` // License model. Examples of license models are `general-public-license`, `bring-your-own-license`, and `amazon-license`. LicenseModel pulumi.StringPtrInput `pulumi:"licenseModel"` // Ordered list of preferred RDS DB instance engine versions. 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. PreferredEngineVersions pulumi.StringArrayInput `pulumi:"preferredEngineVersions"` // Ordered list of preferred RDS DB instance classes. 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. PreferredInstanceClasses pulumi.StringArrayInput `pulumi:"preferredInstanceClasses"` // Storage types. Examples of storage types are `standard`, `io1`, `gp2`, and `aurora`. StorageType pulumi.StringPtrInput `pulumi:"storageType"` // Enable this to ensure a DB instance supports Enhanced Monitoring at intervals from 1 to 60 seconds. SupportsEnhancedMonitoring pulumi.BoolPtrInput `pulumi:"supportsEnhancedMonitoring"` // Enable this to ensure a DB instance supports Aurora global databases with a specific combination of other DB engine attributes. SupportsGlobalDatabases pulumi.BoolPtrInput `pulumi:"supportsGlobalDatabases"` // Enable this to ensure a DB instance supports IAM database authentication. SupportsIamDatabaseAuthentication pulumi.BoolPtrInput `pulumi:"supportsIamDatabaseAuthentication"` // Enable this to ensure a DB instance supports provisioned IOPS. SupportsIops pulumi.BoolPtrInput `pulumi:"supportsIops"` // Enable this to ensure a DB instance supports Kerberos Authentication. SupportsKerberosAuthentication pulumi.BoolPtrInput `pulumi:"supportsKerberosAuthentication"` // Enable this to ensure a DB instance supports Performance Insights. SupportsPerformanceInsights pulumi.BoolPtrInput `pulumi:"supportsPerformanceInsights"` // Enable this to ensure Amazon RDS can automatically scale storage for DB instances that use the specified DB instance class. SupportsStorageAutoscaling pulumi.BoolPtrInput `pulumi:"supportsStorageAutoscaling"` // Enable this to ensure a DB instance supports encrypted storage. SupportsStorageEncryption pulumi.BoolPtrInput `pulumi:"supportsStorageEncryption"` // Boolean that indicates whether to show only VPC or non-VPC offerings. Vpc pulumi.BoolPtrInput `pulumi:"vpc"` }
A collection of arguments for invoking getOrderableDbInstance.
func (GetOrderableDbInstanceOutputArgs) ElementType ¶
func (GetOrderableDbInstanceOutputArgs) ElementType() reflect.Type
type GetOrderableDbInstanceResult ¶
type GetOrderableDbInstanceResult struct { AvailabilityZoneGroup string `pulumi:"availabilityZoneGroup"` // Availability zones where the instance is available. AvailabilityZones []string `pulumi:"availabilityZones"` Engine string `pulumi:"engine"` EngineVersion string `pulumi:"engineVersion"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` InstanceClass string `pulumi:"instanceClass"` LicenseModel string `pulumi:"licenseModel"` // Maximum total provisioned IOPS for a DB instance. MaxIopsPerDbInstance int `pulumi:"maxIopsPerDbInstance"` // Maximum provisioned IOPS per GiB for a DB instance. MaxIopsPerGib float64 `pulumi:"maxIopsPerGib"` // Maximum storage size for a DB instance. MaxStorageSize int `pulumi:"maxStorageSize"` // Minimum total provisioned IOPS for a DB instance. MinIopsPerDbInstance int `pulumi:"minIopsPerDbInstance"` // Minimum provisioned IOPS per GiB for a DB instance. MinIopsPerGib float64 `pulumi:"minIopsPerGib"` // Minimum storage size for a DB instance. MinStorageSize int `pulumi:"minStorageSize"` // Whether a DB instance is Multi-AZ capable. MultiAzCapable bool `pulumi:"multiAzCapable"` // Whether a DB instance supports RDS on Outposts. OutpostCapable bool `pulumi:"outpostCapable"` PreferredEngineVersions []string `pulumi:"preferredEngineVersions"` PreferredInstanceClasses []string `pulumi:"preferredInstanceClasses"` // Whether a DB instance can have a read replica. ReadReplicaCapable bool `pulumi:"readReplicaCapable"` StorageType string `pulumi:"storageType"` // A list of the supported DB engine modes. SupportedEngineModes []string `pulumi:"supportedEngineModes"` // The network types supported by the DB instance (`IPV4` or `DUAL`). SupportedNetworkTypes []string `pulumi:"supportedNetworkTypes"` SupportsEnhancedMonitoring bool `pulumi:"supportsEnhancedMonitoring"` SupportsGlobalDatabases bool `pulumi:"supportsGlobalDatabases"` SupportsIamDatabaseAuthentication bool `pulumi:"supportsIamDatabaseAuthentication"` SupportsIops bool `pulumi:"supportsIops"` SupportsKerberosAuthentication bool `pulumi:"supportsKerberosAuthentication"` SupportsPerformanceInsights bool `pulumi:"supportsPerformanceInsights"` SupportsStorageAutoscaling bool `pulumi:"supportsStorageAutoscaling"` SupportsStorageEncryption bool `pulumi:"supportsStorageEncryption"` Vpc bool `pulumi:"vpc"` }
A collection of values returned by getOrderableDbInstance.
func GetOrderableDbInstance ¶
func GetOrderableDbInstance(ctx *pulumi.Context, args *GetOrderableDbInstanceArgs, opts ...pulumi.InvokeOption) (*GetOrderableDbInstanceResult, error)
Information about RDS orderable DB instances and valid parameter combinations.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.GetOrderableDbInstance(ctx, &rds.GetOrderableDbInstanceArgs{ Engine: "mysql", EngineVersion: pulumi.StringRef("5.7.22"), LicenseModel: pulumi.StringRef("general-public-license"), PreferredInstanceClasses: []string{ "db.r6.xlarge", "db.m4.large", "db.t3.small", }, StorageType: pulumi.StringRef("standard"), }, nil) if err != nil { return err } return nil }) }
```
Valid parameter combinations can also be found with `preferredEngineVersions` and/or `preferredInstanceClasses`.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.GetOrderableDbInstance(ctx, &rds.GetOrderableDbInstanceArgs{ Engine: "mysql", LicenseModel: pulumi.StringRef("general-public-license"), PreferredEngineVersions: []string{ "5.6.35", "5.6.41", "5.6.44", }, PreferredInstanceClasses: []string{ "db.t2.small", "db.t3.medium", "db.t3.large", }, }, nil) if err != nil { return err } return nil }) }
```
type GetOrderableDbInstanceResultOutput ¶
type GetOrderableDbInstanceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getOrderableDbInstance.
func GetOrderableDbInstanceOutput ¶
func GetOrderableDbInstanceOutput(ctx *pulumi.Context, args GetOrderableDbInstanceOutputArgs, opts ...pulumi.InvokeOption) GetOrderableDbInstanceResultOutput
func (GetOrderableDbInstanceResultOutput) AvailabilityZoneGroup ¶
func (o GetOrderableDbInstanceResultOutput) AvailabilityZoneGroup() pulumi.StringOutput
func (GetOrderableDbInstanceResultOutput) AvailabilityZones ¶
func (o GetOrderableDbInstanceResultOutput) AvailabilityZones() pulumi.StringArrayOutput
Availability zones where the instance is available.
func (GetOrderableDbInstanceResultOutput) ElementType ¶
func (GetOrderableDbInstanceResultOutput) ElementType() reflect.Type
func (GetOrderableDbInstanceResultOutput) Engine ¶
func (o GetOrderableDbInstanceResultOutput) Engine() pulumi.StringOutput
func (GetOrderableDbInstanceResultOutput) EngineVersion ¶
func (o GetOrderableDbInstanceResultOutput) EngineVersion() pulumi.StringOutput
func (GetOrderableDbInstanceResultOutput) Id ¶
func (o GetOrderableDbInstanceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetOrderableDbInstanceResultOutput) InstanceClass ¶
func (o GetOrderableDbInstanceResultOutput) InstanceClass() pulumi.StringOutput
func (GetOrderableDbInstanceResultOutput) LicenseModel ¶
func (o GetOrderableDbInstanceResultOutput) LicenseModel() pulumi.StringOutput
func (GetOrderableDbInstanceResultOutput) MaxIopsPerDbInstance ¶
func (o GetOrderableDbInstanceResultOutput) MaxIopsPerDbInstance() pulumi.IntOutput
Maximum total provisioned IOPS for a DB instance.
func (GetOrderableDbInstanceResultOutput) MaxIopsPerGib ¶
func (o GetOrderableDbInstanceResultOutput) MaxIopsPerGib() pulumi.Float64Output
Maximum provisioned IOPS per GiB for a DB instance.
func (GetOrderableDbInstanceResultOutput) MaxStorageSize ¶
func (o GetOrderableDbInstanceResultOutput) MaxStorageSize() pulumi.IntOutput
Maximum storage size for a DB instance.
func (GetOrderableDbInstanceResultOutput) MinIopsPerDbInstance ¶
func (o GetOrderableDbInstanceResultOutput) MinIopsPerDbInstance() pulumi.IntOutput
Minimum total provisioned IOPS for a DB instance.
func (GetOrderableDbInstanceResultOutput) MinIopsPerGib ¶
func (o GetOrderableDbInstanceResultOutput) MinIopsPerGib() pulumi.Float64Output
Minimum provisioned IOPS per GiB for a DB instance.
func (GetOrderableDbInstanceResultOutput) MinStorageSize ¶
func (o GetOrderableDbInstanceResultOutput) MinStorageSize() pulumi.IntOutput
Minimum storage size for a DB instance.
func (GetOrderableDbInstanceResultOutput) MultiAzCapable ¶
func (o GetOrderableDbInstanceResultOutput) MultiAzCapable() pulumi.BoolOutput
Whether a DB instance is Multi-AZ capable.
func (GetOrderableDbInstanceResultOutput) OutpostCapable ¶
func (o GetOrderableDbInstanceResultOutput) OutpostCapable() pulumi.BoolOutput
Whether a DB instance supports RDS on Outposts.
func (GetOrderableDbInstanceResultOutput) PreferredEngineVersions ¶
func (o GetOrderableDbInstanceResultOutput) PreferredEngineVersions() pulumi.StringArrayOutput
func (GetOrderableDbInstanceResultOutput) PreferredInstanceClasses ¶
func (o GetOrderableDbInstanceResultOutput) PreferredInstanceClasses() pulumi.StringArrayOutput
func (GetOrderableDbInstanceResultOutput) ReadReplicaCapable ¶
func (o GetOrderableDbInstanceResultOutput) ReadReplicaCapable() pulumi.BoolOutput
Whether a DB instance can have a read replica.
func (GetOrderableDbInstanceResultOutput) StorageType ¶
func (o GetOrderableDbInstanceResultOutput) StorageType() pulumi.StringOutput
func (GetOrderableDbInstanceResultOutput) SupportedEngineModes ¶
func (o GetOrderableDbInstanceResultOutput) SupportedEngineModes() pulumi.StringArrayOutput
A list of the supported DB engine modes.
func (GetOrderableDbInstanceResultOutput) SupportedNetworkTypes ¶ added in v5.13.0
func (o GetOrderableDbInstanceResultOutput) SupportedNetworkTypes() pulumi.StringArrayOutput
The network types supported by the DB instance (`IPV4` or `DUAL`).
func (GetOrderableDbInstanceResultOutput) SupportsEnhancedMonitoring ¶
func (o GetOrderableDbInstanceResultOutput) SupportsEnhancedMonitoring() pulumi.BoolOutput
func (GetOrderableDbInstanceResultOutput) SupportsGlobalDatabases ¶
func (o GetOrderableDbInstanceResultOutput) SupportsGlobalDatabases() pulumi.BoolOutput
func (GetOrderableDbInstanceResultOutput) SupportsIamDatabaseAuthentication ¶
func (o GetOrderableDbInstanceResultOutput) SupportsIamDatabaseAuthentication() pulumi.BoolOutput
func (GetOrderableDbInstanceResultOutput) SupportsIops ¶
func (o GetOrderableDbInstanceResultOutput) SupportsIops() pulumi.BoolOutput
func (GetOrderableDbInstanceResultOutput) SupportsKerberosAuthentication ¶
func (o GetOrderableDbInstanceResultOutput) SupportsKerberosAuthentication() pulumi.BoolOutput
func (GetOrderableDbInstanceResultOutput) SupportsPerformanceInsights ¶
func (o GetOrderableDbInstanceResultOutput) SupportsPerformanceInsights() pulumi.BoolOutput
func (GetOrderableDbInstanceResultOutput) SupportsStorageAutoscaling ¶
func (o GetOrderableDbInstanceResultOutput) SupportsStorageAutoscaling() pulumi.BoolOutput
func (GetOrderableDbInstanceResultOutput) SupportsStorageEncryption ¶
func (o GetOrderableDbInstanceResultOutput) SupportsStorageEncryption() pulumi.BoolOutput
func (GetOrderableDbInstanceResultOutput) ToGetOrderableDbInstanceResultOutput ¶
func (o GetOrderableDbInstanceResultOutput) ToGetOrderableDbInstanceResultOutput() GetOrderableDbInstanceResultOutput
func (GetOrderableDbInstanceResultOutput) ToGetOrderableDbInstanceResultOutputWithContext ¶
func (o GetOrderableDbInstanceResultOutput) ToGetOrderableDbInstanceResultOutputWithContext(ctx context.Context) GetOrderableDbInstanceResultOutput
func (GetOrderableDbInstanceResultOutput) Vpc ¶
func (o GetOrderableDbInstanceResultOutput) Vpc() pulumi.BoolOutput
type GetProxyAuth ¶
type GetProxyAuthArgs ¶
type GetProxyAuthArgs struct { AuthScheme pulumi.StringInput `pulumi:"authScheme"` Description pulumi.StringInput `pulumi:"description"` IamAuth pulumi.StringInput `pulumi:"iamAuth"` SecretArn pulumi.StringInput `pulumi:"secretArn"` Username pulumi.StringInput `pulumi:"username"` }
func (GetProxyAuthArgs) ElementType ¶
func (GetProxyAuthArgs) ElementType() reflect.Type
func (GetProxyAuthArgs) ToGetProxyAuthOutput ¶
func (i GetProxyAuthArgs) ToGetProxyAuthOutput() GetProxyAuthOutput
func (GetProxyAuthArgs) ToGetProxyAuthOutputWithContext ¶
func (i GetProxyAuthArgs) ToGetProxyAuthOutputWithContext(ctx context.Context) GetProxyAuthOutput
type GetProxyAuthArray ¶
type GetProxyAuthArray []GetProxyAuthInput
func (GetProxyAuthArray) ElementType ¶
func (GetProxyAuthArray) ElementType() reflect.Type
func (GetProxyAuthArray) ToGetProxyAuthArrayOutput ¶
func (i GetProxyAuthArray) ToGetProxyAuthArrayOutput() GetProxyAuthArrayOutput
func (GetProxyAuthArray) ToGetProxyAuthArrayOutputWithContext ¶
func (i GetProxyAuthArray) ToGetProxyAuthArrayOutputWithContext(ctx context.Context) GetProxyAuthArrayOutput
type GetProxyAuthArrayInput ¶
type GetProxyAuthArrayInput interface { pulumi.Input ToGetProxyAuthArrayOutput() GetProxyAuthArrayOutput ToGetProxyAuthArrayOutputWithContext(context.Context) GetProxyAuthArrayOutput }
GetProxyAuthArrayInput is an input type that accepts GetProxyAuthArray and GetProxyAuthArrayOutput values. You can construct a concrete instance of `GetProxyAuthArrayInput` via:
GetProxyAuthArray{ GetProxyAuthArgs{...} }
type GetProxyAuthArrayOutput ¶
type GetProxyAuthArrayOutput struct{ *pulumi.OutputState }
func (GetProxyAuthArrayOutput) ElementType ¶
func (GetProxyAuthArrayOutput) ElementType() reflect.Type
func (GetProxyAuthArrayOutput) Index ¶
func (o GetProxyAuthArrayOutput) Index(i pulumi.IntInput) GetProxyAuthOutput
func (GetProxyAuthArrayOutput) ToGetProxyAuthArrayOutput ¶
func (o GetProxyAuthArrayOutput) ToGetProxyAuthArrayOutput() GetProxyAuthArrayOutput
func (GetProxyAuthArrayOutput) ToGetProxyAuthArrayOutputWithContext ¶
func (o GetProxyAuthArrayOutput) ToGetProxyAuthArrayOutputWithContext(ctx context.Context) GetProxyAuthArrayOutput
type GetProxyAuthInput ¶
type GetProxyAuthInput interface { pulumi.Input ToGetProxyAuthOutput() GetProxyAuthOutput ToGetProxyAuthOutputWithContext(context.Context) GetProxyAuthOutput }
GetProxyAuthInput is an input type that accepts GetProxyAuthArgs and GetProxyAuthOutput values. You can construct a concrete instance of `GetProxyAuthInput` via:
GetProxyAuthArgs{...}
type GetProxyAuthOutput ¶
type GetProxyAuthOutput struct{ *pulumi.OutputState }
func (GetProxyAuthOutput) AuthScheme ¶
func (o GetProxyAuthOutput) AuthScheme() pulumi.StringOutput
func (GetProxyAuthOutput) Description ¶
func (o GetProxyAuthOutput) Description() pulumi.StringOutput
func (GetProxyAuthOutput) ElementType ¶
func (GetProxyAuthOutput) ElementType() reflect.Type
func (GetProxyAuthOutput) IamAuth ¶
func (o GetProxyAuthOutput) IamAuth() pulumi.StringOutput
func (GetProxyAuthOutput) SecretArn ¶
func (o GetProxyAuthOutput) SecretArn() pulumi.StringOutput
func (GetProxyAuthOutput) ToGetProxyAuthOutput ¶
func (o GetProxyAuthOutput) ToGetProxyAuthOutput() GetProxyAuthOutput
func (GetProxyAuthOutput) ToGetProxyAuthOutputWithContext ¶
func (o GetProxyAuthOutput) ToGetProxyAuthOutputWithContext(ctx context.Context) GetProxyAuthOutput
func (GetProxyAuthOutput) Username ¶ added in v5.3.0
func (o GetProxyAuthOutput) Username() pulumi.StringOutput
type GetReservedInstanceOfferingArgs ¶ added in v5.18.0
type GetReservedInstanceOfferingArgs struct { // DB instance class for the reserved DB instance. DbInstanceClass string `pulumi:"dbInstanceClass"` // Duration of the reservation in seconds. Duration int `pulumi:"duration"` // Whether the reservation applies to Multi-AZ deployments. MultiAz bool `pulumi:"multiAz"` // Offering type of this reserved DB instance. OfferingType string `pulumi:"offeringType"` // Description of the reserved DB instance. ProductDescription string `pulumi:"productDescription"` }
A collection of arguments for invoking getReservedInstanceOffering.
type GetReservedInstanceOfferingOutputArgs ¶ added in v5.18.0
type GetReservedInstanceOfferingOutputArgs struct { // DB instance class for the reserved DB instance. DbInstanceClass pulumi.StringInput `pulumi:"dbInstanceClass"` // Duration of the reservation in seconds. Duration pulumi.IntInput `pulumi:"duration"` // Whether the reservation applies to Multi-AZ deployments. MultiAz pulumi.BoolInput `pulumi:"multiAz"` // Offering type of this reserved DB instance. OfferingType pulumi.StringInput `pulumi:"offeringType"` // Description of the reserved DB instance. ProductDescription pulumi.StringInput `pulumi:"productDescription"` }
A collection of arguments for invoking getReservedInstanceOffering.
func (GetReservedInstanceOfferingOutputArgs) ElementType ¶ added in v5.18.0
func (GetReservedInstanceOfferingOutputArgs) ElementType() reflect.Type
type GetReservedInstanceOfferingResult ¶ added in v5.18.0
type GetReservedInstanceOfferingResult struct { // Currency code for the reserved DB instance. CurrencyCode string `pulumi:"currencyCode"` DbInstanceClass string `pulumi:"dbInstanceClass"` Duration int `pulumi:"duration"` // Fixed price charged for this reserved DB instance. FixedPrice float64 `pulumi:"fixedPrice"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` MultiAz bool `pulumi:"multiAz"` // Unique identifier for the reservation. OfferingId string `pulumi:"offeringId"` OfferingType string `pulumi:"offeringType"` ProductDescription string `pulumi:"productDescription"` }
A collection of values returned by getReservedInstanceOffering.
func GetReservedInstanceOffering ¶ added in v5.18.0
func GetReservedInstanceOffering(ctx *pulumi.Context, args *GetReservedInstanceOfferingArgs, opts ...pulumi.InvokeOption) (*GetReservedInstanceOfferingResult, error)
Information about a single RDS Reserved Instance Offering.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.GetReservedInstanceOffering(ctx, &rds.GetReservedInstanceOfferingArgs{ DbInstanceClass: "db.t2.micro", Duration: 31536000, MultiAz: false, OfferingType: "All Upfront", ProductDescription: "mysql", }, nil) if err != nil { return err } return nil }) }
```
type GetReservedInstanceOfferingResultOutput ¶ added in v5.18.0
type GetReservedInstanceOfferingResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getReservedInstanceOffering.
func GetReservedInstanceOfferingOutput ¶ added in v5.18.0
func GetReservedInstanceOfferingOutput(ctx *pulumi.Context, args GetReservedInstanceOfferingOutputArgs, opts ...pulumi.InvokeOption) GetReservedInstanceOfferingResultOutput
func (GetReservedInstanceOfferingResultOutput) CurrencyCode ¶ added in v5.18.0
func (o GetReservedInstanceOfferingResultOutput) CurrencyCode() pulumi.StringOutput
Currency code for the reserved DB instance.
func (GetReservedInstanceOfferingResultOutput) DbInstanceClass ¶ added in v5.18.0
func (o GetReservedInstanceOfferingResultOutput) DbInstanceClass() pulumi.StringOutput
func (GetReservedInstanceOfferingResultOutput) Duration ¶ added in v5.18.0
func (o GetReservedInstanceOfferingResultOutput) Duration() pulumi.IntOutput
func (GetReservedInstanceOfferingResultOutput) ElementType ¶ added in v5.18.0
func (GetReservedInstanceOfferingResultOutput) ElementType() reflect.Type
func (GetReservedInstanceOfferingResultOutput) FixedPrice ¶ added in v5.18.0
func (o GetReservedInstanceOfferingResultOutput) FixedPrice() pulumi.Float64Output
Fixed price charged for this reserved DB instance.
func (GetReservedInstanceOfferingResultOutput) Id ¶ added in v5.18.0
func (o GetReservedInstanceOfferingResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetReservedInstanceOfferingResultOutput) MultiAz ¶ added in v5.18.0
func (o GetReservedInstanceOfferingResultOutput) MultiAz() pulumi.BoolOutput
func (GetReservedInstanceOfferingResultOutput) OfferingId ¶ added in v5.18.0
func (o GetReservedInstanceOfferingResultOutput) OfferingId() pulumi.StringOutput
Unique identifier for the reservation.
func (GetReservedInstanceOfferingResultOutput) OfferingType ¶ added in v5.18.0
func (o GetReservedInstanceOfferingResultOutput) OfferingType() pulumi.StringOutput
func (GetReservedInstanceOfferingResultOutput) ProductDescription ¶ added in v5.18.0
func (o GetReservedInstanceOfferingResultOutput) ProductDescription() pulumi.StringOutput
func (GetReservedInstanceOfferingResultOutput) ToGetReservedInstanceOfferingResultOutput ¶ added in v5.18.0
func (o GetReservedInstanceOfferingResultOutput) ToGetReservedInstanceOfferingResultOutput() GetReservedInstanceOfferingResultOutput
func (GetReservedInstanceOfferingResultOutput) ToGetReservedInstanceOfferingResultOutputWithContext ¶ added in v5.18.0
func (o GetReservedInstanceOfferingResultOutput) ToGetReservedInstanceOfferingResultOutputWithContext(ctx context.Context) GetReservedInstanceOfferingResultOutput
type GlobalCluster ¶
type GlobalCluster struct { pulumi.CustomResourceState // RDS Global Cluster Amazon Resource Name (ARN) Arn pulumi.StringOutput `pulumi:"arn"` // Name for an automatically created database on cluster creation. DatabaseName pulumi.StringPtrOutput `pulumi:"databaseName"` // If the Global Cluster should have deletion protection enabled. The database can't be deleted when this value is set to `true`. The default is `false`. DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"` // Name of the database engine to be used for this DB cluster. The provider will only perform drift detection if a configuration value is provided. Valid values: `aurora`, `aurora-mysql`, `aurora-postgresql`. Defaults to `aurora`. Conflicts with `sourceDbClusterIdentifier`. Engine pulumi.StringOutput `pulumi:"engine"` // Engine version of the Aurora global database. The `engine`, `engineVersion`, and `instanceClass` (on the `rds.ClusterInstance`) must together support global databases. See [Using Amazon Aurora global databases](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html) for more information. By upgrading the engine version, the provider will upgrade cluster members. **NOTE:** To avoid an `inconsistent final plan` error while upgrading, use the `lifecycle` `ignoreChanges` for `engineVersion` meta argument on the associated `rds.Cluster` resource as shown above in Upgrading Engine Versions example. EngineVersion pulumi.StringOutput `pulumi:"engineVersion"` EngineVersionActual pulumi.StringOutput `pulumi:"engineVersionActual"` // Enable to remove DB Cluster members from Global Cluster on destroy. Required with `sourceDbClusterIdentifier`. ForceDestroy pulumi.BoolPtrOutput `pulumi:"forceDestroy"` // Global cluster identifier. GlobalClusterIdentifier pulumi.StringOutput `pulumi:"globalClusterIdentifier"` // Set of objects containing Global Cluster members. GlobalClusterMembers GlobalClusterGlobalClusterMemberArrayOutput `pulumi:"globalClusterMembers"` // AWS Region-unique, immutable identifier for the global database cluster. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS key for the DB cluster is accessed GlobalClusterResourceId pulumi.StringOutput `pulumi:"globalClusterResourceId"` // Amazon Resource Name (ARN) to use as the primary DB Cluster of the Global Cluster on creation. The provider cannot perform drift detection of this value. SourceDbClusterIdentifier pulumi.StringOutput `pulumi:"sourceDbClusterIdentifier"` // Specifies whether the DB cluster is encrypted. The default is `false` unless `sourceDbClusterIdentifier` is specified and encrypted. The provider will only perform drift detection if a configuration value is provided. StorageEncrypted pulumi.BoolOutput `pulumi:"storageEncrypted"` }
Manages an RDS Global Cluster, which is an Aurora global database spread across multiple regions. The global database contains a single primary cluster with read-write capability, and a read-only secondary cluster that receives data from the primary cluster through high-speed replication performed by the Aurora storage subsystem.
More information about Aurora global databases can be found in the [Aurora User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html#aurora-global-database-creating).
## Example Usage ### New MySQL Global Cluster
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := rds.NewGlobalCluster(ctx, "example", &rds.GlobalClusterArgs{ GlobalClusterIdentifier: pulumi.String("global-test"), Engine: pulumi.String("aurora"), EngineVersion: pulumi.String("5.6.mysql_aurora.1.22.2"), DatabaseName: pulumi.String("example_db"), }) if err != nil { return err } primaryCluster, err := rds.NewCluster(ctx, "primaryCluster", &rds.ClusterArgs{ Engine: example.Engine, EngineVersion: example.EngineVersion, ClusterIdentifier: pulumi.String("test-primary-cluster"), MasterUsername: pulumi.String("username"), MasterPassword: pulumi.String("somepass123"), DatabaseName: pulumi.String("example_db"), GlobalClusterIdentifier: example.ID(), DbSubnetGroupName: pulumi.String("default"), }, pulumi.Provider(aws.Primary)) if err != nil { return err } primaryClusterInstance, err := rds.NewClusterInstance(ctx, "primaryClusterInstance", &rds.ClusterInstanceArgs{ Engine: example.Engine, EngineVersion: example.EngineVersion, Identifier: pulumi.String("test-primary-cluster-instance"), ClusterIdentifier: primaryCluster.ID(), InstanceClass: pulumi.String("db.r4.large"), DbSubnetGroupName: pulumi.String("default"), }, pulumi.Provider(aws.Primary)) if err != nil { return err } secondaryCluster, err := rds.NewCluster(ctx, "secondaryCluster", &rds.ClusterArgs{ Engine: example.Engine, EngineVersion: example.EngineVersion, ClusterIdentifier: pulumi.String("test-secondary-cluster"), GlobalClusterIdentifier: example.ID(), DbSubnetGroupName: pulumi.String("default"), }, pulumi.Provider(aws.Secondary), pulumi.DependsOn([]pulumi.Resource{ primaryClusterInstance, })) if err != nil { return err } _, err = rds.NewClusterInstance(ctx, "secondaryClusterInstance", &rds.ClusterInstanceArgs{ Engine: example.Engine, EngineVersion: example.EngineVersion, Identifier: pulumi.String("test-secondary-cluster-instance"), ClusterIdentifier: secondaryCluster.ID(), InstanceClass: pulumi.String("db.r4.large"), DbSubnetGroupName: pulumi.String("default"), }, pulumi.Provider(aws.Secondary)) if err != nil { return err } return nil }) }
``` ### New PostgreSQL Global Cluster
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := aws.NewProvider(ctx, "primary", &aws.ProviderArgs{ Region: pulumi.String("us-east-2"), }) if err != nil { return err } _, err = aws.NewProvider(ctx, "secondary", &aws.ProviderArgs{ Region: pulumi.String("us-east-1"), }) if err != nil { return err } example, err := rds.NewGlobalCluster(ctx, "example", &rds.GlobalClusterArgs{ GlobalClusterIdentifier: pulumi.String("global-test"), Engine: pulumi.String("aurora-postgresql"), EngineVersion: pulumi.String("11.9"), DatabaseName: pulumi.String("example_db"), }) if err != nil { return err } primaryCluster, err := rds.NewCluster(ctx, "primaryCluster", &rds.ClusterArgs{ Engine: example.Engine, EngineVersion: example.EngineVersion, ClusterIdentifier: pulumi.String("test-primary-cluster"), MasterUsername: pulumi.String("username"), MasterPassword: pulumi.String("somepass123"), DatabaseName: pulumi.String("example_db"), GlobalClusterIdentifier: example.ID(), DbSubnetGroupName: pulumi.String("default"), }, pulumi.Provider(aws.Primary)) if err != nil { return err } primaryClusterInstance, err := rds.NewClusterInstance(ctx, "primaryClusterInstance", &rds.ClusterInstanceArgs{ Engine: example.Engine, EngineVersion: example.EngineVersion, Identifier: pulumi.String("test-primary-cluster-instance"), ClusterIdentifier: primaryCluster.ID(), InstanceClass: pulumi.String("db.r4.large"), DbSubnetGroupName: pulumi.String("default"), }, pulumi.Provider(aws.Primary)) if err != nil { return err } secondaryCluster, err := rds.NewCluster(ctx, "secondaryCluster", &rds.ClusterArgs{ Engine: example.Engine, EngineVersion: example.EngineVersion, ClusterIdentifier: pulumi.String("test-secondary-cluster"), GlobalClusterIdentifier: example.ID(), SkipFinalSnapshot: pulumi.Bool(true), DbSubnetGroupName: pulumi.String("default"), }, pulumi.Provider(aws.Secondary), pulumi.DependsOn([]pulumi.Resource{ primaryClusterInstance, })) if err != nil { return err } _, err = rds.NewClusterInstance(ctx, "secondaryClusterInstance", &rds.ClusterInstanceArgs{ Engine: example.Engine, EngineVersion: example.EngineVersion, Identifier: pulumi.String("test-secondary-cluster-instance"), ClusterIdentifier: secondaryCluster.ID(), InstanceClass: pulumi.String("db.r4.large"), DbSubnetGroupName: pulumi.String("default"), }, pulumi.Provider(aws.Secondary)) if err != nil { return err } return nil }) }
``` ### New Global Cluster From Existing DB Cluster
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleCluster, err := rds.NewCluster(ctx, "exampleCluster", nil) if err != nil { return err } _, err = rds.NewGlobalCluster(ctx, "exampleGlobalCluster", &rds.GlobalClusterArgs{ ForceDestroy: pulumi.Bool(true), GlobalClusterIdentifier: pulumi.String("example"), SourceDbClusterIdentifier: exampleCluster.Arn, }) if err != nil { return err } return nil }) }
``` ### Upgrading Engine Versions
When you upgrade the version of an `rds.GlobalCluster`, the provider will attempt to in-place upgrade the engine versions of all associated clusters. Since the `rds.Cluster` resource is being updated through the `rds.GlobalCluster`, you are likely to get an error (`Provider produced inconsistent final plan`). To avoid this, use the `lifecycle` `ignoreChanges` meta argument as shown below on the `rds.Cluster`.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := rds.NewGlobalCluster(ctx, "example", &rds.GlobalClusterArgs{ GlobalClusterIdentifier: pulumi.String("kyivkharkiv"), Engine: pulumi.String("aurora-mysql"), EngineVersion: pulumi.String("5.7.mysql_aurora.2.07.5"), }) if err != nil { return err } primaryCluster, err := rds.NewCluster(ctx, "primaryCluster", &rds.ClusterArgs{ AllowMajorVersionUpgrade: pulumi.Bool(true), ApplyImmediately: pulumi.Bool(true), ClusterIdentifier: pulumi.String("odessadnipro"), DatabaseName: pulumi.String("totoro"), Engine: example.Engine, EngineVersion: example.EngineVersion, GlobalClusterIdentifier: example.ID(), MasterPassword: pulumi.String("satsukimae"), MasterUsername: pulumi.String("maesatsuki"), SkipFinalSnapshot: pulumi.Bool(true), }) if err != nil { return err } _, err = rds.NewClusterInstance(ctx, "primaryClusterInstance", &rds.ClusterInstanceArgs{ ApplyImmediately: pulumi.Bool(true), ClusterIdentifier: primaryCluster.ID(), Engine: primaryCluster.Engine, EngineVersion: primaryCluster.EngineVersion, Identifier: pulumi.String("donetsklviv"), InstanceClass: pulumi.String("db.r4.large"), }) if err != nil { return err } return nil }) }
```
## Import
`aws_rds_global_cluster` can be imported by using the RDS Global Cluster identifier, e.g.,
```sh
$ pulumi import aws:rds/globalCluster:GlobalCluster example example
```
Certain resource arguments, like `force_destroy`, only exist within this provider. If the argument is set in the the provider configuration on an imported resource, This provider will show a difference on the first plan after import to update the state value. This change is safe to apply immediately so the state matches the desired configuration. Certain resource arguments, like `source_db_cluster_identifier`, do not have an API method for reading the information after creation. If the argument is set in the provider configuration on an imported resource, the provider will always show a difference. To workaround this behavior, either omit the argument from the the provider configuration or use `ignore_changes` to hide the difference, e.g. terraform resource "aws_rds_global_cluster" "example" {
... other configuration ... ¶
There is no API for reading source_db_cluster_identifier ¶
lifecycle { ignore_changes = [source_db_cluster_identifier] } }
func GetGlobalCluster ¶
func GetGlobalCluster(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GlobalClusterState, opts ...pulumi.ResourceOption) (*GlobalCluster, error)
GetGlobalCluster gets an existing GlobalCluster 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 NewGlobalCluster ¶
func NewGlobalCluster(ctx *pulumi.Context, name string, args *GlobalClusterArgs, opts ...pulumi.ResourceOption) (*GlobalCluster, error)
NewGlobalCluster registers a new resource with the given unique name, arguments, and options.
func (*GlobalCluster) ElementType ¶
func (*GlobalCluster) ElementType() reflect.Type
func (*GlobalCluster) ToGlobalClusterOutput ¶
func (i *GlobalCluster) ToGlobalClusterOutput() GlobalClusterOutput
func (*GlobalCluster) ToGlobalClusterOutputWithContext ¶
func (i *GlobalCluster) ToGlobalClusterOutputWithContext(ctx context.Context) GlobalClusterOutput
type GlobalClusterArgs ¶
type GlobalClusterArgs struct { // Name for an automatically created database on cluster creation. DatabaseName pulumi.StringPtrInput // If the Global Cluster should have deletion protection enabled. The database can't be deleted when this value is set to `true`. The default is `false`. DeletionProtection pulumi.BoolPtrInput // Name of the database engine to be used for this DB cluster. The provider will only perform drift detection if a configuration value is provided. Valid values: `aurora`, `aurora-mysql`, `aurora-postgresql`. Defaults to `aurora`. Conflicts with `sourceDbClusterIdentifier`. Engine pulumi.StringPtrInput // Engine version of the Aurora global database. The `engine`, `engineVersion`, and `instanceClass` (on the `rds.ClusterInstance`) must together support global databases. See [Using Amazon Aurora global databases](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html) for more information. By upgrading the engine version, the provider will upgrade cluster members. **NOTE:** To avoid an `inconsistent final plan` error while upgrading, use the `lifecycle` `ignoreChanges` for `engineVersion` meta argument on the associated `rds.Cluster` resource as shown above in Upgrading Engine Versions example. EngineVersion pulumi.StringPtrInput // Enable to remove DB Cluster members from Global Cluster on destroy. Required with `sourceDbClusterIdentifier`. ForceDestroy pulumi.BoolPtrInput // Global cluster identifier. GlobalClusterIdentifier pulumi.StringInput // Amazon Resource Name (ARN) to use as the primary DB Cluster of the Global Cluster on creation. The provider cannot perform drift detection of this value. SourceDbClusterIdentifier pulumi.StringPtrInput // Specifies whether the DB cluster is encrypted. The default is `false` unless `sourceDbClusterIdentifier` is specified and encrypted. The provider will only perform drift detection if a configuration value is provided. StorageEncrypted pulumi.BoolPtrInput }
The set of arguments for constructing a GlobalCluster resource.
func (GlobalClusterArgs) ElementType ¶
func (GlobalClusterArgs) ElementType() reflect.Type
type GlobalClusterArray ¶
type GlobalClusterArray []GlobalClusterInput
func (GlobalClusterArray) ElementType ¶
func (GlobalClusterArray) ElementType() reflect.Type
func (GlobalClusterArray) ToGlobalClusterArrayOutput ¶
func (i GlobalClusterArray) ToGlobalClusterArrayOutput() GlobalClusterArrayOutput
func (GlobalClusterArray) ToGlobalClusterArrayOutputWithContext ¶
func (i GlobalClusterArray) ToGlobalClusterArrayOutputWithContext(ctx context.Context) GlobalClusterArrayOutput
type GlobalClusterArrayInput ¶
type GlobalClusterArrayInput interface { pulumi.Input ToGlobalClusterArrayOutput() GlobalClusterArrayOutput ToGlobalClusterArrayOutputWithContext(context.Context) GlobalClusterArrayOutput }
GlobalClusterArrayInput is an input type that accepts GlobalClusterArray and GlobalClusterArrayOutput values. You can construct a concrete instance of `GlobalClusterArrayInput` via:
GlobalClusterArray{ GlobalClusterArgs{...} }
type GlobalClusterArrayOutput ¶
type GlobalClusterArrayOutput struct{ *pulumi.OutputState }
func (GlobalClusterArrayOutput) ElementType ¶
func (GlobalClusterArrayOutput) ElementType() reflect.Type
func (GlobalClusterArrayOutput) Index ¶
func (o GlobalClusterArrayOutput) Index(i pulumi.IntInput) GlobalClusterOutput
func (GlobalClusterArrayOutput) ToGlobalClusterArrayOutput ¶
func (o GlobalClusterArrayOutput) ToGlobalClusterArrayOutput() GlobalClusterArrayOutput
func (GlobalClusterArrayOutput) ToGlobalClusterArrayOutputWithContext ¶
func (o GlobalClusterArrayOutput) ToGlobalClusterArrayOutputWithContext(ctx context.Context) GlobalClusterArrayOutput
type GlobalClusterGlobalClusterMemberArgs ¶
type GlobalClusterGlobalClusterMemberArgs struct { // Amazon Resource Name (ARN) of member DB Cluster DbClusterArn pulumi.StringPtrInput `pulumi:"dbClusterArn"` // Whether the member is the primary DB Cluster IsWriter pulumi.BoolPtrInput `pulumi:"isWriter"` }
func (GlobalClusterGlobalClusterMemberArgs) ElementType ¶
func (GlobalClusterGlobalClusterMemberArgs) ElementType() reflect.Type
func (GlobalClusterGlobalClusterMemberArgs) ToGlobalClusterGlobalClusterMemberOutput ¶
func (i GlobalClusterGlobalClusterMemberArgs) ToGlobalClusterGlobalClusterMemberOutput() GlobalClusterGlobalClusterMemberOutput
func (GlobalClusterGlobalClusterMemberArgs) ToGlobalClusterGlobalClusterMemberOutputWithContext ¶
func (i GlobalClusterGlobalClusterMemberArgs) ToGlobalClusterGlobalClusterMemberOutputWithContext(ctx context.Context) GlobalClusterGlobalClusterMemberOutput
type GlobalClusterGlobalClusterMemberArray ¶
type GlobalClusterGlobalClusterMemberArray []GlobalClusterGlobalClusterMemberInput
func (GlobalClusterGlobalClusterMemberArray) ElementType ¶
func (GlobalClusterGlobalClusterMemberArray) ElementType() reflect.Type
func (GlobalClusterGlobalClusterMemberArray) ToGlobalClusterGlobalClusterMemberArrayOutput ¶
func (i GlobalClusterGlobalClusterMemberArray) ToGlobalClusterGlobalClusterMemberArrayOutput() GlobalClusterGlobalClusterMemberArrayOutput
func (GlobalClusterGlobalClusterMemberArray) ToGlobalClusterGlobalClusterMemberArrayOutputWithContext ¶
func (i GlobalClusterGlobalClusterMemberArray) ToGlobalClusterGlobalClusterMemberArrayOutputWithContext(ctx context.Context) GlobalClusterGlobalClusterMemberArrayOutput
type GlobalClusterGlobalClusterMemberArrayInput ¶
type GlobalClusterGlobalClusterMemberArrayInput interface { pulumi.Input ToGlobalClusterGlobalClusterMemberArrayOutput() GlobalClusterGlobalClusterMemberArrayOutput ToGlobalClusterGlobalClusterMemberArrayOutputWithContext(context.Context) GlobalClusterGlobalClusterMemberArrayOutput }
GlobalClusterGlobalClusterMemberArrayInput is an input type that accepts GlobalClusterGlobalClusterMemberArray and GlobalClusterGlobalClusterMemberArrayOutput values. You can construct a concrete instance of `GlobalClusterGlobalClusterMemberArrayInput` via:
GlobalClusterGlobalClusterMemberArray{ GlobalClusterGlobalClusterMemberArgs{...} }
type GlobalClusterGlobalClusterMemberArrayOutput ¶
type GlobalClusterGlobalClusterMemberArrayOutput struct{ *pulumi.OutputState }
func (GlobalClusterGlobalClusterMemberArrayOutput) ElementType ¶
func (GlobalClusterGlobalClusterMemberArrayOutput) ElementType() reflect.Type
func (GlobalClusterGlobalClusterMemberArrayOutput) ToGlobalClusterGlobalClusterMemberArrayOutput ¶
func (o GlobalClusterGlobalClusterMemberArrayOutput) ToGlobalClusterGlobalClusterMemberArrayOutput() GlobalClusterGlobalClusterMemberArrayOutput
func (GlobalClusterGlobalClusterMemberArrayOutput) ToGlobalClusterGlobalClusterMemberArrayOutputWithContext ¶
func (o GlobalClusterGlobalClusterMemberArrayOutput) ToGlobalClusterGlobalClusterMemberArrayOutputWithContext(ctx context.Context) GlobalClusterGlobalClusterMemberArrayOutput
type GlobalClusterGlobalClusterMemberInput ¶
type GlobalClusterGlobalClusterMemberInput interface { pulumi.Input ToGlobalClusterGlobalClusterMemberOutput() GlobalClusterGlobalClusterMemberOutput ToGlobalClusterGlobalClusterMemberOutputWithContext(context.Context) GlobalClusterGlobalClusterMemberOutput }
GlobalClusterGlobalClusterMemberInput is an input type that accepts GlobalClusterGlobalClusterMemberArgs and GlobalClusterGlobalClusterMemberOutput values. You can construct a concrete instance of `GlobalClusterGlobalClusterMemberInput` via:
GlobalClusterGlobalClusterMemberArgs{...}
type GlobalClusterGlobalClusterMemberOutput ¶
type GlobalClusterGlobalClusterMemberOutput struct{ *pulumi.OutputState }
func (GlobalClusterGlobalClusterMemberOutput) DbClusterArn ¶
func (o GlobalClusterGlobalClusterMemberOutput) DbClusterArn() pulumi.StringPtrOutput
Amazon Resource Name (ARN) of member DB Cluster
func (GlobalClusterGlobalClusterMemberOutput) ElementType ¶
func (GlobalClusterGlobalClusterMemberOutput) ElementType() reflect.Type
func (GlobalClusterGlobalClusterMemberOutput) IsWriter ¶
func (o GlobalClusterGlobalClusterMemberOutput) IsWriter() pulumi.BoolPtrOutput
Whether the member is the primary DB Cluster
func (GlobalClusterGlobalClusterMemberOutput) ToGlobalClusterGlobalClusterMemberOutput ¶
func (o GlobalClusterGlobalClusterMemberOutput) ToGlobalClusterGlobalClusterMemberOutput() GlobalClusterGlobalClusterMemberOutput
func (GlobalClusterGlobalClusterMemberOutput) ToGlobalClusterGlobalClusterMemberOutputWithContext ¶
func (o GlobalClusterGlobalClusterMemberOutput) ToGlobalClusterGlobalClusterMemberOutputWithContext(ctx context.Context) GlobalClusterGlobalClusterMemberOutput
type GlobalClusterInput ¶
type GlobalClusterInput interface { pulumi.Input ToGlobalClusterOutput() GlobalClusterOutput ToGlobalClusterOutputWithContext(ctx context.Context) GlobalClusterOutput }
type GlobalClusterMap ¶
type GlobalClusterMap map[string]GlobalClusterInput
func (GlobalClusterMap) ElementType ¶
func (GlobalClusterMap) ElementType() reflect.Type
func (GlobalClusterMap) ToGlobalClusterMapOutput ¶
func (i GlobalClusterMap) ToGlobalClusterMapOutput() GlobalClusterMapOutput
func (GlobalClusterMap) ToGlobalClusterMapOutputWithContext ¶
func (i GlobalClusterMap) ToGlobalClusterMapOutputWithContext(ctx context.Context) GlobalClusterMapOutput
type GlobalClusterMapInput ¶
type GlobalClusterMapInput interface { pulumi.Input ToGlobalClusterMapOutput() GlobalClusterMapOutput ToGlobalClusterMapOutputWithContext(context.Context) GlobalClusterMapOutput }
GlobalClusterMapInput is an input type that accepts GlobalClusterMap and GlobalClusterMapOutput values. You can construct a concrete instance of `GlobalClusterMapInput` via:
GlobalClusterMap{ "key": GlobalClusterArgs{...} }
type GlobalClusterMapOutput ¶
type GlobalClusterMapOutput struct{ *pulumi.OutputState }
func (GlobalClusterMapOutput) ElementType ¶
func (GlobalClusterMapOutput) ElementType() reflect.Type
func (GlobalClusterMapOutput) MapIndex ¶
func (o GlobalClusterMapOutput) MapIndex(k pulumi.StringInput) GlobalClusterOutput
func (GlobalClusterMapOutput) ToGlobalClusterMapOutput ¶
func (o GlobalClusterMapOutput) ToGlobalClusterMapOutput() GlobalClusterMapOutput
func (GlobalClusterMapOutput) ToGlobalClusterMapOutputWithContext ¶
func (o GlobalClusterMapOutput) ToGlobalClusterMapOutputWithContext(ctx context.Context) GlobalClusterMapOutput
type GlobalClusterOutput ¶
type GlobalClusterOutput struct{ *pulumi.OutputState }
func (GlobalClusterOutput) Arn ¶ added in v5.4.0
func (o GlobalClusterOutput) Arn() pulumi.StringOutput
RDS Global Cluster Amazon Resource Name (ARN)
func (GlobalClusterOutput) DatabaseName ¶ added in v5.4.0
func (o GlobalClusterOutput) DatabaseName() pulumi.StringPtrOutput
Name for an automatically created database on cluster creation.
func (GlobalClusterOutput) DeletionProtection ¶ added in v5.4.0
func (o GlobalClusterOutput) DeletionProtection() pulumi.BoolPtrOutput
If the Global Cluster should have deletion protection enabled. The database can't be deleted when this value is set to `true`. The default is `false`.
func (GlobalClusterOutput) ElementType ¶
func (GlobalClusterOutput) ElementType() reflect.Type
func (GlobalClusterOutput) Engine ¶ added in v5.4.0
func (o GlobalClusterOutput) Engine() pulumi.StringOutput
Name of the database engine to be used for this DB cluster. The provider will only perform drift detection if a configuration value is provided. Valid values: `aurora`, `aurora-mysql`, `aurora-postgresql`. Defaults to `aurora`. Conflicts with `sourceDbClusterIdentifier`.
func (GlobalClusterOutput) EngineVersion ¶ added in v5.4.0
func (o GlobalClusterOutput) EngineVersion() pulumi.StringOutput
Engine version of the Aurora global database. The `engine`, `engineVersion`, and `instanceClass` (on the `rds.ClusterInstance`) must together support global databases. See [Using Amazon Aurora global databases](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html) for more information. By upgrading the engine version, the provider will upgrade cluster members. **NOTE:** To avoid an `inconsistent final plan` error while upgrading, use the `lifecycle` `ignoreChanges` for `engineVersion` meta argument on the associated `rds.Cluster` resource as shown above in Upgrading Engine Versions example.
func (GlobalClusterOutput) EngineVersionActual ¶ added in v5.14.0
func (o GlobalClusterOutput) EngineVersionActual() pulumi.StringOutput
func (GlobalClusterOutput) ForceDestroy ¶ added in v5.4.0
func (o GlobalClusterOutput) ForceDestroy() pulumi.BoolPtrOutput
Enable to remove DB Cluster members from Global Cluster on destroy. Required with `sourceDbClusterIdentifier`.
func (GlobalClusterOutput) GlobalClusterIdentifier ¶ added in v5.4.0
func (o GlobalClusterOutput) GlobalClusterIdentifier() pulumi.StringOutput
Global cluster identifier.
func (GlobalClusterOutput) GlobalClusterMembers ¶ added in v5.4.0
func (o GlobalClusterOutput) GlobalClusterMembers() GlobalClusterGlobalClusterMemberArrayOutput
Set of objects containing Global Cluster members.
func (GlobalClusterOutput) GlobalClusterResourceId ¶ added in v5.4.0
func (o GlobalClusterOutput) GlobalClusterResourceId() pulumi.StringOutput
AWS Region-unique, immutable identifier for the global database cluster. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS key for the DB cluster is accessed
func (GlobalClusterOutput) SourceDbClusterIdentifier ¶ added in v5.4.0
func (o GlobalClusterOutput) SourceDbClusterIdentifier() pulumi.StringOutput
Amazon Resource Name (ARN) to use as the primary DB Cluster of the Global Cluster on creation. The provider cannot perform drift detection of this value.
func (GlobalClusterOutput) StorageEncrypted ¶ added in v5.4.0
func (o GlobalClusterOutput) StorageEncrypted() pulumi.BoolOutput
Specifies whether the DB cluster is encrypted. The default is `false` unless `sourceDbClusterIdentifier` is specified and encrypted. The provider will only perform drift detection if a configuration value is provided.
func (GlobalClusterOutput) ToGlobalClusterOutput ¶
func (o GlobalClusterOutput) ToGlobalClusterOutput() GlobalClusterOutput
func (GlobalClusterOutput) ToGlobalClusterOutputWithContext ¶
func (o GlobalClusterOutput) ToGlobalClusterOutputWithContext(ctx context.Context) GlobalClusterOutput
type GlobalClusterState ¶
type GlobalClusterState struct { // RDS Global Cluster Amazon Resource Name (ARN) Arn pulumi.StringPtrInput // Name for an automatically created database on cluster creation. DatabaseName pulumi.StringPtrInput // If the Global Cluster should have deletion protection enabled. The database can't be deleted when this value is set to `true`. The default is `false`. DeletionProtection pulumi.BoolPtrInput // Name of the database engine to be used for this DB cluster. The provider will only perform drift detection if a configuration value is provided. Valid values: `aurora`, `aurora-mysql`, `aurora-postgresql`. Defaults to `aurora`. Conflicts with `sourceDbClusterIdentifier`. Engine pulumi.StringPtrInput // Engine version of the Aurora global database. The `engine`, `engineVersion`, and `instanceClass` (on the `rds.ClusterInstance`) must together support global databases. See [Using Amazon Aurora global databases](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database.html) for more information. By upgrading the engine version, the provider will upgrade cluster members. **NOTE:** To avoid an `inconsistent final plan` error while upgrading, use the `lifecycle` `ignoreChanges` for `engineVersion` meta argument on the associated `rds.Cluster` resource as shown above in Upgrading Engine Versions example. EngineVersion pulumi.StringPtrInput EngineVersionActual pulumi.StringPtrInput // Enable to remove DB Cluster members from Global Cluster on destroy. Required with `sourceDbClusterIdentifier`. ForceDestroy pulumi.BoolPtrInput // Global cluster identifier. GlobalClusterIdentifier pulumi.StringPtrInput // Set of objects containing Global Cluster members. GlobalClusterMembers GlobalClusterGlobalClusterMemberArrayInput // AWS Region-unique, immutable identifier for the global database cluster. This identifier is found in AWS CloudTrail log entries whenever the AWS KMS key for the DB cluster is accessed GlobalClusterResourceId pulumi.StringPtrInput // Amazon Resource Name (ARN) to use as the primary DB Cluster of the Global Cluster on creation. The provider cannot perform drift detection of this value. SourceDbClusterIdentifier pulumi.StringPtrInput // Specifies whether the DB cluster is encrypted. The default is `false` unless `sourceDbClusterIdentifier` is specified and encrypted. The provider will only perform drift detection if a configuration value is provided. StorageEncrypted pulumi.BoolPtrInput }
func (GlobalClusterState) ElementType ¶
func (GlobalClusterState) ElementType() reflect.Type
type Instance ¶
type Instance struct { pulumi.CustomResourceState // Specifies the DNS address of the DB instance. Address pulumi.StringOutput `pulumi:"address"` // The allocated storage in gibibytes. If `maxAllocatedStorage` is configured, this argument represents the initial storage allocation and differences from the configuration will be ignored automatically when Storage Autoscaling occurs. If `replicateSourceDb` is set, the value is ignored during the creation of the instance. AllocatedStorage pulumi.IntOutput `pulumi:"allocatedStorage"` // Indicates that major version // upgrades are allowed. Changing this parameter does not result in an outage and // the change is asynchronously applied as soon as possible. AllowMajorVersionUpgrade pulumi.BoolPtrOutput `pulumi:"allowMajorVersionUpgrade"` // Specifies whether any database modifications // are applied immediately, or during the next maintenance window. Default is // `false`. See [Amazon RDS Documentation for more // information.](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Modifying.html) ApplyImmediately pulumi.BoolPtrOutput `pulumi:"applyImmediately"` // The ARN of the RDS instance. Arn pulumi.StringOutput `pulumi:"arn"` // Indicates that minor engine upgrades // will be applied automatically to the DB instance during the maintenance window. // Defaults to true. AutoMinorVersionUpgrade pulumi.BoolPtrOutput `pulumi:"autoMinorVersionUpgrade"` // The AZ for the RDS instance. AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"` // The days to retain backups for. // Must be between `0` and `35`. // Default is `0`. // Must be greater than `0` if the database is used as a source for a [Read Replica][instance-replication], // uses low-downtime updates, // or will use [RDS Blue/Green deployments][blue-green]. BackupRetentionPeriod pulumi.IntOutput `pulumi:"backupRetentionPeriod"` // The daily time range (in UTC) during which automated backups are created if they are enabled. // Example: "09:46-10:16". Must not overlap with `maintenanceWindow`. BackupWindow pulumi.StringOutput `pulumi:"backupWindow"` // Enables low-downtime updates using [RDS Blue/Green deployments][blue-green]. // See blueGreenUpdate below BlueGreenUpdate InstanceBlueGreenUpdatePtrOutput `pulumi:"blueGreenUpdate"` // The identifier of the CA certificate for the DB instance. CaCertIdentifier pulumi.StringOutput `pulumi:"caCertIdentifier"` // The character set name to use for DB // encoding in Oracle and Microsoft SQL instances (collation). This can't be changed. See [Oracle Character Sets // Supported in Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.OracleCharacterSets.html) // or [Server-Level Collation for Microsoft SQL Server](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.SQLServer.CommonDBATasks.Collation.html) for more information. CharacterSetName pulumi.StringOutput `pulumi:"characterSetName"` // Copy all Instance `tags` to snapshots. Default is `false`. CopyTagsToSnapshot pulumi.BoolPtrOutput `pulumi:"copyTagsToSnapshot"` // The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. CustomIamInstanceProfile pulumi.StringPtrOutput `pulumi:"customIamInstanceProfile"` // Indicates whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance. See [CoIP for RDS on Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html#rds-on-outposts.coip) for more information. CustomerOwnedIpEnabled pulumi.BoolPtrOutput `pulumi:"customerOwnedIpEnabled"` // The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Note that this does not apply for Oracle or SQL Server engines. See the [AWS documentation](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/create-db-instance.html) for more details on what applies for those engines. If you are providing an Oracle db name, it needs to be in all upper case. Cannot be specified for a replica. DbName pulumi.StringOutput `pulumi:"dbName"` // Name of DB subnet group. DB instance will // be created in the VPC associated with the DB subnet group. If unspecified, will // be created in the `default` VPC, or in EC2 Classic, if available. When working // with read replicas, it should be specified only if the source database // specifies an instance in another AWS Region. See [DBSubnetGroupName in API // action CreateDBInstanceReadReplica](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstanceReadReplica.html) // for additional read replica contraints. DbSubnetGroupName pulumi.StringOutput `pulumi:"dbSubnetGroupName"` // Specifies whether to remove automated backups immediately after the DB instance is deleted. Default is `true`. DeleteAutomatedBackups pulumi.BoolPtrOutput `pulumi:"deleteAutomatedBackups"` // If the DB instance should have deletion protection enabled. The database can't be deleted when this value is set to `true`. The default is `false`. DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"` // The ID of the Directory Service Active Directory domain to create the instance in. Domain pulumi.StringPtrOutput `pulumi:"domain"` // The name of the IAM role to be used when making API calls to the Directory Service. DomainIamRoleName pulumi.StringPtrOutput `pulumi:"domainIamRoleName"` // Set of log types to enable for exporting to CloudWatch logs. If omitted, no logs will be exported. Valid values (depending on `engine`). MySQL and MariaDB: `audit`, `error`, `general`, `slowquery`. PostgreSQL: `postgresql`, `upgrade`. MSSQL: `agent` , `error`. Oracle: `alert`, `audit`, `listener`, `trace`. EnabledCloudwatchLogsExports pulumi.StringArrayOutput `pulumi:"enabledCloudwatchLogsExports"` // The connection endpoint in `address:port` format. Endpoint pulumi.StringOutput `pulumi:"endpoint"` // (Required unless a `snapshotIdentifier` or `replicateSourceDb` // is provided) The database engine to use. For supported values, see the Engine parameter in [API action CreateDBInstance](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html). Cannot be specified for a replica. // Note that for Amazon Aurora instances the engine must match the DB cluster's engine'. // For information on the difference between the available Aurora MySQL engines // see [Comparison between Aurora MySQL 1 and Aurora MySQL 2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AuroraMySQL.Updates.20180206.html) // in the Amazon RDS User Guide. Engine pulumi.StringOutput `pulumi:"engine"` // The engine version to use. If `autoMinorVersionUpgrade` // is enabled, you can provide a prefix of the version such as `5.7` (for `5.7.10`). // The actual engine version used is returned in the attribute `engineVersionActual`, see Attributes Reference below. // For supported values, see the EngineVersion parameter in [API action CreateDBInstance](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html). // Note that for Amazon Aurora instances the engine version must match the DB cluster's engine version'. Cannot be specified for a replica. EngineVersion pulumi.StringOutput `pulumi:"engineVersion"` // The running version of the database. EngineVersionActual pulumi.StringOutput `pulumi:"engineVersionActual"` // The name of your final DB snapshot // when this DB instance is deleted. Must be provided if `skipFinalSnapshot` is // set to `false`. The value must begin with a letter, only contain alphanumeric characters and hyphens, and not end with a hyphen or contain two consecutive hyphens. Must not be provided when deleting a read replica. FinalSnapshotIdentifier pulumi.StringPtrOutput `pulumi:"finalSnapshotIdentifier"` // Specifies the ID that Amazon Route 53 assigns when you create a hosted zone. HostedZoneId pulumi.StringOutput `pulumi:"hostedZoneId"` // Specifies whether mappings of AWS Identity and Access Management (IAM) accounts to database // accounts is enabled. IamDatabaseAuthenticationEnabled pulumi.BoolPtrOutput `pulumi:"iamDatabaseAuthenticationEnabled"` // The name of the RDS instance, // if omitted, this provider will assign a random, unique identifier. Required if `restoreToPointInTime` is specified. Identifier pulumi.StringOutput `pulumi:"identifier"` // Creates a unique // identifier beginning with the specified prefix. Conflicts with `identifier`. IdentifierPrefix pulumi.StringOutput `pulumi:"identifierPrefix"` // The instance type of the RDS instance. InstanceClass pulumi.StringOutput `pulumi:"instanceClass"` // The amount of provisioned IOPS. Setting this implies a // storageType of "io1". Can only be set when `storageType` is `"io1"` or `"gp3"`. // Cannot be specified for gp3 storage if the `allocatedStorage` value is below a per-`engine` threshold. // See the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#gp3-storage) for details. Iops pulumi.IntOutput `pulumi:"iops"` // The ARN for the KMS encryption key. If creating an // encrypted replica, set this to the destination KMS ARN. KmsKeyId pulumi.StringOutput `pulumi:"kmsKeyId"` // The latest time, in UTC [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8), to which a database can be restored with point-in-time restore. LatestRestorableTime pulumi.StringOutput `pulumi:"latestRestorableTime"` // (Optional, but required for some DB engines, i.e., Oracle // SE1) License model information for this DB instance. LicenseModel pulumi.StringOutput `pulumi:"licenseModel"` // Specifies the listener connection endpoint for SQL Server Always On. See endpoint below. ListenerEndpoints InstanceListenerEndpointArrayOutput `pulumi:"listenerEndpoints"` // The window to perform maintenance in. // Syntax: "ddd:hh24:mi-ddd:hh24:mi". Eg: "Mon:00:00-Mon:03:00". See [RDS // Maintenance Window // docs](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow) // for more information. MaintenanceWindow pulumi.StringOutput `pulumi:"maintenanceWindow"` // When configured, the upper limit to which Amazon RDS can automatically scale the storage of the DB instance. Configuring this will automatically ignore differences to `allocatedStorage`. Must be greater than or equal to `allocatedStorage` or `0` to disable Storage Autoscaling. MaxAllocatedStorage pulumi.IntPtrOutput `pulumi:"maxAllocatedStorage"` // The interval, in seconds, between points // when Enhanced Monitoring metrics are collected for the DB instance. To disable // collecting Enhanced Monitoring metrics, specify 0. The default is 0. Valid // Values: 0, 1, 5, 10, 15, 30, 60. MonitoringInterval pulumi.IntPtrOutput `pulumi:"monitoringInterval"` // The ARN for the IAM role that permits RDS // to send enhanced monitoring metrics to CloudWatch Logs. You can find more // information on the [AWS // Documentation](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html) // what IAM permissions are needed to allow Enhanced Monitoring for RDS Instances. MonitoringRoleArn pulumi.StringOutput `pulumi:"monitoringRoleArn"` // Specifies if the RDS instance is multi-AZ MultiAz pulumi.BoolOutput `pulumi:"multiAz"` // The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Note that this does not apply for Oracle or SQL Server engines. See the [AWS documentation](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/create-db-instance.html) for more details on what applies for those engines. If you are providing an Oracle db name, it needs to be in all upper case. Cannot be specified for a replica. Name pulumi.StringOutput `pulumi:"name"` // The national character set is used in the NCHAR, NVARCHAR2, and NCLOB data types for Oracle instances. This can't be changed. See [Oracle Character Sets // Supported in Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.OracleCharacterSets.html). NcharCharacterSetName pulumi.StringOutput `pulumi:"ncharCharacterSetName"` // The network type of the DB instance. Valid values: `IPV4`, `DUAL`. NetworkType pulumi.StringOutput `pulumi:"networkType"` // Name of the DB option group to associate. OptionGroupName pulumi.StringOutput `pulumi:"optionGroupName"` // Name of the DB parameter group to // associate. ParameterGroupName pulumi.StringOutput `pulumi:"parameterGroupName"` // (Required unless a `snapshotIdentifier` or `replicateSourceDb` // is provided) Password for the master DB user. Note that this may show up in // logs, and it will be stored in the state file. Password pulumi.StringPtrOutput `pulumi:"password"` // Specifies whether Performance Insights are enabled. Defaults to false. PerformanceInsightsEnabled pulumi.BoolPtrOutput `pulumi:"performanceInsightsEnabled"` // The ARN for the KMS key to encrypt Performance Insights data. When specifying `performanceInsightsKmsKeyId`, `performanceInsightsEnabled` needs to be set to true. Once KMS key is set, it can never be changed. PerformanceInsightsKmsKeyId pulumi.StringOutput `pulumi:"performanceInsightsKmsKeyId"` // Amount of time in days to retain Performance Insights data. Valid values are `7`, `731` (2 years) or a multiple of `31`. When specifying `performanceInsightsRetentionPeriod`, `performanceInsightsEnabled` needs to be set to true. Defaults to '7'. PerformanceInsightsRetentionPeriod pulumi.IntOutput `pulumi:"performanceInsightsRetentionPeriod"` // The port on which the DB accepts connections. Port pulumi.IntOutput `pulumi:"port"` // Bool to control if instance is publicly // accessible. Default is `false`. PubliclyAccessible pulumi.BoolPtrOutput `pulumi:"publiclyAccessible"` // Specifies whether the replica is in either `mounted` or `open-read-only` mode. This attribute // is only supported by Oracle instances. Oracle replicas operate in `open-read-only` mode unless otherwise specified. See [Working with Oracle Read Replicas](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html) for more information. ReplicaMode pulumi.StringOutput `pulumi:"replicaMode"` Replicas pulumi.StringArrayOutput `pulumi:"replicas"` // Specifies that this resource is a Replicate // database, and to use this value as the source database. This correlates to the // `identifier` of another Amazon RDS Database to replicate (if replicating within // a single region) or ARN of the Amazon RDS Database to replicate (if replicating // cross-region). Note that if you are // creating a cross-region replica of an encrypted database you will also need to // specify a `kmsKeyId`. See [DB Instance Replication][instance-replication] and [Working with // PostgreSQL and MySQL Read Replicas](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReadRepl.html) // for more information on using Replication. ReplicateSourceDb pulumi.StringPtrOutput `pulumi:"replicateSourceDb"` // The RDS Resource ID of this instance. ResourceId pulumi.StringOutput `pulumi:"resourceId"` // A configuration block for restoring a DB instance to an arbitrary point in time. Requires the `identifier` argument to be set with the name of the new DB instance to be created. See Restore To Point In Time below for details. RestoreToPointInTime InstanceRestoreToPointInTimePtrOutput `pulumi:"restoreToPointInTime"` // Restore from a Percona Xtrabackup in S3. See [Importing Data into an Amazon RDS MySQL DB Instance](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/MySQL.Procedural.Importing.html) S3Import InstanceS3ImportPtrOutput `pulumi:"s3Import"` // List of DB Security Groups to // associate. Only used for [DB Instances on the _EC2-Classic_ // Platform](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.html#USER_VPC.FindDefaultVPC). // // Deprecated: With the retirement of EC2-Classic the security_group_names attribute has been deprecated and will be removed in a future version. SecurityGroupNames pulumi.StringArrayOutput `pulumi:"securityGroupNames"` // Determines whether a final DB snapshot is // created before the DB instance is deleted. If true is specified, no DBSnapshot // is created. If false is specified, a DB snapshot is created before the DB // instance is deleted, using the value from `finalSnapshotIdentifier`. Default // is `false`. SkipFinalSnapshot pulumi.BoolPtrOutput `pulumi:"skipFinalSnapshot"` // Specifies whether or not to create this // database from a snapshot. This correlates to the snapshot ID you'd find in the // RDS console, e.g: rds:production-2015-06-26-06-05. SnapshotIdentifier pulumi.StringOutput `pulumi:"snapshotIdentifier"` // The RDS instance status. Status pulumi.StringOutput `pulumi:"status"` // Specifies whether the DB instance is // encrypted. Note that if you are creating a cross-region read replica this field // is ignored and you should instead declare `kmsKeyId` with a valid ARN. The // default is `false` if not specified. StorageEncrypted pulumi.BoolPtrOutput `pulumi:"storageEncrypted"` // The storage throughput value for the DB instance. Can only be set when `storageType` is `"gp3"`. Cannot be specified if the `allocatedStorage` value is below a per-`engine` threshold. See the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#gp3-storage) for details. StorageThroughput pulumi.IntOutput `pulumi:"storageThroughput"` // One of "standard" (magnetic), "gp2" (general // purpose SSD), "gp3" (general purpose SSD that needs `iops` independently) // or "io1" (provisioned IOPS SSD). The default is "io1" if `iops` is specified, // "gp2" if not. StorageType pulumi.StringOutput `pulumi:"storageType"` // 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"` // Time zone of the DB instance. `timezone` is currently // only supported by Microsoft SQL Server. The `timezone` can only be set on // creation. See [MSSQL User // Guide](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone) // for more information. Timezone pulumi.StringOutput `pulumi:"timezone"` // (Required unless a `snapshotIdentifier` or `replicateSourceDb` // is provided) Username for the master DB user. Cannot be specified for a replica. Username pulumi.StringOutput `pulumi:"username"` // List of VPC security groups to // associate. VpcSecurityGroupIds pulumi.StringArrayOutput `pulumi:"vpcSecurityGroupIds"` }
Provides an RDS instance resource. A DB instance is an isolated database environment in the cloud. A DB instance can contain multiple user-created databases.
Changes to a DB instance can occur when you manually change a parameter, such as `allocatedStorage`, and are reflected in the next maintenance window. Because of this, this provider may report a difference in its planning phase because a modification has not yet taken place. You can use the `applyImmediately` flag to instruct the service to apply the change immediately (see documentation below).
When upgrading the major version of an engine, `allowMajorVersionUpgrade` must be set to `true`.
> **Note:** using `applyImmediately` can result in a brief downtime as the server reboots. See the AWS Docs on [RDS Instance Maintenance][instance-maintenance] for more information.
> **Note:** All arguments including the username and password will be stored in the raw state as plain-text. Read more about sensitive data instate.
## RDS Instance Class Types
Amazon RDS supports three types of instance classes: Standard, Memory Optimized, and Burstable Performance. For more information please read the AWS RDS documentation about [DB Instance Class Types](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html)
## Low-Downtime Updates
By default, RDS applies updates to DB Instances in-place, which can lead to service interruptions. Low-downtime updates minimize service interruptions by performing the updates with an [RDS Blue/Green deployment][blue-green] and switching over the instances when complete.
Low-downtime updates are only available for DB Instances using MySQL and MariaDB, as other engines are not supported by RDS Blue/Green deployments.
Backups must be enabled to use low-downtime updates.
Enable low-downtime updates by setting `blue_green_update.enabled` to `true`.
## Example Usage ### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.NewInstance(ctx, "default", &rds.InstanceArgs{ AllocatedStorage: pulumi.Int(10), DbName: pulumi.String("mydb"), Engine: pulumi.String("mysql"), EngineVersion: pulumi.String("5.7"), InstanceClass: pulumi.String("db.t3.micro"), ParameterGroupName: pulumi.String("default.mysql5.7"), Password: pulumi.String("foobarbaz"), SkipFinalSnapshot: pulumi.Bool(true), Username: pulumi.String("foo"), }) if err != nil { return err } return nil }) }
``` ### Storage Autoscaling
To enable Storage Autoscaling with instances that support the feature, define the `maxAllocatedStorage` argument higher than the `allocatedStorage` argument. This provider will automatically hide differences with the `allocatedStorage` argument value if autoscaling occurs.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.NewInstance(ctx, "example", &rds.InstanceArgs{ AllocatedStorage: pulumi.Int(50), MaxAllocatedStorage: pulumi.Int(100), }) if err != nil { return err } return nil }) }
```
## Import
DB Instances can be imported using the `identifier`, e.g.,
```sh
$ pulumi import aws:rds/instance:Instance default mydb-rds-instance
```
func GetInstance ¶
func GetInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)
GetInstance gets an existing Instance 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 NewInstance ¶
func NewInstance(ctx *pulumi.Context, name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)
NewInstance registers a new resource with the given unique name, arguments, and options.
func (*Instance) ElementType ¶
func (*Instance) ToInstanceOutput ¶
func (i *Instance) ToInstanceOutput() InstanceOutput
func (*Instance) ToInstanceOutputWithContext ¶
func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
type InstanceArgs ¶
type InstanceArgs struct { // The allocated storage in gibibytes. If `maxAllocatedStorage` is configured, this argument represents the initial storage allocation and differences from the configuration will be ignored automatically when Storage Autoscaling occurs. If `replicateSourceDb` is set, the value is ignored during the creation of the instance. AllocatedStorage pulumi.IntPtrInput // Indicates that major version // upgrades are allowed. Changing this parameter does not result in an outage and // the change is asynchronously applied as soon as possible. AllowMajorVersionUpgrade pulumi.BoolPtrInput // Specifies whether any database modifications // are applied immediately, or during the next maintenance window. Default is // `false`. See [Amazon RDS Documentation for more // information.](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Modifying.html) ApplyImmediately pulumi.BoolPtrInput // Indicates that minor engine upgrades // will be applied automatically to the DB instance during the maintenance window. // Defaults to true. AutoMinorVersionUpgrade pulumi.BoolPtrInput // The AZ for the RDS instance. AvailabilityZone pulumi.StringPtrInput // The days to retain backups for. // Must be between `0` and `35`. // Default is `0`. // Must be greater than `0` if the database is used as a source for a [Read Replica][instance-replication], // uses low-downtime updates, // or will use [RDS Blue/Green deployments][blue-green]. BackupRetentionPeriod pulumi.IntPtrInput // The daily time range (in UTC) during which automated backups are created if they are enabled. // Example: "09:46-10:16". Must not overlap with `maintenanceWindow`. BackupWindow pulumi.StringPtrInput // Enables low-downtime updates using [RDS Blue/Green deployments][blue-green]. // See blueGreenUpdate below BlueGreenUpdate InstanceBlueGreenUpdatePtrInput // The identifier of the CA certificate for the DB instance. CaCertIdentifier pulumi.StringPtrInput // The character set name to use for DB // encoding in Oracle and Microsoft SQL instances (collation). This can't be changed. See [Oracle Character Sets // Supported in Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.OracleCharacterSets.html) // or [Server-Level Collation for Microsoft SQL Server](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.SQLServer.CommonDBATasks.Collation.html) for more information. CharacterSetName pulumi.StringPtrInput // Copy all Instance `tags` to snapshots. Default is `false`. CopyTagsToSnapshot pulumi.BoolPtrInput // The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. CustomIamInstanceProfile pulumi.StringPtrInput // Indicates whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance. See [CoIP for RDS on Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html#rds-on-outposts.coip) for more information. CustomerOwnedIpEnabled pulumi.BoolPtrInput // The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Note that this does not apply for Oracle or SQL Server engines. See the [AWS documentation](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/create-db-instance.html) for more details on what applies for those engines. If you are providing an Oracle db name, it needs to be in all upper case. Cannot be specified for a replica. DbName pulumi.StringPtrInput // Name of DB subnet group. DB instance will // be created in the VPC associated with the DB subnet group. If unspecified, will // be created in the `default` VPC, or in EC2 Classic, if available. When working // with read replicas, it should be specified only if the source database // specifies an instance in another AWS Region. See [DBSubnetGroupName in API // action CreateDBInstanceReadReplica](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstanceReadReplica.html) // for additional read replica contraints. DbSubnetGroupName pulumi.StringPtrInput // Specifies whether to remove automated backups immediately after the DB instance is deleted. Default is `true`. DeleteAutomatedBackups pulumi.BoolPtrInput // If the DB instance should have deletion protection enabled. The database can't be deleted when this value is set to `true`. The default is `false`. DeletionProtection pulumi.BoolPtrInput // The ID of the Directory Service Active Directory domain to create the instance in. Domain pulumi.StringPtrInput // The name of the IAM role to be used when making API calls to the Directory Service. DomainIamRoleName pulumi.StringPtrInput // Set of log types to enable for exporting to CloudWatch logs. If omitted, no logs will be exported. Valid values (depending on `engine`). MySQL and MariaDB: `audit`, `error`, `general`, `slowquery`. PostgreSQL: `postgresql`, `upgrade`. MSSQL: `agent` , `error`. Oracle: `alert`, `audit`, `listener`, `trace`. EnabledCloudwatchLogsExports pulumi.StringArrayInput // (Required unless a `snapshotIdentifier` or `replicateSourceDb` // is provided) The database engine to use. For supported values, see the Engine parameter in [API action CreateDBInstance](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html). Cannot be specified for a replica. // Note that for Amazon Aurora instances the engine must match the DB cluster's engine'. // For information on the difference between the available Aurora MySQL engines // see [Comparison between Aurora MySQL 1 and Aurora MySQL 2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AuroraMySQL.Updates.20180206.html) // in the Amazon RDS User Guide. Engine pulumi.StringPtrInput // The engine version to use. If `autoMinorVersionUpgrade` // is enabled, you can provide a prefix of the version such as `5.7` (for `5.7.10`). // The actual engine version used is returned in the attribute `engineVersionActual`, see Attributes Reference below. // For supported values, see the EngineVersion parameter in [API action CreateDBInstance](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html). // Note that for Amazon Aurora instances the engine version must match the DB cluster's engine version'. Cannot be specified for a replica. EngineVersion pulumi.StringPtrInput // The name of your final DB snapshot // when this DB instance is deleted. Must be provided if `skipFinalSnapshot` is // set to `false`. The value must begin with a letter, only contain alphanumeric characters and hyphens, and not end with a hyphen or contain two consecutive hyphens. Must not be provided when deleting a read replica. FinalSnapshotIdentifier pulumi.StringPtrInput // Specifies whether mappings of AWS Identity and Access Management (IAM) accounts to database // accounts is enabled. IamDatabaseAuthenticationEnabled pulumi.BoolPtrInput // The name of the RDS instance, // if omitted, this provider will assign a random, unique identifier. Required if `restoreToPointInTime` is specified. Identifier pulumi.StringPtrInput // Creates a unique // identifier beginning with the specified prefix. Conflicts with `identifier`. IdentifierPrefix pulumi.StringPtrInput // The instance type of the RDS instance. InstanceClass pulumi.StringInput // The amount of provisioned IOPS. Setting this implies a // storageType of "io1". Can only be set when `storageType` is `"io1"` or `"gp3"`. // Cannot be specified for gp3 storage if the `allocatedStorage` value is below a per-`engine` threshold. // See the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#gp3-storage) for details. Iops pulumi.IntPtrInput // The ARN for the KMS encryption key. If creating an // encrypted replica, set this to the destination KMS ARN. KmsKeyId pulumi.StringPtrInput // (Optional, but required for some DB engines, i.e., Oracle // SE1) License model information for this DB instance. LicenseModel pulumi.StringPtrInput // The window to perform maintenance in. // Syntax: "ddd:hh24:mi-ddd:hh24:mi". Eg: "Mon:00:00-Mon:03:00". See [RDS // Maintenance Window // docs](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow) // for more information. MaintenanceWindow pulumi.StringPtrInput // When configured, the upper limit to which Amazon RDS can automatically scale the storage of the DB instance. Configuring this will automatically ignore differences to `allocatedStorage`. Must be greater than or equal to `allocatedStorage` or `0` to disable Storage Autoscaling. MaxAllocatedStorage pulumi.IntPtrInput // The interval, in seconds, between points // when Enhanced Monitoring metrics are collected for the DB instance. To disable // collecting Enhanced Monitoring metrics, specify 0. The default is 0. Valid // Values: 0, 1, 5, 10, 15, 30, 60. MonitoringInterval pulumi.IntPtrInput // The ARN for the IAM role that permits RDS // to send enhanced monitoring metrics to CloudWatch Logs. You can find more // information on the [AWS // Documentation](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html) // what IAM permissions are needed to allow Enhanced Monitoring for RDS Instances. MonitoringRoleArn pulumi.StringPtrInput // Specifies if the RDS instance is multi-AZ MultiAz pulumi.BoolPtrInput // The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Note that this does not apply for Oracle or SQL Server engines. See the [AWS documentation](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/create-db-instance.html) for more details on what applies for those engines. If you are providing an Oracle db name, it needs to be in all upper case. Cannot be specified for a replica. Name pulumi.StringPtrInput // The national character set is used in the NCHAR, NVARCHAR2, and NCLOB data types for Oracle instances. This can't be changed. See [Oracle Character Sets // Supported in Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.OracleCharacterSets.html). NcharCharacterSetName pulumi.StringPtrInput // The network type of the DB instance. Valid values: `IPV4`, `DUAL`. NetworkType pulumi.StringPtrInput // Name of the DB option group to associate. OptionGroupName pulumi.StringPtrInput // Name of the DB parameter group to // associate. ParameterGroupName pulumi.StringPtrInput // (Required unless a `snapshotIdentifier` or `replicateSourceDb` // is provided) Password for the master DB user. Note that this may show up in // logs, and it will be stored in the state file. Password pulumi.StringPtrInput // Specifies whether Performance Insights are enabled. Defaults to false. PerformanceInsightsEnabled pulumi.BoolPtrInput // The ARN for the KMS key to encrypt Performance Insights data. When specifying `performanceInsightsKmsKeyId`, `performanceInsightsEnabled` needs to be set to true. Once KMS key is set, it can never be changed. PerformanceInsightsKmsKeyId pulumi.StringPtrInput // Amount of time in days to retain Performance Insights data. Valid values are `7`, `731` (2 years) or a multiple of `31`. When specifying `performanceInsightsRetentionPeriod`, `performanceInsightsEnabled` needs to be set to true. Defaults to '7'. PerformanceInsightsRetentionPeriod pulumi.IntPtrInput // The port on which the DB accepts connections. Port pulumi.IntPtrInput // Bool to control if instance is publicly // accessible. Default is `false`. PubliclyAccessible pulumi.BoolPtrInput // Specifies whether the replica is in either `mounted` or `open-read-only` mode. This attribute // is only supported by Oracle instances. Oracle replicas operate in `open-read-only` mode unless otherwise specified. See [Working with Oracle Read Replicas](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html) for more information. ReplicaMode pulumi.StringPtrInput // Specifies that this resource is a Replicate // database, and to use this value as the source database. This correlates to the // `identifier` of another Amazon RDS Database to replicate (if replicating within // a single region) or ARN of the Amazon RDS Database to replicate (if replicating // cross-region). Note that if you are // creating a cross-region replica of an encrypted database you will also need to // specify a `kmsKeyId`. See [DB Instance Replication][instance-replication] and [Working with // PostgreSQL and MySQL Read Replicas](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReadRepl.html) // for more information on using Replication. ReplicateSourceDb pulumi.StringPtrInput // A configuration block for restoring a DB instance to an arbitrary point in time. Requires the `identifier` argument to be set with the name of the new DB instance to be created. See Restore To Point In Time below for details. RestoreToPointInTime InstanceRestoreToPointInTimePtrInput // Restore from a Percona Xtrabackup in S3. See [Importing Data into an Amazon RDS MySQL DB Instance](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/MySQL.Procedural.Importing.html) S3Import InstanceS3ImportPtrInput // List of DB Security Groups to // associate. Only used for [DB Instances on the _EC2-Classic_ // Platform](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.html#USER_VPC.FindDefaultVPC). // // Deprecated: With the retirement of EC2-Classic the security_group_names attribute has been deprecated and will be removed in a future version. SecurityGroupNames pulumi.StringArrayInput // Determines whether a final DB snapshot is // created before the DB instance is deleted. If true is specified, no DBSnapshot // is created. If false is specified, a DB snapshot is created before the DB // instance is deleted, using the value from `finalSnapshotIdentifier`. Default // is `false`. SkipFinalSnapshot pulumi.BoolPtrInput // Specifies whether or not to create this // database from a snapshot. This correlates to the snapshot ID you'd find in the // RDS console, e.g: rds:production-2015-06-26-06-05. SnapshotIdentifier pulumi.StringPtrInput // Specifies whether the DB instance is // encrypted. Note that if you are creating a cross-region read replica this field // is ignored and you should instead declare `kmsKeyId` with a valid ARN. The // default is `false` if not specified. StorageEncrypted pulumi.BoolPtrInput // The storage throughput value for the DB instance. Can only be set when `storageType` is `"gp3"`. Cannot be specified if the `allocatedStorage` value is below a per-`engine` threshold. See the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#gp3-storage) for details. StorageThroughput pulumi.IntPtrInput // One of "standard" (magnetic), "gp2" (general // purpose SSD), "gp3" (general purpose SSD that needs `iops` independently) // or "io1" (provisioned IOPS SSD). The default is "io1" if `iops` is specified, // "gp2" if not. StorageType 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 // Time zone of the DB instance. `timezone` is currently // only supported by Microsoft SQL Server. The `timezone` can only be set on // creation. See [MSSQL User // Guide](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone) // for more information. Timezone pulumi.StringPtrInput // (Required unless a `snapshotIdentifier` or `replicateSourceDb` // is provided) Username for the master DB user. Cannot be specified for a replica. Username pulumi.StringPtrInput // List of VPC security groups to // associate. VpcSecurityGroupIds pulumi.StringArrayInput }
The set of arguments for constructing a Instance resource.
func (InstanceArgs) ElementType ¶
func (InstanceArgs) ElementType() reflect.Type
type InstanceArray ¶
type InstanceArray []InstanceInput
func (InstanceArray) ElementType ¶
func (InstanceArray) ElementType() reflect.Type
func (InstanceArray) ToInstanceArrayOutput ¶
func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArray) ToInstanceArrayOutputWithContext ¶
func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceArrayInput ¶
type InstanceArrayInput interface { pulumi.Input ToInstanceArrayOutput() InstanceArrayOutput ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput }
InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:
InstanceArray{ InstanceArgs{...} }
type InstanceArrayOutput ¶
type InstanceArrayOutput struct{ *pulumi.OutputState }
func (InstanceArrayOutput) ElementType ¶
func (InstanceArrayOutput) ElementType() reflect.Type
func (InstanceArrayOutput) Index ¶
func (o InstanceArrayOutput) Index(i pulumi.IntInput) InstanceOutput
func (InstanceArrayOutput) ToInstanceArrayOutput ¶
func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArrayOutput) ToInstanceArrayOutputWithContext ¶
func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceAutomatedBackupsReplication ¶ added in v5.2.0
type InstanceAutomatedBackupsReplication struct { pulumi.CustomResourceState // The AWS KMS key identifier for encryption of the replicated automated backups. The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination AWS Region, for example, `arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE`. KmsKeyId pulumi.StringOutput `pulumi:"kmsKeyId"` // A URL that contains a [Signature Version 4](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html) signed request for the [`StartDBInstanceAutomatedBackupsReplication`](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_StartDBInstanceAutomatedBackupsReplication.html) action to be called in the AWS Region of the source DB instance. PreSignedUrl pulumi.StringPtrOutput `pulumi:"preSignedUrl"` // The retention period for the replicated automated backups, defaults to `7`. RetentionPeriod pulumi.IntPtrOutput `pulumi:"retentionPeriod"` // The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example, `arn:aws:rds:us-west-2:123456789012:db:mydatabase`. SourceDbInstanceArn pulumi.StringOutput `pulumi:"sourceDbInstanceArn"` }
Manage cross-region replication of automated backups to a different AWS Region. Documentation for cross-region automated backup replication can be found at:
* [Replicating automated backups to another AWS Region](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReplicateBackups.html)
> **Note:** This resource has to be created in the destination region.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.NewInstanceAutomatedBackupsReplication(ctx, "default", &rds.InstanceAutomatedBackupsReplicationArgs{ RetentionPeriod: pulumi.Int(14), SourceDbInstanceArn: pulumi.String("arn:aws:rds:us-west-2:123456789012:db:mydatabase"), }) if err != nil { return err } return nil }) }
``` ## Encrypting the automated backup with KMS
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.NewInstanceAutomatedBackupsReplication(ctx, "default", &rds.InstanceAutomatedBackupsReplicationArgs{ KmsKeyId: pulumi.String("arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012"), SourceDbInstanceArn: pulumi.String("arn:aws:rds:us-west-2:123456789012:db:mydatabase"), }) if err != nil { return err } return nil }) }
```
## Example including a RDS DB instance
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/kms" "github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := aws.NewProvider(ctx, "replica", &aws.ProviderArgs{ Region: pulumi.String("us-west-2"), }) if err != nil { return err } defaultInstance, err := rds.NewInstance(ctx, "defaultInstance", &rds.InstanceArgs{ AllocatedStorage: pulumi.Int(10), Identifier: pulumi.String("mydb"), Engine: pulumi.String("postgres"), EngineVersion: pulumi.String("13.4"), InstanceClass: pulumi.String("db.t3.micro"), Name: pulumi.String("mydb"), Username: pulumi.String("masterusername"), Password: pulumi.String("mustbeeightcharacters"), BackupRetentionPeriod: pulumi.Int(7), StorageEncrypted: pulumi.Bool(true), SkipFinalSnapshot: pulumi.Bool(true), }) if err != nil { return err } defaultKey, err := kms.NewKey(ctx, "defaultKey", &kms.KeyArgs{ Description: pulumi.String("Encryption key for automated backups"), }, pulumi.Provider("aws.replica")) if err != nil { return err } _, err = rds.NewInstanceAutomatedBackupsReplication(ctx, "defaultInstanceAutomatedBackupsReplication", &rds.InstanceAutomatedBackupsReplicationArgs{ SourceDbInstanceArn: defaultInstance.Arn, KmsKeyId: defaultKey.Arn, }, pulumi.Provider("aws.replica")) if err != nil { return err } return nil }) }
```
## Import
RDS instance automated backups replication can be imported using the `arn`, e.g.,
```sh
$ pulumi import aws:rds/instanceAutomatedBackupsReplication:InstanceAutomatedBackupsReplication default arn:aws:rds:us-east-1:123456789012:auto-backup:ab-faaa2mgdj1vmp4xflr7yhsrmtbtob7ltrzzz2my
```
func GetInstanceAutomatedBackupsReplication ¶ added in v5.2.0
func GetInstanceAutomatedBackupsReplication(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceAutomatedBackupsReplicationState, opts ...pulumi.ResourceOption) (*InstanceAutomatedBackupsReplication, error)
GetInstanceAutomatedBackupsReplication gets an existing InstanceAutomatedBackupsReplication 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 NewInstanceAutomatedBackupsReplication ¶ added in v5.2.0
func NewInstanceAutomatedBackupsReplication(ctx *pulumi.Context, name string, args *InstanceAutomatedBackupsReplicationArgs, opts ...pulumi.ResourceOption) (*InstanceAutomatedBackupsReplication, error)
NewInstanceAutomatedBackupsReplication registers a new resource with the given unique name, arguments, and options.
func (*InstanceAutomatedBackupsReplication) ElementType ¶ added in v5.2.0
func (*InstanceAutomatedBackupsReplication) ElementType() reflect.Type
func (*InstanceAutomatedBackupsReplication) ToInstanceAutomatedBackupsReplicationOutput ¶ added in v5.2.0
func (i *InstanceAutomatedBackupsReplication) ToInstanceAutomatedBackupsReplicationOutput() InstanceAutomatedBackupsReplicationOutput
func (*InstanceAutomatedBackupsReplication) ToInstanceAutomatedBackupsReplicationOutputWithContext ¶ added in v5.2.0
func (i *InstanceAutomatedBackupsReplication) ToInstanceAutomatedBackupsReplicationOutputWithContext(ctx context.Context) InstanceAutomatedBackupsReplicationOutput
type InstanceAutomatedBackupsReplicationArgs ¶ added in v5.2.0
type InstanceAutomatedBackupsReplicationArgs struct { // The AWS KMS key identifier for encryption of the replicated automated backups. The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination AWS Region, for example, `arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE`. KmsKeyId pulumi.StringPtrInput // A URL that contains a [Signature Version 4](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html) signed request for the [`StartDBInstanceAutomatedBackupsReplication`](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_StartDBInstanceAutomatedBackupsReplication.html) action to be called in the AWS Region of the source DB instance. PreSignedUrl pulumi.StringPtrInput // The retention period for the replicated automated backups, defaults to `7`. RetentionPeriod pulumi.IntPtrInput // The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example, `arn:aws:rds:us-west-2:123456789012:db:mydatabase`. SourceDbInstanceArn pulumi.StringInput }
The set of arguments for constructing a InstanceAutomatedBackupsReplication resource.
func (InstanceAutomatedBackupsReplicationArgs) ElementType ¶ added in v5.2.0
func (InstanceAutomatedBackupsReplicationArgs) ElementType() reflect.Type
type InstanceAutomatedBackupsReplicationArray ¶ added in v5.2.0
type InstanceAutomatedBackupsReplicationArray []InstanceAutomatedBackupsReplicationInput
func (InstanceAutomatedBackupsReplicationArray) ElementType ¶ added in v5.2.0
func (InstanceAutomatedBackupsReplicationArray) ElementType() reflect.Type
func (InstanceAutomatedBackupsReplicationArray) ToInstanceAutomatedBackupsReplicationArrayOutput ¶ added in v5.2.0
func (i InstanceAutomatedBackupsReplicationArray) ToInstanceAutomatedBackupsReplicationArrayOutput() InstanceAutomatedBackupsReplicationArrayOutput
func (InstanceAutomatedBackupsReplicationArray) ToInstanceAutomatedBackupsReplicationArrayOutputWithContext ¶ added in v5.2.0
func (i InstanceAutomatedBackupsReplicationArray) ToInstanceAutomatedBackupsReplicationArrayOutputWithContext(ctx context.Context) InstanceAutomatedBackupsReplicationArrayOutput
type InstanceAutomatedBackupsReplicationArrayInput ¶ added in v5.2.0
type InstanceAutomatedBackupsReplicationArrayInput interface { pulumi.Input ToInstanceAutomatedBackupsReplicationArrayOutput() InstanceAutomatedBackupsReplicationArrayOutput ToInstanceAutomatedBackupsReplicationArrayOutputWithContext(context.Context) InstanceAutomatedBackupsReplicationArrayOutput }
InstanceAutomatedBackupsReplicationArrayInput is an input type that accepts InstanceAutomatedBackupsReplicationArray and InstanceAutomatedBackupsReplicationArrayOutput values. You can construct a concrete instance of `InstanceAutomatedBackupsReplicationArrayInput` via:
InstanceAutomatedBackupsReplicationArray{ InstanceAutomatedBackupsReplicationArgs{...} }
type InstanceAutomatedBackupsReplicationArrayOutput ¶ added in v5.2.0
type InstanceAutomatedBackupsReplicationArrayOutput struct{ *pulumi.OutputState }
func (InstanceAutomatedBackupsReplicationArrayOutput) ElementType ¶ added in v5.2.0
func (InstanceAutomatedBackupsReplicationArrayOutput) ElementType() reflect.Type
func (InstanceAutomatedBackupsReplicationArrayOutput) ToInstanceAutomatedBackupsReplicationArrayOutput ¶ added in v5.2.0
func (o InstanceAutomatedBackupsReplicationArrayOutput) ToInstanceAutomatedBackupsReplicationArrayOutput() InstanceAutomatedBackupsReplicationArrayOutput
func (InstanceAutomatedBackupsReplicationArrayOutput) ToInstanceAutomatedBackupsReplicationArrayOutputWithContext ¶ added in v5.2.0
func (o InstanceAutomatedBackupsReplicationArrayOutput) ToInstanceAutomatedBackupsReplicationArrayOutputWithContext(ctx context.Context) InstanceAutomatedBackupsReplicationArrayOutput
type InstanceAutomatedBackupsReplicationInput ¶ added in v5.2.0
type InstanceAutomatedBackupsReplicationInput interface { pulumi.Input ToInstanceAutomatedBackupsReplicationOutput() InstanceAutomatedBackupsReplicationOutput ToInstanceAutomatedBackupsReplicationOutputWithContext(ctx context.Context) InstanceAutomatedBackupsReplicationOutput }
type InstanceAutomatedBackupsReplicationMap ¶ added in v5.2.0
type InstanceAutomatedBackupsReplicationMap map[string]InstanceAutomatedBackupsReplicationInput
func (InstanceAutomatedBackupsReplicationMap) ElementType ¶ added in v5.2.0
func (InstanceAutomatedBackupsReplicationMap) ElementType() reflect.Type
func (InstanceAutomatedBackupsReplicationMap) ToInstanceAutomatedBackupsReplicationMapOutput ¶ added in v5.2.0
func (i InstanceAutomatedBackupsReplicationMap) ToInstanceAutomatedBackupsReplicationMapOutput() InstanceAutomatedBackupsReplicationMapOutput
func (InstanceAutomatedBackupsReplicationMap) ToInstanceAutomatedBackupsReplicationMapOutputWithContext ¶ added in v5.2.0
func (i InstanceAutomatedBackupsReplicationMap) ToInstanceAutomatedBackupsReplicationMapOutputWithContext(ctx context.Context) InstanceAutomatedBackupsReplicationMapOutput
type InstanceAutomatedBackupsReplicationMapInput ¶ added in v5.2.0
type InstanceAutomatedBackupsReplicationMapInput interface { pulumi.Input ToInstanceAutomatedBackupsReplicationMapOutput() InstanceAutomatedBackupsReplicationMapOutput ToInstanceAutomatedBackupsReplicationMapOutputWithContext(context.Context) InstanceAutomatedBackupsReplicationMapOutput }
InstanceAutomatedBackupsReplicationMapInput is an input type that accepts InstanceAutomatedBackupsReplicationMap and InstanceAutomatedBackupsReplicationMapOutput values. You can construct a concrete instance of `InstanceAutomatedBackupsReplicationMapInput` via:
InstanceAutomatedBackupsReplicationMap{ "key": InstanceAutomatedBackupsReplicationArgs{...} }
type InstanceAutomatedBackupsReplicationMapOutput ¶ added in v5.2.0
type InstanceAutomatedBackupsReplicationMapOutput struct{ *pulumi.OutputState }
func (InstanceAutomatedBackupsReplicationMapOutput) ElementType ¶ added in v5.2.0
func (InstanceAutomatedBackupsReplicationMapOutput) ElementType() reflect.Type
func (InstanceAutomatedBackupsReplicationMapOutput) ToInstanceAutomatedBackupsReplicationMapOutput ¶ added in v5.2.0
func (o InstanceAutomatedBackupsReplicationMapOutput) ToInstanceAutomatedBackupsReplicationMapOutput() InstanceAutomatedBackupsReplicationMapOutput
func (InstanceAutomatedBackupsReplicationMapOutput) ToInstanceAutomatedBackupsReplicationMapOutputWithContext ¶ added in v5.2.0
func (o InstanceAutomatedBackupsReplicationMapOutput) ToInstanceAutomatedBackupsReplicationMapOutputWithContext(ctx context.Context) InstanceAutomatedBackupsReplicationMapOutput
type InstanceAutomatedBackupsReplicationOutput ¶ added in v5.2.0
type InstanceAutomatedBackupsReplicationOutput struct{ *pulumi.OutputState }
func (InstanceAutomatedBackupsReplicationOutput) ElementType ¶ added in v5.2.0
func (InstanceAutomatedBackupsReplicationOutput) ElementType() reflect.Type
func (InstanceAutomatedBackupsReplicationOutput) KmsKeyId ¶ added in v5.4.0
func (o InstanceAutomatedBackupsReplicationOutput) KmsKeyId() pulumi.StringOutput
The AWS KMS key identifier for encryption of the replicated automated backups. The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination AWS Region, for example, `arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE`.
func (InstanceAutomatedBackupsReplicationOutput) PreSignedUrl ¶ added in v5.4.0
func (o InstanceAutomatedBackupsReplicationOutput) PreSignedUrl() pulumi.StringPtrOutput
A URL that contains a [Signature Version 4](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html) signed request for the [`StartDBInstanceAutomatedBackupsReplication`](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_StartDBInstanceAutomatedBackupsReplication.html) action to be called in the AWS Region of the source DB instance.
func (InstanceAutomatedBackupsReplicationOutput) RetentionPeriod ¶ added in v5.4.0
func (o InstanceAutomatedBackupsReplicationOutput) RetentionPeriod() pulumi.IntPtrOutput
The retention period for the replicated automated backups, defaults to `7`.
func (InstanceAutomatedBackupsReplicationOutput) SourceDbInstanceArn ¶ added in v5.4.0
func (o InstanceAutomatedBackupsReplicationOutput) SourceDbInstanceArn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example, `arn:aws:rds:us-west-2:123456789012:db:mydatabase`.
func (InstanceAutomatedBackupsReplicationOutput) ToInstanceAutomatedBackupsReplicationOutput ¶ added in v5.2.0
func (o InstanceAutomatedBackupsReplicationOutput) ToInstanceAutomatedBackupsReplicationOutput() InstanceAutomatedBackupsReplicationOutput
func (InstanceAutomatedBackupsReplicationOutput) ToInstanceAutomatedBackupsReplicationOutputWithContext ¶ added in v5.2.0
func (o InstanceAutomatedBackupsReplicationOutput) ToInstanceAutomatedBackupsReplicationOutputWithContext(ctx context.Context) InstanceAutomatedBackupsReplicationOutput
type InstanceAutomatedBackupsReplicationState ¶ added in v5.2.0
type InstanceAutomatedBackupsReplicationState struct { // The AWS KMS key identifier for encryption of the replicated automated backups. The KMS key ID is the Amazon Resource Name (ARN) for the KMS encryption key in the destination AWS Region, for example, `arn:aws:kms:us-east-1:123456789012:key/AKIAIOSFODNN7EXAMPLE`. KmsKeyId pulumi.StringPtrInput // A URL that contains a [Signature Version 4](https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html) signed request for the [`StartDBInstanceAutomatedBackupsReplication`](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_StartDBInstanceAutomatedBackupsReplication.html) action to be called in the AWS Region of the source DB instance. PreSignedUrl pulumi.StringPtrInput // The retention period for the replicated automated backups, defaults to `7`. RetentionPeriod pulumi.IntPtrInput // The Amazon Resource Name (ARN) of the source DB instance for the replicated automated backups, for example, `arn:aws:rds:us-west-2:123456789012:db:mydatabase`. SourceDbInstanceArn pulumi.StringPtrInput }
func (InstanceAutomatedBackupsReplicationState) ElementType ¶ added in v5.2.0
func (InstanceAutomatedBackupsReplicationState) ElementType() reflect.Type
type InstanceBlueGreenUpdate ¶ added in v5.22.0
type InstanceBlueGreenUpdate struct { // Enables low-downtime updates when `true`. // Default is `false`. Enabled *bool `pulumi:"enabled"` }
type InstanceBlueGreenUpdateArgs ¶ added in v5.22.0
type InstanceBlueGreenUpdateArgs struct { // Enables low-downtime updates when `true`. // Default is `false`. Enabled pulumi.BoolPtrInput `pulumi:"enabled"` }
func (InstanceBlueGreenUpdateArgs) ElementType ¶ added in v5.22.0
func (InstanceBlueGreenUpdateArgs) ElementType() reflect.Type
func (InstanceBlueGreenUpdateArgs) ToInstanceBlueGreenUpdateOutput ¶ added in v5.22.0
func (i InstanceBlueGreenUpdateArgs) ToInstanceBlueGreenUpdateOutput() InstanceBlueGreenUpdateOutput
func (InstanceBlueGreenUpdateArgs) ToInstanceBlueGreenUpdateOutputWithContext ¶ added in v5.22.0
func (i InstanceBlueGreenUpdateArgs) ToInstanceBlueGreenUpdateOutputWithContext(ctx context.Context) InstanceBlueGreenUpdateOutput
func (InstanceBlueGreenUpdateArgs) ToInstanceBlueGreenUpdatePtrOutput ¶ added in v5.22.0
func (i InstanceBlueGreenUpdateArgs) ToInstanceBlueGreenUpdatePtrOutput() InstanceBlueGreenUpdatePtrOutput
func (InstanceBlueGreenUpdateArgs) ToInstanceBlueGreenUpdatePtrOutputWithContext ¶ added in v5.22.0
func (i InstanceBlueGreenUpdateArgs) ToInstanceBlueGreenUpdatePtrOutputWithContext(ctx context.Context) InstanceBlueGreenUpdatePtrOutput
type InstanceBlueGreenUpdateInput ¶ added in v5.22.0
type InstanceBlueGreenUpdateInput interface { pulumi.Input ToInstanceBlueGreenUpdateOutput() InstanceBlueGreenUpdateOutput ToInstanceBlueGreenUpdateOutputWithContext(context.Context) InstanceBlueGreenUpdateOutput }
InstanceBlueGreenUpdateInput is an input type that accepts InstanceBlueGreenUpdateArgs and InstanceBlueGreenUpdateOutput values. You can construct a concrete instance of `InstanceBlueGreenUpdateInput` via:
InstanceBlueGreenUpdateArgs{...}
type InstanceBlueGreenUpdateOutput ¶ added in v5.22.0
type InstanceBlueGreenUpdateOutput struct{ *pulumi.OutputState }
func (InstanceBlueGreenUpdateOutput) ElementType ¶ added in v5.22.0
func (InstanceBlueGreenUpdateOutput) ElementType() reflect.Type
func (InstanceBlueGreenUpdateOutput) Enabled ¶ added in v5.22.0
func (o InstanceBlueGreenUpdateOutput) Enabled() pulumi.BoolPtrOutput
Enables low-downtime updates when `true`. Default is `false`.
func (InstanceBlueGreenUpdateOutput) ToInstanceBlueGreenUpdateOutput ¶ added in v5.22.0
func (o InstanceBlueGreenUpdateOutput) ToInstanceBlueGreenUpdateOutput() InstanceBlueGreenUpdateOutput
func (InstanceBlueGreenUpdateOutput) ToInstanceBlueGreenUpdateOutputWithContext ¶ added in v5.22.0
func (o InstanceBlueGreenUpdateOutput) ToInstanceBlueGreenUpdateOutputWithContext(ctx context.Context) InstanceBlueGreenUpdateOutput
func (InstanceBlueGreenUpdateOutput) ToInstanceBlueGreenUpdatePtrOutput ¶ added in v5.22.0
func (o InstanceBlueGreenUpdateOutput) ToInstanceBlueGreenUpdatePtrOutput() InstanceBlueGreenUpdatePtrOutput
func (InstanceBlueGreenUpdateOutput) ToInstanceBlueGreenUpdatePtrOutputWithContext ¶ added in v5.22.0
func (o InstanceBlueGreenUpdateOutput) ToInstanceBlueGreenUpdatePtrOutputWithContext(ctx context.Context) InstanceBlueGreenUpdatePtrOutput
type InstanceBlueGreenUpdatePtrInput ¶ added in v5.22.0
type InstanceBlueGreenUpdatePtrInput interface { pulumi.Input ToInstanceBlueGreenUpdatePtrOutput() InstanceBlueGreenUpdatePtrOutput ToInstanceBlueGreenUpdatePtrOutputWithContext(context.Context) InstanceBlueGreenUpdatePtrOutput }
InstanceBlueGreenUpdatePtrInput is an input type that accepts InstanceBlueGreenUpdateArgs, InstanceBlueGreenUpdatePtr and InstanceBlueGreenUpdatePtrOutput values. You can construct a concrete instance of `InstanceBlueGreenUpdatePtrInput` via:
InstanceBlueGreenUpdateArgs{...} or: nil
func InstanceBlueGreenUpdatePtr ¶ added in v5.22.0
func InstanceBlueGreenUpdatePtr(v *InstanceBlueGreenUpdateArgs) InstanceBlueGreenUpdatePtrInput
type InstanceBlueGreenUpdatePtrOutput ¶ added in v5.22.0
type InstanceBlueGreenUpdatePtrOutput struct{ *pulumi.OutputState }
func (InstanceBlueGreenUpdatePtrOutput) Elem ¶ added in v5.22.0
func (o InstanceBlueGreenUpdatePtrOutput) Elem() InstanceBlueGreenUpdateOutput
func (InstanceBlueGreenUpdatePtrOutput) ElementType ¶ added in v5.22.0
func (InstanceBlueGreenUpdatePtrOutput) ElementType() reflect.Type
func (InstanceBlueGreenUpdatePtrOutput) Enabled ¶ added in v5.22.0
func (o InstanceBlueGreenUpdatePtrOutput) Enabled() pulumi.BoolPtrOutput
Enables low-downtime updates when `true`. Default is `false`.
func (InstanceBlueGreenUpdatePtrOutput) ToInstanceBlueGreenUpdatePtrOutput ¶ added in v5.22.0
func (o InstanceBlueGreenUpdatePtrOutput) ToInstanceBlueGreenUpdatePtrOutput() InstanceBlueGreenUpdatePtrOutput
func (InstanceBlueGreenUpdatePtrOutput) ToInstanceBlueGreenUpdatePtrOutputWithContext ¶ added in v5.22.0
func (o InstanceBlueGreenUpdatePtrOutput) ToInstanceBlueGreenUpdatePtrOutputWithContext(ctx context.Context) InstanceBlueGreenUpdatePtrOutput
type InstanceInput ¶
type InstanceInput interface { pulumi.Input ToInstanceOutput() InstanceOutput ToInstanceOutputWithContext(ctx context.Context) InstanceOutput }
type InstanceListenerEndpoint ¶ added in v5.32.0
type InstanceListenerEndpoint struct { // Specifies the DNS address of the DB instance. Address *string `pulumi:"address"` // Specifies the ID that Amazon Route 53 assigns when you create a hosted zone. HostedZoneId *string `pulumi:"hostedZoneId"` // The port on which the DB accepts connections. Port *int `pulumi:"port"` }
type InstanceListenerEndpointArgs ¶ added in v5.32.0
type InstanceListenerEndpointArgs struct { // Specifies the DNS address of the DB instance. Address pulumi.StringPtrInput `pulumi:"address"` // Specifies the ID that Amazon Route 53 assigns when you create a hosted zone. HostedZoneId pulumi.StringPtrInput `pulumi:"hostedZoneId"` // The port on which the DB accepts connections. Port pulumi.IntPtrInput `pulumi:"port"` }
func (InstanceListenerEndpointArgs) ElementType ¶ added in v5.32.0
func (InstanceListenerEndpointArgs) ElementType() reflect.Type
func (InstanceListenerEndpointArgs) ToInstanceListenerEndpointOutput ¶ added in v5.32.0
func (i InstanceListenerEndpointArgs) ToInstanceListenerEndpointOutput() InstanceListenerEndpointOutput
func (InstanceListenerEndpointArgs) ToInstanceListenerEndpointOutputWithContext ¶ added in v5.32.0
func (i InstanceListenerEndpointArgs) ToInstanceListenerEndpointOutputWithContext(ctx context.Context) InstanceListenerEndpointOutput
type InstanceListenerEndpointArray ¶ added in v5.32.0
type InstanceListenerEndpointArray []InstanceListenerEndpointInput
func (InstanceListenerEndpointArray) ElementType ¶ added in v5.32.0
func (InstanceListenerEndpointArray) ElementType() reflect.Type
func (InstanceListenerEndpointArray) ToInstanceListenerEndpointArrayOutput ¶ added in v5.32.0
func (i InstanceListenerEndpointArray) ToInstanceListenerEndpointArrayOutput() InstanceListenerEndpointArrayOutput
func (InstanceListenerEndpointArray) ToInstanceListenerEndpointArrayOutputWithContext ¶ added in v5.32.0
func (i InstanceListenerEndpointArray) ToInstanceListenerEndpointArrayOutputWithContext(ctx context.Context) InstanceListenerEndpointArrayOutput
type InstanceListenerEndpointArrayInput ¶ added in v5.32.0
type InstanceListenerEndpointArrayInput interface { pulumi.Input ToInstanceListenerEndpointArrayOutput() InstanceListenerEndpointArrayOutput ToInstanceListenerEndpointArrayOutputWithContext(context.Context) InstanceListenerEndpointArrayOutput }
InstanceListenerEndpointArrayInput is an input type that accepts InstanceListenerEndpointArray and InstanceListenerEndpointArrayOutput values. You can construct a concrete instance of `InstanceListenerEndpointArrayInput` via:
InstanceListenerEndpointArray{ InstanceListenerEndpointArgs{...} }
type InstanceListenerEndpointArrayOutput ¶ added in v5.32.0
type InstanceListenerEndpointArrayOutput struct{ *pulumi.OutputState }
func (InstanceListenerEndpointArrayOutput) ElementType ¶ added in v5.32.0
func (InstanceListenerEndpointArrayOutput) ElementType() reflect.Type
func (InstanceListenerEndpointArrayOutput) Index ¶ added in v5.32.0
func (o InstanceListenerEndpointArrayOutput) Index(i pulumi.IntInput) InstanceListenerEndpointOutput
func (InstanceListenerEndpointArrayOutput) ToInstanceListenerEndpointArrayOutput ¶ added in v5.32.0
func (o InstanceListenerEndpointArrayOutput) ToInstanceListenerEndpointArrayOutput() InstanceListenerEndpointArrayOutput
func (InstanceListenerEndpointArrayOutput) ToInstanceListenerEndpointArrayOutputWithContext ¶ added in v5.32.0
func (o InstanceListenerEndpointArrayOutput) ToInstanceListenerEndpointArrayOutputWithContext(ctx context.Context) InstanceListenerEndpointArrayOutput
type InstanceListenerEndpointInput ¶ added in v5.32.0
type InstanceListenerEndpointInput interface { pulumi.Input ToInstanceListenerEndpointOutput() InstanceListenerEndpointOutput ToInstanceListenerEndpointOutputWithContext(context.Context) InstanceListenerEndpointOutput }
InstanceListenerEndpointInput is an input type that accepts InstanceListenerEndpointArgs and InstanceListenerEndpointOutput values. You can construct a concrete instance of `InstanceListenerEndpointInput` via:
InstanceListenerEndpointArgs{...}
type InstanceListenerEndpointOutput ¶ added in v5.32.0
type InstanceListenerEndpointOutput struct{ *pulumi.OutputState }
func (InstanceListenerEndpointOutput) Address ¶ added in v5.32.0
func (o InstanceListenerEndpointOutput) Address() pulumi.StringPtrOutput
Specifies the DNS address of the DB instance.
func (InstanceListenerEndpointOutput) ElementType ¶ added in v5.32.0
func (InstanceListenerEndpointOutput) ElementType() reflect.Type
func (InstanceListenerEndpointOutput) HostedZoneId ¶ added in v5.32.0
func (o InstanceListenerEndpointOutput) HostedZoneId() pulumi.StringPtrOutput
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
func (InstanceListenerEndpointOutput) Port ¶ added in v5.32.0
func (o InstanceListenerEndpointOutput) Port() pulumi.IntPtrOutput
The port on which the DB accepts connections.
func (InstanceListenerEndpointOutput) ToInstanceListenerEndpointOutput ¶ added in v5.32.0
func (o InstanceListenerEndpointOutput) ToInstanceListenerEndpointOutput() InstanceListenerEndpointOutput
func (InstanceListenerEndpointOutput) ToInstanceListenerEndpointOutputWithContext ¶ added in v5.32.0
func (o InstanceListenerEndpointOutput) ToInstanceListenerEndpointOutputWithContext(ctx context.Context) InstanceListenerEndpointOutput
type InstanceMap ¶
type InstanceMap map[string]InstanceInput
func (InstanceMap) ElementType ¶
func (InstanceMap) ElementType() reflect.Type
func (InstanceMap) ToInstanceMapOutput ¶
func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMap) ToInstanceMapOutputWithContext ¶
func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceMapInput ¶
type InstanceMapInput interface { pulumi.Input ToInstanceMapOutput() InstanceMapOutput ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput }
InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:
InstanceMap{ "key": InstanceArgs{...} }
type InstanceMapOutput ¶
type InstanceMapOutput struct{ *pulumi.OutputState }
func (InstanceMapOutput) ElementType ¶
func (InstanceMapOutput) ElementType() reflect.Type
func (InstanceMapOutput) MapIndex ¶
func (o InstanceMapOutput) MapIndex(k pulumi.StringInput) InstanceOutput
func (InstanceMapOutput) ToInstanceMapOutput ¶
func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMapOutput) ToInstanceMapOutputWithContext ¶
func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceOutput ¶
type InstanceOutput struct{ *pulumi.OutputState }
func (InstanceOutput) Address ¶ added in v5.4.0
func (o InstanceOutput) Address() pulumi.StringOutput
Specifies the DNS address of the DB instance.
func (InstanceOutput) AllocatedStorage ¶ added in v5.4.0
func (o InstanceOutput) AllocatedStorage() pulumi.IntOutput
The allocated storage in gibibytes. If `maxAllocatedStorage` is configured, this argument represents the initial storage allocation and differences from the configuration will be ignored automatically when Storage Autoscaling occurs. If `replicateSourceDb` is set, the value is ignored during the creation of the instance.
func (InstanceOutput) AllowMajorVersionUpgrade ¶ added in v5.4.0
func (o InstanceOutput) AllowMajorVersionUpgrade() pulumi.BoolPtrOutput
Indicates that major version upgrades are allowed. Changing this parameter does not result in an outage and the change is asynchronously applied as soon as possible.
func (InstanceOutput) ApplyImmediately ¶ added in v5.4.0
func (o InstanceOutput) ApplyImmediately() pulumi.BoolPtrOutput
Specifies whether any database modifications are applied immediately, or during the next maintenance window. Default is `false`. See [Amazon RDS Documentation for more information.](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Modifying.html)
func (InstanceOutput) Arn ¶ added in v5.4.0
func (o InstanceOutput) Arn() pulumi.StringOutput
The ARN of the RDS instance.
func (InstanceOutput) AutoMinorVersionUpgrade ¶ added in v5.4.0
func (o InstanceOutput) AutoMinorVersionUpgrade() pulumi.BoolPtrOutput
Indicates that minor engine upgrades will be applied automatically to the DB instance during the maintenance window. Defaults to true.
func (InstanceOutput) AvailabilityZone ¶ added in v5.4.0
func (o InstanceOutput) AvailabilityZone() pulumi.StringOutput
The AZ for the RDS instance.
func (InstanceOutput) BackupRetentionPeriod ¶ added in v5.4.0
func (o InstanceOutput) BackupRetentionPeriod() pulumi.IntOutput
The days to retain backups for. Must be between `0` and `35`. Default is `0`. Must be greater than `0` if the database is used as a source for a [Read Replica][instance-replication], uses low-downtime updates, or will use [RDS Blue/Green deployments][blue-green].
func (InstanceOutput) BackupWindow ¶ added in v5.4.0
func (o InstanceOutput) BackupWindow() pulumi.StringOutput
The daily time range (in UTC) during which automated backups are created if they are enabled. Example: "09:46-10:16". Must not overlap with `maintenanceWindow`.
func (InstanceOutput) BlueGreenUpdate ¶ added in v5.22.0
func (o InstanceOutput) BlueGreenUpdate() InstanceBlueGreenUpdatePtrOutput
Enables low-downtime updates using [RDS Blue/Green deployments][blue-green]. See blueGreenUpdate below
func (InstanceOutput) CaCertIdentifier ¶ added in v5.4.0
func (o InstanceOutput) CaCertIdentifier() pulumi.StringOutput
The identifier of the CA certificate for the DB instance.
func (InstanceOutput) CharacterSetName ¶ added in v5.4.0
func (o InstanceOutput) CharacterSetName() pulumi.StringOutput
The character set name to use for DB encoding in Oracle and Microsoft SQL instances (collation). This can't be changed. See [Oracle Character Sets Supported in Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.OracleCharacterSets.html) or [Server-Level Collation for Microsoft SQL Server](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.SQLServer.CommonDBATasks.Collation.html) for more information.
func (InstanceOutput) CopyTagsToSnapshot ¶ added in v5.4.0
func (o InstanceOutput) CopyTagsToSnapshot() pulumi.BoolPtrOutput
Copy all Instance `tags` to snapshots. Default is `false`.
func (InstanceOutput) CustomIamInstanceProfile ¶ added in v5.15.0
func (o InstanceOutput) CustomIamInstanceProfile() pulumi.StringPtrOutput
The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance.
func (InstanceOutput) CustomerOwnedIpEnabled ¶ added in v5.4.0
func (o InstanceOutput) CustomerOwnedIpEnabled() pulumi.BoolPtrOutput
Indicates whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance. See [CoIP for RDS on Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html#rds-on-outposts.coip) for more information.
func (InstanceOutput) DbName ¶ added in v5.4.0
func (o InstanceOutput) DbName() pulumi.StringOutput
The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Note that this does not apply for Oracle or SQL Server engines. See the [AWS documentation](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/create-db-instance.html) for more details on what applies for those engines. If you are providing an Oracle db name, it needs to be in all upper case. Cannot be specified for a replica.
func (InstanceOutput) DbSubnetGroupName ¶ added in v5.4.0
func (o InstanceOutput) DbSubnetGroupName() pulumi.StringOutput
Name of DB subnet group. DB instance will be created in the VPC associated with the DB subnet group. If unspecified, will be created in the `default` VPC, or in EC2 Classic, if available. When working with read replicas, it should be specified only if the source database specifies an instance in another AWS Region. See [DBSubnetGroupName in API action CreateDBInstanceReadReplica](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstanceReadReplica.html) for additional read replica contraints.
func (InstanceOutput) DeleteAutomatedBackups ¶ added in v5.4.0
func (o InstanceOutput) DeleteAutomatedBackups() pulumi.BoolPtrOutput
Specifies whether to remove automated backups immediately after the DB instance is deleted. Default is `true`.
func (InstanceOutput) DeletionProtection ¶ added in v5.4.0
func (o InstanceOutput) DeletionProtection() pulumi.BoolPtrOutput
If the DB instance should have deletion protection enabled. The database can't be deleted when this value is set to `true`. The default is `false`.
func (InstanceOutput) Domain ¶ added in v5.4.0
func (o InstanceOutput) Domain() pulumi.StringPtrOutput
The ID of the Directory Service Active Directory domain to create the instance in.
func (InstanceOutput) DomainIamRoleName ¶ added in v5.4.0
func (o InstanceOutput) DomainIamRoleName() pulumi.StringPtrOutput
The name of the IAM role to be used when making API calls to the Directory Service.
func (InstanceOutput) ElementType ¶
func (InstanceOutput) ElementType() reflect.Type
func (InstanceOutput) EnabledCloudwatchLogsExports ¶ added in v5.4.0
func (o InstanceOutput) EnabledCloudwatchLogsExports() pulumi.StringArrayOutput
Set of log types to enable for exporting to CloudWatch logs. If omitted, no logs will be exported. Valid values (depending on `engine`). MySQL and MariaDB: `audit`, `error`, `general`, `slowquery`. PostgreSQL: `postgresql`, `upgrade`. MSSQL: `agent` , `error`. Oracle: `alert`, `audit`, `listener`, `trace`.
func (InstanceOutput) Endpoint ¶ added in v5.4.0
func (o InstanceOutput) Endpoint() pulumi.StringOutput
The connection endpoint in `address:port` format.
func (InstanceOutput) Engine ¶ added in v5.4.0
func (o InstanceOutput) Engine() pulumi.StringOutput
(Required unless a `snapshotIdentifier` or `replicateSourceDb` is provided) The database engine to use. For supported values, see the Engine parameter in [API action CreateDBInstance](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html). Cannot be specified for a replica. Note that for Amazon Aurora instances the engine must match the DB cluster's engine'. For information on the difference between the available Aurora MySQL engines see [Comparison between Aurora MySQL 1 and Aurora MySQL 2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AuroraMySQL.Updates.20180206.html) in the Amazon RDS User Guide.
func (InstanceOutput) EngineVersion ¶ added in v5.4.0
func (o InstanceOutput) EngineVersion() pulumi.StringOutput
The engine version to use. If `autoMinorVersionUpgrade` is enabled, you can provide a prefix of the version such as `5.7` (for `5.7.10`). The actual engine version used is returned in the attribute `engineVersionActual`, see Attributes Reference below. For supported values, see the EngineVersion parameter in [API action CreateDBInstance](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html). Note that for Amazon Aurora instances the engine version must match the DB cluster's engine version'. Cannot be specified for a replica.
func (InstanceOutput) EngineVersionActual ¶ added in v5.4.0
func (o InstanceOutput) EngineVersionActual() pulumi.StringOutput
The running version of the database.
func (InstanceOutput) FinalSnapshotIdentifier ¶ added in v5.4.0
func (o InstanceOutput) FinalSnapshotIdentifier() pulumi.StringPtrOutput
The name of your final DB snapshot when this DB instance is deleted. Must be provided if `skipFinalSnapshot` is set to `false`. The value must begin with a letter, only contain alphanumeric characters and hyphens, and not end with a hyphen or contain two consecutive hyphens. Must not be provided when deleting a read replica.
func (InstanceOutput) HostedZoneId ¶ added in v5.4.0
func (o InstanceOutput) HostedZoneId() pulumi.StringOutput
Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.
func (InstanceOutput) IamDatabaseAuthenticationEnabled ¶ added in v5.4.0
func (o InstanceOutput) IamDatabaseAuthenticationEnabled() pulumi.BoolPtrOutput
Specifies whether mappings of AWS Identity and Access Management (IAM) accounts to database accounts is enabled.
func (InstanceOutput) Identifier ¶ added in v5.4.0
func (o InstanceOutput) Identifier() pulumi.StringOutput
The name of the RDS instance, if omitted, this provider will assign a random, unique identifier. Required if `restoreToPointInTime` is specified.
func (InstanceOutput) IdentifierPrefix ¶ added in v5.4.0
func (o InstanceOutput) IdentifierPrefix() pulumi.StringOutput
Creates a unique identifier beginning with the specified prefix. Conflicts with `identifier`.
func (InstanceOutput) InstanceClass ¶ added in v5.4.0
func (o InstanceOutput) InstanceClass() pulumi.StringOutput
The instance type of the RDS instance.
func (InstanceOutput) Iops ¶ added in v5.4.0
func (o InstanceOutput) Iops() pulumi.IntOutput
The amount of provisioned IOPS. Setting this implies a storageType of "io1". Can only be set when `storageType` is `"io1"` or `"gp3"`. Cannot be specified for gp3 storage if the `allocatedStorage` value is below a per-`engine` threshold. See the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#gp3-storage) for details.
func (InstanceOutput) KmsKeyId ¶ added in v5.4.0
func (o InstanceOutput) KmsKeyId() pulumi.StringOutput
The ARN for the KMS encryption key. If creating an encrypted replica, set this to the destination KMS ARN.
func (InstanceOutput) LatestRestorableTime ¶ added in v5.4.0
func (o InstanceOutput) LatestRestorableTime() pulumi.StringOutput
The latest time, in UTC [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8), to which a database can be restored with point-in-time restore.
func (InstanceOutput) LicenseModel ¶ added in v5.4.0
func (o InstanceOutput) LicenseModel() pulumi.StringOutput
(Optional, but required for some DB engines, i.e., Oracle SE1) License model information for this DB instance.
func (InstanceOutput) ListenerEndpoints ¶ added in v5.32.0
func (o InstanceOutput) ListenerEndpoints() InstanceListenerEndpointArrayOutput
Specifies the listener connection endpoint for SQL Server Always On. See endpoint below.
func (InstanceOutput) MaintenanceWindow ¶ added in v5.4.0
func (o InstanceOutput) MaintenanceWindow() pulumi.StringOutput
The window to perform maintenance in. Syntax: "ddd:hh24:mi-ddd:hh24:mi". Eg: "Mon:00:00-Mon:03:00". See [RDS Maintenance Window docs](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow) for more information.
func (InstanceOutput) MaxAllocatedStorage ¶ added in v5.4.0
func (o InstanceOutput) MaxAllocatedStorage() pulumi.IntPtrOutput
When configured, the upper limit to which Amazon RDS can automatically scale the storage of the DB instance. Configuring this will automatically ignore differences to `allocatedStorage`. Must be greater than or equal to `allocatedStorage` or `0` to disable Storage Autoscaling.
func (InstanceOutput) MonitoringInterval ¶ added in v5.4.0
func (o InstanceOutput) MonitoringInterval() pulumi.IntPtrOutput
The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0. Valid Values: 0, 1, 5, 10, 15, 30, 60.
func (InstanceOutput) MonitoringRoleArn ¶ added in v5.4.0
func (o InstanceOutput) MonitoringRoleArn() pulumi.StringOutput
The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to CloudWatch Logs. You can find more information on the [AWS Documentation](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html) what IAM permissions are needed to allow Enhanced Monitoring for RDS Instances.
func (InstanceOutput) MultiAz ¶ added in v5.4.0
func (o InstanceOutput) MultiAz() pulumi.BoolOutput
Specifies if the RDS instance is multi-AZ
func (InstanceOutput) Name ¶ added in v5.4.0
func (o InstanceOutput) Name() pulumi.StringOutput
The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Note that this does not apply for Oracle or SQL Server engines. See the [AWS documentation](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/create-db-instance.html) for more details on what applies for those engines. If you are providing an Oracle db name, it needs to be in all upper case. Cannot be specified for a replica.
func (InstanceOutput) NcharCharacterSetName ¶ added in v5.4.0
func (o InstanceOutput) NcharCharacterSetName() pulumi.StringOutput
The national character set is used in the NCHAR, NVARCHAR2, and NCLOB data types for Oracle instances. This can't be changed. See [Oracle Character Sets Supported in Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.OracleCharacterSets.html).
func (InstanceOutput) NetworkType ¶ added in v5.13.0
func (o InstanceOutput) NetworkType() pulumi.StringOutput
The network type of the DB instance. Valid values: `IPV4`, `DUAL`.
func (InstanceOutput) OptionGroupName ¶ added in v5.4.0
func (o InstanceOutput) OptionGroupName() pulumi.StringOutput
Name of the DB option group to associate.
func (InstanceOutput) ParameterGroupName ¶ added in v5.4.0
func (o InstanceOutput) ParameterGroupName() pulumi.StringOutput
Name of the DB parameter group to associate.
func (InstanceOutput) Password ¶ added in v5.4.0
func (o InstanceOutput) Password() pulumi.StringPtrOutput
(Required unless a `snapshotIdentifier` or `replicateSourceDb` is provided) Password for the master DB user. Note that this may show up in logs, and it will be stored in the state file.
func (InstanceOutput) PerformanceInsightsEnabled ¶ added in v5.4.0
func (o InstanceOutput) PerformanceInsightsEnabled() pulumi.BoolPtrOutput
Specifies whether Performance Insights are enabled. Defaults to false.
func (InstanceOutput) PerformanceInsightsKmsKeyId ¶ added in v5.4.0
func (o InstanceOutput) PerformanceInsightsKmsKeyId() pulumi.StringOutput
The ARN for the KMS key to encrypt Performance Insights data. When specifying `performanceInsightsKmsKeyId`, `performanceInsightsEnabled` needs to be set to true. Once KMS key is set, it can never be changed.
func (InstanceOutput) PerformanceInsightsRetentionPeriod ¶ added in v5.4.0
func (o InstanceOutput) PerformanceInsightsRetentionPeriod() pulumi.IntOutput
Amount of time in days to retain Performance Insights data. Valid values are `7`, `731` (2 years) or a multiple of `31`. When specifying `performanceInsightsRetentionPeriod`, `performanceInsightsEnabled` needs to be set to true. Defaults to '7'.
func (InstanceOutput) Port ¶ added in v5.4.0
func (o InstanceOutput) Port() pulumi.IntOutput
The port on which the DB accepts connections.
func (InstanceOutput) PubliclyAccessible ¶ added in v5.4.0
func (o InstanceOutput) PubliclyAccessible() pulumi.BoolPtrOutput
Bool to control if instance is publicly accessible. Default is `false`.
func (InstanceOutput) ReplicaMode ¶ added in v5.4.0
func (o InstanceOutput) ReplicaMode() pulumi.StringOutput
Specifies whether the replica is in either `mounted` or `open-read-only` mode. This attribute is only supported by Oracle instances. Oracle replicas operate in `open-read-only` mode unless otherwise specified. See [Working with Oracle Read Replicas](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html) for more information.
func (InstanceOutput) Replicas ¶ added in v5.4.0
func (o InstanceOutput) Replicas() pulumi.StringArrayOutput
func (InstanceOutput) ReplicateSourceDb ¶ added in v5.4.0
func (o InstanceOutput) ReplicateSourceDb() pulumi.StringPtrOutput
Specifies that this resource is a Replicate database, and to use this value as the source database. This correlates to the `identifier` of another Amazon RDS Database to replicate (if replicating within a single region) or ARN of the Amazon RDS Database to replicate (if replicating cross-region). Note that if you are creating a cross-region replica of an encrypted database you will also need to specify a `kmsKeyId`. See [DB Instance Replication][instance-replication] and [Working with PostgreSQL and MySQL Read Replicas](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReadRepl.html) for more information on using Replication.
func (InstanceOutput) ResourceId ¶ added in v5.4.0
func (o InstanceOutput) ResourceId() pulumi.StringOutput
The RDS Resource ID of this instance.
func (InstanceOutput) RestoreToPointInTime ¶ added in v5.4.0
func (o InstanceOutput) RestoreToPointInTime() InstanceRestoreToPointInTimePtrOutput
A configuration block for restoring a DB instance to an arbitrary point in time. Requires the `identifier` argument to be set with the name of the new DB instance to be created. See Restore To Point In Time below for details.
func (InstanceOutput) S3Import ¶ added in v5.4.0
func (o InstanceOutput) S3Import() InstanceS3ImportPtrOutput
Restore from a Percona Xtrabackup in S3. See [Importing Data into an Amazon RDS MySQL DB Instance](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/MySQL.Procedural.Importing.html)
func (InstanceOutput) SecurityGroupNames
deprecated
added in
v5.4.0
func (o InstanceOutput) SecurityGroupNames() pulumi.StringArrayOutput
List of DB Security Groups to associate. Only used for [DB Instances on the _EC2-Classic_ Platform](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.html#USER_VPC.FindDefaultVPC).
Deprecated: With the retirement of EC2-Classic the security_group_names attribute has been deprecated and will be removed in a future version.
func (InstanceOutput) SkipFinalSnapshot ¶ added in v5.4.0
func (o InstanceOutput) SkipFinalSnapshot() pulumi.BoolPtrOutput
Determines whether a final DB snapshot is created before the DB instance is deleted. If true is specified, no DBSnapshot is created. If false is specified, a DB snapshot is created before the DB instance is deleted, using the value from `finalSnapshotIdentifier`. Default is `false`.
func (InstanceOutput) SnapshotIdentifier ¶ added in v5.4.0
func (o InstanceOutput) SnapshotIdentifier() pulumi.StringOutput
Specifies whether or not to create this database from a snapshot. This correlates to the snapshot ID you'd find in the RDS console, e.g: rds:production-2015-06-26-06-05.
func (InstanceOutput) Status ¶ added in v5.4.0
func (o InstanceOutput) Status() pulumi.StringOutput
The RDS instance status.
func (InstanceOutput) StorageEncrypted ¶ added in v5.4.0
func (o InstanceOutput) StorageEncrypted() pulumi.BoolPtrOutput
Specifies whether the DB instance is encrypted. Note that if you are creating a cross-region read replica this field is ignored and you should instead declare `kmsKeyId` with a valid ARN. The default is `false` if not specified.
func (InstanceOutput) StorageThroughput ¶ added in v5.23.0
func (o InstanceOutput) StorageThroughput() pulumi.IntOutput
The storage throughput value for the DB instance. Can only be set when `storageType` is `"gp3"`. Cannot be specified if the `allocatedStorage` value is below a per-`engine` threshold. See the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#gp3-storage) for details.
func (InstanceOutput) StorageType ¶ added in v5.4.0
func (o InstanceOutput) StorageType() pulumi.StringOutput
One of "standard" (magnetic), "gp2" (general purpose SSD), "gp3" (general purpose SSD that needs `iops` independently) or "io1" (provisioned IOPS SSD). The default is "io1" if `iops` is specified, "gp2" if not.
func (InstanceOutput) Tags ¶ added in v5.4.0
func (o InstanceOutput) Tags() pulumi.StringMapOutput
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.
func (InstanceOutput) TagsAll ¶ added in v5.4.0
func (o InstanceOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (InstanceOutput) Timezone ¶ added in v5.4.0
func (o InstanceOutput) Timezone() pulumi.StringOutput
Time zone of the DB instance. `timezone` is currently only supported by Microsoft SQL Server. The `timezone` can only be set on creation. See [MSSQL User Guide](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone) for more information.
func (InstanceOutput) ToInstanceOutput ¶
func (o InstanceOutput) ToInstanceOutput() InstanceOutput
func (InstanceOutput) ToInstanceOutputWithContext ¶
func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
func (InstanceOutput) Username ¶ added in v5.4.0
func (o InstanceOutput) Username() pulumi.StringOutput
(Required unless a `snapshotIdentifier` or `replicateSourceDb` is provided) Username for the master DB user. Cannot be specified for a replica.
func (InstanceOutput) VpcSecurityGroupIds ¶ added in v5.4.0
func (o InstanceOutput) VpcSecurityGroupIds() pulumi.StringArrayOutput
List of VPC security groups to associate.
type InstanceRestoreToPointInTime ¶
type InstanceRestoreToPointInTime struct { // The date and time to restore from. Value must be a time in Universal Coordinated Time (UTC) format and must be before the latest restorable time for the DB instance. Cannot be specified with `useLatestRestorableTime`. RestoreTime *string `pulumi:"restoreTime"` // The ARN of the automated backup from which to restore. Required if `sourceDbInstanceIdentifier` or `sourceDbiResourceId` is not specified. SourceDbInstanceAutomatedBackupsArn *string `pulumi:"sourceDbInstanceAutomatedBackupsArn"` // The identifier of the source DB instance from which to restore. Must match the identifier of an existing DB instance. Required if `sourceDbInstanceAutomatedBackupsArn` or `sourceDbiResourceId` is not specified. SourceDbInstanceIdentifier *string `pulumi:"sourceDbInstanceIdentifier"` // The resource ID of the source DB instance from which to restore. Required if `sourceDbInstanceIdentifier` or `sourceDbInstanceAutomatedBackupsArn` is not specified. SourceDbiResourceId *string `pulumi:"sourceDbiResourceId"` // A boolean value that indicates whether the DB instance is restored from the latest backup time. Defaults to `false`. Cannot be specified with `restoreTime`. UseLatestRestorableTime *bool `pulumi:"useLatestRestorableTime"` }
type InstanceRestoreToPointInTimeArgs ¶
type InstanceRestoreToPointInTimeArgs struct { // The date and time to restore from. Value must be a time in Universal Coordinated Time (UTC) format and must be before the latest restorable time for the DB instance. Cannot be specified with `useLatestRestorableTime`. RestoreTime pulumi.StringPtrInput `pulumi:"restoreTime"` // The ARN of the automated backup from which to restore. Required if `sourceDbInstanceIdentifier` or `sourceDbiResourceId` is not specified. SourceDbInstanceAutomatedBackupsArn pulumi.StringPtrInput `pulumi:"sourceDbInstanceAutomatedBackupsArn"` // The identifier of the source DB instance from which to restore. Must match the identifier of an existing DB instance. Required if `sourceDbInstanceAutomatedBackupsArn` or `sourceDbiResourceId` is not specified. SourceDbInstanceIdentifier pulumi.StringPtrInput `pulumi:"sourceDbInstanceIdentifier"` // The resource ID of the source DB instance from which to restore. Required if `sourceDbInstanceIdentifier` or `sourceDbInstanceAutomatedBackupsArn` is not specified. SourceDbiResourceId pulumi.StringPtrInput `pulumi:"sourceDbiResourceId"` // A boolean value that indicates whether the DB instance is restored from the latest backup time. Defaults to `false`. Cannot be specified with `restoreTime`. UseLatestRestorableTime pulumi.BoolPtrInput `pulumi:"useLatestRestorableTime"` }
func (InstanceRestoreToPointInTimeArgs) ElementType ¶
func (InstanceRestoreToPointInTimeArgs) ElementType() reflect.Type
func (InstanceRestoreToPointInTimeArgs) ToInstanceRestoreToPointInTimeOutput ¶
func (i InstanceRestoreToPointInTimeArgs) ToInstanceRestoreToPointInTimeOutput() InstanceRestoreToPointInTimeOutput
func (InstanceRestoreToPointInTimeArgs) ToInstanceRestoreToPointInTimeOutputWithContext ¶
func (i InstanceRestoreToPointInTimeArgs) ToInstanceRestoreToPointInTimeOutputWithContext(ctx context.Context) InstanceRestoreToPointInTimeOutput
func (InstanceRestoreToPointInTimeArgs) ToInstanceRestoreToPointInTimePtrOutput ¶
func (i InstanceRestoreToPointInTimeArgs) ToInstanceRestoreToPointInTimePtrOutput() InstanceRestoreToPointInTimePtrOutput
func (InstanceRestoreToPointInTimeArgs) ToInstanceRestoreToPointInTimePtrOutputWithContext ¶
func (i InstanceRestoreToPointInTimeArgs) ToInstanceRestoreToPointInTimePtrOutputWithContext(ctx context.Context) InstanceRestoreToPointInTimePtrOutput
type InstanceRestoreToPointInTimeInput ¶
type InstanceRestoreToPointInTimeInput interface { pulumi.Input ToInstanceRestoreToPointInTimeOutput() InstanceRestoreToPointInTimeOutput ToInstanceRestoreToPointInTimeOutputWithContext(context.Context) InstanceRestoreToPointInTimeOutput }
InstanceRestoreToPointInTimeInput is an input type that accepts InstanceRestoreToPointInTimeArgs and InstanceRestoreToPointInTimeOutput values. You can construct a concrete instance of `InstanceRestoreToPointInTimeInput` via:
InstanceRestoreToPointInTimeArgs{...}
type InstanceRestoreToPointInTimeOutput ¶
type InstanceRestoreToPointInTimeOutput struct{ *pulumi.OutputState }
func (InstanceRestoreToPointInTimeOutput) ElementType ¶
func (InstanceRestoreToPointInTimeOutput) ElementType() reflect.Type
func (InstanceRestoreToPointInTimeOutput) RestoreTime ¶
func (o InstanceRestoreToPointInTimeOutput) RestoreTime() pulumi.StringPtrOutput
The date and time to restore from. Value must be a time in Universal Coordinated Time (UTC) format and must be before the latest restorable time for the DB instance. Cannot be specified with `useLatestRestorableTime`.
func (InstanceRestoreToPointInTimeOutput) SourceDbInstanceAutomatedBackupsArn ¶ added in v5.1.0
func (o InstanceRestoreToPointInTimeOutput) SourceDbInstanceAutomatedBackupsArn() pulumi.StringPtrOutput
The ARN of the automated backup from which to restore. Required if `sourceDbInstanceIdentifier` or `sourceDbiResourceId` is not specified.
func (InstanceRestoreToPointInTimeOutput) SourceDbInstanceIdentifier ¶
func (o InstanceRestoreToPointInTimeOutput) SourceDbInstanceIdentifier() pulumi.StringPtrOutput
The identifier of the source DB instance from which to restore. Must match the identifier of an existing DB instance. Required if `sourceDbInstanceAutomatedBackupsArn` or `sourceDbiResourceId` is not specified.
func (InstanceRestoreToPointInTimeOutput) SourceDbiResourceId ¶
func (o InstanceRestoreToPointInTimeOutput) SourceDbiResourceId() pulumi.StringPtrOutput
The resource ID of the source DB instance from which to restore. Required if `sourceDbInstanceIdentifier` or `sourceDbInstanceAutomatedBackupsArn` is not specified.
func (InstanceRestoreToPointInTimeOutput) ToInstanceRestoreToPointInTimeOutput ¶
func (o InstanceRestoreToPointInTimeOutput) ToInstanceRestoreToPointInTimeOutput() InstanceRestoreToPointInTimeOutput
func (InstanceRestoreToPointInTimeOutput) ToInstanceRestoreToPointInTimeOutputWithContext ¶
func (o InstanceRestoreToPointInTimeOutput) ToInstanceRestoreToPointInTimeOutputWithContext(ctx context.Context) InstanceRestoreToPointInTimeOutput
func (InstanceRestoreToPointInTimeOutput) ToInstanceRestoreToPointInTimePtrOutput ¶
func (o InstanceRestoreToPointInTimeOutput) ToInstanceRestoreToPointInTimePtrOutput() InstanceRestoreToPointInTimePtrOutput
func (InstanceRestoreToPointInTimeOutput) ToInstanceRestoreToPointInTimePtrOutputWithContext ¶
func (o InstanceRestoreToPointInTimeOutput) ToInstanceRestoreToPointInTimePtrOutputWithContext(ctx context.Context) InstanceRestoreToPointInTimePtrOutput
func (InstanceRestoreToPointInTimeOutput) UseLatestRestorableTime ¶
func (o InstanceRestoreToPointInTimeOutput) UseLatestRestorableTime() pulumi.BoolPtrOutput
A boolean value that indicates whether the DB instance is restored from the latest backup time. Defaults to `false`. Cannot be specified with `restoreTime`.
type InstanceRestoreToPointInTimePtrInput ¶
type InstanceRestoreToPointInTimePtrInput interface { pulumi.Input ToInstanceRestoreToPointInTimePtrOutput() InstanceRestoreToPointInTimePtrOutput ToInstanceRestoreToPointInTimePtrOutputWithContext(context.Context) InstanceRestoreToPointInTimePtrOutput }
InstanceRestoreToPointInTimePtrInput is an input type that accepts InstanceRestoreToPointInTimeArgs, InstanceRestoreToPointInTimePtr and InstanceRestoreToPointInTimePtrOutput values. You can construct a concrete instance of `InstanceRestoreToPointInTimePtrInput` via:
InstanceRestoreToPointInTimeArgs{...} or: nil
func InstanceRestoreToPointInTimePtr ¶
func InstanceRestoreToPointInTimePtr(v *InstanceRestoreToPointInTimeArgs) InstanceRestoreToPointInTimePtrInput
type InstanceRestoreToPointInTimePtrOutput ¶
type InstanceRestoreToPointInTimePtrOutput struct{ *pulumi.OutputState }
func (InstanceRestoreToPointInTimePtrOutput) ElementType ¶
func (InstanceRestoreToPointInTimePtrOutput) ElementType() reflect.Type
func (InstanceRestoreToPointInTimePtrOutput) RestoreTime ¶
func (o InstanceRestoreToPointInTimePtrOutput) RestoreTime() pulumi.StringPtrOutput
The date and time to restore from. Value must be a time in Universal Coordinated Time (UTC) format and must be before the latest restorable time for the DB instance. Cannot be specified with `useLatestRestorableTime`.
func (InstanceRestoreToPointInTimePtrOutput) SourceDbInstanceAutomatedBackupsArn ¶ added in v5.1.0
func (o InstanceRestoreToPointInTimePtrOutput) SourceDbInstanceAutomatedBackupsArn() pulumi.StringPtrOutput
The ARN of the automated backup from which to restore. Required if `sourceDbInstanceIdentifier` or `sourceDbiResourceId` is not specified.
func (InstanceRestoreToPointInTimePtrOutput) SourceDbInstanceIdentifier ¶
func (o InstanceRestoreToPointInTimePtrOutput) SourceDbInstanceIdentifier() pulumi.StringPtrOutput
The identifier of the source DB instance from which to restore. Must match the identifier of an existing DB instance. Required if `sourceDbInstanceAutomatedBackupsArn` or `sourceDbiResourceId` is not specified.
func (InstanceRestoreToPointInTimePtrOutput) SourceDbiResourceId ¶
func (o InstanceRestoreToPointInTimePtrOutput) SourceDbiResourceId() pulumi.StringPtrOutput
The resource ID of the source DB instance from which to restore. Required if `sourceDbInstanceIdentifier` or `sourceDbInstanceAutomatedBackupsArn` is not specified.
func (InstanceRestoreToPointInTimePtrOutput) ToInstanceRestoreToPointInTimePtrOutput ¶
func (o InstanceRestoreToPointInTimePtrOutput) ToInstanceRestoreToPointInTimePtrOutput() InstanceRestoreToPointInTimePtrOutput
func (InstanceRestoreToPointInTimePtrOutput) ToInstanceRestoreToPointInTimePtrOutputWithContext ¶
func (o InstanceRestoreToPointInTimePtrOutput) ToInstanceRestoreToPointInTimePtrOutputWithContext(ctx context.Context) InstanceRestoreToPointInTimePtrOutput
func (InstanceRestoreToPointInTimePtrOutput) UseLatestRestorableTime ¶
func (o InstanceRestoreToPointInTimePtrOutput) UseLatestRestorableTime() pulumi.BoolPtrOutput
A boolean value that indicates whether the DB instance is restored from the latest backup time. Defaults to `false`. Cannot be specified with `restoreTime`.
type InstanceS3Import ¶
type InstanceS3Import struct { // The bucket name where your backup is stored BucketName string `pulumi:"bucketName"` // Can be blank, but is the path to your backup BucketPrefix *string `pulumi:"bucketPrefix"` // Role applied to load the data. IngestionRole string `pulumi:"ingestionRole"` // Source engine for the backup SourceEngine string `pulumi:"sourceEngine"` // Version of the source engine used to make the backup SourceEngineVersion string `pulumi:"sourceEngineVersion"` }
type InstanceS3ImportArgs ¶
type InstanceS3ImportArgs struct { // The bucket name where your backup is stored BucketName pulumi.StringInput `pulumi:"bucketName"` // Can be blank, but is the path to your backup BucketPrefix pulumi.StringPtrInput `pulumi:"bucketPrefix"` // Role applied to load the data. IngestionRole pulumi.StringInput `pulumi:"ingestionRole"` // Source engine for the backup SourceEngine pulumi.StringInput `pulumi:"sourceEngine"` // Version of the source engine used to make the backup SourceEngineVersion pulumi.StringInput `pulumi:"sourceEngineVersion"` }
func (InstanceS3ImportArgs) ElementType ¶
func (InstanceS3ImportArgs) ElementType() reflect.Type
func (InstanceS3ImportArgs) ToInstanceS3ImportOutput ¶
func (i InstanceS3ImportArgs) ToInstanceS3ImportOutput() InstanceS3ImportOutput
func (InstanceS3ImportArgs) ToInstanceS3ImportOutputWithContext ¶
func (i InstanceS3ImportArgs) ToInstanceS3ImportOutputWithContext(ctx context.Context) InstanceS3ImportOutput
func (InstanceS3ImportArgs) ToInstanceS3ImportPtrOutput ¶
func (i InstanceS3ImportArgs) ToInstanceS3ImportPtrOutput() InstanceS3ImportPtrOutput
func (InstanceS3ImportArgs) ToInstanceS3ImportPtrOutputWithContext ¶
func (i InstanceS3ImportArgs) ToInstanceS3ImportPtrOutputWithContext(ctx context.Context) InstanceS3ImportPtrOutput
type InstanceS3ImportInput ¶
type InstanceS3ImportInput interface { pulumi.Input ToInstanceS3ImportOutput() InstanceS3ImportOutput ToInstanceS3ImportOutputWithContext(context.Context) InstanceS3ImportOutput }
InstanceS3ImportInput is an input type that accepts InstanceS3ImportArgs and InstanceS3ImportOutput values. You can construct a concrete instance of `InstanceS3ImportInput` via:
InstanceS3ImportArgs{...}
type InstanceS3ImportOutput ¶
type InstanceS3ImportOutput struct{ *pulumi.OutputState }
func (InstanceS3ImportOutput) BucketName ¶
func (o InstanceS3ImportOutput) BucketName() pulumi.StringOutput
The bucket name where your backup is stored
func (InstanceS3ImportOutput) BucketPrefix ¶
func (o InstanceS3ImportOutput) BucketPrefix() pulumi.StringPtrOutput
Can be blank, but is the path to your backup
func (InstanceS3ImportOutput) ElementType ¶
func (InstanceS3ImportOutput) ElementType() reflect.Type
func (InstanceS3ImportOutput) IngestionRole ¶
func (o InstanceS3ImportOutput) IngestionRole() pulumi.StringOutput
Role applied to load the data.
func (InstanceS3ImportOutput) SourceEngine ¶
func (o InstanceS3ImportOutput) SourceEngine() pulumi.StringOutput
Source engine for the backup
func (InstanceS3ImportOutput) SourceEngineVersion ¶
func (o InstanceS3ImportOutput) SourceEngineVersion() pulumi.StringOutput
Version of the source engine used to make the backup
func (InstanceS3ImportOutput) ToInstanceS3ImportOutput ¶
func (o InstanceS3ImportOutput) ToInstanceS3ImportOutput() InstanceS3ImportOutput
func (InstanceS3ImportOutput) ToInstanceS3ImportOutputWithContext ¶
func (o InstanceS3ImportOutput) ToInstanceS3ImportOutputWithContext(ctx context.Context) InstanceS3ImportOutput
func (InstanceS3ImportOutput) ToInstanceS3ImportPtrOutput ¶
func (o InstanceS3ImportOutput) ToInstanceS3ImportPtrOutput() InstanceS3ImportPtrOutput
func (InstanceS3ImportOutput) ToInstanceS3ImportPtrOutputWithContext ¶
func (o InstanceS3ImportOutput) ToInstanceS3ImportPtrOutputWithContext(ctx context.Context) InstanceS3ImportPtrOutput
type InstanceS3ImportPtrInput ¶
type InstanceS3ImportPtrInput interface { pulumi.Input ToInstanceS3ImportPtrOutput() InstanceS3ImportPtrOutput ToInstanceS3ImportPtrOutputWithContext(context.Context) InstanceS3ImportPtrOutput }
InstanceS3ImportPtrInput is an input type that accepts InstanceS3ImportArgs, InstanceS3ImportPtr and InstanceS3ImportPtrOutput values. You can construct a concrete instance of `InstanceS3ImportPtrInput` via:
InstanceS3ImportArgs{...} or: nil
func InstanceS3ImportPtr ¶
func InstanceS3ImportPtr(v *InstanceS3ImportArgs) InstanceS3ImportPtrInput
type InstanceS3ImportPtrOutput ¶
type InstanceS3ImportPtrOutput struct{ *pulumi.OutputState }
func (InstanceS3ImportPtrOutput) BucketName ¶
func (o InstanceS3ImportPtrOutput) BucketName() pulumi.StringPtrOutput
The bucket name where your backup is stored
func (InstanceS3ImportPtrOutput) BucketPrefix ¶
func (o InstanceS3ImportPtrOutput) BucketPrefix() pulumi.StringPtrOutput
Can be blank, but is the path to your backup
func (InstanceS3ImportPtrOutput) Elem ¶
func (o InstanceS3ImportPtrOutput) Elem() InstanceS3ImportOutput
func (InstanceS3ImportPtrOutput) ElementType ¶
func (InstanceS3ImportPtrOutput) ElementType() reflect.Type
func (InstanceS3ImportPtrOutput) IngestionRole ¶
func (o InstanceS3ImportPtrOutput) IngestionRole() pulumi.StringPtrOutput
Role applied to load the data.
func (InstanceS3ImportPtrOutput) SourceEngine ¶
func (o InstanceS3ImportPtrOutput) SourceEngine() pulumi.StringPtrOutput
Source engine for the backup
func (InstanceS3ImportPtrOutput) SourceEngineVersion ¶
func (o InstanceS3ImportPtrOutput) SourceEngineVersion() pulumi.StringPtrOutput
Version of the source engine used to make the backup
func (InstanceS3ImportPtrOutput) ToInstanceS3ImportPtrOutput ¶
func (o InstanceS3ImportPtrOutput) ToInstanceS3ImportPtrOutput() InstanceS3ImportPtrOutput
func (InstanceS3ImportPtrOutput) ToInstanceS3ImportPtrOutputWithContext ¶
func (o InstanceS3ImportPtrOutput) ToInstanceS3ImportPtrOutputWithContext(ctx context.Context) InstanceS3ImportPtrOutput
type InstanceState ¶
type InstanceState struct { // Specifies the DNS address of the DB instance. Address pulumi.StringPtrInput // The allocated storage in gibibytes. If `maxAllocatedStorage` is configured, this argument represents the initial storage allocation and differences from the configuration will be ignored automatically when Storage Autoscaling occurs. If `replicateSourceDb` is set, the value is ignored during the creation of the instance. AllocatedStorage pulumi.IntPtrInput // Indicates that major version // upgrades are allowed. Changing this parameter does not result in an outage and // the change is asynchronously applied as soon as possible. AllowMajorVersionUpgrade pulumi.BoolPtrInput // Specifies whether any database modifications // are applied immediately, or during the next maintenance window. Default is // `false`. See [Amazon RDS Documentation for more // information.](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.DBInstance.Modifying.html) ApplyImmediately pulumi.BoolPtrInput // The ARN of the RDS instance. Arn pulumi.StringPtrInput // Indicates that minor engine upgrades // will be applied automatically to the DB instance during the maintenance window. // Defaults to true. AutoMinorVersionUpgrade pulumi.BoolPtrInput // The AZ for the RDS instance. AvailabilityZone pulumi.StringPtrInput // The days to retain backups for. // Must be between `0` and `35`. // Default is `0`. // Must be greater than `0` if the database is used as a source for a [Read Replica][instance-replication], // uses low-downtime updates, // or will use [RDS Blue/Green deployments][blue-green]. BackupRetentionPeriod pulumi.IntPtrInput // The daily time range (in UTC) during which automated backups are created if they are enabled. // Example: "09:46-10:16". Must not overlap with `maintenanceWindow`. BackupWindow pulumi.StringPtrInput // Enables low-downtime updates using [RDS Blue/Green deployments][blue-green]. // See blueGreenUpdate below BlueGreenUpdate InstanceBlueGreenUpdatePtrInput // The identifier of the CA certificate for the DB instance. CaCertIdentifier pulumi.StringPtrInput // The character set name to use for DB // encoding in Oracle and Microsoft SQL instances (collation). This can't be changed. See [Oracle Character Sets // Supported in Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.OracleCharacterSets.html) // or [Server-Level Collation for Microsoft SQL Server](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.SQLServer.CommonDBATasks.Collation.html) for more information. CharacterSetName pulumi.StringPtrInput // Copy all Instance `tags` to snapshots. Default is `false`. CopyTagsToSnapshot pulumi.BoolPtrInput // The instance profile associated with the underlying Amazon EC2 instance of an RDS Custom DB instance. CustomIamInstanceProfile pulumi.StringPtrInput // Indicates whether to enable a customer-owned IP address (CoIP) for an RDS on Outposts DB instance. See [CoIP for RDS on Outposts](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-on-outposts.html#rds-on-outposts.coip) for more information. CustomerOwnedIpEnabled pulumi.BoolPtrInput // The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Note that this does not apply for Oracle or SQL Server engines. See the [AWS documentation](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/create-db-instance.html) for more details on what applies for those engines. If you are providing an Oracle db name, it needs to be in all upper case. Cannot be specified for a replica. DbName pulumi.StringPtrInput // Name of DB subnet group. DB instance will // be created in the VPC associated with the DB subnet group. If unspecified, will // be created in the `default` VPC, or in EC2 Classic, if available. When working // with read replicas, it should be specified only if the source database // specifies an instance in another AWS Region. See [DBSubnetGroupName in API // action CreateDBInstanceReadReplica](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstanceReadReplica.html) // for additional read replica contraints. DbSubnetGroupName pulumi.StringPtrInput // Specifies whether to remove automated backups immediately after the DB instance is deleted. Default is `true`. DeleteAutomatedBackups pulumi.BoolPtrInput // If the DB instance should have deletion protection enabled. The database can't be deleted when this value is set to `true`. The default is `false`. DeletionProtection pulumi.BoolPtrInput // The ID of the Directory Service Active Directory domain to create the instance in. Domain pulumi.StringPtrInput // The name of the IAM role to be used when making API calls to the Directory Service. DomainIamRoleName pulumi.StringPtrInput // Set of log types to enable for exporting to CloudWatch logs. If omitted, no logs will be exported. Valid values (depending on `engine`). MySQL and MariaDB: `audit`, `error`, `general`, `slowquery`. PostgreSQL: `postgresql`, `upgrade`. MSSQL: `agent` , `error`. Oracle: `alert`, `audit`, `listener`, `trace`. EnabledCloudwatchLogsExports pulumi.StringArrayInput // The connection endpoint in `address:port` format. Endpoint pulumi.StringPtrInput // (Required unless a `snapshotIdentifier` or `replicateSourceDb` // is provided) The database engine to use. For supported values, see the Engine parameter in [API action CreateDBInstance](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html). Cannot be specified for a replica. // Note that for Amazon Aurora instances the engine must match the DB cluster's engine'. // For information on the difference between the available Aurora MySQL engines // see [Comparison between Aurora MySQL 1 and Aurora MySQL 2](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AuroraMySQL.Updates.20180206.html) // in the Amazon RDS User Guide. Engine pulumi.StringPtrInput // The engine version to use. If `autoMinorVersionUpgrade` // is enabled, you can provide a prefix of the version such as `5.7` (for `5.7.10`). // The actual engine version used is returned in the attribute `engineVersionActual`, see Attributes Reference below. // For supported values, see the EngineVersion parameter in [API action CreateDBInstance](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html). // Note that for Amazon Aurora instances the engine version must match the DB cluster's engine version'. Cannot be specified for a replica. EngineVersion pulumi.StringPtrInput // The running version of the database. EngineVersionActual pulumi.StringPtrInput // The name of your final DB snapshot // when this DB instance is deleted. Must be provided if `skipFinalSnapshot` is // set to `false`. The value must begin with a letter, only contain alphanumeric characters and hyphens, and not end with a hyphen or contain two consecutive hyphens. Must not be provided when deleting a read replica. FinalSnapshotIdentifier pulumi.StringPtrInput // Specifies the ID that Amazon Route 53 assigns when you create a hosted zone. HostedZoneId pulumi.StringPtrInput // Specifies whether mappings of AWS Identity and Access Management (IAM) accounts to database // accounts is enabled. IamDatabaseAuthenticationEnabled pulumi.BoolPtrInput // The name of the RDS instance, // if omitted, this provider will assign a random, unique identifier. Required if `restoreToPointInTime` is specified. Identifier pulumi.StringPtrInput // Creates a unique // identifier beginning with the specified prefix. Conflicts with `identifier`. IdentifierPrefix pulumi.StringPtrInput // The instance type of the RDS instance. InstanceClass pulumi.StringPtrInput // The amount of provisioned IOPS. Setting this implies a // storageType of "io1". Can only be set when `storageType` is `"io1"` or `"gp3"`. // Cannot be specified for gp3 storage if the `allocatedStorage` value is below a per-`engine` threshold. // See the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#gp3-storage) for details. Iops pulumi.IntPtrInput // The ARN for the KMS encryption key. If creating an // encrypted replica, set this to the destination KMS ARN. KmsKeyId pulumi.StringPtrInput // The latest time, in UTC [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8), to which a database can be restored with point-in-time restore. LatestRestorableTime pulumi.StringPtrInput // (Optional, but required for some DB engines, i.e., Oracle // SE1) License model information for this DB instance. LicenseModel pulumi.StringPtrInput // Specifies the listener connection endpoint for SQL Server Always On. See endpoint below. ListenerEndpoints InstanceListenerEndpointArrayInput // The window to perform maintenance in. // Syntax: "ddd:hh24:mi-ddd:hh24:mi". Eg: "Mon:00:00-Mon:03:00". See [RDS // Maintenance Window // docs](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.Maintenance.html#AdjustingTheMaintenanceWindow) // for more information. MaintenanceWindow pulumi.StringPtrInput // When configured, the upper limit to which Amazon RDS can automatically scale the storage of the DB instance. Configuring this will automatically ignore differences to `allocatedStorage`. Must be greater than or equal to `allocatedStorage` or `0` to disable Storage Autoscaling. MaxAllocatedStorage pulumi.IntPtrInput // The interval, in seconds, between points // when Enhanced Monitoring metrics are collected for the DB instance. To disable // collecting Enhanced Monitoring metrics, specify 0. The default is 0. Valid // Values: 0, 1, 5, 10, 15, 30, 60. MonitoringInterval pulumi.IntPtrInput // The ARN for the IAM role that permits RDS // to send enhanced monitoring metrics to CloudWatch Logs. You can find more // information on the [AWS // Documentation](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.html) // what IAM permissions are needed to allow Enhanced Monitoring for RDS Instances. MonitoringRoleArn pulumi.StringPtrInput // Specifies if the RDS instance is multi-AZ MultiAz pulumi.BoolPtrInput // The name of the database to create when the DB instance is created. If this parameter is not specified, no database is created in the DB instance. Note that this does not apply for Oracle or SQL Server engines. See the [AWS documentation](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/rds/create-db-instance.html) for more details on what applies for those engines. If you are providing an Oracle db name, it needs to be in all upper case. Cannot be specified for a replica. Name pulumi.StringPtrInput // The national character set is used in the NCHAR, NVARCHAR2, and NCLOB data types for Oracle instances. This can't be changed. See [Oracle Character Sets // Supported in Amazon RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.OracleCharacterSets.html). NcharCharacterSetName pulumi.StringPtrInput // The network type of the DB instance. Valid values: `IPV4`, `DUAL`. NetworkType pulumi.StringPtrInput // Name of the DB option group to associate. OptionGroupName pulumi.StringPtrInput // Name of the DB parameter group to // associate. ParameterGroupName pulumi.StringPtrInput // (Required unless a `snapshotIdentifier` or `replicateSourceDb` // is provided) Password for the master DB user. Note that this may show up in // logs, and it will be stored in the state file. Password pulumi.StringPtrInput // Specifies whether Performance Insights are enabled. Defaults to false. PerformanceInsightsEnabled pulumi.BoolPtrInput // The ARN for the KMS key to encrypt Performance Insights data. When specifying `performanceInsightsKmsKeyId`, `performanceInsightsEnabled` needs to be set to true. Once KMS key is set, it can never be changed. PerformanceInsightsKmsKeyId pulumi.StringPtrInput // Amount of time in days to retain Performance Insights data. Valid values are `7`, `731` (2 years) or a multiple of `31`. When specifying `performanceInsightsRetentionPeriod`, `performanceInsightsEnabled` needs to be set to true. Defaults to '7'. PerformanceInsightsRetentionPeriod pulumi.IntPtrInput // The port on which the DB accepts connections. Port pulumi.IntPtrInput // Bool to control if instance is publicly // accessible. Default is `false`. PubliclyAccessible pulumi.BoolPtrInput // Specifies whether the replica is in either `mounted` or `open-read-only` mode. This attribute // is only supported by Oracle instances. Oracle replicas operate in `open-read-only` mode unless otherwise specified. See [Working with Oracle Read Replicas](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-read-replicas.html) for more information. ReplicaMode pulumi.StringPtrInput Replicas pulumi.StringArrayInput // Specifies that this resource is a Replicate // database, and to use this value as the source database. This correlates to the // `identifier` of another Amazon RDS Database to replicate (if replicating within // a single region) or ARN of the Amazon RDS Database to replicate (if replicating // cross-region). Note that if you are // creating a cross-region replica of an encrypted database you will also need to // specify a `kmsKeyId`. See [DB Instance Replication][instance-replication] and [Working with // PostgreSQL and MySQL Read Replicas](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ReadRepl.html) // for more information on using Replication. ReplicateSourceDb pulumi.StringPtrInput // The RDS Resource ID of this instance. ResourceId pulumi.StringPtrInput // A configuration block for restoring a DB instance to an arbitrary point in time. Requires the `identifier` argument to be set with the name of the new DB instance to be created. See Restore To Point In Time below for details. RestoreToPointInTime InstanceRestoreToPointInTimePtrInput // Restore from a Percona Xtrabackup in S3. See [Importing Data into an Amazon RDS MySQL DB Instance](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/MySQL.Procedural.Importing.html) S3Import InstanceS3ImportPtrInput // List of DB Security Groups to // associate. Only used for [DB Instances on the _EC2-Classic_ // Platform](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.html#USER_VPC.FindDefaultVPC). // // Deprecated: With the retirement of EC2-Classic the security_group_names attribute has been deprecated and will be removed in a future version. SecurityGroupNames pulumi.StringArrayInput // Determines whether a final DB snapshot is // created before the DB instance is deleted. If true is specified, no DBSnapshot // is created. If false is specified, a DB snapshot is created before the DB // instance is deleted, using the value from `finalSnapshotIdentifier`. Default // is `false`. SkipFinalSnapshot pulumi.BoolPtrInput // Specifies whether or not to create this // database from a snapshot. This correlates to the snapshot ID you'd find in the // RDS console, e.g: rds:production-2015-06-26-06-05. SnapshotIdentifier pulumi.StringPtrInput // The RDS instance status. Status pulumi.StringPtrInput // Specifies whether the DB instance is // encrypted. Note that if you are creating a cross-region read replica this field // is ignored and you should instead declare `kmsKeyId` with a valid ARN. The // default is `false` if not specified. StorageEncrypted pulumi.BoolPtrInput // The storage throughput value for the DB instance. Can only be set when `storageType` is `"gp3"`. Cannot be specified if the `allocatedStorage` value is below a per-`engine` threshold. See the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#gp3-storage) for details. StorageThroughput pulumi.IntPtrInput // One of "standard" (magnetic), "gp2" (general // purpose SSD), "gp3" (general purpose SSD that needs `iops` independently) // or "io1" (provisioned IOPS SSD). The default is "io1" if `iops` is specified, // "gp2" if not. StorageType 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 // Time zone of the DB instance. `timezone` is currently // only supported by Microsoft SQL Server. The `timezone` can only be set on // creation. See [MSSQL User // Guide](http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_SQLServer.html#SQLServer.Concepts.General.TimeZone) // for more information. Timezone pulumi.StringPtrInput // (Required unless a `snapshotIdentifier` or `replicateSourceDb` // is provided) Username for the master DB user. Cannot be specified for a replica. Username pulumi.StringPtrInput // List of VPC security groups to // associate. VpcSecurityGroupIds pulumi.StringArrayInput }
func (InstanceState) ElementType ¶
func (InstanceState) ElementType() reflect.Type
type InstanceType ¶
type InstanceType string
func (InstanceType) ElementType ¶
func (InstanceType) ElementType() reflect.Type
func (InstanceType) ToInstanceTypeOutput ¶
func (e InstanceType) ToInstanceTypeOutput() InstanceTypeOutput
func (InstanceType) ToInstanceTypeOutputWithContext ¶
func (e InstanceType) ToInstanceTypeOutputWithContext(ctx context.Context) InstanceTypeOutput
func (InstanceType) ToInstanceTypePtrOutput ¶
func (e InstanceType) ToInstanceTypePtrOutput() InstanceTypePtrOutput
func (InstanceType) ToInstanceTypePtrOutputWithContext ¶
func (e InstanceType) ToInstanceTypePtrOutputWithContext(ctx context.Context) InstanceTypePtrOutput
func (InstanceType) ToStringOutput ¶
func (e InstanceType) ToStringOutput() pulumi.StringOutput
func (InstanceType) ToStringOutputWithContext ¶
func (e InstanceType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (InstanceType) ToStringPtrOutput ¶
func (e InstanceType) ToStringPtrOutput() pulumi.StringPtrOutput
func (InstanceType) ToStringPtrOutputWithContext ¶
func (e InstanceType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type InstanceTypeInput ¶
type InstanceTypeInput interface { pulumi.Input ToInstanceTypeOutput() InstanceTypeOutput ToInstanceTypeOutputWithContext(context.Context) InstanceTypeOutput }
InstanceTypeInput is an input type that accepts InstanceTypeArgs and InstanceTypeOutput values. You can construct a concrete instance of `InstanceTypeInput` via:
InstanceTypeArgs{...}
type InstanceTypeOutput ¶
type InstanceTypeOutput struct{ *pulumi.OutputState }
func (InstanceTypeOutput) ElementType ¶
func (InstanceTypeOutput) ElementType() reflect.Type
func (InstanceTypeOutput) ToInstanceTypeOutput ¶
func (o InstanceTypeOutput) ToInstanceTypeOutput() InstanceTypeOutput
func (InstanceTypeOutput) ToInstanceTypeOutputWithContext ¶
func (o InstanceTypeOutput) ToInstanceTypeOutputWithContext(ctx context.Context) InstanceTypeOutput
func (InstanceTypeOutput) ToInstanceTypePtrOutput ¶
func (o InstanceTypeOutput) ToInstanceTypePtrOutput() InstanceTypePtrOutput
func (InstanceTypeOutput) ToInstanceTypePtrOutputWithContext ¶
func (o InstanceTypeOutput) ToInstanceTypePtrOutputWithContext(ctx context.Context) InstanceTypePtrOutput
func (InstanceTypeOutput) ToStringOutput ¶
func (o InstanceTypeOutput) ToStringOutput() pulumi.StringOutput
func (InstanceTypeOutput) ToStringOutputWithContext ¶
func (o InstanceTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (InstanceTypeOutput) ToStringPtrOutput ¶
func (o InstanceTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (InstanceTypeOutput) ToStringPtrOutputWithContext ¶
func (o InstanceTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type InstanceTypePtrInput ¶
type InstanceTypePtrInput interface { pulumi.Input ToInstanceTypePtrOutput() InstanceTypePtrOutput ToInstanceTypePtrOutputWithContext(context.Context) InstanceTypePtrOutput }
func InstanceTypePtr ¶
func InstanceTypePtr(v string) InstanceTypePtrInput
type InstanceTypePtrOutput ¶
type InstanceTypePtrOutput struct{ *pulumi.OutputState }
func (InstanceTypePtrOutput) Elem ¶
func (o InstanceTypePtrOutput) Elem() InstanceTypeOutput
func (InstanceTypePtrOutput) ElementType ¶
func (InstanceTypePtrOutput) ElementType() reflect.Type
func (InstanceTypePtrOutput) ToInstanceTypePtrOutput ¶
func (o InstanceTypePtrOutput) ToInstanceTypePtrOutput() InstanceTypePtrOutput
func (InstanceTypePtrOutput) ToInstanceTypePtrOutputWithContext ¶
func (o InstanceTypePtrOutput) ToInstanceTypePtrOutputWithContext(ctx context.Context) InstanceTypePtrOutput
func (InstanceTypePtrOutput) ToStringPtrOutput ¶
func (o InstanceTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (InstanceTypePtrOutput) ToStringPtrOutputWithContext ¶
func (o InstanceTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type LookupClusterArgs ¶
type LookupClusterArgs struct { // Cluster identifier of the RDS cluster. ClusterIdentifier string `pulumi:"clusterIdentifier"` // A map of tags assigned to the resource. Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getCluster.
type LookupClusterOutputArgs ¶
type LookupClusterOutputArgs struct { // Cluster identifier of the RDS cluster. ClusterIdentifier pulumi.StringInput `pulumi:"clusterIdentifier"` // A map of tags assigned to the resource. Tags pulumi.StringMapInput `pulumi:"tags"` }
A collection of arguments for invoking getCluster.
func (LookupClusterOutputArgs) ElementType ¶
func (LookupClusterOutputArgs) ElementType() reflect.Type
type LookupClusterResult ¶
type LookupClusterResult struct { Arn string `pulumi:"arn"` AvailabilityZones []string `pulumi:"availabilityZones"` BacktrackWindow int `pulumi:"backtrackWindow"` BackupRetentionPeriod int `pulumi:"backupRetentionPeriod"` ClusterIdentifier string `pulumi:"clusterIdentifier"` ClusterMembers []string `pulumi:"clusterMembers"` ClusterResourceId string `pulumi:"clusterResourceId"` DatabaseName string `pulumi:"databaseName"` DbClusterParameterGroupName string `pulumi:"dbClusterParameterGroupName"` DbSubnetGroupName string `pulumi:"dbSubnetGroupName"` EnabledCloudwatchLogsExports []string `pulumi:"enabledCloudwatchLogsExports"` Endpoint string `pulumi:"endpoint"` Engine string `pulumi:"engine"` EngineMode string `pulumi:"engineMode"` EngineVersion string `pulumi:"engineVersion"` FinalSnapshotIdentifier string `pulumi:"finalSnapshotIdentifier"` HostedZoneId string `pulumi:"hostedZoneId"` IamDatabaseAuthenticationEnabled bool `pulumi:"iamDatabaseAuthenticationEnabled"` IamRoles []string `pulumi:"iamRoles"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` KmsKeyId string `pulumi:"kmsKeyId"` MasterUsername string `pulumi:"masterUsername"` NetworkType string `pulumi:"networkType"` Port int `pulumi:"port"` PreferredBackupWindow string `pulumi:"preferredBackupWindow"` PreferredMaintenanceWindow string `pulumi:"preferredMaintenanceWindow"` ReaderEndpoint string `pulumi:"readerEndpoint"` ReplicationSourceIdentifier string `pulumi:"replicationSourceIdentifier"` StorageEncrypted bool `pulumi:"storageEncrypted"` // A map of tags assigned to the resource. Tags map[string]string `pulumi:"tags"` 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 information about an RDS cluster.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.LookupCluster(ctx, &rds.LookupClusterArgs{ ClusterIdentifier: "clusterName", }, nil) if err != nil { return err } return nil }) }
```
type LookupClusterResultOutput ¶
type LookupClusterResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCluster.
func LookupClusterOutput ¶
func LookupClusterOutput(ctx *pulumi.Context, args LookupClusterOutputArgs, opts ...pulumi.InvokeOption) LookupClusterResultOutput
func (LookupClusterResultOutput) Arn ¶
func (o LookupClusterResultOutput) Arn() pulumi.StringOutput
func (LookupClusterResultOutput) AvailabilityZones ¶
func (o LookupClusterResultOutput) AvailabilityZones() pulumi.StringArrayOutput
func (LookupClusterResultOutput) BacktrackWindow ¶
func (o LookupClusterResultOutput) BacktrackWindow() pulumi.IntOutput
func (LookupClusterResultOutput) BackupRetentionPeriod ¶
func (o LookupClusterResultOutput) BackupRetentionPeriod() pulumi.IntOutput
func (LookupClusterResultOutput) ClusterIdentifier ¶
func (o LookupClusterResultOutput) ClusterIdentifier() pulumi.StringOutput
func (LookupClusterResultOutput) ClusterMembers ¶
func (o LookupClusterResultOutput) ClusterMembers() pulumi.StringArrayOutput
func (LookupClusterResultOutput) ClusterResourceId ¶
func (o LookupClusterResultOutput) ClusterResourceId() pulumi.StringOutput
func (LookupClusterResultOutput) DatabaseName ¶
func (o LookupClusterResultOutput) DatabaseName() pulumi.StringOutput
func (LookupClusterResultOutput) DbClusterParameterGroupName ¶
func (o LookupClusterResultOutput) DbClusterParameterGroupName() pulumi.StringOutput
func (LookupClusterResultOutput) DbSubnetGroupName ¶
func (o LookupClusterResultOutput) DbSubnetGroupName() pulumi.StringOutput
func (LookupClusterResultOutput) ElementType ¶
func (LookupClusterResultOutput) ElementType() reflect.Type
func (LookupClusterResultOutput) EnabledCloudwatchLogsExports ¶
func (o LookupClusterResultOutput) EnabledCloudwatchLogsExports() pulumi.StringArrayOutput
func (LookupClusterResultOutput) Endpoint ¶
func (o LookupClusterResultOutput) Endpoint() pulumi.StringOutput
func (LookupClusterResultOutput) Engine ¶
func (o LookupClusterResultOutput) Engine() pulumi.StringOutput
func (LookupClusterResultOutput) EngineMode ¶ added in v5.22.0
func (o LookupClusterResultOutput) EngineMode() pulumi.StringOutput
func (LookupClusterResultOutput) EngineVersion ¶
func (o LookupClusterResultOutput) EngineVersion() pulumi.StringOutput
func (LookupClusterResultOutput) FinalSnapshotIdentifier ¶
func (o LookupClusterResultOutput) FinalSnapshotIdentifier() pulumi.StringOutput
func (LookupClusterResultOutput) HostedZoneId ¶
func (o LookupClusterResultOutput) HostedZoneId() pulumi.StringOutput
func (LookupClusterResultOutput) IamDatabaseAuthenticationEnabled ¶
func (o LookupClusterResultOutput) IamDatabaseAuthenticationEnabled() pulumi.BoolOutput
func (LookupClusterResultOutput) IamRoles ¶
func (o LookupClusterResultOutput) IamRoles() pulumi.StringArrayOutput
func (LookupClusterResultOutput) Id ¶
func (o LookupClusterResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupClusterResultOutput) KmsKeyId ¶
func (o LookupClusterResultOutput) KmsKeyId() pulumi.StringOutput
func (LookupClusterResultOutput) MasterUsername ¶
func (o LookupClusterResultOutput) MasterUsername() pulumi.StringOutput
func (LookupClusterResultOutput) NetworkType ¶ added in v5.14.0
func (o LookupClusterResultOutput) NetworkType() pulumi.StringOutput
func (LookupClusterResultOutput) Port ¶
func (o LookupClusterResultOutput) Port() pulumi.IntOutput
func (LookupClusterResultOutput) PreferredBackupWindow ¶
func (o LookupClusterResultOutput) PreferredBackupWindow() pulumi.StringOutput
func (LookupClusterResultOutput) PreferredMaintenanceWindow ¶
func (o LookupClusterResultOutput) PreferredMaintenanceWindow() pulumi.StringOutput
func (LookupClusterResultOutput) ReaderEndpoint ¶
func (o LookupClusterResultOutput) ReaderEndpoint() pulumi.StringOutput
func (LookupClusterResultOutput) ReplicationSourceIdentifier ¶
func (o LookupClusterResultOutput) ReplicationSourceIdentifier() pulumi.StringOutput
func (LookupClusterResultOutput) StorageEncrypted ¶
func (o LookupClusterResultOutput) StorageEncrypted() pulumi.BoolOutput
func (LookupClusterResultOutput) Tags ¶
func (o LookupClusterResultOutput) Tags() pulumi.StringMapOutput
A map of tags assigned to the resource.
func (LookupClusterResultOutput) ToLookupClusterResultOutput ¶
func (o LookupClusterResultOutput) ToLookupClusterResultOutput() LookupClusterResultOutput
func (LookupClusterResultOutput) ToLookupClusterResultOutputWithContext ¶
func (o LookupClusterResultOutput) ToLookupClusterResultOutputWithContext(ctx context.Context) LookupClusterResultOutput
func (LookupClusterResultOutput) VpcSecurityGroupIds ¶
func (o LookupClusterResultOutput) VpcSecurityGroupIds() pulumi.StringArrayOutput
type LookupClusterSnapshotArgs ¶
type LookupClusterSnapshotArgs struct { // Returns the list of snapshots created by the specific db_cluster DbClusterIdentifier *string `pulumi:"dbClusterIdentifier"` // Returns information on a specific snapshot_id. DbClusterSnapshotIdentifier *string `pulumi:"dbClusterSnapshotIdentifier"` // Set this value to true to include manual DB Cluster Snapshots that are public and can be // copied or restored by any AWS account, otherwise set this value to false. The default is `false`. IncludePublic *bool `pulumi:"includePublic"` // AWS accounts that this AWS account has been given permission to copy or restore, otherwise set this value to false. // The default is `false`. IncludeShared *bool `pulumi:"includeShared"` // If more than one result is returned, use the most recent Snapshot. MostRecent *bool `pulumi:"mostRecent"` // Type of snapshots to be returned. If you don't specify a SnapshotType // value, then both automated and manual DB cluster snapshots are returned. Shared and public DB Cluster Snapshots are not // included in the returned results by default. Possible values are, `automated`, `manual`, `shared`, `public` and `awsbackup`. SnapshotType *string `pulumi:"snapshotType"` // Map of tags for the resource. Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getClusterSnapshot.
type LookupClusterSnapshotOutputArgs ¶
type LookupClusterSnapshotOutputArgs struct { // Returns the list of snapshots created by the specific db_cluster DbClusterIdentifier pulumi.StringPtrInput `pulumi:"dbClusterIdentifier"` // Returns information on a specific snapshot_id. DbClusterSnapshotIdentifier pulumi.StringPtrInput `pulumi:"dbClusterSnapshotIdentifier"` // Set this value to true to include manual DB Cluster Snapshots that are public and can be // copied or restored by any AWS account, otherwise set this value to false. The default is `false`. IncludePublic pulumi.BoolPtrInput `pulumi:"includePublic"` // AWS accounts that this AWS account has been given permission to copy or restore, otherwise set this value to false. // The default is `false`. IncludeShared pulumi.BoolPtrInput `pulumi:"includeShared"` // If more than one result is returned, use the most recent Snapshot. MostRecent pulumi.BoolPtrInput `pulumi:"mostRecent"` // Type of snapshots to be returned. If you don't specify a SnapshotType // value, then both automated and manual DB cluster snapshots are returned. Shared and public DB Cluster Snapshots are not // included in the returned results by default. Possible values are, `automated`, `manual`, `shared`, `public` and `awsbackup`. SnapshotType pulumi.StringPtrInput `pulumi:"snapshotType"` // Map of tags for the resource. Tags pulumi.StringMapInput `pulumi:"tags"` }
A collection of arguments for invoking getClusterSnapshot.
func (LookupClusterSnapshotOutputArgs) ElementType ¶
func (LookupClusterSnapshotOutputArgs) ElementType() reflect.Type
type LookupClusterSnapshotResult ¶
type LookupClusterSnapshotResult struct { // Allocated storage size in gigabytes (GB). AllocatedStorage int `pulumi:"allocatedStorage"` // List of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in. AvailabilityZones []string `pulumi:"availabilityZones"` // Specifies the DB cluster identifier of the DB cluster that this DB cluster snapshot was created from. DbClusterIdentifier *string `pulumi:"dbClusterIdentifier"` // The ARN for the DB Cluster Snapshot. DbClusterSnapshotArn string `pulumi:"dbClusterSnapshotArn"` DbClusterSnapshotIdentifier *string `pulumi:"dbClusterSnapshotIdentifier"` // Name of the database engine. Engine string `pulumi:"engine"` // Version of the database engine for this DB cluster snapshot. EngineVersion string `pulumi:"engineVersion"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` IncludePublic *bool `pulumi:"includePublic"` // If storageEncrypted is true, the AWS KMS key identifier for the encrypted DB cluster snapshot. KmsKeyId string `pulumi:"kmsKeyId"` // License model information for the restored DB cluster. LicenseModel string `pulumi:"licenseModel"` MostRecent *bool `pulumi:"mostRecent"` // Port that the DB cluster was listening on at the time of the snapshot. Port int `pulumi:"port"` // Time when the snapshot was taken, in Universal Coordinated Time (UTC). SnapshotCreateTime string `pulumi:"snapshotCreateTime"` SnapshotType *string `pulumi:"snapshotType"` SourceDbClusterSnapshotArn string `pulumi:"sourceDbClusterSnapshotArn"` // Status of this DB Cluster Snapshot. Status string `pulumi:"status"` // Whether the DB cluster snapshot is encrypted. StorageEncrypted bool `pulumi:"storageEncrypted"` // Map of tags for the resource. Tags map[string]string `pulumi:"tags"` // VPC ID associated with the DB cluster snapshot. VpcId string `pulumi:"vpcId"` }
A collection of values returned by getClusterSnapshot.
func LookupClusterSnapshot ¶
func LookupClusterSnapshot(ctx *pulumi.Context, args *LookupClusterSnapshotArgs, opts ...pulumi.InvokeOption) (*LookupClusterSnapshotResult, error)
Use this data source to get information about a DB Cluster Snapshot for use when provisioning DB clusters.
> **NOTE:** This data source does not apply to snapshots created on DB Instances. See the `rds.Snapshot` data source for DB Instance snapshots.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { developmentFinalSnapshot, err := rds.LookupClusterSnapshot(ctx, &rds.LookupClusterSnapshotArgs{ DbClusterIdentifier: pulumi.StringRef("development_cluster"), MostRecent: pulumi.BoolRef(true), }, nil) if err != nil { return err } auroraCluster, err := rds.NewCluster(ctx, "auroraCluster", &rds.ClusterArgs{ ClusterIdentifier: pulumi.String("development_cluster"), SnapshotIdentifier: *pulumi.String(developmentFinalSnapshot.Id), DbSubnetGroupName: pulumi.String("my_db_subnet_group"), }) if err != nil { return err } _, err = rds.NewClusterInstance(ctx, "auroraClusterInstance", &rds.ClusterInstanceArgs{ ClusterIdentifier: auroraCluster.ID(), InstanceClass: pulumi.String("db.t2.small"), DbSubnetGroupName: pulumi.String("my_db_subnet_group"), }) if err != nil { return err } return nil }) }
```
type LookupClusterSnapshotResultOutput ¶
type LookupClusterSnapshotResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getClusterSnapshot.
func LookupClusterSnapshotOutput ¶
func LookupClusterSnapshotOutput(ctx *pulumi.Context, args LookupClusterSnapshotOutputArgs, opts ...pulumi.InvokeOption) LookupClusterSnapshotResultOutput
func (LookupClusterSnapshotResultOutput) AllocatedStorage ¶
func (o LookupClusterSnapshotResultOutput) AllocatedStorage() pulumi.IntOutput
Allocated storage size in gigabytes (GB).
func (LookupClusterSnapshotResultOutput) AvailabilityZones ¶
func (o LookupClusterSnapshotResultOutput) AvailabilityZones() pulumi.StringArrayOutput
List of EC2 Availability Zones that instances in the DB cluster snapshot can be restored in.
func (LookupClusterSnapshotResultOutput) DbClusterIdentifier ¶
func (o LookupClusterSnapshotResultOutput) DbClusterIdentifier() pulumi.StringPtrOutput
Specifies the DB cluster identifier of the DB cluster that this DB cluster snapshot was created from.
func (LookupClusterSnapshotResultOutput) DbClusterSnapshotArn ¶
func (o LookupClusterSnapshotResultOutput) DbClusterSnapshotArn() pulumi.StringOutput
The ARN for the DB Cluster Snapshot.
func (LookupClusterSnapshotResultOutput) DbClusterSnapshotIdentifier ¶
func (o LookupClusterSnapshotResultOutput) DbClusterSnapshotIdentifier() pulumi.StringPtrOutput
func (LookupClusterSnapshotResultOutput) ElementType ¶
func (LookupClusterSnapshotResultOutput) ElementType() reflect.Type
func (LookupClusterSnapshotResultOutput) Engine ¶
func (o LookupClusterSnapshotResultOutput) Engine() pulumi.StringOutput
Name of the database engine.
func (LookupClusterSnapshotResultOutput) EngineVersion ¶
func (o LookupClusterSnapshotResultOutput) EngineVersion() pulumi.StringOutput
Version of the database engine for this DB cluster snapshot.
func (LookupClusterSnapshotResultOutput) Id ¶
func (o LookupClusterSnapshotResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupClusterSnapshotResultOutput) IncludePublic ¶
func (o LookupClusterSnapshotResultOutput) IncludePublic() pulumi.BoolPtrOutput
func (LookupClusterSnapshotResultOutput) IncludeShared ¶
func (o LookupClusterSnapshotResultOutput) IncludeShared() pulumi.BoolPtrOutput
func (LookupClusterSnapshotResultOutput) KmsKeyId ¶
func (o LookupClusterSnapshotResultOutput) KmsKeyId() pulumi.StringOutput
If storageEncrypted is true, the AWS KMS key identifier for the encrypted DB cluster snapshot.
func (LookupClusterSnapshotResultOutput) LicenseModel ¶
func (o LookupClusterSnapshotResultOutput) LicenseModel() pulumi.StringOutput
License model information for the restored DB cluster.
func (LookupClusterSnapshotResultOutput) MostRecent ¶
func (o LookupClusterSnapshotResultOutput) MostRecent() pulumi.BoolPtrOutput
func (LookupClusterSnapshotResultOutput) Port ¶
func (o LookupClusterSnapshotResultOutput) Port() pulumi.IntOutput
Port that the DB cluster was listening on at the time of the snapshot.
func (LookupClusterSnapshotResultOutput) SnapshotCreateTime ¶
func (o LookupClusterSnapshotResultOutput) SnapshotCreateTime() pulumi.StringOutput
Time when the snapshot was taken, in Universal Coordinated Time (UTC).
func (LookupClusterSnapshotResultOutput) SnapshotType ¶
func (o LookupClusterSnapshotResultOutput) SnapshotType() pulumi.StringPtrOutput
func (LookupClusterSnapshotResultOutput) SourceDbClusterSnapshotArn ¶
func (o LookupClusterSnapshotResultOutput) SourceDbClusterSnapshotArn() pulumi.StringOutput
func (LookupClusterSnapshotResultOutput) Status ¶
func (o LookupClusterSnapshotResultOutput) Status() pulumi.StringOutput
Status of this DB Cluster Snapshot.
func (LookupClusterSnapshotResultOutput) StorageEncrypted ¶
func (o LookupClusterSnapshotResultOutput) StorageEncrypted() pulumi.BoolOutput
Whether the DB cluster snapshot is encrypted.
func (LookupClusterSnapshotResultOutput) Tags ¶
func (o LookupClusterSnapshotResultOutput) Tags() pulumi.StringMapOutput
Map of tags for the resource.
func (LookupClusterSnapshotResultOutput) ToLookupClusterSnapshotResultOutput ¶
func (o LookupClusterSnapshotResultOutput) ToLookupClusterSnapshotResultOutput() LookupClusterSnapshotResultOutput
func (LookupClusterSnapshotResultOutput) ToLookupClusterSnapshotResultOutputWithContext ¶
func (o LookupClusterSnapshotResultOutput) ToLookupClusterSnapshotResultOutputWithContext(ctx context.Context) LookupClusterSnapshotResultOutput
func (LookupClusterSnapshotResultOutput) VpcId ¶
func (o LookupClusterSnapshotResultOutput) VpcId() pulumi.StringOutput
VPC ID associated with the DB cluster snapshot.
type LookupInstanceArgs ¶
type LookupInstanceArgs struct { // Name of the RDS instance DbInstanceIdentifier string `pulumi:"dbInstanceIdentifier"` Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getInstance.
type LookupInstanceOutputArgs ¶
type LookupInstanceOutputArgs struct { // Name of the RDS instance DbInstanceIdentifier pulumi.StringInput `pulumi:"dbInstanceIdentifier"` Tags pulumi.StringMapInput `pulumi:"tags"` }
A collection of arguments for invoking getInstance.
func (LookupInstanceOutputArgs) ElementType ¶
func (LookupInstanceOutputArgs) ElementType() reflect.Type
type LookupInstanceResult ¶
type LookupInstanceResult struct { // Hostname of the RDS instance. See also `endpoint` and `port`. Address string `pulumi:"address"` // Allocated storage size specified in gigabytes. AllocatedStorage int `pulumi:"allocatedStorage"` // Indicates that minor version patches are applied automatically. AutoMinorVersionUpgrade bool `pulumi:"autoMinorVersionUpgrade"` // Name of the Availability Zone the DB instance is located in. AvailabilityZone string `pulumi:"availabilityZone"` // Specifies the number of days for which automatic DB snapshots are retained. BackupRetentionPeriod int `pulumi:"backupRetentionPeriod"` // Identifier of the CA certificate for the DB instance. CaCertIdentifier string `pulumi:"caCertIdentifier"` // If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a member of. DbClusterIdentifier string `pulumi:"dbClusterIdentifier"` // ARN for the DB instance. DbInstanceArn string `pulumi:"dbInstanceArn"` // Contains the name of the compute and memory capacity class of the DB instance. DbInstanceClass string `pulumi:"dbInstanceClass"` DbInstanceIdentifier string `pulumi:"dbInstanceIdentifier"` // Port that the DB instance listens on. DbInstancePort int `pulumi:"dbInstancePort"` // Contains the name of the initial database of this instance that was provided at create time, if one was specified when the DB instance was created. This same name is returned for the life of the DB instance. DbName string `pulumi:"dbName"` // Provides the list of DB parameter groups applied to this DB instance. DbParameterGroups []string `pulumi:"dbParameterGroups"` // Provides List of DB security groups associated to this DB instance. DbSecurityGroups []string `pulumi:"dbSecurityGroups"` // Name of the subnet group associated with the DB instance. DbSubnetGroup string `pulumi:"dbSubnetGroup"` // List of log types to export to cloudwatch. EnabledCloudwatchLogsExports []string `pulumi:"enabledCloudwatchLogsExports"` // Connection endpoint in `address:port` format. Endpoint string `pulumi:"endpoint"` // Provides the name of the database engine to be used for this DB instance. Engine string `pulumi:"engine"` // Database engine version. EngineVersion string `pulumi:"engineVersion"` // Canonical hosted zone ID of the DB instance (to be used in a Route 53 Alias record). HostedZoneId string `pulumi:"hostedZoneId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Provisioned IOPS (I/O operations per second) value. Iops int `pulumi:"iops"` // If StorageEncrypted is true, the KMS key identifier for the encrypted DB instance. KmsKeyId string `pulumi:"kmsKeyId"` // License model information for this DB instance. LicenseModel string `pulumi:"licenseModel"` // Contains the master username for the DB instance. MasterUsername string `pulumi:"masterUsername"` // Interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. MonitoringInterval int `pulumi:"monitoringInterval"` // ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics to CloudWatch Logs. MonitoringRoleArn string `pulumi:"monitoringRoleArn"` // If the DB instance is a Multi-AZ deployment. MultiAz bool `pulumi:"multiAz"` // Network type of the DB instance. NetworkType string `pulumi:"networkType"` // Provides the list of option group memberships for this DB instance. OptionGroupMemberships []string `pulumi:"optionGroupMemberships"` // Database port. Port int `pulumi:"port"` // Specifies the daily time range during which automated backups are created. PreferredBackupWindow string `pulumi:"preferredBackupWindow"` // Specifies the weekly time range during which system maintenance can occur in UTC. PreferredMaintenanceWindow string `pulumi:"preferredMaintenanceWindow"` // Accessibility options for the DB instance. PubliclyAccessible bool `pulumi:"publiclyAccessible"` // Identifier of the source DB that this is a replica of. ReplicateSourceDb string `pulumi:"replicateSourceDb"` // RDS Resource ID of this instance. ResourceId string `pulumi:"resourceId"` // Whether the DB instance is encrypted. StorageEncrypted bool `pulumi:"storageEncrypted"` // Storage throughput value for the DB instance. StorageThroughput int `pulumi:"storageThroughput"` // Storage type associated with DB instance. StorageType string `pulumi:"storageType"` Tags map[string]string `pulumi:"tags"` // Time zone of the DB instance. Timezone string `pulumi:"timezone"` // Provides a list of VPC security group elements that the DB instance belongs to. VpcSecurityGroups []string `pulumi:"vpcSecurityGroups"` }
A collection of values returned by getInstance.
func LookupInstance ¶
func LookupInstance(ctx *pulumi.Context, args *LookupInstanceArgs, opts ...pulumi.InvokeOption) (*LookupInstanceResult, error)
Use this data source to get information about an RDS instance
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.LookupInstance(ctx, &rds.LookupInstanceArgs{ DbInstanceIdentifier: "my-test-database", }, nil) if err != nil { return err } return nil }) }
```
type LookupInstanceResultOutput ¶
type LookupInstanceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInstance.
func LookupInstanceOutput ¶
func LookupInstanceOutput(ctx *pulumi.Context, args LookupInstanceOutputArgs, opts ...pulumi.InvokeOption) LookupInstanceResultOutput
func (LookupInstanceResultOutput) Address ¶
func (o LookupInstanceResultOutput) Address() pulumi.StringOutput
Hostname of the RDS instance. See also `endpoint` and `port`.
func (LookupInstanceResultOutput) AllocatedStorage ¶
func (o LookupInstanceResultOutput) AllocatedStorage() pulumi.IntOutput
Allocated storage size specified in gigabytes.
func (LookupInstanceResultOutput) AutoMinorVersionUpgrade ¶
func (o LookupInstanceResultOutput) AutoMinorVersionUpgrade() pulumi.BoolOutput
Indicates that minor version patches are applied automatically.
func (LookupInstanceResultOutput) AvailabilityZone ¶
func (o LookupInstanceResultOutput) AvailabilityZone() pulumi.StringOutput
Name of the Availability Zone the DB instance is located in.
func (LookupInstanceResultOutput) BackupRetentionPeriod ¶
func (o LookupInstanceResultOutput) BackupRetentionPeriod() pulumi.IntOutput
Specifies the number of days for which automatic DB snapshots are retained.
func (LookupInstanceResultOutput) CaCertIdentifier ¶
func (o LookupInstanceResultOutput) CaCertIdentifier() pulumi.StringOutput
Identifier of the CA certificate for the DB instance.
func (LookupInstanceResultOutput) DbClusterIdentifier ¶
func (o LookupInstanceResultOutput) DbClusterIdentifier() pulumi.StringOutput
If the DB instance is a member of a DB cluster, contains the name of the DB cluster that the DB instance is a member of.
func (LookupInstanceResultOutput) DbInstanceArn ¶
func (o LookupInstanceResultOutput) DbInstanceArn() pulumi.StringOutput
ARN for the DB instance.
func (LookupInstanceResultOutput) DbInstanceClass ¶
func (o LookupInstanceResultOutput) DbInstanceClass() pulumi.StringOutput
Contains the name of the compute and memory capacity class of the DB instance.
func (LookupInstanceResultOutput) DbInstanceIdentifier ¶
func (o LookupInstanceResultOutput) DbInstanceIdentifier() pulumi.StringOutput
func (LookupInstanceResultOutput) DbInstancePort ¶
func (o LookupInstanceResultOutput) DbInstancePort() pulumi.IntOutput
Port that the DB instance listens on.
func (LookupInstanceResultOutput) DbName ¶
func (o LookupInstanceResultOutput) DbName() pulumi.StringOutput
Contains the name of the initial database of this instance that was provided at create time, if one was specified when the DB instance was created. This same name is returned for the life of the DB instance.
func (LookupInstanceResultOutput) DbParameterGroups ¶
func (o LookupInstanceResultOutput) DbParameterGroups() pulumi.StringArrayOutput
Provides the list of DB parameter groups applied to this DB instance.
func (LookupInstanceResultOutput) DbSecurityGroups ¶
func (o LookupInstanceResultOutput) DbSecurityGroups() pulumi.StringArrayOutput
Provides List of DB security groups associated to this DB instance.
func (LookupInstanceResultOutput) DbSubnetGroup ¶
func (o LookupInstanceResultOutput) DbSubnetGroup() pulumi.StringOutput
Name of the subnet group associated with the DB instance.
func (LookupInstanceResultOutput) ElementType ¶
func (LookupInstanceResultOutput) ElementType() reflect.Type
func (LookupInstanceResultOutput) EnabledCloudwatchLogsExports ¶
func (o LookupInstanceResultOutput) EnabledCloudwatchLogsExports() pulumi.StringArrayOutput
List of log types to export to cloudwatch.
func (LookupInstanceResultOutput) Endpoint ¶
func (o LookupInstanceResultOutput) Endpoint() pulumi.StringOutput
Connection endpoint in `address:port` format.
func (LookupInstanceResultOutput) Engine ¶
func (o LookupInstanceResultOutput) Engine() pulumi.StringOutput
Provides the name of the database engine to be used for this DB instance.
func (LookupInstanceResultOutput) EngineVersion ¶
func (o LookupInstanceResultOutput) EngineVersion() pulumi.StringOutput
Database engine version.
func (LookupInstanceResultOutput) HostedZoneId ¶
func (o LookupInstanceResultOutput) HostedZoneId() pulumi.StringOutput
Canonical hosted zone ID of the DB instance (to be used in a Route 53 Alias record).
func (LookupInstanceResultOutput) Id ¶
func (o LookupInstanceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupInstanceResultOutput) Iops ¶
func (o LookupInstanceResultOutput) Iops() pulumi.IntOutput
Provisioned IOPS (I/O operations per second) value.
func (LookupInstanceResultOutput) KmsKeyId ¶
func (o LookupInstanceResultOutput) KmsKeyId() pulumi.StringOutput
If StorageEncrypted is true, the KMS key identifier for the encrypted DB instance.
func (LookupInstanceResultOutput) LicenseModel ¶
func (o LookupInstanceResultOutput) LicenseModel() pulumi.StringOutput
License model information for this DB instance.
func (LookupInstanceResultOutput) MasterUsername ¶
func (o LookupInstanceResultOutput) MasterUsername() pulumi.StringOutput
Contains the master username for the DB instance.
func (LookupInstanceResultOutput) MonitoringInterval ¶
func (o LookupInstanceResultOutput) MonitoringInterval() pulumi.IntOutput
Interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance.
func (LookupInstanceResultOutput) MonitoringRoleArn ¶
func (o LookupInstanceResultOutput) MonitoringRoleArn() pulumi.StringOutput
ARN for the IAM role that permits RDS to send Enhanced Monitoring metrics to CloudWatch Logs.
func (LookupInstanceResultOutput) MultiAz ¶
func (o LookupInstanceResultOutput) MultiAz() pulumi.BoolOutput
If the DB instance is a Multi-AZ deployment.
func (LookupInstanceResultOutput) NetworkType ¶ added in v5.13.0
func (o LookupInstanceResultOutput) NetworkType() pulumi.StringOutput
Network type of the DB instance.
func (LookupInstanceResultOutput) OptionGroupMemberships ¶
func (o LookupInstanceResultOutput) OptionGroupMemberships() pulumi.StringArrayOutput
Provides the list of option group memberships for this DB instance.
func (LookupInstanceResultOutput) Port ¶
func (o LookupInstanceResultOutput) Port() pulumi.IntOutput
Database port.
func (LookupInstanceResultOutput) PreferredBackupWindow ¶
func (o LookupInstanceResultOutput) PreferredBackupWindow() pulumi.StringOutput
Specifies the daily time range during which automated backups are created.
func (LookupInstanceResultOutput) PreferredMaintenanceWindow ¶
func (o LookupInstanceResultOutput) PreferredMaintenanceWindow() pulumi.StringOutput
Specifies the weekly time range during which system maintenance can occur in UTC.
func (LookupInstanceResultOutput) PubliclyAccessible ¶
func (o LookupInstanceResultOutput) PubliclyAccessible() pulumi.BoolOutput
Accessibility options for the DB instance.
func (LookupInstanceResultOutput) ReplicateSourceDb ¶
func (o LookupInstanceResultOutput) ReplicateSourceDb() pulumi.StringOutput
Identifier of the source DB that this is a replica of.
func (LookupInstanceResultOutput) ResourceId ¶
func (o LookupInstanceResultOutput) ResourceId() pulumi.StringOutput
RDS Resource ID of this instance.
func (LookupInstanceResultOutput) StorageEncrypted ¶
func (o LookupInstanceResultOutput) StorageEncrypted() pulumi.BoolOutput
Whether the DB instance is encrypted.
func (LookupInstanceResultOutput) StorageThroughput ¶ added in v5.23.0
func (o LookupInstanceResultOutput) StorageThroughput() pulumi.IntOutput
Storage throughput value for the DB instance.
func (LookupInstanceResultOutput) StorageType ¶
func (o LookupInstanceResultOutput) StorageType() pulumi.StringOutput
Storage type associated with DB instance.
func (LookupInstanceResultOutput) Tags ¶
func (o LookupInstanceResultOutput) Tags() pulumi.StringMapOutput
func (LookupInstanceResultOutput) Timezone ¶
func (o LookupInstanceResultOutput) Timezone() pulumi.StringOutput
Time zone of the DB instance.
func (LookupInstanceResultOutput) ToLookupInstanceResultOutput ¶
func (o LookupInstanceResultOutput) ToLookupInstanceResultOutput() LookupInstanceResultOutput
func (LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext ¶
func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx context.Context) LookupInstanceResultOutput
func (LookupInstanceResultOutput) VpcSecurityGroups ¶
func (o LookupInstanceResultOutput) VpcSecurityGroups() pulumi.StringArrayOutput
Provides a list of VPC security group elements that the DB instance belongs to.
type LookupProxyArgs ¶
type LookupProxyArgs struct { // Name of the DB proxy. Name string `pulumi:"name"` }
A collection of arguments for invoking getProxy.
type LookupProxyOutputArgs ¶
type LookupProxyOutputArgs struct { // Name of the DB proxy. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getProxy.
func (LookupProxyOutputArgs) ElementType ¶
func (LookupProxyOutputArgs) ElementType() reflect.Type
type LookupProxyResult ¶
type LookupProxyResult struct { // ARN of the DB Proxy. Arn string `pulumi:"arn"` // Configuration(s) with authorization mechanisms to connect to the associated instance or cluster. Auths []GetProxyAuth `pulumi:"auths"` // Whether the proxy includes detailed information about SQL statements in its logs. DebugLogging bool `pulumi:"debugLogging"` // Endpoint that you can use to connect to the DB proxy. Endpoint string `pulumi:"endpoint"` // Kinds of databases that the proxy can connect to. EngineFamily string `pulumi:"engineFamily"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Number of seconds a connection to the proxy can have no activity before the proxy drops the client connection. IdleClientTimeout int `pulumi:"idleClientTimeout"` Name string `pulumi:"name"` // Whether Transport Layer Security (TLS) encryption is required for connections to the proxy. RequireTls bool `pulumi:"requireTls"` // ARN for the IAM role that the proxy uses to access Amazon Secrets Manager. RoleArn string `pulumi:"roleArn"` // Provides the VPC ID of the DB proxy. VpcId string `pulumi:"vpcId"` // Provides a list of VPC security groups that the proxy belongs to. VpcSecurityGroupIds []string `pulumi:"vpcSecurityGroupIds"` // EC2 subnet IDs for the proxy. VpcSubnetIds []string `pulumi:"vpcSubnetIds"` }
A collection of values returned by getProxy.
func LookupProxy ¶
func LookupProxy(ctx *pulumi.Context, args *LookupProxyArgs, opts ...pulumi.InvokeOption) (*LookupProxyResult, error)
Use this data source to get information about a DB Proxy.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.LookupProxy(ctx, &rds.LookupProxyArgs{ Name: "my-test-db-proxy", }, nil) if err != nil { return err } return nil }) }
```
type LookupProxyResultOutput ¶
type LookupProxyResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getProxy.
func LookupProxyOutput ¶
func LookupProxyOutput(ctx *pulumi.Context, args LookupProxyOutputArgs, opts ...pulumi.InvokeOption) LookupProxyResultOutput
func (LookupProxyResultOutput) Arn ¶
func (o LookupProxyResultOutput) Arn() pulumi.StringOutput
ARN of the DB Proxy.
func (LookupProxyResultOutput) Auths ¶
func (o LookupProxyResultOutput) Auths() GetProxyAuthArrayOutput
Configuration(s) with authorization mechanisms to connect to the associated instance or cluster.
func (LookupProxyResultOutput) DebugLogging ¶
func (o LookupProxyResultOutput) DebugLogging() pulumi.BoolOutput
Whether the proxy includes detailed information about SQL statements in its logs.
func (LookupProxyResultOutput) ElementType ¶
func (LookupProxyResultOutput) ElementType() reflect.Type
func (LookupProxyResultOutput) Endpoint ¶
func (o LookupProxyResultOutput) Endpoint() pulumi.StringOutput
Endpoint that you can use to connect to the DB proxy.
func (LookupProxyResultOutput) EngineFamily ¶
func (o LookupProxyResultOutput) EngineFamily() pulumi.StringOutput
Kinds of databases that the proxy can connect to.
func (LookupProxyResultOutput) Id ¶
func (o LookupProxyResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupProxyResultOutput) IdleClientTimeout ¶
func (o LookupProxyResultOutput) IdleClientTimeout() pulumi.IntOutput
Number of seconds a connection to the proxy can have no activity before the proxy drops the client connection.
func (LookupProxyResultOutput) Name ¶
func (o LookupProxyResultOutput) Name() pulumi.StringOutput
func (LookupProxyResultOutput) RequireTls ¶
func (o LookupProxyResultOutput) RequireTls() pulumi.BoolOutput
Whether Transport Layer Security (TLS) encryption is required for connections to the proxy.
func (LookupProxyResultOutput) RoleArn ¶
func (o LookupProxyResultOutput) RoleArn() pulumi.StringOutput
ARN for the IAM role that the proxy uses to access Amazon Secrets Manager.
func (LookupProxyResultOutput) ToLookupProxyResultOutput ¶
func (o LookupProxyResultOutput) ToLookupProxyResultOutput() LookupProxyResultOutput
func (LookupProxyResultOutput) ToLookupProxyResultOutputWithContext ¶
func (o LookupProxyResultOutput) ToLookupProxyResultOutputWithContext(ctx context.Context) LookupProxyResultOutput
func (LookupProxyResultOutput) VpcId ¶
func (o LookupProxyResultOutput) VpcId() pulumi.StringOutput
Provides the VPC ID of the DB proxy.
func (LookupProxyResultOutput) VpcSecurityGroupIds ¶
func (o LookupProxyResultOutput) VpcSecurityGroupIds() pulumi.StringArrayOutput
Provides a list of VPC security groups that the proxy belongs to.
func (LookupProxyResultOutput) VpcSubnetIds ¶
func (o LookupProxyResultOutput) VpcSubnetIds() pulumi.StringArrayOutput
EC2 subnet IDs for the proxy.
type LookupSnapshotArgs ¶
type LookupSnapshotArgs struct { // Returns the list of snapshots created by the specific db_instance DbInstanceIdentifier *string `pulumi:"dbInstanceIdentifier"` // Returns information on a specific snapshot_id. DbSnapshotIdentifier *string `pulumi:"dbSnapshotIdentifier"` // Set this value to true to include manual DB snapshots that are public and can be // copied or restored by any AWS account, otherwise set this value to false. The default is `false`. IncludePublic *bool `pulumi:"includePublic"` // AWS accounts that this AWS account has been given permission to copy or restore, otherwise set this value to false. // The default is `false`. IncludeShared *bool `pulumi:"includeShared"` // If more than one result is returned, use the most // recent Snapshot. MostRecent *bool `pulumi:"mostRecent"` // Type of snapshots to be returned. If you don't specify a SnapshotType // value, then both automated and manual snapshots are returned. Shared and public DB snapshots are not // included in the returned results by default. Possible values are, `automated`, `manual`, `shared`, `public` and `awsbackup`. SnapshotType *string `pulumi:"snapshotType"` }
A collection of arguments for invoking getSnapshot.
type LookupSnapshotOutputArgs ¶
type LookupSnapshotOutputArgs struct { // Returns the list of snapshots created by the specific db_instance DbInstanceIdentifier pulumi.StringPtrInput `pulumi:"dbInstanceIdentifier"` // Returns information on a specific snapshot_id. DbSnapshotIdentifier pulumi.StringPtrInput `pulumi:"dbSnapshotIdentifier"` // Set this value to true to include manual DB snapshots that are public and can be // copied or restored by any AWS account, otherwise set this value to false. The default is `false`. IncludePublic pulumi.BoolPtrInput `pulumi:"includePublic"` // AWS accounts that this AWS account has been given permission to copy or restore, otherwise set this value to false. // The default is `false`. IncludeShared pulumi.BoolPtrInput `pulumi:"includeShared"` // If more than one result is returned, use the most // recent Snapshot. MostRecent pulumi.BoolPtrInput `pulumi:"mostRecent"` // Type of snapshots to be returned. If you don't specify a SnapshotType // value, then both automated and manual snapshots are returned. Shared and public DB snapshots are not // included in the returned results by default. Possible values are, `automated`, `manual`, `shared`, `public` and `awsbackup`. SnapshotType pulumi.StringPtrInput `pulumi:"snapshotType"` }
A collection of arguments for invoking getSnapshot.
func (LookupSnapshotOutputArgs) ElementType ¶
func (LookupSnapshotOutputArgs) ElementType() reflect.Type
type LookupSnapshotResult ¶
type LookupSnapshotResult struct { // Allocated storage size in gigabytes (GB). AllocatedStorage int `pulumi:"allocatedStorage"` // Name of the Availability Zone the DB instance was located in at the time of the DB snapshot. AvailabilityZone string `pulumi:"availabilityZone"` DbInstanceIdentifier *string `pulumi:"dbInstanceIdentifier"` // ARN for the DB snapshot. DbSnapshotArn string `pulumi:"dbSnapshotArn"` DbSnapshotIdentifier *string `pulumi:"dbSnapshotIdentifier"` // Whether the DB snapshot is encrypted. Encrypted bool `pulumi:"encrypted"` // Name of the database engine. Engine string `pulumi:"engine"` // Version of the database engine. EngineVersion string `pulumi:"engineVersion"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` IncludePublic *bool `pulumi:"includePublic"` // Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot. Iops int `pulumi:"iops"` // ARN for the KMS encryption key. KmsKeyId string `pulumi:"kmsKeyId"` // License model information for the restored DB instance. LicenseModel string `pulumi:"licenseModel"` MostRecent *bool `pulumi:"mostRecent"` // Provides the option group name for the DB snapshot. OptionGroupName string `pulumi:"optionGroupName"` Port int `pulumi:"port"` // Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC). SnapshotCreateTime string `pulumi:"snapshotCreateTime"` SnapshotType *string `pulumi:"snapshotType"` // DB snapshot ARN that the DB snapshot was copied from. It only has value in case of cross customer or cross region copy. SourceDbSnapshotIdentifier string `pulumi:"sourceDbSnapshotIdentifier"` // Region that the DB snapshot was created in or copied from. SourceRegion string `pulumi:"sourceRegion"` // Status of this DB snapshot. Status string `pulumi:"status"` // Storage type associated with DB snapshot. StorageType string `pulumi:"storageType"` // ID of the VPC associated with the DB snapshot. VpcId string `pulumi:"vpcId"` }
A collection of values returned by getSnapshot.
func LookupSnapshot ¶
func LookupSnapshot(ctx *pulumi.Context, args *LookupSnapshotArgs, opts ...pulumi.InvokeOption) (*LookupSnapshotResult, error)
Use this data source to get information about a DB Snapshot for use when provisioning DB instances
> **NOTE:** This data source does not apply to snapshots created on Aurora DB clusters. See the `rds.ClusterSnapshot` data source for DB Cluster snapshots.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { prod, err := rds.NewInstance(ctx, "prod", &rds.InstanceArgs{ AllocatedStorage: pulumi.Int(10), Engine: pulumi.String("mysql"), EngineVersion: pulumi.String("5.6.17"), InstanceClass: pulumi.String("db.t2.micro"), Name: pulumi.String("mydb"), Username: pulumi.String("foo"), Password: pulumi.String("bar"), DbSubnetGroupName: pulumi.String("my_database_subnet_group"), ParameterGroupName: pulumi.String("default.mysql5.6"), }) if err != nil { return err } latestProdSnapshot := rds.LookupSnapshotOutput(ctx, rds.GetSnapshotOutputArgs{ DbInstanceIdentifier: prod.ID(), MostRecent: pulumi.Bool(true), }, nil) _, err = rds.NewInstance(ctx, "dev", &rds.InstanceArgs{ InstanceClass: pulumi.String("db.t2.micro"), Name: pulumi.String("mydbdev"), SnapshotIdentifier: latestProdSnapshot.ApplyT(func(latestProdSnapshot rds.GetSnapshotResult) (*string, error) { return &latestProdSnapshot.Id, nil }).(pulumi.StringPtrOutput), }) if err != nil { return err } return nil }) }
```
type LookupSnapshotResultOutput ¶
type LookupSnapshotResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSnapshot.
func LookupSnapshotOutput ¶
func LookupSnapshotOutput(ctx *pulumi.Context, args LookupSnapshotOutputArgs, opts ...pulumi.InvokeOption) LookupSnapshotResultOutput
func (LookupSnapshotResultOutput) AllocatedStorage ¶
func (o LookupSnapshotResultOutput) AllocatedStorage() pulumi.IntOutput
Allocated storage size in gigabytes (GB).
func (LookupSnapshotResultOutput) AvailabilityZone ¶
func (o LookupSnapshotResultOutput) AvailabilityZone() pulumi.StringOutput
Name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
func (LookupSnapshotResultOutput) DbInstanceIdentifier ¶
func (o LookupSnapshotResultOutput) DbInstanceIdentifier() pulumi.StringPtrOutput
func (LookupSnapshotResultOutput) DbSnapshotArn ¶
func (o LookupSnapshotResultOutput) DbSnapshotArn() pulumi.StringOutput
ARN for the DB snapshot.
func (LookupSnapshotResultOutput) DbSnapshotIdentifier ¶
func (o LookupSnapshotResultOutput) DbSnapshotIdentifier() pulumi.StringPtrOutput
func (LookupSnapshotResultOutput) ElementType ¶
func (LookupSnapshotResultOutput) ElementType() reflect.Type
func (LookupSnapshotResultOutput) Encrypted ¶
func (o LookupSnapshotResultOutput) Encrypted() pulumi.BoolOutput
Whether the DB snapshot is encrypted.
func (LookupSnapshotResultOutput) Engine ¶
func (o LookupSnapshotResultOutput) Engine() pulumi.StringOutput
Name of the database engine.
func (LookupSnapshotResultOutput) EngineVersion ¶
func (o LookupSnapshotResultOutput) EngineVersion() pulumi.StringOutput
Version of the database engine.
func (LookupSnapshotResultOutput) Id ¶
func (o LookupSnapshotResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupSnapshotResultOutput) IncludePublic ¶
func (o LookupSnapshotResultOutput) IncludePublic() pulumi.BoolPtrOutput
func (LookupSnapshotResultOutput) IncludeShared ¶
func (o LookupSnapshotResultOutput) IncludeShared() pulumi.BoolPtrOutput
func (LookupSnapshotResultOutput) Iops ¶
func (o LookupSnapshotResultOutput) Iops() pulumi.IntOutput
Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
func (LookupSnapshotResultOutput) KmsKeyId ¶
func (o LookupSnapshotResultOutput) KmsKeyId() pulumi.StringOutput
ARN for the KMS encryption key.
func (LookupSnapshotResultOutput) LicenseModel ¶
func (o LookupSnapshotResultOutput) LicenseModel() pulumi.StringOutput
License model information for the restored DB instance.
func (LookupSnapshotResultOutput) MostRecent ¶
func (o LookupSnapshotResultOutput) MostRecent() pulumi.BoolPtrOutput
func (LookupSnapshotResultOutput) OptionGroupName ¶
func (o LookupSnapshotResultOutput) OptionGroupName() pulumi.StringOutput
Provides the option group name for the DB snapshot.
func (LookupSnapshotResultOutput) Port ¶
func (o LookupSnapshotResultOutput) Port() pulumi.IntOutput
func (LookupSnapshotResultOutput) SnapshotCreateTime ¶
func (o LookupSnapshotResultOutput) SnapshotCreateTime() pulumi.StringOutput
Provides the time when the snapshot was taken, in Universal Coordinated Time (UTC).
func (LookupSnapshotResultOutput) SnapshotType ¶
func (o LookupSnapshotResultOutput) SnapshotType() pulumi.StringPtrOutput
func (LookupSnapshotResultOutput) SourceDbSnapshotIdentifier ¶
func (o LookupSnapshotResultOutput) SourceDbSnapshotIdentifier() pulumi.StringOutput
DB snapshot ARN that the DB snapshot was copied from. It only has value in case of cross customer or cross region copy.
func (LookupSnapshotResultOutput) SourceRegion ¶
func (o LookupSnapshotResultOutput) SourceRegion() pulumi.StringOutput
Region that the DB snapshot was created in or copied from.
func (LookupSnapshotResultOutput) Status ¶
func (o LookupSnapshotResultOutput) Status() pulumi.StringOutput
Status of this DB snapshot.
func (LookupSnapshotResultOutput) StorageType ¶
func (o LookupSnapshotResultOutput) StorageType() pulumi.StringOutput
Storage type associated with DB snapshot.
func (LookupSnapshotResultOutput) ToLookupSnapshotResultOutput ¶
func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutput() LookupSnapshotResultOutput
func (LookupSnapshotResultOutput) ToLookupSnapshotResultOutputWithContext ¶
func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutputWithContext(ctx context.Context) LookupSnapshotResultOutput
func (LookupSnapshotResultOutput) VpcId ¶
func (o LookupSnapshotResultOutput) VpcId() pulumi.StringOutput
ID of the VPC associated with the DB snapshot.
type LookupSubnetGroupArgs ¶
type LookupSubnetGroupArgs struct { // Name of the RDS database subnet group. Name string `pulumi:"name"` }
A collection of arguments for invoking getSubnetGroup.
type LookupSubnetGroupOutputArgs ¶
type LookupSubnetGroupOutputArgs struct { // Name of the RDS database subnet group. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getSubnetGroup.
func (LookupSubnetGroupOutputArgs) ElementType ¶
func (LookupSubnetGroupOutputArgs) ElementType() reflect.Type
type LookupSubnetGroupResult ¶
type LookupSubnetGroupResult struct { // ARN for the DB subnet group. Arn string `pulumi:"arn"` // Provides the description of the DB subnet group. Description string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` // Provides the status of the DB subnet group. Status string `pulumi:"status"` // Contains a list of subnet identifiers. SubnetIds []string `pulumi:"subnetIds"` // The network type of the DB subnet group. SupportedNetworkTypes []string `pulumi:"supportedNetworkTypes"` // Provides the VPC ID of the DB subnet group. VpcId string `pulumi:"vpcId"` }
A collection of values returned by getSubnetGroup.
func LookupSubnetGroup ¶
func LookupSubnetGroup(ctx *pulumi.Context, args *LookupSubnetGroupArgs, opts ...pulumi.InvokeOption) (*LookupSubnetGroupResult, error)
Use this data source to get information about an RDS subnet group.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.LookupSubnetGroup(ctx, &rds.LookupSubnetGroupArgs{ Name: "my-test-database-subnet-group", }, nil) if err != nil { return err } return nil }) }
```
type LookupSubnetGroupResultOutput ¶
type LookupSubnetGroupResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSubnetGroup.
func LookupSubnetGroupOutput ¶
func LookupSubnetGroupOutput(ctx *pulumi.Context, args LookupSubnetGroupOutputArgs, opts ...pulumi.InvokeOption) LookupSubnetGroupResultOutput
func (LookupSubnetGroupResultOutput) Arn ¶
func (o LookupSubnetGroupResultOutput) Arn() pulumi.StringOutput
ARN for the DB subnet group.
func (LookupSubnetGroupResultOutput) Description ¶
func (o LookupSubnetGroupResultOutput) Description() pulumi.StringOutput
Provides the description of the DB subnet group.
func (LookupSubnetGroupResultOutput) ElementType ¶
func (LookupSubnetGroupResultOutput) ElementType() reflect.Type
func (LookupSubnetGroupResultOutput) Id ¶
func (o LookupSubnetGroupResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupSubnetGroupResultOutput) Name ¶
func (o LookupSubnetGroupResultOutput) Name() pulumi.StringOutput
func (LookupSubnetGroupResultOutput) Status ¶
func (o LookupSubnetGroupResultOutput) Status() pulumi.StringOutput
Provides the status of the DB subnet group.
func (LookupSubnetGroupResultOutput) SubnetIds ¶
func (o LookupSubnetGroupResultOutput) SubnetIds() pulumi.StringArrayOutput
Contains a list of subnet identifiers.
func (LookupSubnetGroupResultOutput) SupportedNetworkTypes ¶ added in v5.13.0
func (o LookupSubnetGroupResultOutput) SupportedNetworkTypes() pulumi.StringArrayOutput
The network type of the DB subnet group.
func (LookupSubnetGroupResultOutput) ToLookupSubnetGroupResultOutput ¶
func (o LookupSubnetGroupResultOutput) ToLookupSubnetGroupResultOutput() LookupSubnetGroupResultOutput
func (LookupSubnetGroupResultOutput) ToLookupSubnetGroupResultOutputWithContext ¶
func (o LookupSubnetGroupResultOutput) ToLookupSubnetGroupResultOutputWithContext(ctx context.Context) LookupSubnetGroupResultOutput
func (LookupSubnetGroupResultOutput) VpcId ¶
func (o LookupSubnetGroupResultOutput) VpcId() pulumi.StringOutput
Provides the VPC ID of the DB subnet group.
type OptionGroup ¶
type OptionGroup struct { pulumi.CustomResourceState // The ARN of the db option group. Arn pulumi.StringOutput `pulumi:"arn"` // Specifies the name of the engine that this option group should be associated with. EngineName pulumi.StringOutput `pulumi:"engineName"` // Specifies the major version of the engine that this option group should be associated with. MajorEngineVersion pulumi.StringOutput `pulumi:"majorEngineVersion"` // The Name of the setting. Name pulumi.StringOutput `pulumi:"name"` // Creates a unique name beginning with the specified prefix. Conflicts with `name`. Must be lowercase, to match as it is stored in AWS. NamePrefix pulumi.StringOutput `pulumi:"namePrefix"` // The description of the option group. Defaults to "Managed by Pulumi". OptionGroupDescription pulumi.StringOutput `pulumi:"optionGroupDescription"` // A list of Options to apply. Options OptionGroupOptionArrayOutput `pulumi:"options"` // 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"` }
Provides an RDS DB option group resource. Documentation of the available options for various RDS engines can be found at:
* [MariaDB Options](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.MariaDB.Options.html) * [Microsoft SQL Server Options](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.SQLServer.Options.html) * [MySQL Options](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.MySQL.Options.html) * [Oracle Options](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.Oracle.Options.html)
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.NewOptionGroup(ctx, "example", &rds.OptionGroupArgs{ OptionGroupDescription: pulumi.String("Option Group"), EngineName: pulumi.String("sqlserver-ee"), MajorEngineVersion: pulumi.String("11.00"), Options: rds.OptionGroupOptionArray{ &rds.OptionGroupOptionArgs{ OptionName: pulumi.String("Timezone"), OptionSettings: rds.OptionGroupOptionOptionSettingArray{ &rds.OptionGroupOptionOptionSettingArgs{ Name: pulumi.String("TIME_ZONE"), Value: pulumi.String("UTC"), }, }, }, &rds.OptionGroupOptionArgs{ OptionName: pulumi.String("SQLSERVER_BACKUP_RESTORE"), OptionSettings: rds.OptionGroupOptionOptionSettingArray{ &rds.OptionGroupOptionOptionSettingArgs{ Name: pulumi.String("IAM_ROLE_ARN"), Value: pulumi.Any(aws_iam_role.Example.Arn), }, }, }, &rds.OptionGroupOptionArgs{ OptionName: pulumi.String("TDE"), }, }, }) if err != nil { return err } return nil }) }
```
> **Note:** Any modifications to the `rds.OptionGroup` are set to happen immediately as we default to applying immediately.
> **WARNING:** You can perform a destroy on a `rds.OptionGroup`, as long as it is not associated with any Amazon RDS resource. An option group can be associated with a DB instance, a manual DB snapshot, or an automated DB snapshot.
If you try to delete an option group that is associated with an Amazon RDS resource, an error similar to the following is returned:
> An error occurred (InvalidOptionGroupStateFault) when calling the DeleteOptionGroup operation: The option group 'optionGroupName' cannot be deleted because it is in use.
More information about this can be found [here](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithOptionGroups.html#USER_WorkingWithOptionGroups.Delete).
## Import
DB Option groups can be imported using the `name`, e.g.,
```sh
$ pulumi import aws:rds/optionGroup:OptionGroup example mysql-option-group
```
func GetOptionGroup ¶
func GetOptionGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *OptionGroupState, opts ...pulumi.ResourceOption) (*OptionGroup, error)
GetOptionGroup gets an existing OptionGroup 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 NewOptionGroup ¶
func NewOptionGroup(ctx *pulumi.Context, name string, args *OptionGroupArgs, opts ...pulumi.ResourceOption) (*OptionGroup, error)
NewOptionGroup registers a new resource with the given unique name, arguments, and options.
func (*OptionGroup) ElementType ¶
func (*OptionGroup) ElementType() reflect.Type
func (*OptionGroup) ToOptionGroupOutput ¶
func (i *OptionGroup) ToOptionGroupOutput() OptionGroupOutput
func (*OptionGroup) ToOptionGroupOutputWithContext ¶
func (i *OptionGroup) ToOptionGroupOutputWithContext(ctx context.Context) OptionGroupOutput
type OptionGroupArgs ¶
type OptionGroupArgs struct { // Specifies the name of the engine that this option group should be associated with. EngineName pulumi.StringInput // Specifies the major version of the engine that this option group should be associated with. MajorEngineVersion pulumi.StringInput // The Name of the setting. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified prefix. Conflicts with `name`. Must be lowercase, to match as it is stored in AWS. NamePrefix pulumi.StringPtrInput // The description of the option group. Defaults to "Managed by Pulumi". OptionGroupDescription pulumi.StringPtrInput // A list of Options to apply. Options OptionGroupOptionArrayInput // 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 OptionGroup resource.
func (OptionGroupArgs) ElementType ¶
func (OptionGroupArgs) ElementType() reflect.Type
type OptionGroupArray ¶
type OptionGroupArray []OptionGroupInput
func (OptionGroupArray) ElementType ¶
func (OptionGroupArray) ElementType() reflect.Type
func (OptionGroupArray) ToOptionGroupArrayOutput ¶
func (i OptionGroupArray) ToOptionGroupArrayOutput() OptionGroupArrayOutput
func (OptionGroupArray) ToOptionGroupArrayOutputWithContext ¶
func (i OptionGroupArray) ToOptionGroupArrayOutputWithContext(ctx context.Context) OptionGroupArrayOutput
type OptionGroupArrayInput ¶
type OptionGroupArrayInput interface { pulumi.Input ToOptionGroupArrayOutput() OptionGroupArrayOutput ToOptionGroupArrayOutputWithContext(context.Context) OptionGroupArrayOutput }
OptionGroupArrayInput is an input type that accepts OptionGroupArray and OptionGroupArrayOutput values. You can construct a concrete instance of `OptionGroupArrayInput` via:
OptionGroupArray{ OptionGroupArgs{...} }
type OptionGroupArrayOutput ¶
type OptionGroupArrayOutput struct{ *pulumi.OutputState }
func (OptionGroupArrayOutput) ElementType ¶
func (OptionGroupArrayOutput) ElementType() reflect.Type
func (OptionGroupArrayOutput) Index ¶
func (o OptionGroupArrayOutput) Index(i pulumi.IntInput) OptionGroupOutput
func (OptionGroupArrayOutput) ToOptionGroupArrayOutput ¶
func (o OptionGroupArrayOutput) ToOptionGroupArrayOutput() OptionGroupArrayOutput
func (OptionGroupArrayOutput) ToOptionGroupArrayOutputWithContext ¶
func (o OptionGroupArrayOutput) ToOptionGroupArrayOutputWithContext(ctx context.Context) OptionGroupArrayOutput
type OptionGroupInput ¶
type OptionGroupInput interface { pulumi.Input ToOptionGroupOutput() OptionGroupOutput ToOptionGroupOutputWithContext(ctx context.Context) OptionGroupOutput }
type OptionGroupMap ¶
type OptionGroupMap map[string]OptionGroupInput
func (OptionGroupMap) ElementType ¶
func (OptionGroupMap) ElementType() reflect.Type
func (OptionGroupMap) ToOptionGroupMapOutput ¶
func (i OptionGroupMap) ToOptionGroupMapOutput() OptionGroupMapOutput
func (OptionGroupMap) ToOptionGroupMapOutputWithContext ¶
func (i OptionGroupMap) ToOptionGroupMapOutputWithContext(ctx context.Context) OptionGroupMapOutput
type OptionGroupMapInput ¶
type OptionGroupMapInput interface { pulumi.Input ToOptionGroupMapOutput() OptionGroupMapOutput ToOptionGroupMapOutputWithContext(context.Context) OptionGroupMapOutput }
OptionGroupMapInput is an input type that accepts OptionGroupMap and OptionGroupMapOutput values. You can construct a concrete instance of `OptionGroupMapInput` via:
OptionGroupMap{ "key": OptionGroupArgs{...} }
type OptionGroupMapOutput ¶
type OptionGroupMapOutput struct{ *pulumi.OutputState }
func (OptionGroupMapOutput) ElementType ¶
func (OptionGroupMapOutput) ElementType() reflect.Type
func (OptionGroupMapOutput) MapIndex ¶
func (o OptionGroupMapOutput) MapIndex(k pulumi.StringInput) OptionGroupOutput
func (OptionGroupMapOutput) ToOptionGroupMapOutput ¶
func (o OptionGroupMapOutput) ToOptionGroupMapOutput() OptionGroupMapOutput
func (OptionGroupMapOutput) ToOptionGroupMapOutputWithContext ¶
func (o OptionGroupMapOutput) ToOptionGroupMapOutputWithContext(ctx context.Context) OptionGroupMapOutput
type OptionGroupOption ¶
type OptionGroupOption struct { // A list of DB Security Groups for which the option is enabled. DbSecurityGroupMemberships []string `pulumi:"dbSecurityGroupMemberships"` // The Name of the Option (e.g., MEMCACHED). OptionName string `pulumi:"optionName"` // A list of option settings to apply. OptionSettings []OptionGroupOptionOptionSetting `pulumi:"optionSettings"` // The Port number when connecting to the Option (e.g., 11211). Port *int `pulumi:"port"` // The version of the option (e.g., 13.1.0.0). Version *string `pulumi:"version"` // A list of VPC Security Groups for which the option is enabled. VpcSecurityGroupMemberships []string `pulumi:"vpcSecurityGroupMemberships"` }
type OptionGroupOptionArgs ¶
type OptionGroupOptionArgs struct { // A list of DB Security Groups for which the option is enabled. DbSecurityGroupMemberships pulumi.StringArrayInput `pulumi:"dbSecurityGroupMemberships"` // The Name of the Option (e.g., MEMCACHED). OptionName pulumi.StringInput `pulumi:"optionName"` // A list of option settings to apply. OptionSettings OptionGroupOptionOptionSettingArrayInput `pulumi:"optionSettings"` // The Port number when connecting to the Option (e.g., 11211). Port pulumi.IntPtrInput `pulumi:"port"` // The version of the option (e.g., 13.1.0.0). Version pulumi.StringPtrInput `pulumi:"version"` // A list of VPC Security Groups for which the option is enabled. VpcSecurityGroupMemberships pulumi.StringArrayInput `pulumi:"vpcSecurityGroupMemberships"` }
func (OptionGroupOptionArgs) ElementType ¶
func (OptionGroupOptionArgs) ElementType() reflect.Type
func (OptionGroupOptionArgs) ToOptionGroupOptionOutput ¶
func (i OptionGroupOptionArgs) ToOptionGroupOptionOutput() OptionGroupOptionOutput
func (OptionGroupOptionArgs) ToOptionGroupOptionOutputWithContext ¶
func (i OptionGroupOptionArgs) ToOptionGroupOptionOutputWithContext(ctx context.Context) OptionGroupOptionOutput
type OptionGroupOptionArray ¶
type OptionGroupOptionArray []OptionGroupOptionInput
func (OptionGroupOptionArray) ElementType ¶
func (OptionGroupOptionArray) ElementType() reflect.Type
func (OptionGroupOptionArray) ToOptionGroupOptionArrayOutput ¶
func (i OptionGroupOptionArray) ToOptionGroupOptionArrayOutput() OptionGroupOptionArrayOutput
func (OptionGroupOptionArray) ToOptionGroupOptionArrayOutputWithContext ¶
func (i OptionGroupOptionArray) ToOptionGroupOptionArrayOutputWithContext(ctx context.Context) OptionGroupOptionArrayOutput
type OptionGroupOptionArrayInput ¶
type OptionGroupOptionArrayInput interface { pulumi.Input ToOptionGroupOptionArrayOutput() OptionGroupOptionArrayOutput ToOptionGroupOptionArrayOutputWithContext(context.Context) OptionGroupOptionArrayOutput }
OptionGroupOptionArrayInput is an input type that accepts OptionGroupOptionArray and OptionGroupOptionArrayOutput values. You can construct a concrete instance of `OptionGroupOptionArrayInput` via:
OptionGroupOptionArray{ OptionGroupOptionArgs{...} }
type OptionGroupOptionArrayOutput ¶
type OptionGroupOptionArrayOutput struct{ *pulumi.OutputState }
func (OptionGroupOptionArrayOutput) ElementType ¶
func (OptionGroupOptionArrayOutput) ElementType() reflect.Type
func (OptionGroupOptionArrayOutput) Index ¶
func (o OptionGroupOptionArrayOutput) Index(i pulumi.IntInput) OptionGroupOptionOutput
func (OptionGroupOptionArrayOutput) ToOptionGroupOptionArrayOutput ¶
func (o OptionGroupOptionArrayOutput) ToOptionGroupOptionArrayOutput() OptionGroupOptionArrayOutput
func (OptionGroupOptionArrayOutput) ToOptionGroupOptionArrayOutputWithContext ¶
func (o OptionGroupOptionArrayOutput) ToOptionGroupOptionArrayOutputWithContext(ctx context.Context) OptionGroupOptionArrayOutput
type OptionGroupOptionInput ¶
type OptionGroupOptionInput interface { pulumi.Input ToOptionGroupOptionOutput() OptionGroupOptionOutput ToOptionGroupOptionOutputWithContext(context.Context) OptionGroupOptionOutput }
OptionGroupOptionInput is an input type that accepts OptionGroupOptionArgs and OptionGroupOptionOutput values. You can construct a concrete instance of `OptionGroupOptionInput` via:
OptionGroupOptionArgs{...}
type OptionGroupOptionOptionSettingArgs ¶
type OptionGroupOptionOptionSettingArgs struct { // The Name of the setting. Name pulumi.StringInput `pulumi:"name"` // The Value of the setting. Value pulumi.StringInput `pulumi:"value"` }
func (OptionGroupOptionOptionSettingArgs) ElementType ¶
func (OptionGroupOptionOptionSettingArgs) ElementType() reflect.Type
func (OptionGroupOptionOptionSettingArgs) ToOptionGroupOptionOptionSettingOutput ¶
func (i OptionGroupOptionOptionSettingArgs) ToOptionGroupOptionOptionSettingOutput() OptionGroupOptionOptionSettingOutput
func (OptionGroupOptionOptionSettingArgs) ToOptionGroupOptionOptionSettingOutputWithContext ¶
func (i OptionGroupOptionOptionSettingArgs) ToOptionGroupOptionOptionSettingOutputWithContext(ctx context.Context) OptionGroupOptionOptionSettingOutput
type OptionGroupOptionOptionSettingArray ¶
type OptionGroupOptionOptionSettingArray []OptionGroupOptionOptionSettingInput
func (OptionGroupOptionOptionSettingArray) ElementType ¶
func (OptionGroupOptionOptionSettingArray) ElementType() reflect.Type
func (OptionGroupOptionOptionSettingArray) ToOptionGroupOptionOptionSettingArrayOutput ¶
func (i OptionGroupOptionOptionSettingArray) ToOptionGroupOptionOptionSettingArrayOutput() OptionGroupOptionOptionSettingArrayOutput
func (OptionGroupOptionOptionSettingArray) ToOptionGroupOptionOptionSettingArrayOutputWithContext ¶
func (i OptionGroupOptionOptionSettingArray) ToOptionGroupOptionOptionSettingArrayOutputWithContext(ctx context.Context) OptionGroupOptionOptionSettingArrayOutput
type OptionGroupOptionOptionSettingArrayInput ¶
type OptionGroupOptionOptionSettingArrayInput interface { pulumi.Input ToOptionGroupOptionOptionSettingArrayOutput() OptionGroupOptionOptionSettingArrayOutput ToOptionGroupOptionOptionSettingArrayOutputWithContext(context.Context) OptionGroupOptionOptionSettingArrayOutput }
OptionGroupOptionOptionSettingArrayInput is an input type that accepts OptionGroupOptionOptionSettingArray and OptionGroupOptionOptionSettingArrayOutput values. You can construct a concrete instance of `OptionGroupOptionOptionSettingArrayInput` via:
OptionGroupOptionOptionSettingArray{ OptionGroupOptionOptionSettingArgs{...} }
type OptionGroupOptionOptionSettingArrayOutput ¶
type OptionGroupOptionOptionSettingArrayOutput struct{ *pulumi.OutputState }
func (OptionGroupOptionOptionSettingArrayOutput) ElementType ¶
func (OptionGroupOptionOptionSettingArrayOutput) ElementType() reflect.Type
func (OptionGroupOptionOptionSettingArrayOutput) ToOptionGroupOptionOptionSettingArrayOutput ¶
func (o OptionGroupOptionOptionSettingArrayOutput) ToOptionGroupOptionOptionSettingArrayOutput() OptionGroupOptionOptionSettingArrayOutput
func (OptionGroupOptionOptionSettingArrayOutput) ToOptionGroupOptionOptionSettingArrayOutputWithContext ¶
func (o OptionGroupOptionOptionSettingArrayOutput) ToOptionGroupOptionOptionSettingArrayOutputWithContext(ctx context.Context) OptionGroupOptionOptionSettingArrayOutput
type OptionGroupOptionOptionSettingInput ¶
type OptionGroupOptionOptionSettingInput interface { pulumi.Input ToOptionGroupOptionOptionSettingOutput() OptionGroupOptionOptionSettingOutput ToOptionGroupOptionOptionSettingOutputWithContext(context.Context) OptionGroupOptionOptionSettingOutput }
OptionGroupOptionOptionSettingInput is an input type that accepts OptionGroupOptionOptionSettingArgs and OptionGroupOptionOptionSettingOutput values. You can construct a concrete instance of `OptionGroupOptionOptionSettingInput` via:
OptionGroupOptionOptionSettingArgs{...}
type OptionGroupOptionOptionSettingOutput ¶
type OptionGroupOptionOptionSettingOutput struct{ *pulumi.OutputState }
func (OptionGroupOptionOptionSettingOutput) ElementType ¶
func (OptionGroupOptionOptionSettingOutput) ElementType() reflect.Type
func (OptionGroupOptionOptionSettingOutput) Name ¶
func (o OptionGroupOptionOptionSettingOutput) Name() pulumi.StringOutput
The Name of the setting.
func (OptionGroupOptionOptionSettingOutput) ToOptionGroupOptionOptionSettingOutput ¶
func (o OptionGroupOptionOptionSettingOutput) ToOptionGroupOptionOptionSettingOutput() OptionGroupOptionOptionSettingOutput
func (OptionGroupOptionOptionSettingOutput) ToOptionGroupOptionOptionSettingOutputWithContext ¶
func (o OptionGroupOptionOptionSettingOutput) ToOptionGroupOptionOptionSettingOutputWithContext(ctx context.Context) OptionGroupOptionOptionSettingOutput
func (OptionGroupOptionOptionSettingOutput) Value ¶
func (o OptionGroupOptionOptionSettingOutput) Value() pulumi.StringOutput
The Value of the setting.
type OptionGroupOptionOutput ¶
type OptionGroupOptionOutput struct{ *pulumi.OutputState }
func (OptionGroupOptionOutput) DbSecurityGroupMemberships ¶
func (o OptionGroupOptionOutput) DbSecurityGroupMemberships() pulumi.StringArrayOutput
A list of DB Security Groups for which the option is enabled.
func (OptionGroupOptionOutput) ElementType ¶
func (OptionGroupOptionOutput) ElementType() reflect.Type
func (OptionGroupOptionOutput) OptionName ¶
func (o OptionGroupOptionOutput) OptionName() pulumi.StringOutput
The Name of the Option (e.g., MEMCACHED).
func (OptionGroupOptionOutput) OptionSettings ¶
func (o OptionGroupOptionOutput) OptionSettings() OptionGroupOptionOptionSettingArrayOutput
A list of option settings to apply.
func (OptionGroupOptionOutput) Port ¶
func (o OptionGroupOptionOutput) Port() pulumi.IntPtrOutput
The Port number when connecting to the Option (e.g., 11211).
func (OptionGroupOptionOutput) ToOptionGroupOptionOutput ¶
func (o OptionGroupOptionOutput) ToOptionGroupOptionOutput() OptionGroupOptionOutput
func (OptionGroupOptionOutput) ToOptionGroupOptionOutputWithContext ¶
func (o OptionGroupOptionOutput) ToOptionGroupOptionOutputWithContext(ctx context.Context) OptionGroupOptionOutput
func (OptionGroupOptionOutput) Version ¶
func (o OptionGroupOptionOutput) Version() pulumi.StringPtrOutput
The version of the option (e.g., 13.1.0.0).
func (OptionGroupOptionOutput) VpcSecurityGroupMemberships ¶
func (o OptionGroupOptionOutput) VpcSecurityGroupMemberships() pulumi.StringArrayOutput
A list of VPC Security Groups for which the option is enabled.
type OptionGroupOutput ¶
type OptionGroupOutput struct{ *pulumi.OutputState }
func (OptionGroupOutput) Arn ¶ added in v5.4.0
func (o OptionGroupOutput) Arn() pulumi.StringOutput
The ARN of the db option group.
func (OptionGroupOutput) ElementType ¶
func (OptionGroupOutput) ElementType() reflect.Type
func (OptionGroupOutput) EngineName ¶ added in v5.4.0
func (o OptionGroupOutput) EngineName() pulumi.StringOutput
Specifies the name of the engine that this option group should be associated with.
func (OptionGroupOutput) MajorEngineVersion ¶ added in v5.4.0
func (o OptionGroupOutput) MajorEngineVersion() pulumi.StringOutput
Specifies the major version of the engine that this option group should be associated with.
func (OptionGroupOutput) Name ¶ added in v5.4.0
func (o OptionGroupOutput) Name() pulumi.StringOutput
The Name of the setting.
func (OptionGroupOutput) NamePrefix ¶ added in v5.4.0
func (o OptionGroupOutput) NamePrefix() pulumi.StringOutput
Creates a unique name beginning with the specified prefix. Conflicts with `name`. Must be lowercase, to match as it is stored in AWS.
func (OptionGroupOutput) OptionGroupDescription ¶ added in v5.4.0
func (o OptionGroupOutput) OptionGroupDescription() pulumi.StringOutput
The description of the option group. Defaults to "Managed by Pulumi".
func (OptionGroupOutput) Options ¶ added in v5.4.0
func (o OptionGroupOutput) Options() OptionGroupOptionArrayOutput
A list of Options to apply.
func (OptionGroupOutput) Tags ¶ added in v5.4.0
func (o OptionGroupOutput) Tags() pulumi.StringMapOutput
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.
func (OptionGroupOutput) TagsAll ¶ added in v5.4.0
func (o OptionGroupOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (OptionGroupOutput) ToOptionGroupOutput ¶
func (o OptionGroupOutput) ToOptionGroupOutput() OptionGroupOutput
func (OptionGroupOutput) ToOptionGroupOutputWithContext ¶
func (o OptionGroupOutput) ToOptionGroupOutputWithContext(ctx context.Context) OptionGroupOutput
type OptionGroupState ¶
type OptionGroupState struct { // The ARN of the db option group. Arn pulumi.StringPtrInput // Specifies the name of the engine that this option group should be associated with. EngineName pulumi.StringPtrInput // Specifies the major version of the engine that this option group should be associated with. MajorEngineVersion pulumi.StringPtrInput // The Name of the setting. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified prefix. Conflicts with `name`. Must be lowercase, to match as it is stored in AWS. NamePrefix pulumi.StringPtrInput // The description of the option group. Defaults to "Managed by Pulumi". OptionGroupDescription pulumi.StringPtrInput // A list of Options to apply. Options OptionGroupOptionArrayInput // 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 }
func (OptionGroupState) ElementType ¶
func (OptionGroupState) ElementType() reflect.Type
type ParameterGroup ¶
type ParameterGroup struct { pulumi.CustomResourceState // The ARN of the db parameter group. Arn pulumi.StringOutput `pulumi:"arn"` // The description of the DB parameter group. Defaults to "Managed by Pulumi". Description pulumi.StringOutput `pulumi:"description"` // The family of the DB parameter group. Family pulumi.StringOutput `pulumi:"family"` // The name of the DB parameter. Name pulumi.StringOutput `pulumi:"name"` // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringOutput `pulumi:"namePrefix"` // A list of DB parameters to apply. Note that parameters may differ from a family to an other. Full list of all parameters can be discovered via [`aws rds describe-db-parameters`](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-parameters.html) after initial creation of the group. 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 `defaultTags` configuration block. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides an RDS DB parameter group resource. Documentation of the available parameters for various RDS engines can be found at:
* [Aurora MySQL Parameters](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AuroraMySQL.Reference.html) * [Aurora PostgreSQL Parameters](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/AuroraPostgreSQL.Reference.html) * [MariaDB Parameters](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.MariaDB.Parameters.html) * [Oracle Parameters](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_ModifyInstance.Oracle.html#USER_ModifyInstance.Oracle.sqlnet) * [PostgreSQL Parameters](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.PostgreSQL.CommonDBATasks.html#Appendix.PostgreSQL.CommonDBATasks.Parameters)
> **NOTE:** After applying your changes, you may encounter a perpetual diff in your preview output for a `parameter` whose `value` remains unchanged but whose `applyMethod` is changing (e.g., from `immediate` to `pending-reboot`, or `pending-reboot` to `immediate`). If only the apply method of a parameter is changing, the AWS API will not register this change. To change the `applyMethod` of a parameter, its value must also change.
## Example Usage ### Basic Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.NewParameterGroup(ctx, "default", &rds.ParameterGroupArgs{ Family: pulumi.String("mysql5.6"), Parameters: rds.ParameterGroupParameterArray{ &rds.ParameterGroupParameterArgs{ Name: pulumi.String("character_set_server"), Value: pulumi.String("utf8"), }, &rds.ParameterGroupParameterArgs{ Name: pulumi.String("character_set_client"), Value: pulumi.String("utf8"), }, }, }) if err != nil { return err } return nil }) }
``` ### `createBeforeDestroy` Lifecycle Configuration
The `createBeforeDestroy` lifecycle configuration is necessary for modifications that force re-creation of an existing, in-use parameter group. This includes common situations like changing the group `name` or bumping the `family` version during a major version upgrade. This configuration will prevent destruction of the deposed parameter group while still in use by the database during upgrade.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleParameterGroup, err := rds.NewParameterGroup(ctx, "exampleParameterGroup", &rds.ParameterGroupArgs{ Family: pulumi.String("postgres13"), Parameters: rds.ParameterGroupParameterArray{ &rds.ParameterGroupParameterArgs{ Name: pulumi.String("log_connections"), Value: pulumi.String("1"), }, }, }) if err != nil { return err } _, err = rds.NewInstance(ctx, "exampleInstance", &rds.InstanceArgs{ ParameterGroupName: exampleParameterGroup.Name, ApplyImmediately: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
```
## Import
DB Parameter groups can be imported using the `name`, e.g.,
```sh
$ pulumi import aws:rds/parameterGroup:ParameterGroup rds_pg rds-pg
```
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
type ParameterGroupArgs ¶
type ParameterGroupArgs struct { // The description of the DB parameter group. Defaults to "Managed by Pulumi". Description pulumi.StringPtrInput // The family of the DB parameter group. Family pulumi.StringInput // The name of the DB parameter. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrInput // A list of DB parameters to apply. Note that parameters may differ from a family to an other. Full list of all parameters can be discovered via [`aws rds describe-db-parameters`](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-parameters.html) after initial creation of the group. 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) Arn ¶ added in v5.4.0
func (o ParameterGroupOutput) Arn() pulumi.StringOutput
The ARN of the db parameter group.
func (ParameterGroupOutput) Description ¶ added in v5.4.0
func (o ParameterGroupOutput) Description() pulumi.StringOutput
The description of the DB parameter group. Defaults to "Managed by Pulumi".
func (ParameterGroupOutput) ElementType ¶
func (ParameterGroupOutput) ElementType() reflect.Type
func (ParameterGroupOutput) Family ¶ added in v5.4.0
func (o ParameterGroupOutput) Family() pulumi.StringOutput
The family of the DB parameter group.
func (ParameterGroupOutput) Name ¶ added in v5.4.0
func (o ParameterGroupOutput) Name() pulumi.StringOutput
The name of the DB parameter.
func (ParameterGroupOutput) NamePrefix ¶ added in v5.4.0
func (o ParameterGroupOutput) NamePrefix() pulumi.StringOutput
Creates a unique name beginning with the specified prefix. Conflicts with `name`.
func (ParameterGroupOutput) Parameters ¶ added in v5.4.0
func (o ParameterGroupOutput) Parameters() ParameterGroupParameterArrayOutput
A list of DB parameters to apply. Note that parameters may differ from a family to an other. Full list of all parameters can be discovered via [`aws rds describe-db-parameters`](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-parameters.html) after initial creation of the group.
func (ParameterGroupOutput) Tags ¶ added in v5.4.0
func (o ParameterGroupOutput) Tags() pulumi.StringMapOutput
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.
func (ParameterGroupOutput) TagsAll ¶ added in v5.4.0
func (o ParameterGroupOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (ParameterGroupOutput) ToParameterGroupOutput ¶
func (o ParameterGroupOutput) ToParameterGroupOutput() ParameterGroupOutput
func (ParameterGroupOutput) ToParameterGroupOutputWithContext ¶
func (o ParameterGroupOutput) ToParameterGroupOutputWithContext(ctx context.Context) ParameterGroupOutput
type ParameterGroupParameter ¶
type ParameterGroupParameter struct { // "immediate" (default), or "pending-reboot". Some // engines can't apply some parameters without a reboot, and you will need to // specify "pending-reboot" here. ApplyMethod *string `pulumi:"applyMethod"` // The name of the DB parameter. Name string `pulumi:"name"` // The value of the DB parameter. Value string `pulumi:"value"` }
type ParameterGroupParameterArgs ¶
type ParameterGroupParameterArgs struct { // "immediate" (default), or "pending-reboot". Some // engines can't apply some parameters without a reboot, and you will need to // specify "pending-reboot" here. ApplyMethod pulumi.StringPtrInput `pulumi:"applyMethod"` // The name of the DB parameter. Name pulumi.StringInput `pulumi:"name"` // The value of the DB 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) ApplyMethod ¶
func (o ParameterGroupParameterOutput) ApplyMethod() pulumi.StringPtrOutput
"immediate" (default), or "pending-reboot". Some engines can't apply some parameters without a reboot, and you will need to specify "pending-reboot" here.
func (ParameterGroupParameterOutput) ElementType ¶
func (ParameterGroupParameterOutput) ElementType() reflect.Type
func (ParameterGroupParameterOutput) Name ¶
func (o ParameterGroupParameterOutput) Name() pulumi.StringOutput
The name of the DB 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 DB parameter.
type ParameterGroupState ¶
type ParameterGroupState struct { // The ARN of the db parameter group. Arn pulumi.StringPtrInput // The description of the DB parameter group. Defaults to "Managed by Pulumi". Description pulumi.StringPtrInput // The family of the DB parameter group. Family pulumi.StringPtrInput // The name of the DB parameter. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrInput // A list of DB parameters to apply. Note that parameters may differ from a family to an other. Full list of all parameters can be discovered via [`aws rds describe-db-parameters`](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-parameters.html) after initial creation of the group. 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 `defaultTags` configuration block. TagsAll pulumi.StringMapInput }
func (ParameterGroupState) ElementType ¶
func (ParameterGroupState) ElementType() reflect.Type
type Proxy ¶
type Proxy struct { pulumi.CustomResourceState // The Amazon Resource Name (ARN) for the proxy. Arn pulumi.StringOutput `pulumi:"arn"` // Configuration block(s) with authorization mechanisms to connect to the associated instances or clusters. Described below. Auths ProxyAuthArrayOutput `pulumi:"auths"` // Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs. DebugLogging pulumi.BoolPtrOutput `pulumi:"debugLogging"` // The endpoint that you can use to connect to the proxy. You include the endpoint value in the connection string for a database client application. Endpoint pulumi.StringOutput `pulumi:"endpoint"` // The kinds of databases that the proxy can connect to. This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. The engine family applies to MySQL and PostgreSQL for both RDS and Aurora. Valid values are `MYSQL` and `POSTGRESQL`. EngineFamily pulumi.StringOutput `pulumi:"engineFamily"` // The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it. You can set this value higher or lower than the connection timeout limit for the associated database. IdleClientTimeout pulumi.IntOutput `pulumi:"idleClientTimeout"` // The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens. Name pulumi.StringOutput `pulumi:"name"` // A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy. By enabling this setting, you can enforce encrypted TLS connections to the proxy. RequireTls pulumi.BoolPtrOutput `pulumi:"requireTls"` // The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in AWS Secrets Manager. RoleArn pulumi.StringOutput `pulumi:"roleArn"` // A mapping 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"` // One or more VPC security group IDs to associate with the new proxy. VpcSecurityGroupIds pulumi.StringArrayOutput `pulumi:"vpcSecurityGroupIds"` // One or more VPC subnet IDs to associate with the new proxy. VpcSubnetIds pulumi.StringArrayOutput `pulumi:"vpcSubnetIds"` }
Provides an RDS DB proxy resource. For additional information, see the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-proxy.html).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.NewProxy(ctx, "example", &rds.ProxyArgs{ DebugLogging: pulumi.Bool(false), EngineFamily: pulumi.String("MYSQL"), IdleClientTimeout: pulumi.Int(1800), RequireTls: pulumi.Bool(true), RoleArn: pulumi.Any(aws_iam_role.Example.Arn), VpcSecurityGroupIds: pulumi.StringArray{ aws_security_group.Example.Id, }, VpcSubnetIds: pulumi.StringArray{ aws_subnet.Example.Id, }, Auths: rds.ProxyAuthArray{ &rds.ProxyAuthArgs{ AuthScheme: pulumi.String("SECRETS"), Description: pulumi.String("example"), IamAuth: pulumi.String("DISABLED"), SecretArn: pulumi.Any(aws_secretsmanager_secret.Example.Arn), }, }, Tags: pulumi.StringMap{ "Name": pulumi.String("example"), "Key": pulumi.String("value"), }, }) if err != nil { return err } return nil }) }
```
## Import
DB proxies can be imported using the `name`, e.g.,
```sh
$ pulumi import aws:rds/proxy:Proxy example example
```
func GetProxy ¶
func GetProxy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProxyState, opts ...pulumi.ResourceOption) (*Proxy, error)
GetProxy gets an existing Proxy 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 NewProxy ¶
func NewProxy(ctx *pulumi.Context, name string, args *ProxyArgs, opts ...pulumi.ResourceOption) (*Proxy, error)
NewProxy registers a new resource with the given unique name, arguments, and options.
func (*Proxy) ElementType ¶
func (*Proxy) ToProxyOutput ¶
func (i *Proxy) ToProxyOutput() ProxyOutput
func (*Proxy) ToProxyOutputWithContext ¶
func (i *Proxy) ToProxyOutputWithContext(ctx context.Context) ProxyOutput
type ProxyArgs ¶
type ProxyArgs struct { // Configuration block(s) with authorization mechanisms to connect to the associated instances or clusters. Described below. Auths ProxyAuthArrayInput // Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs. DebugLogging pulumi.BoolPtrInput // The kinds of databases that the proxy can connect to. This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. The engine family applies to MySQL and PostgreSQL for both RDS and Aurora. Valid values are `MYSQL` and `POSTGRESQL`. EngineFamily pulumi.StringInput // The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it. You can set this value higher or lower than the connection timeout limit for the associated database. IdleClientTimeout pulumi.IntPtrInput // The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens. Name pulumi.StringPtrInput // A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy. By enabling this setting, you can enforce encrypted TLS connections to the proxy. RequireTls pulumi.BoolPtrInput // The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in AWS Secrets Manager. RoleArn pulumi.StringInput // A mapping 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 // One or more VPC security group IDs to associate with the new proxy. VpcSecurityGroupIds pulumi.StringArrayInput // One or more VPC subnet IDs to associate with the new proxy. VpcSubnetIds pulumi.StringArrayInput }
The set of arguments for constructing a Proxy resource.
func (ProxyArgs) ElementType ¶
type ProxyArray ¶
type ProxyArray []ProxyInput
func (ProxyArray) ElementType ¶
func (ProxyArray) ElementType() reflect.Type
func (ProxyArray) ToProxyArrayOutput ¶
func (i ProxyArray) ToProxyArrayOutput() ProxyArrayOutput
func (ProxyArray) ToProxyArrayOutputWithContext ¶
func (i ProxyArray) ToProxyArrayOutputWithContext(ctx context.Context) ProxyArrayOutput
type ProxyArrayInput ¶
type ProxyArrayInput interface { pulumi.Input ToProxyArrayOutput() ProxyArrayOutput ToProxyArrayOutputWithContext(context.Context) ProxyArrayOutput }
ProxyArrayInput is an input type that accepts ProxyArray and ProxyArrayOutput values. You can construct a concrete instance of `ProxyArrayInput` via:
ProxyArray{ ProxyArgs{...} }
type ProxyArrayOutput ¶
type ProxyArrayOutput struct{ *pulumi.OutputState }
func (ProxyArrayOutput) ElementType ¶
func (ProxyArrayOutput) ElementType() reflect.Type
func (ProxyArrayOutput) Index ¶
func (o ProxyArrayOutput) Index(i pulumi.IntInput) ProxyOutput
func (ProxyArrayOutput) ToProxyArrayOutput ¶
func (o ProxyArrayOutput) ToProxyArrayOutput() ProxyArrayOutput
func (ProxyArrayOutput) ToProxyArrayOutputWithContext ¶
func (o ProxyArrayOutput) ToProxyArrayOutputWithContext(ctx context.Context) ProxyArrayOutput
type ProxyAuth ¶
type ProxyAuth struct { // The type of authentication that the proxy uses for connections from the proxy to the underlying database. One of `SECRETS`. AuthScheme *string `pulumi:"authScheme"` // The type of authentication the proxy uses for connections from clients. Valid values are `MYSQL_NATIVE_PASSWORD`, `POSTGRES_SCRAM_SHA_256`, `POSTGRES_MD5`, and `SQL_SERVER_AUTHENTICATION`. ClientPasswordAuthType *string `pulumi:"clientPasswordAuthType"` // A user-specified description about the authentication used by a proxy to log in as a specific database user. Description *string `pulumi:"description"` // Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy. One of `DISABLED`, `REQUIRED`. IamAuth *string `pulumi:"iamAuth"` // The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager. SecretArn *string `pulumi:"secretArn"` // The name of the database user to which the proxy connects. Username *string `pulumi:"username"` }
type ProxyAuthArgs ¶
type ProxyAuthArgs struct { // The type of authentication that the proxy uses for connections from the proxy to the underlying database. One of `SECRETS`. AuthScheme pulumi.StringPtrInput `pulumi:"authScheme"` // The type of authentication the proxy uses for connections from clients. Valid values are `MYSQL_NATIVE_PASSWORD`, `POSTGRES_SCRAM_SHA_256`, `POSTGRES_MD5`, and `SQL_SERVER_AUTHENTICATION`. ClientPasswordAuthType pulumi.StringPtrInput `pulumi:"clientPasswordAuthType"` // A user-specified description about the authentication used by a proxy to log in as a specific database user. Description pulumi.StringPtrInput `pulumi:"description"` // Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy. One of `DISABLED`, `REQUIRED`. IamAuth pulumi.StringPtrInput `pulumi:"iamAuth"` // The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager. SecretArn pulumi.StringPtrInput `pulumi:"secretArn"` // The name of the database user to which the proxy connects. Username pulumi.StringPtrInput `pulumi:"username"` }
func (ProxyAuthArgs) ElementType ¶
func (ProxyAuthArgs) ElementType() reflect.Type
func (ProxyAuthArgs) ToProxyAuthOutput ¶
func (i ProxyAuthArgs) ToProxyAuthOutput() ProxyAuthOutput
func (ProxyAuthArgs) ToProxyAuthOutputWithContext ¶
func (i ProxyAuthArgs) ToProxyAuthOutputWithContext(ctx context.Context) ProxyAuthOutput
type ProxyAuthArray ¶
type ProxyAuthArray []ProxyAuthInput
func (ProxyAuthArray) ElementType ¶
func (ProxyAuthArray) ElementType() reflect.Type
func (ProxyAuthArray) ToProxyAuthArrayOutput ¶
func (i ProxyAuthArray) ToProxyAuthArrayOutput() ProxyAuthArrayOutput
func (ProxyAuthArray) ToProxyAuthArrayOutputWithContext ¶
func (i ProxyAuthArray) ToProxyAuthArrayOutputWithContext(ctx context.Context) ProxyAuthArrayOutput
type ProxyAuthArrayInput ¶
type ProxyAuthArrayInput interface { pulumi.Input ToProxyAuthArrayOutput() ProxyAuthArrayOutput ToProxyAuthArrayOutputWithContext(context.Context) ProxyAuthArrayOutput }
ProxyAuthArrayInput is an input type that accepts ProxyAuthArray and ProxyAuthArrayOutput values. You can construct a concrete instance of `ProxyAuthArrayInput` via:
ProxyAuthArray{ ProxyAuthArgs{...} }
type ProxyAuthArrayOutput ¶
type ProxyAuthArrayOutput struct{ *pulumi.OutputState }
func (ProxyAuthArrayOutput) ElementType ¶
func (ProxyAuthArrayOutput) ElementType() reflect.Type
func (ProxyAuthArrayOutput) Index ¶
func (o ProxyAuthArrayOutput) Index(i pulumi.IntInput) ProxyAuthOutput
func (ProxyAuthArrayOutput) ToProxyAuthArrayOutput ¶
func (o ProxyAuthArrayOutput) ToProxyAuthArrayOutput() ProxyAuthArrayOutput
func (ProxyAuthArrayOutput) ToProxyAuthArrayOutputWithContext ¶
func (o ProxyAuthArrayOutput) ToProxyAuthArrayOutputWithContext(ctx context.Context) ProxyAuthArrayOutput
type ProxyAuthInput ¶
type ProxyAuthInput interface { pulumi.Input ToProxyAuthOutput() ProxyAuthOutput ToProxyAuthOutputWithContext(context.Context) ProxyAuthOutput }
ProxyAuthInput is an input type that accepts ProxyAuthArgs and ProxyAuthOutput values. You can construct a concrete instance of `ProxyAuthInput` via:
ProxyAuthArgs{...}
type ProxyAuthOutput ¶
type ProxyAuthOutput struct{ *pulumi.OutputState }
func (ProxyAuthOutput) AuthScheme ¶
func (o ProxyAuthOutput) AuthScheme() pulumi.StringPtrOutput
The type of authentication that the proxy uses for connections from the proxy to the underlying database. One of `SECRETS`.
func (ProxyAuthOutput) ClientPasswordAuthType ¶ added in v5.31.0
func (o ProxyAuthOutput) ClientPasswordAuthType() pulumi.StringPtrOutput
The type of authentication the proxy uses for connections from clients. Valid values are `MYSQL_NATIVE_PASSWORD`, `POSTGRES_SCRAM_SHA_256`, `POSTGRES_MD5`, and `SQL_SERVER_AUTHENTICATION`.
func (ProxyAuthOutput) Description ¶
func (o ProxyAuthOutput) Description() pulumi.StringPtrOutput
A user-specified description about the authentication used by a proxy to log in as a specific database user.
func (ProxyAuthOutput) ElementType ¶
func (ProxyAuthOutput) ElementType() reflect.Type
func (ProxyAuthOutput) IamAuth ¶
func (o ProxyAuthOutput) IamAuth() pulumi.StringPtrOutput
Whether to require or disallow AWS Identity and Access Management (IAM) authentication for connections to the proxy. One of `DISABLED`, `REQUIRED`.
func (ProxyAuthOutput) SecretArn ¶
func (o ProxyAuthOutput) SecretArn() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) representing the secret that the proxy uses to authenticate to the RDS DB instance or Aurora DB cluster. These secrets are stored within Amazon Secrets Manager.
func (ProxyAuthOutput) ToProxyAuthOutput ¶
func (o ProxyAuthOutput) ToProxyAuthOutput() ProxyAuthOutput
func (ProxyAuthOutput) ToProxyAuthOutputWithContext ¶
func (o ProxyAuthOutput) ToProxyAuthOutputWithContext(ctx context.Context) ProxyAuthOutput
func (ProxyAuthOutput) Username ¶ added in v5.3.0
func (o ProxyAuthOutput) Username() pulumi.StringPtrOutput
The name of the database user to which the proxy connects.
type ProxyDefaultTargetGroup ¶
type ProxyDefaultTargetGroup struct { pulumi.CustomResourceState // The Amazon Resource Name (ARN) representing the target group. Arn pulumi.StringOutput `pulumi:"arn"` // The settings that determine the size and behavior of the connection pool for the target group. ConnectionPoolConfig ProxyDefaultTargetGroupConnectionPoolConfigOutput `pulumi:"connectionPoolConfig"` // Name of the RDS DB Proxy. DbProxyName pulumi.StringOutput `pulumi:"dbProxyName"` // The name of the default target group. Name pulumi.StringOutput `pulumi:"name"` }
Provides a resource to manage an RDS DB proxy default target group resource.
The `rds.ProxyDefaultTargetGroup` behaves differently from normal resources, in that the provider does not _create_ or _destroy_ this resource, since it implicitly exists as part of an RDS DB Proxy. On the provider resource creation it is automatically imported and on resource destruction, the provider performs no actions in RDS.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleProxy, err := rds.NewProxy(ctx, "exampleProxy", &rds.ProxyArgs{ DebugLogging: pulumi.Bool(false), EngineFamily: pulumi.String("MYSQL"), IdleClientTimeout: pulumi.Int(1800), RequireTls: pulumi.Bool(true), RoleArn: pulumi.Any(aws_iam_role.Example.Arn), VpcSecurityGroupIds: pulumi.StringArray{ aws_security_group.Example.Id, }, VpcSubnetIds: pulumi.StringArray{ aws_subnet.Example.Id, }, Auths: rds.ProxyAuthArray{ &rds.ProxyAuthArgs{ AuthScheme: pulumi.String("SECRETS"), Description: pulumi.String("example"), IamAuth: pulumi.String("DISABLED"), SecretArn: pulumi.Any(aws_secretsmanager_secret.Example.Arn), }, }, Tags: pulumi.StringMap{ "Name": pulumi.String("example"), "Key": pulumi.String("value"), }, }) if err != nil { return err } _, err = rds.NewProxyDefaultTargetGroup(ctx, "exampleProxyDefaultTargetGroup", &rds.ProxyDefaultTargetGroupArgs{ DbProxyName: exampleProxy.Name, ConnectionPoolConfig: &rds.ProxyDefaultTargetGroupConnectionPoolConfigArgs{ ConnectionBorrowTimeout: pulumi.Int(120), InitQuery: pulumi.String("SET x=1, y=2"), MaxConnectionsPercent: pulumi.Int(100), MaxIdleConnectionsPercent: pulumi.Int(50), SessionPinningFilters: pulumi.StringArray{ pulumi.String("EXCLUDE_VARIABLE_SETS"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
DB proxy default target groups can be imported using the `db_proxy_name`, e.g.,
```sh
$ pulumi import aws:rds/proxyDefaultTargetGroup:ProxyDefaultTargetGroup example example
```
func GetProxyDefaultTargetGroup ¶
func GetProxyDefaultTargetGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProxyDefaultTargetGroupState, opts ...pulumi.ResourceOption) (*ProxyDefaultTargetGroup, error)
GetProxyDefaultTargetGroup gets an existing ProxyDefaultTargetGroup 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 NewProxyDefaultTargetGroup ¶
func NewProxyDefaultTargetGroup(ctx *pulumi.Context, name string, args *ProxyDefaultTargetGroupArgs, opts ...pulumi.ResourceOption) (*ProxyDefaultTargetGroup, error)
NewProxyDefaultTargetGroup registers a new resource with the given unique name, arguments, and options.
func (*ProxyDefaultTargetGroup) ElementType ¶
func (*ProxyDefaultTargetGroup) ElementType() reflect.Type
func (*ProxyDefaultTargetGroup) ToProxyDefaultTargetGroupOutput ¶
func (i *ProxyDefaultTargetGroup) ToProxyDefaultTargetGroupOutput() ProxyDefaultTargetGroupOutput
func (*ProxyDefaultTargetGroup) ToProxyDefaultTargetGroupOutputWithContext ¶
func (i *ProxyDefaultTargetGroup) ToProxyDefaultTargetGroupOutputWithContext(ctx context.Context) ProxyDefaultTargetGroupOutput
type ProxyDefaultTargetGroupArgs ¶
type ProxyDefaultTargetGroupArgs struct { // The settings that determine the size and behavior of the connection pool for the target group. ConnectionPoolConfig ProxyDefaultTargetGroupConnectionPoolConfigPtrInput // Name of the RDS DB Proxy. DbProxyName pulumi.StringInput }
The set of arguments for constructing a ProxyDefaultTargetGroup resource.
func (ProxyDefaultTargetGroupArgs) ElementType ¶
func (ProxyDefaultTargetGroupArgs) ElementType() reflect.Type
type ProxyDefaultTargetGroupArray ¶
type ProxyDefaultTargetGroupArray []ProxyDefaultTargetGroupInput
func (ProxyDefaultTargetGroupArray) ElementType ¶
func (ProxyDefaultTargetGroupArray) ElementType() reflect.Type
func (ProxyDefaultTargetGroupArray) ToProxyDefaultTargetGroupArrayOutput ¶
func (i ProxyDefaultTargetGroupArray) ToProxyDefaultTargetGroupArrayOutput() ProxyDefaultTargetGroupArrayOutput
func (ProxyDefaultTargetGroupArray) ToProxyDefaultTargetGroupArrayOutputWithContext ¶
func (i ProxyDefaultTargetGroupArray) ToProxyDefaultTargetGroupArrayOutputWithContext(ctx context.Context) ProxyDefaultTargetGroupArrayOutput
type ProxyDefaultTargetGroupArrayInput ¶
type ProxyDefaultTargetGroupArrayInput interface { pulumi.Input ToProxyDefaultTargetGroupArrayOutput() ProxyDefaultTargetGroupArrayOutput ToProxyDefaultTargetGroupArrayOutputWithContext(context.Context) ProxyDefaultTargetGroupArrayOutput }
ProxyDefaultTargetGroupArrayInput is an input type that accepts ProxyDefaultTargetGroupArray and ProxyDefaultTargetGroupArrayOutput values. You can construct a concrete instance of `ProxyDefaultTargetGroupArrayInput` via:
ProxyDefaultTargetGroupArray{ ProxyDefaultTargetGroupArgs{...} }
type ProxyDefaultTargetGroupArrayOutput ¶
type ProxyDefaultTargetGroupArrayOutput struct{ *pulumi.OutputState }
func (ProxyDefaultTargetGroupArrayOutput) ElementType ¶
func (ProxyDefaultTargetGroupArrayOutput) ElementType() reflect.Type
func (ProxyDefaultTargetGroupArrayOutput) Index ¶
func (o ProxyDefaultTargetGroupArrayOutput) Index(i pulumi.IntInput) ProxyDefaultTargetGroupOutput
func (ProxyDefaultTargetGroupArrayOutput) ToProxyDefaultTargetGroupArrayOutput ¶
func (o ProxyDefaultTargetGroupArrayOutput) ToProxyDefaultTargetGroupArrayOutput() ProxyDefaultTargetGroupArrayOutput
func (ProxyDefaultTargetGroupArrayOutput) ToProxyDefaultTargetGroupArrayOutputWithContext ¶
func (o ProxyDefaultTargetGroupArrayOutput) ToProxyDefaultTargetGroupArrayOutputWithContext(ctx context.Context) ProxyDefaultTargetGroupArrayOutput
type ProxyDefaultTargetGroupConnectionPoolConfig ¶
type ProxyDefaultTargetGroupConnectionPoolConfig struct { // The number of seconds for a proxy to wait for a connection to become available in the connection pool. Only applies when the proxy has opened its maximum number of connections and all connections are busy with client sessions. ConnectionBorrowTimeout *int `pulumi:"connectionBorrowTimeout"` // One or more SQL statements for the proxy to run when opening each new database connection. Typically used with `SET` statements to make sure that each connection has identical settings such as time zone and character set. This setting is empty by default. For multiple statements, use semicolons as the separator. You can also include multiple variables in a single `SET` statement, such as `SET x=1, y=2`. InitQuery *string `pulumi:"initQuery"` // The maximum size of the connection pool for each target in a target group. For Aurora MySQL, it is expressed as a percentage of the maxConnections setting for the RDS DB instance or Aurora DB cluster used by the target group. MaxConnectionsPercent *int `pulumi:"maxConnectionsPercent"` // Controls how actively the proxy closes idle database connections in the connection pool. A high value enables the proxy to leave a high percentage of idle connections open. A low value causes the proxy to close idle client connections and return the underlying database connections to the connection pool. For Aurora MySQL, it is expressed as a percentage of the maxConnections setting for the RDS DB instance or Aurora DB cluster used by the target group. MaxIdleConnectionsPercent *int `pulumi:"maxIdleConnectionsPercent"` // Each item in the list represents a class of SQL operations that normally cause all later statements in a session using a proxy to be pinned to the same underlying database connection. Including an item in the list exempts that class of SQL operations from the pinning behavior. Currently, the only allowed value is `EXCLUDE_VARIABLE_SETS`. SessionPinningFilters []string `pulumi:"sessionPinningFilters"` }
type ProxyDefaultTargetGroupConnectionPoolConfigArgs ¶
type ProxyDefaultTargetGroupConnectionPoolConfigArgs struct { // The number of seconds for a proxy to wait for a connection to become available in the connection pool. Only applies when the proxy has opened its maximum number of connections and all connections are busy with client sessions. ConnectionBorrowTimeout pulumi.IntPtrInput `pulumi:"connectionBorrowTimeout"` // One or more SQL statements for the proxy to run when opening each new database connection. Typically used with `SET` statements to make sure that each connection has identical settings such as time zone and character set. This setting is empty by default. For multiple statements, use semicolons as the separator. You can also include multiple variables in a single `SET` statement, such as `SET x=1, y=2`. InitQuery pulumi.StringPtrInput `pulumi:"initQuery"` // The maximum size of the connection pool for each target in a target group. For Aurora MySQL, it is expressed as a percentage of the maxConnections setting for the RDS DB instance or Aurora DB cluster used by the target group. MaxConnectionsPercent pulumi.IntPtrInput `pulumi:"maxConnectionsPercent"` // Controls how actively the proxy closes idle database connections in the connection pool. A high value enables the proxy to leave a high percentage of idle connections open. A low value causes the proxy to close idle client connections and return the underlying database connections to the connection pool. For Aurora MySQL, it is expressed as a percentage of the maxConnections setting for the RDS DB instance or Aurora DB cluster used by the target group. MaxIdleConnectionsPercent pulumi.IntPtrInput `pulumi:"maxIdleConnectionsPercent"` // Each item in the list represents a class of SQL operations that normally cause all later statements in a session using a proxy to be pinned to the same underlying database connection. Including an item in the list exempts that class of SQL operations from the pinning behavior. Currently, the only allowed value is `EXCLUDE_VARIABLE_SETS`. SessionPinningFilters pulumi.StringArrayInput `pulumi:"sessionPinningFilters"` }
func (ProxyDefaultTargetGroupConnectionPoolConfigArgs) ElementType ¶
func (ProxyDefaultTargetGroupConnectionPoolConfigArgs) ElementType() reflect.Type
func (ProxyDefaultTargetGroupConnectionPoolConfigArgs) ToProxyDefaultTargetGroupConnectionPoolConfigOutput ¶
func (i ProxyDefaultTargetGroupConnectionPoolConfigArgs) ToProxyDefaultTargetGroupConnectionPoolConfigOutput() ProxyDefaultTargetGroupConnectionPoolConfigOutput
func (ProxyDefaultTargetGroupConnectionPoolConfigArgs) ToProxyDefaultTargetGroupConnectionPoolConfigOutputWithContext ¶
func (i ProxyDefaultTargetGroupConnectionPoolConfigArgs) ToProxyDefaultTargetGroupConnectionPoolConfigOutputWithContext(ctx context.Context) ProxyDefaultTargetGroupConnectionPoolConfigOutput
func (ProxyDefaultTargetGroupConnectionPoolConfigArgs) ToProxyDefaultTargetGroupConnectionPoolConfigPtrOutput ¶
func (i ProxyDefaultTargetGroupConnectionPoolConfigArgs) ToProxyDefaultTargetGroupConnectionPoolConfigPtrOutput() ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput
func (ProxyDefaultTargetGroupConnectionPoolConfigArgs) ToProxyDefaultTargetGroupConnectionPoolConfigPtrOutputWithContext ¶
func (i ProxyDefaultTargetGroupConnectionPoolConfigArgs) ToProxyDefaultTargetGroupConnectionPoolConfigPtrOutputWithContext(ctx context.Context) ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput
type ProxyDefaultTargetGroupConnectionPoolConfigInput ¶
type ProxyDefaultTargetGroupConnectionPoolConfigInput interface { pulumi.Input ToProxyDefaultTargetGroupConnectionPoolConfigOutput() ProxyDefaultTargetGroupConnectionPoolConfigOutput ToProxyDefaultTargetGroupConnectionPoolConfigOutputWithContext(context.Context) ProxyDefaultTargetGroupConnectionPoolConfigOutput }
ProxyDefaultTargetGroupConnectionPoolConfigInput is an input type that accepts ProxyDefaultTargetGroupConnectionPoolConfigArgs and ProxyDefaultTargetGroupConnectionPoolConfigOutput values. You can construct a concrete instance of `ProxyDefaultTargetGroupConnectionPoolConfigInput` via:
ProxyDefaultTargetGroupConnectionPoolConfigArgs{...}
type ProxyDefaultTargetGroupConnectionPoolConfigOutput ¶
type ProxyDefaultTargetGroupConnectionPoolConfigOutput struct{ *pulumi.OutputState }
func (ProxyDefaultTargetGroupConnectionPoolConfigOutput) ConnectionBorrowTimeout ¶
func (o ProxyDefaultTargetGroupConnectionPoolConfigOutput) ConnectionBorrowTimeout() pulumi.IntPtrOutput
The number of seconds for a proxy to wait for a connection to become available in the connection pool. Only applies when the proxy has opened its maximum number of connections and all connections are busy with client sessions.
func (ProxyDefaultTargetGroupConnectionPoolConfigOutput) ElementType ¶
func (ProxyDefaultTargetGroupConnectionPoolConfigOutput) ElementType() reflect.Type
func (ProxyDefaultTargetGroupConnectionPoolConfigOutput) InitQuery ¶
func (o ProxyDefaultTargetGroupConnectionPoolConfigOutput) InitQuery() pulumi.StringPtrOutput
One or more SQL statements for the proxy to run when opening each new database connection. Typically used with `SET` statements to make sure that each connection has identical settings such as time zone and character set. This setting is empty by default. For multiple statements, use semicolons as the separator. You can also include multiple variables in a single `SET` statement, such as `SET x=1, y=2`.
func (ProxyDefaultTargetGroupConnectionPoolConfigOutput) MaxConnectionsPercent ¶
func (o ProxyDefaultTargetGroupConnectionPoolConfigOutput) MaxConnectionsPercent() pulumi.IntPtrOutput
The maximum size of the connection pool for each target in a target group. For Aurora MySQL, it is expressed as a percentage of the maxConnections setting for the RDS DB instance or Aurora DB cluster used by the target group.
func (ProxyDefaultTargetGroupConnectionPoolConfigOutput) MaxIdleConnectionsPercent ¶
func (o ProxyDefaultTargetGroupConnectionPoolConfigOutput) MaxIdleConnectionsPercent() pulumi.IntPtrOutput
Controls how actively the proxy closes idle database connections in the connection pool. A high value enables the proxy to leave a high percentage of idle connections open. A low value causes the proxy to close idle client connections and return the underlying database connections to the connection pool. For Aurora MySQL, it is expressed as a percentage of the maxConnections setting for the RDS DB instance or Aurora DB cluster used by the target group.
func (ProxyDefaultTargetGroupConnectionPoolConfigOutput) SessionPinningFilters ¶
func (o ProxyDefaultTargetGroupConnectionPoolConfigOutput) SessionPinningFilters() pulumi.StringArrayOutput
Each item in the list represents a class of SQL operations that normally cause all later statements in a session using a proxy to be pinned to the same underlying database connection. Including an item in the list exempts that class of SQL operations from the pinning behavior. Currently, the only allowed value is `EXCLUDE_VARIABLE_SETS`.
func (ProxyDefaultTargetGroupConnectionPoolConfigOutput) ToProxyDefaultTargetGroupConnectionPoolConfigOutput ¶
func (o ProxyDefaultTargetGroupConnectionPoolConfigOutput) ToProxyDefaultTargetGroupConnectionPoolConfigOutput() ProxyDefaultTargetGroupConnectionPoolConfigOutput
func (ProxyDefaultTargetGroupConnectionPoolConfigOutput) ToProxyDefaultTargetGroupConnectionPoolConfigOutputWithContext ¶
func (o ProxyDefaultTargetGroupConnectionPoolConfigOutput) ToProxyDefaultTargetGroupConnectionPoolConfigOutputWithContext(ctx context.Context) ProxyDefaultTargetGroupConnectionPoolConfigOutput
func (ProxyDefaultTargetGroupConnectionPoolConfigOutput) ToProxyDefaultTargetGroupConnectionPoolConfigPtrOutput ¶
func (o ProxyDefaultTargetGroupConnectionPoolConfigOutput) ToProxyDefaultTargetGroupConnectionPoolConfigPtrOutput() ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput
func (ProxyDefaultTargetGroupConnectionPoolConfigOutput) ToProxyDefaultTargetGroupConnectionPoolConfigPtrOutputWithContext ¶
func (o ProxyDefaultTargetGroupConnectionPoolConfigOutput) ToProxyDefaultTargetGroupConnectionPoolConfigPtrOutputWithContext(ctx context.Context) ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput
type ProxyDefaultTargetGroupConnectionPoolConfigPtrInput ¶
type ProxyDefaultTargetGroupConnectionPoolConfigPtrInput interface { pulumi.Input ToProxyDefaultTargetGroupConnectionPoolConfigPtrOutput() ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput ToProxyDefaultTargetGroupConnectionPoolConfigPtrOutputWithContext(context.Context) ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput }
ProxyDefaultTargetGroupConnectionPoolConfigPtrInput is an input type that accepts ProxyDefaultTargetGroupConnectionPoolConfigArgs, ProxyDefaultTargetGroupConnectionPoolConfigPtr and ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput values. You can construct a concrete instance of `ProxyDefaultTargetGroupConnectionPoolConfigPtrInput` via:
ProxyDefaultTargetGroupConnectionPoolConfigArgs{...} or: nil
func ProxyDefaultTargetGroupConnectionPoolConfigPtr ¶
func ProxyDefaultTargetGroupConnectionPoolConfigPtr(v *ProxyDefaultTargetGroupConnectionPoolConfigArgs) ProxyDefaultTargetGroupConnectionPoolConfigPtrInput
type ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput ¶
type ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput struct{ *pulumi.OutputState }
func (ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput) ConnectionBorrowTimeout ¶
func (o ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput) ConnectionBorrowTimeout() pulumi.IntPtrOutput
The number of seconds for a proxy to wait for a connection to become available in the connection pool. Only applies when the proxy has opened its maximum number of connections and all connections are busy with client sessions.
func (ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput) ElementType ¶
func (ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput) ElementType() reflect.Type
func (ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput) InitQuery ¶
func (o ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput) InitQuery() pulumi.StringPtrOutput
One or more SQL statements for the proxy to run when opening each new database connection. Typically used with `SET` statements to make sure that each connection has identical settings such as time zone and character set. This setting is empty by default. For multiple statements, use semicolons as the separator. You can also include multiple variables in a single `SET` statement, such as `SET x=1, y=2`.
func (ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput) MaxConnectionsPercent ¶
func (o ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput) MaxConnectionsPercent() pulumi.IntPtrOutput
The maximum size of the connection pool for each target in a target group. For Aurora MySQL, it is expressed as a percentage of the maxConnections setting for the RDS DB instance or Aurora DB cluster used by the target group.
func (ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput) MaxIdleConnectionsPercent ¶
func (o ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput) MaxIdleConnectionsPercent() pulumi.IntPtrOutput
Controls how actively the proxy closes idle database connections in the connection pool. A high value enables the proxy to leave a high percentage of idle connections open. A low value causes the proxy to close idle client connections and return the underlying database connections to the connection pool. For Aurora MySQL, it is expressed as a percentage of the maxConnections setting for the RDS DB instance or Aurora DB cluster used by the target group.
func (ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput) SessionPinningFilters ¶
func (o ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput) SessionPinningFilters() pulumi.StringArrayOutput
Each item in the list represents a class of SQL operations that normally cause all later statements in a session using a proxy to be pinned to the same underlying database connection. Including an item in the list exempts that class of SQL operations from the pinning behavior. Currently, the only allowed value is `EXCLUDE_VARIABLE_SETS`.
func (ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput) ToProxyDefaultTargetGroupConnectionPoolConfigPtrOutput ¶
func (o ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput) ToProxyDefaultTargetGroupConnectionPoolConfigPtrOutput() ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput
func (ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput) ToProxyDefaultTargetGroupConnectionPoolConfigPtrOutputWithContext ¶
func (o ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput) ToProxyDefaultTargetGroupConnectionPoolConfigPtrOutputWithContext(ctx context.Context) ProxyDefaultTargetGroupConnectionPoolConfigPtrOutput
type ProxyDefaultTargetGroupInput ¶
type ProxyDefaultTargetGroupInput interface { pulumi.Input ToProxyDefaultTargetGroupOutput() ProxyDefaultTargetGroupOutput ToProxyDefaultTargetGroupOutputWithContext(ctx context.Context) ProxyDefaultTargetGroupOutput }
type ProxyDefaultTargetGroupMap ¶
type ProxyDefaultTargetGroupMap map[string]ProxyDefaultTargetGroupInput
func (ProxyDefaultTargetGroupMap) ElementType ¶
func (ProxyDefaultTargetGroupMap) ElementType() reflect.Type
func (ProxyDefaultTargetGroupMap) ToProxyDefaultTargetGroupMapOutput ¶
func (i ProxyDefaultTargetGroupMap) ToProxyDefaultTargetGroupMapOutput() ProxyDefaultTargetGroupMapOutput
func (ProxyDefaultTargetGroupMap) ToProxyDefaultTargetGroupMapOutputWithContext ¶
func (i ProxyDefaultTargetGroupMap) ToProxyDefaultTargetGroupMapOutputWithContext(ctx context.Context) ProxyDefaultTargetGroupMapOutput
type ProxyDefaultTargetGroupMapInput ¶
type ProxyDefaultTargetGroupMapInput interface { pulumi.Input ToProxyDefaultTargetGroupMapOutput() ProxyDefaultTargetGroupMapOutput ToProxyDefaultTargetGroupMapOutputWithContext(context.Context) ProxyDefaultTargetGroupMapOutput }
ProxyDefaultTargetGroupMapInput is an input type that accepts ProxyDefaultTargetGroupMap and ProxyDefaultTargetGroupMapOutput values. You can construct a concrete instance of `ProxyDefaultTargetGroupMapInput` via:
ProxyDefaultTargetGroupMap{ "key": ProxyDefaultTargetGroupArgs{...} }
type ProxyDefaultTargetGroupMapOutput ¶
type ProxyDefaultTargetGroupMapOutput struct{ *pulumi.OutputState }
func (ProxyDefaultTargetGroupMapOutput) ElementType ¶
func (ProxyDefaultTargetGroupMapOutput) ElementType() reflect.Type
func (ProxyDefaultTargetGroupMapOutput) MapIndex ¶
func (o ProxyDefaultTargetGroupMapOutput) MapIndex(k pulumi.StringInput) ProxyDefaultTargetGroupOutput
func (ProxyDefaultTargetGroupMapOutput) ToProxyDefaultTargetGroupMapOutput ¶
func (o ProxyDefaultTargetGroupMapOutput) ToProxyDefaultTargetGroupMapOutput() ProxyDefaultTargetGroupMapOutput
func (ProxyDefaultTargetGroupMapOutput) ToProxyDefaultTargetGroupMapOutputWithContext ¶
func (o ProxyDefaultTargetGroupMapOutput) ToProxyDefaultTargetGroupMapOutputWithContext(ctx context.Context) ProxyDefaultTargetGroupMapOutput
type ProxyDefaultTargetGroupOutput ¶
type ProxyDefaultTargetGroupOutput struct{ *pulumi.OutputState }
func (ProxyDefaultTargetGroupOutput) Arn ¶ added in v5.4.0
func (o ProxyDefaultTargetGroupOutput) Arn() pulumi.StringOutput
The Amazon Resource Name (ARN) representing the target group.
func (ProxyDefaultTargetGroupOutput) ConnectionPoolConfig ¶ added in v5.4.0
func (o ProxyDefaultTargetGroupOutput) ConnectionPoolConfig() ProxyDefaultTargetGroupConnectionPoolConfigOutput
The settings that determine the size and behavior of the connection pool for the target group.
func (ProxyDefaultTargetGroupOutput) DbProxyName ¶ added in v5.4.0
func (o ProxyDefaultTargetGroupOutput) DbProxyName() pulumi.StringOutput
Name of the RDS DB Proxy.
func (ProxyDefaultTargetGroupOutput) ElementType ¶
func (ProxyDefaultTargetGroupOutput) ElementType() reflect.Type
func (ProxyDefaultTargetGroupOutput) Name ¶ added in v5.4.0
func (o ProxyDefaultTargetGroupOutput) Name() pulumi.StringOutput
The name of the default target group.
func (ProxyDefaultTargetGroupOutput) ToProxyDefaultTargetGroupOutput ¶
func (o ProxyDefaultTargetGroupOutput) ToProxyDefaultTargetGroupOutput() ProxyDefaultTargetGroupOutput
func (ProxyDefaultTargetGroupOutput) ToProxyDefaultTargetGroupOutputWithContext ¶
func (o ProxyDefaultTargetGroupOutput) ToProxyDefaultTargetGroupOutputWithContext(ctx context.Context) ProxyDefaultTargetGroupOutput
type ProxyDefaultTargetGroupState ¶
type ProxyDefaultTargetGroupState struct { // The Amazon Resource Name (ARN) representing the target group. Arn pulumi.StringPtrInput // The settings that determine the size and behavior of the connection pool for the target group. ConnectionPoolConfig ProxyDefaultTargetGroupConnectionPoolConfigPtrInput // Name of the RDS DB Proxy. DbProxyName pulumi.StringPtrInput // The name of the default target group. Name pulumi.StringPtrInput }
func (ProxyDefaultTargetGroupState) ElementType ¶
func (ProxyDefaultTargetGroupState) ElementType() reflect.Type
type ProxyEndpoint ¶
type ProxyEndpoint struct { pulumi.CustomResourceState // The Amazon Resource Name (ARN) for the proxy endpoint. Arn pulumi.StringOutput `pulumi:"arn"` // The identifier for the proxy endpoint. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens. DbProxyEndpointName pulumi.StringOutput `pulumi:"dbProxyEndpointName"` // The name of the DB proxy associated with the DB proxy endpoint that you create. DbProxyName pulumi.StringOutput `pulumi:"dbProxyName"` // The endpoint that you can use to connect to the proxy. You include the endpoint value in the connection string for a database client application. Endpoint pulumi.StringOutput `pulumi:"endpoint"` // Indicates whether this endpoint is the default endpoint for the associated DB proxy. IsDefault pulumi.BoolOutput `pulumi:"isDefault"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // Indicates whether the DB proxy endpoint can be used for read/write or read-only operations. The default is `READ_WRITE`. Valid values are `READ_WRITE` and `READ_ONLY`. TargetRole pulumi.StringPtrOutput `pulumi:"targetRole"` // The VPC ID of the DB proxy endpoint. VpcId pulumi.StringOutput `pulumi:"vpcId"` // One or more VPC security group IDs to associate with the new proxy. VpcSecurityGroupIds pulumi.StringArrayOutput `pulumi:"vpcSecurityGroupIds"` // One or more VPC subnet IDs to associate with the new proxy. VpcSubnetIds pulumi.StringArrayOutput `pulumi:"vpcSubnetIds"` }
Provides an RDS DB proxy endpoint resource. For additional information, see the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-proxy-endpoints.html).
## Import
DB proxy endpoints can be imported using the `DB-PROXY-NAME/DB-PROXY-ENDPOINT-NAME`, e.g.,
```sh
$ pulumi import aws:rds/proxyEndpoint:ProxyEndpoint example example/example
```
func GetProxyEndpoint ¶
func GetProxyEndpoint(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProxyEndpointState, opts ...pulumi.ResourceOption) (*ProxyEndpoint, error)
GetProxyEndpoint gets an existing ProxyEndpoint 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 NewProxyEndpoint ¶
func NewProxyEndpoint(ctx *pulumi.Context, name string, args *ProxyEndpointArgs, opts ...pulumi.ResourceOption) (*ProxyEndpoint, error)
NewProxyEndpoint registers a new resource with the given unique name, arguments, and options.
func (*ProxyEndpoint) ElementType ¶
func (*ProxyEndpoint) ElementType() reflect.Type
func (*ProxyEndpoint) ToProxyEndpointOutput ¶
func (i *ProxyEndpoint) ToProxyEndpointOutput() ProxyEndpointOutput
func (*ProxyEndpoint) ToProxyEndpointOutputWithContext ¶
func (i *ProxyEndpoint) ToProxyEndpointOutputWithContext(ctx context.Context) ProxyEndpointOutput
type ProxyEndpointArgs ¶
type ProxyEndpointArgs struct { // The identifier for the proxy endpoint. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens. DbProxyEndpointName pulumi.StringInput // The name of the DB proxy associated with the DB proxy endpoint that you create. DbProxyName pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // Indicates whether the DB proxy endpoint can be used for read/write or read-only operations. The default is `READ_WRITE`. Valid values are `READ_WRITE` and `READ_ONLY`. TargetRole pulumi.StringPtrInput // One or more VPC security group IDs to associate with the new proxy. VpcSecurityGroupIds pulumi.StringArrayInput // One or more VPC subnet IDs to associate with the new proxy. VpcSubnetIds pulumi.StringArrayInput }
The set of arguments for constructing a ProxyEndpoint resource.
func (ProxyEndpointArgs) ElementType ¶
func (ProxyEndpointArgs) ElementType() reflect.Type
type ProxyEndpointArray ¶
type ProxyEndpointArray []ProxyEndpointInput
func (ProxyEndpointArray) ElementType ¶
func (ProxyEndpointArray) ElementType() reflect.Type
func (ProxyEndpointArray) ToProxyEndpointArrayOutput ¶
func (i ProxyEndpointArray) ToProxyEndpointArrayOutput() ProxyEndpointArrayOutput
func (ProxyEndpointArray) ToProxyEndpointArrayOutputWithContext ¶
func (i ProxyEndpointArray) ToProxyEndpointArrayOutputWithContext(ctx context.Context) ProxyEndpointArrayOutput
type ProxyEndpointArrayInput ¶
type ProxyEndpointArrayInput interface { pulumi.Input ToProxyEndpointArrayOutput() ProxyEndpointArrayOutput ToProxyEndpointArrayOutputWithContext(context.Context) ProxyEndpointArrayOutput }
ProxyEndpointArrayInput is an input type that accepts ProxyEndpointArray and ProxyEndpointArrayOutput values. You can construct a concrete instance of `ProxyEndpointArrayInput` via:
ProxyEndpointArray{ ProxyEndpointArgs{...} }
type ProxyEndpointArrayOutput ¶
type ProxyEndpointArrayOutput struct{ *pulumi.OutputState }
func (ProxyEndpointArrayOutput) ElementType ¶
func (ProxyEndpointArrayOutput) ElementType() reflect.Type
func (ProxyEndpointArrayOutput) Index ¶
func (o ProxyEndpointArrayOutput) Index(i pulumi.IntInput) ProxyEndpointOutput
func (ProxyEndpointArrayOutput) ToProxyEndpointArrayOutput ¶
func (o ProxyEndpointArrayOutput) ToProxyEndpointArrayOutput() ProxyEndpointArrayOutput
func (ProxyEndpointArrayOutput) ToProxyEndpointArrayOutputWithContext ¶
func (o ProxyEndpointArrayOutput) ToProxyEndpointArrayOutputWithContext(ctx context.Context) ProxyEndpointArrayOutput
type ProxyEndpointInput ¶
type ProxyEndpointInput interface { pulumi.Input ToProxyEndpointOutput() ProxyEndpointOutput ToProxyEndpointOutputWithContext(ctx context.Context) ProxyEndpointOutput }
type ProxyEndpointMap ¶
type ProxyEndpointMap map[string]ProxyEndpointInput
func (ProxyEndpointMap) ElementType ¶
func (ProxyEndpointMap) ElementType() reflect.Type
func (ProxyEndpointMap) ToProxyEndpointMapOutput ¶
func (i ProxyEndpointMap) ToProxyEndpointMapOutput() ProxyEndpointMapOutput
func (ProxyEndpointMap) ToProxyEndpointMapOutputWithContext ¶
func (i ProxyEndpointMap) ToProxyEndpointMapOutputWithContext(ctx context.Context) ProxyEndpointMapOutput
type ProxyEndpointMapInput ¶
type ProxyEndpointMapInput interface { pulumi.Input ToProxyEndpointMapOutput() ProxyEndpointMapOutput ToProxyEndpointMapOutputWithContext(context.Context) ProxyEndpointMapOutput }
ProxyEndpointMapInput is an input type that accepts ProxyEndpointMap and ProxyEndpointMapOutput values. You can construct a concrete instance of `ProxyEndpointMapInput` via:
ProxyEndpointMap{ "key": ProxyEndpointArgs{...} }
type ProxyEndpointMapOutput ¶
type ProxyEndpointMapOutput struct{ *pulumi.OutputState }
func (ProxyEndpointMapOutput) ElementType ¶
func (ProxyEndpointMapOutput) ElementType() reflect.Type
func (ProxyEndpointMapOutput) MapIndex ¶
func (o ProxyEndpointMapOutput) MapIndex(k pulumi.StringInput) ProxyEndpointOutput
func (ProxyEndpointMapOutput) ToProxyEndpointMapOutput ¶
func (o ProxyEndpointMapOutput) ToProxyEndpointMapOutput() ProxyEndpointMapOutput
func (ProxyEndpointMapOutput) ToProxyEndpointMapOutputWithContext ¶
func (o ProxyEndpointMapOutput) ToProxyEndpointMapOutputWithContext(ctx context.Context) ProxyEndpointMapOutput
type ProxyEndpointOutput ¶
type ProxyEndpointOutput struct{ *pulumi.OutputState }
func (ProxyEndpointOutput) Arn ¶ added in v5.4.0
func (o ProxyEndpointOutput) Arn() pulumi.StringOutput
The Amazon Resource Name (ARN) for the proxy endpoint.
func (ProxyEndpointOutput) DbProxyEndpointName ¶ added in v5.4.0
func (o ProxyEndpointOutput) DbProxyEndpointName() pulumi.StringOutput
The identifier for the proxy endpoint. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.
func (ProxyEndpointOutput) DbProxyName ¶ added in v5.4.0
func (o ProxyEndpointOutput) DbProxyName() pulumi.StringOutput
The name of the DB proxy associated with the DB proxy endpoint that you create.
func (ProxyEndpointOutput) ElementType ¶
func (ProxyEndpointOutput) ElementType() reflect.Type
func (ProxyEndpointOutput) Endpoint ¶ added in v5.4.0
func (o ProxyEndpointOutput) Endpoint() pulumi.StringOutput
The endpoint that you can use to connect to the proxy. You include the endpoint value in the connection string for a database client application.
func (ProxyEndpointOutput) IsDefault ¶ added in v5.4.0
func (o ProxyEndpointOutput) IsDefault() pulumi.BoolOutput
Indicates whether this endpoint is the default endpoint for the associated DB proxy.
func (ProxyEndpointOutput) Tags ¶ added in v5.4.0
func (o ProxyEndpointOutput) Tags() pulumi.StringMapOutput
A mapping of tags to assign to the resource.
func (ProxyEndpointOutput) TagsAll ¶ added in v5.4.0
func (o ProxyEndpointOutput) TagsAll() pulumi.StringMapOutput
func (ProxyEndpointOutput) TargetRole ¶ added in v5.4.0
func (o ProxyEndpointOutput) TargetRole() pulumi.StringPtrOutput
Indicates whether the DB proxy endpoint can be used for read/write or read-only operations. The default is `READ_WRITE`. Valid values are `READ_WRITE` and `READ_ONLY`.
func (ProxyEndpointOutput) ToProxyEndpointOutput ¶
func (o ProxyEndpointOutput) ToProxyEndpointOutput() ProxyEndpointOutput
func (ProxyEndpointOutput) ToProxyEndpointOutputWithContext ¶
func (o ProxyEndpointOutput) ToProxyEndpointOutputWithContext(ctx context.Context) ProxyEndpointOutput
func (ProxyEndpointOutput) VpcId ¶ added in v5.4.0
func (o ProxyEndpointOutput) VpcId() pulumi.StringOutput
The VPC ID of the DB proxy endpoint.
func (ProxyEndpointOutput) VpcSecurityGroupIds ¶ added in v5.4.0
func (o ProxyEndpointOutput) VpcSecurityGroupIds() pulumi.StringArrayOutput
One or more VPC security group IDs to associate with the new proxy.
func (ProxyEndpointOutput) VpcSubnetIds ¶ added in v5.4.0
func (o ProxyEndpointOutput) VpcSubnetIds() pulumi.StringArrayOutput
One or more VPC subnet IDs to associate with the new proxy.
type ProxyEndpointState ¶
type ProxyEndpointState struct { // The Amazon Resource Name (ARN) for the proxy endpoint. Arn pulumi.StringPtrInput // The identifier for the proxy endpoint. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens. DbProxyEndpointName pulumi.StringPtrInput // The name of the DB proxy associated with the DB proxy endpoint that you create. DbProxyName pulumi.StringPtrInput // The endpoint that you can use to connect to the proxy. You include the endpoint value in the connection string for a database client application. Endpoint pulumi.StringPtrInput // Indicates whether this endpoint is the default endpoint for the associated DB proxy. IsDefault pulumi.BoolPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput TagsAll pulumi.StringMapInput // Indicates whether the DB proxy endpoint can be used for read/write or read-only operations. The default is `READ_WRITE`. Valid values are `READ_WRITE` and `READ_ONLY`. TargetRole pulumi.StringPtrInput // The VPC ID of the DB proxy endpoint. VpcId pulumi.StringPtrInput // One or more VPC security group IDs to associate with the new proxy. VpcSecurityGroupIds pulumi.StringArrayInput // One or more VPC subnet IDs to associate with the new proxy. VpcSubnetIds pulumi.StringArrayInput }
func (ProxyEndpointState) ElementType ¶
func (ProxyEndpointState) ElementType() reflect.Type
type ProxyInput ¶
type ProxyInput interface { pulumi.Input ToProxyOutput() ProxyOutput ToProxyOutputWithContext(ctx context.Context) ProxyOutput }
type ProxyMap ¶
type ProxyMap map[string]ProxyInput
func (ProxyMap) ElementType ¶
func (ProxyMap) ToProxyMapOutput ¶
func (i ProxyMap) ToProxyMapOutput() ProxyMapOutput
func (ProxyMap) ToProxyMapOutputWithContext ¶
func (i ProxyMap) ToProxyMapOutputWithContext(ctx context.Context) ProxyMapOutput
type ProxyMapInput ¶
type ProxyMapInput interface { pulumi.Input ToProxyMapOutput() ProxyMapOutput ToProxyMapOutputWithContext(context.Context) ProxyMapOutput }
ProxyMapInput is an input type that accepts ProxyMap and ProxyMapOutput values. You can construct a concrete instance of `ProxyMapInput` via:
ProxyMap{ "key": ProxyArgs{...} }
type ProxyMapOutput ¶
type ProxyMapOutput struct{ *pulumi.OutputState }
func (ProxyMapOutput) ElementType ¶
func (ProxyMapOutput) ElementType() reflect.Type
func (ProxyMapOutput) MapIndex ¶
func (o ProxyMapOutput) MapIndex(k pulumi.StringInput) ProxyOutput
func (ProxyMapOutput) ToProxyMapOutput ¶
func (o ProxyMapOutput) ToProxyMapOutput() ProxyMapOutput
func (ProxyMapOutput) ToProxyMapOutputWithContext ¶
func (o ProxyMapOutput) ToProxyMapOutputWithContext(ctx context.Context) ProxyMapOutput
type ProxyOutput ¶
type ProxyOutput struct{ *pulumi.OutputState }
func (ProxyOutput) Arn ¶ added in v5.4.0
func (o ProxyOutput) Arn() pulumi.StringOutput
The Amazon Resource Name (ARN) for the proxy.
func (ProxyOutput) Auths ¶ added in v5.4.0
func (o ProxyOutput) Auths() ProxyAuthArrayOutput
Configuration block(s) with authorization mechanisms to connect to the associated instances or clusters. Described below.
func (ProxyOutput) DebugLogging ¶ added in v5.4.0
func (o ProxyOutput) DebugLogging() pulumi.BoolPtrOutput
Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs.
func (ProxyOutput) ElementType ¶
func (ProxyOutput) ElementType() reflect.Type
func (ProxyOutput) Endpoint ¶ added in v5.4.0
func (o ProxyOutput) Endpoint() pulumi.StringOutput
The endpoint that you can use to connect to the proxy. You include the endpoint value in the connection string for a database client application.
func (ProxyOutput) EngineFamily ¶ added in v5.4.0
func (o ProxyOutput) EngineFamily() pulumi.StringOutput
The kinds of databases that the proxy can connect to. This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. The engine family applies to MySQL and PostgreSQL for both RDS and Aurora. Valid values are `MYSQL` and `POSTGRESQL`.
func (ProxyOutput) IdleClientTimeout ¶ added in v5.4.0
func (o ProxyOutput) IdleClientTimeout() pulumi.IntOutput
The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it. You can set this value higher or lower than the connection timeout limit for the associated database.
func (ProxyOutput) Name ¶ added in v5.4.0
func (o ProxyOutput) Name() pulumi.StringOutput
The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens.
func (ProxyOutput) RequireTls ¶ added in v5.4.0
func (o ProxyOutput) RequireTls() pulumi.BoolPtrOutput
A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy. By enabling this setting, you can enforce encrypted TLS connections to the proxy.
func (ProxyOutput) RoleArn ¶ added in v5.4.0
func (o ProxyOutput) RoleArn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in AWS Secrets Manager.
func (ProxyOutput) Tags ¶ added in v5.4.0
func (o ProxyOutput) Tags() pulumi.StringMapOutput
A mapping 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.
func (ProxyOutput) TagsAll ¶ added in v5.4.0
func (o ProxyOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (ProxyOutput) ToProxyOutput ¶
func (o ProxyOutput) ToProxyOutput() ProxyOutput
func (ProxyOutput) ToProxyOutputWithContext ¶
func (o ProxyOutput) ToProxyOutputWithContext(ctx context.Context) ProxyOutput
func (ProxyOutput) VpcSecurityGroupIds ¶ added in v5.4.0
func (o ProxyOutput) VpcSecurityGroupIds() pulumi.StringArrayOutput
One or more VPC security group IDs to associate with the new proxy.
func (ProxyOutput) VpcSubnetIds ¶ added in v5.4.0
func (o ProxyOutput) VpcSubnetIds() pulumi.StringArrayOutput
One or more VPC subnet IDs to associate with the new proxy.
type ProxyState ¶
type ProxyState struct { // The Amazon Resource Name (ARN) for the proxy. Arn pulumi.StringPtrInput // Configuration block(s) with authorization mechanisms to connect to the associated instances or clusters. Described below. Auths ProxyAuthArrayInput // Whether the proxy includes detailed information about SQL statements in its logs. This information helps you to debug issues involving SQL behavior or the performance and scalability of the proxy connections. The debug information includes the text of SQL statements that you submit through the proxy. Thus, only enable this setting when needed for debugging, and only when you have security measures in place to safeguard any sensitive information that appears in the logs. DebugLogging pulumi.BoolPtrInput // The endpoint that you can use to connect to the proxy. You include the endpoint value in the connection string for a database client application. Endpoint pulumi.StringPtrInput // The kinds of databases that the proxy can connect to. This value determines which database network protocol the proxy recognizes when it interprets network traffic to and from the database. The engine family applies to MySQL and PostgreSQL for both RDS and Aurora. Valid values are `MYSQL` and `POSTGRESQL`. EngineFamily pulumi.StringPtrInput // The number of seconds that a connection to the proxy can be inactive before the proxy disconnects it. You can set this value higher or lower than the connection timeout limit for the associated database. IdleClientTimeout pulumi.IntPtrInput // The identifier for the proxy. This name must be unique for all proxies owned by your AWS account in the specified AWS Region. An identifier must begin with a letter and must contain only ASCII letters, digits, and hyphens; it can't end with a hyphen or contain two consecutive hyphens. Name pulumi.StringPtrInput // A Boolean parameter that specifies whether Transport Layer Security (TLS) encryption is required for connections to the proxy. By enabling this setting, you can enforce encrypted TLS connections to the proxy. RequireTls pulumi.BoolPtrInput // The Amazon Resource Name (ARN) of the IAM role that the proxy uses to access secrets in AWS Secrets Manager. RoleArn pulumi.StringPtrInput // A mapping 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 // One or more VPC security group IDs to associate with the new proxy. VpcSecurityGroupIds pulumi.StringArrayInput // One or more VPC subnet IDs to associate with the new proxy. VpcSubnetIds pulumi.StringArrayInput }
func (ProxyState) ElementType ¶
func (ProxyState) ElementType() reflect.Type
type ProxyTarget ¶
type ProxyTarget struct { pulumi.CustomResourceState // DB cluster identifier. DbClusterIdentifier pulumi.StringPtrOutput `pulumi:"dbClusterIdentifier"` // DB instance identifier. DbInstanceIdentifier pulumi.StringPtrOutput `pulumi:"dbInstanceIdentifier"` // The name of the DB proxy. DbProxyName pulumi.StringOutput `pulumi:"dbProxyName"` // Hostname for the target RDS DB Instance. Only returned for `RDS_INSTANCE` type. Endpoint pulumi.StringOutput `pulumi:"endpoint"` // Port for the target RDS DB Instance or Aurora DB Cluster. Port pulumi.IntOutput `pulumi:"port"` // Identifier representing the DB Instance or DB Cluster target. RdsResourceId pulumi.StringOutput `pulumi:"rdsResourceId"` // Amazon Resource Name (ARN) for the DB instance or DB cluster. Currently not returned by the RDS API. TargetArn pulumi.StringOutput `pulumi:"targetArn"` // The name of the target group. TargetGroupName pulumi.StringOutput `pulumi:"targetGroupName"` // DB Cluster identifier for the DB Instance target. Not returned unless manually importing an `RDS_INSTANCE` target that is part of a DB Cluster. TrackedClusterId pulumi.StringOutput `pulumi:"trackedClusterId"` // Type of targetE.g., `RDS_INSTANCE` or `TRACKED_CLUSTER` Type pulumi.StringOutput `pulumi:"type"` }
Provides an RDS DB proxy target resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleProxy, err := rds.NewProxy(ctx, "exampleProxy", &rds.ProxyArgs{ DebugLogging: pulumi.Bool(false), EngineFamily: pulumi.String("MYSQL"), IdleClientTimeout: pulumi.Int(1800), RequireTls: pulumi.Bool(true), RoleArn: pulumi.Any(aws_iam_role.Example.Arn), VpcSecurityGroupIds: pulumi.StringArray{ aws_security_group.Example.Id, }, VpcSubnetIds: pulumi.StringArray{ aws_subnet.Example.Id, }, Auths: rds.ProxyAuthArray{ &rds.ProxyAuthArgs{ AuthScheme: pulumi.String("SECRETS"), Description: pulumi.String("example"), IamAuth: pulumi.String("DISABLED"), SecretArn: pulumi.Any(aws_secretsmanager_secret.Example.Arn), }, }, Tags: pulumi.StringMap{ "Name": pulumi.String("example"), "Key": pulumi.String("value"), }, }) if err != nil { return err } exampleProxyDefaultTargetGroup, err := rds.NewProxyDefaultTargetGroup(ctx, "exampleProxyDefaultTargetGroup", &rds.ProxyDefaultTargetGroupArgs{ DbProxyName: exampleProxy.Name, ConnectionPoolConfig: &rds.ProxyDefaultTargetGroupConnectionPoolConfigArgs{ ConnectionBorrowTimeout: pulumi.Int(120), InitQuery: pulumi.String("SET x=1, y=2"), MaxConnectionsPercent: pulumi.Int(100), MaxIdleConnectionsPercent: pulumi.Int(50), SessionPinningFilters: pulumi.StringArray{ pulumi.String("EXCLUDE_VARIABLE_SETS"), }, }, }) if err != nil { return err } _, err = rds.NewProxyTarget(ctx, "exampleProxyTarget", &rds.ProxyTargetArgs{ DbInstanceIdentifier: pulumi.Any(aws_db_instance.Example.Id), DbProxyName: exampleProxy.Name, TargetGroupName: exampleProxyDefaultTargetGroup.Name, }) if err != nil { return err } return nil }) }
```
## Import
RDS DB Proxy Targets can be imported using the `db_proxy_name`, `target_group_name`, target type (e.g., `RDS_INSTANCE` or `TRACKED_CLUSTER`), and resource identifier separated by forward slashes (`/`), e.g., Instances
```sh
$ pulumi import aws:rds/proxyTarget:ProxyTarget example example-proxy/default/RDS_INSTANCE/example-instance
```
Provisioned Clusters
```sh
$ pulumi import aws:rds/proxyTarget:ProxyTarget example example-proxy/default/TRACKED_CLUSTER/example-cluster
```
func GetProxyTarget ¶
func GetProxyTarget(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ProxyTargetState, opts ...pulumi.ResourceOption) (*ProxyTarget, error)
GetProxyTarget gets an existing ProxyTarget 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 NewProxyTarget ¶
func NewProxyTarget(ctx *pulumi.Context, name string, args *ProxyTargetArgs, opts ...pulumi.ResourceOption) (*ProxyTarget, error)
NewProxyTarget registers a new resource with the given unique name, arguments, and options.
func (*ProxyTarget) ElementType ¶
func (*ProxyTarget) ElementType() reflect.Type
func (*ProxyTarget) ToProxyTargetOutput ¶
func (i *ProxyTarget) ToProxyTargetOutput() ProxyTargetOutput
func (*ProxyTarget) ToProxyTargetOutputWithContext ¶
func (i *ProxyTarget) ToProxyTargetOutputWithContext(ctx context.Context) ProxyTargetOutput
type ProxyTargetArgs ¶
type ProxyTargetArgs struct { // DB cluster identifier. DbClusterIdentifier pulumi.StringPtrInput // DB instance identifier. DbInstanceIdentifier pulumi.StringPtrInput // The name of the DB proxy. DbProxyName pulumi.StringInput // The name of the target group. TargetGroupName pulumi.StringInput }
The set of arguments for constructing a ProxyTarget resource.
func (ProxyTargetArgs) ElementType ¶
func (ProxyTargetArgs) ElementType() reflect.Type
type ProxyTargetArray ¶
type ProxyTargetArray []ProxyTargetInput
func (ProxyTargetArray) ElementType ¶
func (ProxyTargetArray) ElementType() reflect.Type
func (ProxyTargetArray) ToProxyTargetArrayOutput ¶
func (i ProxyTargetArray) ToProxyTargetArrayOutput() ProxyTargetArrayOutput
func (ProxyTargetArray) ToProxyTargetArrayOutputWithContext ¶
func (i ProxyTargetArray) ToProxyTargetArrayOutputWithContext(ctx context.Context) ProxyTargetArrayOutput
type ProxyTargetArrayInput ¶
type ProxyTargetArrayInput interface { pulumi.Input ToProxyTargetArrayOutput() ProxyTargetArrayOutput ToProxyTargetArrayOutputWithContext(context.Context) ProxyTargetArrayOutput }
ProxyTargetArrayInput is an input type that accepts ProxyTargetArray and ProxyTargetArrayOutput values. You can construct a concrete instance of `ProxyTargetArrayInput` via:
ProxyTargetArray{ ProxyTargetArgs{...} }
type ProxyTargetArrayOutput ¶
type ProxyTargetArrayOutput struct{ *pulumi.OutputState }
func (ProxyTargetArrayOutput) ElementType ¶
func (ProxyTargetArrayOutput) ElementType() reflect.Type
func (ProxyTargetArrayOutput) Index ¶
func (o ProxyTargetArrayOutput) Index(i pulumi.IntInput) ProxyTargetOutput
func (ProxyTargetArrayOutput) ToProxyTargetArrayOutput ¶
func (o ProxyTargetArrayOutput) ToProxyTargetArrayOutput() ProxyTargetArrayOutput
func (ProxyTargetArrayOutput) ToProxyTargetArrayOutputWithContext ¶
func (o ProxyTargetArrayOutput) ToProxyTargetArrayOutputWithContext(ctx context.Context) ProxyTargetArrayOutput
type ProxyTargetInput ¶
type ProxyTargetInput interface { pulumi.Input ToProxyTargetOutput() ProxyTargetOutput ToProxyTargetOutputWithContext(ctx context.Context) ProxyTargetOutput }
type ProxyTargetMap ¶
type ProxyTargetMap map[string]ProxyTargetInput
func (ProxyTargetMap) ElementType ¶
func (ProxyTargetMap) ElementType() reflect.Type
func (ProxyTargetMap) ToProxyTargetMapOutput ¶
func (i ProxyTargetMap) ToProxyTargetMapOutput() ProxyTargetMapOutput
func (ProxyTargetMap) ToProxyTargetMapOutputWithContext ¶
func (i ProxyTargetMap) ToProxyTargetMapOutputWithContext(ctx context.Context) ProxyTargetMapOutput
type ProxyTargetMapInput ¶
type ProxyTargetMapInput interface { pulumi.Input ToProxyTargetMapOutput() ProxyTargetMapOutput ToProxyTargetMapOutputWithContext(context.Context) ProxyTargetMapOutput }
ProxyTargetMapInput is an input type that accepts ProxyTargetMap and ProxyTargetMapOutput values. You can construct a concrete instance of `ProxyTargetMapInput` via:
ProxyTargetMap{ "key": ProxyTargetArgs{...} }
type ProxyTargetMapOutput ¶
type ProxyTargetMapOutput struct{ *pulumi.OutputState }
func (ProxyTargetMapOutput) ElementType ¶
func (ProxyTargetMapOutput) ElementType() reflect.Type
func (ProxyTargetMapOutput) MapIndex ¶
func (o ProxyTargetMapOutput) MapIndex(k pulumi.StringInput) ProxyTargetOutput
func (ProxyTargetMapOutput) ToProxyTargetMapOutput ¶
func (o ProxyTargetMapOutput) ToProxyTargetMapOutput() ProxyTargetMapOutput
func (ProxyTargetMapOutput) ToProxyTargetMapOutputWithContext ¶
func (o ProxyTargetMapOutput) ToProxyTargetMapOutputWithContext(ctx context.Context) ProxyTargetMapOutput
type ProxyTargetOutput ¶
type ProxyTargetOutput struct{ *pulumi.OutputState }
func (ProxyTargetOutput) DbClusterIdentifier ¶ added in v5.4.0
func (o ProxyTargetOutput) DbClusterIdentifier() pulumi.StringPtrOutput
DB cluster identifier.
func (ProxyTargetOutput) DbInstanceIdentifier ¶ added in v5.4.0
func (o ProxyTargetOutput) DbInstanceIdentifier() pulumi.StringPtrOutput
DB instance identifier.
func (ProxyTargetOutput) DbProxyName ¶ added in v5.4.0
func (o ProxyTargetOutput) DbProxyName() pulumi.StringOutput
The name of the DB proxy.
func (ProxyTargetOutput) ElementType ¶
func (ProxyTargetOutput) ElementType() reflect.Type
func (ProxyTargetOutput) Endpoint ¶ added in v5.4.0
func (o ProxyTargetOutput) Endpoint() pulumi.StringOutput
Hostname for the target RDS DB Instance. Only returned for `RDS_INSTANCE` type.
func (ProxyTargetOutput) Port ¶ added in v5.4.0
func (o ProxyTargetOutput) Port() pulumi.IntOutput
Port for the target RDS DB Instance or Aurora DB Cluster.
func (ProxyTargetOutput) RdsResourceId ¶ added in v5.4.0
func (o ProxyTargetOutput) RdsResourceId() pulumi.StringOutput
Identifier representing the DB Instance or DB Cluster target.
func (ProxyTargetOutput) TargetArn ¶ added in v5.4.0
func (o ProxyTargetOutput) TargetArn() pulumi.StringOutput
Amazon Resource Name (ARN) for the DB instance or DB cluster. Currently not returned by the RDS API.
func (ProxyTargetOutput) TargetGroupName ¶ added in v5.4.0
func (o ProxyTargetOutput) TargetGroupName() pulumi.StringOutput
The name of the target group.
func (ProxyTargetOutput) ToProxyTargetOutput ¶
func (o ProxyTargetOutput) ToProxyTargetOutput() ProxyTargetOutput
func (ProxyTargetOutput) ToProxyTargetOutputWithContext ¶
func (o ProxyTargetOutput) ToProxyTargetOutputWithContext(ctx context.Context) ProxyTargetOutput
func (ProxyTargetOutput) TrackedClusterId ¶ added in v5.4.0
func (o ProxyTargetOutput) TrackedClusterId() pulumi.StringOutput
DB Cluster identifier for the DB Instance target. Not returned unless manually importing an `RDS_INSTANCE` target that is part of a DB Cluster.
func (ProxyTargetOutput) Type ¶ added in v5.4.0
func (o ProxyTargetOutput) Type() pulumi.StringOutput
Type of targetE.g., `RDS_INSTANCE` or `TRACKED_CLUSTER`
type ProxyTargetState ¶
type ProxyTargetState struct { // DB cluster identifier. DbClusterIdentifier pulumi.StringPtrInput // DB instance identifier. DbInstanceIdentifier pulumi.StringPtrInput // The name of the DB proxy. DbProxyName pulumi.StringPtrInput // Hostname for the target RDS DB Instance. Only returned for `RDS_INSTANCE` type. Endpoint pulumi.StringPtrInput // Port for the target RDS DB Instance or Aurora DB Cluster. Port pulumi.IntPtrInput // Identifier representing the DB Instance or DB Cluster target. RdsResourceId pulumi.StringPtrInput // Amazon Resource Name (ARN) for the DB instance or DB cluster. Currently not returned by the RDS API. TargetArn pulumi.StringPtrInput // The name of the target group. TargetGroupName pulumi.StringPtrInput // DB Cluster identifier for the DB Instance target. Not returned unless manually importing an `RDS_INSTANCE` target that is part of a DB Cluster. TrackedClusterId pulumi.StringPtrInput // Type of targetE.g., `RDS_INSTANCE` or `TRACKED_CLUSTER` Type pulumi.StringPtrInput }
func (ProxyTargetState) ElementType ¶
func (ProxyTargetState) ElementType() reflect.Type
type ReservedInstance ¶ added in v5.18.0
type ReservedInstance struct { pulumi.CustomResourceState // ARN for the reserved DB instance. Arn pulumi.StringOutput `pulumi:"arn"` // Currency code for the reserved DB instance. CurrencyCode pulumi.StringOutput `pulumi:"currencyCode"` DbInstanceClass pulumi.StringOutput `pulumi:"dbInstanceClass"` // Duration of the reservation in seconds. Duration pulumi.IntOutput `pulumi:"duration"` // Fixed price charged for this reserved DB instance. FixedPrice pulumi.Float64Output `pulumi:"fixedPrice"` // Number of instances to reserve. Default value is `1`. InstanceCount pulumi.IntPtrOutput `pulumi:"instanceCount"` // Unique identifier for the lease associated with the reserved DB instance. Amazon Web Services Support might request the lease ID for an issue related to a reserved DB instance. LeaseId pulumi.StringOutput `pulumi:"leaseId"` // Whether the reservation applies to Multi-AZ deployments. MultiAz pulumi.BoolOutput `pulumi:"multiAz"` // ID of the Reserved DB instance offering to purchase. To determine an `offeringId`, see the `rds.getReservedInstanceOffering` data source. OfferingId pulumi.StringOutput `pulumi:"offeringId"` // Offering type of this reserved DB instance. OfferingType pulumi.StringOutput `pulumi:"offeringType"` // Description of the reserved DB instance. ProductDescription pulumi.StringOutput `pulumi:"productDescription"` // Recurring price charged to run this reserved DB instance. RecurringCharges ReservedInstanceRecurringChargeArrayOutput `pulumi:"recurringCharges"` ReservationId pulumi.StringPtrOutput `pulumi:"reservationId"` // Time the reservation started. StartTime pulumi.StringOutput `pulumi:"startTime"` // State of the reserved DB instance. State pulumi.StringOutput `pulumi:"state"` // Map of tags to assign to the DB reservation. 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"` // Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // Hourly price charged for this reserved DB instance. UsagePrice pulumi.Float64Output `pulumi:"usagePrice"` }
Manages an RDS DB Reserved Instance.
> **NOTE:** Once created, a reservation is valid for the `duration` of the provided `offeringId` and cannot be deleted. Performing a `destroy` will only remove the resource from state. For more information see [RDS Reserved Instances Documentation](https://aws.amazon.com/rds/reserved-instances/) and [PurchaseReservedDBInstancesOffering](https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_PurchaseReservedDBInstancesOffering.html).
> **NOTE:** Due to the expense of testing this resource, we provide it as best effort. If you find it useful, and have the ability to help test or notice issues, consider reaching out to us on GitHub.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { test, err := rds.GetReservedInstanceOffering(ctx, &rds.GetReservedInstanceOfferingArgs{ DbInstanceClass: "db.t2.micro", Duration: 31536000, MultiAz: false, OfferingType: "All Upfront", ProductDescription: "mysql", }, nil) if err != nil { return err } _, err = rds.NewReservedInstance(ctx, "example", &rds.ReservedInstanceArgs{ OfferingId: *pulumi.String(test.OfferingId), ReservationId: pulumi.String("optionalCustomReservationID"), InstanceCount: pulumi.Int(3), }) if err != nil { return err } return nil }) }
```
## Import
RDS DB Instance Reservations can be imported using the `instance_id`, e.g.,
```sh
$ pulumi import aws:rds/reservedInstance:ReservedInstance reservation_instance CustomReservationID
```
func GetReservedInstance ¶ added in v5.18.0
func GetReservedInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ReservedInstanceState, opts ...pulumi.ResourceOption) (*ReservedInstance, error)
GetReservedInstance gets an existing ReservedInstance 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 NewReservedInstance ¶ added in v5.18.0
func NewReservedInstance(ctx *pulumi.Context, name string, args *ReservedInstanceArgs, opts ...pulumi.ResourceOption) (*ReservedInstance, error)
NewReservedInstance registers a new resource with the given unique name, arguments, and options.
func (*ReservedInstance) ElementType ¶ added in v5.18.0
func (*ReservedInstance) ElementType() reflect.Type
func (*ReservedInstance) ToReservedInstanceOutput ¶ added in v5.18.0
func (i *ReservedInstance) ToReservedInstanceOutput() ReservedInstanceOutput
func (*ReservedInstance) ToReservedInstanceOutputWithContext ¶ added in v5.18.0
func (i *ReservedInstance) ToReservedInstanceOutputWithContext(ctx context.Context) ReservedInstanceOutput
type ReservedInstanceArgs ¶ added in v5.18.0
type ReservedInstanceArgs struct { // Number of instances to reserve. Default value is `1`. InstanceCount pulumi.IntPtrInput // ID of the Reserved DB instance offering to purchase. To determine an `offeringId`, see the `rds.getReservedInstanceOffering` data source. OfferingId pulumi.StringInput ReservationId pulumi.StringPtrInput // Map of tags to assign to the DB reservation. 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 ReservedInstance resource.
func (ReservedInstanceArgs) ElementType ¶ added in v5.18.0
func (ReservedInstanceArgs) ElementType() reflect.Type
type ReservedInstanceArray ¶ added in v5.18.0
type ReservedInstanceArray []ReservedInstanceInput
func (ReservedInstanceArray) ElementType ¶ added in v5.18.0
func (ReservedInstanceArray) ElementType() reflect.Type
func (ReservedInstanceArray) ToReservedInstanceArrayOutput ¶ added in v5.18.0
func (i ReservedInstanceArray) ToReservedInstanceArrayOutput() ReservedInstanceArrayOutput
func (ReservedInstanceArray) ToReservedInstanceArrayOutputWithContext ¶ added in v5.18.0
func (i ReservedInstanceArray) ToReservedInstanceArrayOutputWithContext(ctx context.Context) ReservedInstanceArrayOutput
type ReservedInstanceArrayInput ¶ added in v5.18.0
type ReservedInstanceArrayInput interface { pulumi.Input ToReservedInstanceArrayOutput() ReservedInstanceArrayOutput ToReservedInstanceArrayOutputWithContext(context.Context) ReservedInstanceArrayOutput }
ReservedInstanceArrayInput is an input type that accepts ReservedInstanceArray and ReservedInstanceArrayOutput values. You can construct a concrete instance of `ReservedInstanceArrayInput` via:
ReservedInstanceArray{ ReservedInstanceArgs{...} }
type ReservedInstanceArrayOutput ¶ added in v5.18.0
type ReservedInstanceArrayOutput struct{ *pulumi.OutputState }
func (ReservedInstanceArrayOutput) ElementType ¶ added in v5.18.0
func (ReservedInstanceArrayOutput) ElementType() reflect.Type
func (ReservedInstanceArrayOutput) Index ¶ added in v5.18.0
func (o ReservedInstanceArrayOutput) Index(i pulumi.IntInput) ReservedInstanceOutput
func (ReservedInstanceArrayOutput) ToReservedInstanceArrayOutput ¶ added in v5.18.0
func (o ReservedInstanceArrayOutput) ToReservedInstanceArrayOutput() ReservedInstanceArrayOutput
func (ReservedInstanceArrayOutput) ToReservedInstanceArrayOutputWithContext ¶ added in v5.18.0
func (o ReservedInstanceArrayOutput) ToReservedInstanceArrayOutputWithContext(ctx context.Context) ReservedInstanceArrayOutput
type ReservedInstanceInput ¶ added in v5.18.0
type ReservedInstanceInput interface { pulumi.Input ToReservedInstanceOutput() ReservedInstanceOutput ToReservedInstanceOutputWithContext(ctx context.Context) ReservedInstanceOutput }
type ReservedInstanceMap ¶ added in v5.18.0
type ReservedInstanceMap map[string]ReservedInstanceInput
func (ReservedInstanceMap) ElementType ¶ added in v5.18.0
func (ReservedInstanceMap) ElementType() reflect.Type
func (ReservedInstanceMap) ToReservedInstanceMapOutput ¶ added in v5.18.0
func (i ReservedInstanceMap) ToReservedInstanceMapOutput() ReservedInstanceMapOutput
func (ReservedInstanceMap) ToReservedInstanceMapOutputWithContext ¶ added in v5.18.0
func (i ReservedInstanceMap) ToReservedInstanceMapOutputWithContext(ctx context.Context) ReservedInstanceMapOutput
type ReservedInstanceMapInput ¶ added in v5.18.0
type ReservedInstanceMapInput interface { pulumi.Input ToReservedInstanceMapOutput() ReservedInstanceMapOutput ToReservedInstanceMapOutputWithContext(context.Context) ReservedInstanceMapOutput }
ReservedInstanceMapInput is an input type that accepts ReservedInstanceMap and ReservedInstanceMapOutput values. You can construct a concrete instance of `ReservedInstanceMapInput` via:
ReservedInstanceMap{ "key": ReservedInstanceArgs{...} }
type ReservedInstanceMapOutput ¶ added in v5.18.0
type ReservedInstanceMapOutput struct{ *pulumi.OutputState }
func (ReservedInstanceMapOutput) ElementType ¶ added in v5.18.0
func (ReservedInstanceMapOutput) ElementType() reflect.Type
func (ReservedInstanceMapOutput) MapIndex ¶ added in v5.18.0
func (o ReservedInstanceMapOutput) MapIndex(k pulumi.StringInput) ReservedInstanceOutput
func (ReservedInstanceMapOutput) ToReservedInstanceMapOutput ¶ added in v5.18.0
func (o ReservedInstanceMapOutput) ToReservedInstanceMapOutput() ReservedInstanceMapOutput
func (ReservedInstanceMapOutput) ToReservedInstanceMapOutputWithContext ¶ added in v5.18.0
func (o ReservedInstanceMapOutput) ToReservedInstanceMapOutputWithContext(ctx context.Context) ReservedInstanceMapOutput
type ReservedInstanceOutput ¶ added in v5.18.0
type ReservedInstanceOutput struct{ *pulumi.OutputState }
func (ReservedInstanceOutput) Arn ¶ added in v5.18.0
func (o ReservedInstanceOutput) Arn() pulumi.StringOutput
ARN for the reserved DB instance.
func (ReservedInstanceOutput) CurrencyCode ¶ added in v5.18.0
func (o ReservedInstanceOutput) CurrencyCode() pulumi.StringOutput
Currency code for the reserved DB instance.
func (ReservedInstanceOutput) DbInstanceClass ¶ added in v5.18.0
func (o ReservedInstanceOutput) DbInstanceClass() pulumi.StringOutput
func (ReservedInstanceOutput) Duration ¶ added in v5.18.0
func (o ReservedInstanceOutput) Duration() pulumi.IntOutput
Duration of the reservation in seconds.
func (ReservedInstanceOutput) ElementType ¶ added in v5.18.0
func (ReservedInstanceOutput) ElementType() reflect.Type
func (ReservedInstanceOutput) FixedPrice ¶ added in v5.18.0
func (o ReservedInstanceOutput) FixedPrice() pulumi.Float64Output
Fixed price charged for this reserved DB instance.
func (ReservedInstanceOutput) InstanceCount ¶ added in v5.18.0
func (o ReservedInstanceOutput) InstanceCount() pulumi.IntPtrOutput
Number of instances to reserve. Default value is `1`.
func (ReservedInstanceOutput) LeaseId ¶ added in v5.18.0
func (o ReservedInstanceOutput) LeaseId() pulumi.StringOutput
Unique identifier for the lease associated with the reserved DB instance. Amazon Web Services Support might request the lease ID for an issue related to a reserved DB instance.
func (ReservedInstanceOutput) MultiAz ¶ added in v5.18.0
func (o ReservedInstanceOutput) MultiAz() pulumi.BoolOutput
Whether the reservation applies to Multi-AZ deployments.
func (ReservedInstanceOutput) OfferingId ¶ added in v5.18.0
func (o ReservedInstanceOutput) OfferingId() pulumi.StringOutput
ID of the Reserved DB instance offering to purchase. To determine an `offeringId`, see the `rds.getReservedInstanceOffering` data source.
func (ReservedInstanceOutput) OfferingType ¶ added in v5.18.0
func (o ReservedInstanceOutput) OfferingType() pulumi.StringOutput
Offering type of this reserved DB instance.
func (ReservedInstanceOutput) ProductDescription ¶ added in v5.18.0
func (o ReservedInstanceOutput) ProductDescription() pulumi.StringOutput
Description of the reserved DB instance.
func (ReservedInstanceOutput) RecurringCharges ¶ added in v5.18.0
func (o ReservedInstanceOutput) RecurringCharges() ReservedInstanceRecurringChargeArrayOutput
Recurring price charged to run this reserved DB instance.
func (ReservedInstanceOutput) ReservationId ¶ added in v5.18.0
func (o ReservedInstanceOutput) ReservationId() pulumi.StringPtrOutput
func (ReservedInstanceOutput) StartTime ¶ added in v5.18.0
func (o ReservedInstanceOutput) StartTime() pulumi.StringOutput
Time the reservation started.
func (ReservedInstanceOutput) State ¶ added in v5.18.0
func (o ReservedInstanceOutput) State() pulumi.StringOutput
State of the reserved DB instance.
func (ReservedInstanceOutput) Tags ¶ added in v5.18.0
func (o ReservedInstanceOutput) Tags() pulumi.StringMapOutput
Map of tags to assign to the DB reservation. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (ReservedInstanceOutput) TagsAll ¶ added in v5.18.0
func (o ReservedInstanceOutput) TagsAll() pulumi.StringMapOutput
Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (ReservedInstanceOutput) ToReservedInstanceOutput ¶ added in v5.18.0
func (o ReservedInstanceOutput) ToReservedInstanceOutput() ReservedInstanceOutput
func (ReservedInstanceOutput) ToReservedInstanceOutputWithContext ¶ added in v5.18.0
func (o ReservedInstanceOutput) ToReservedInstanceOutputWithContext(ctx context.Context) ReservedInstanceOutput
func (ReservedInstanceOutput) UsagePrice ¶ added in v5.18.0
func (o ReservedInstanceOutput) UsagePrice() pulumi.Float64Output
Hourly price charged for this reserved DB instance.
type ReservedInstanceRecurringCharge ¶ added in v5.18.0
type ReservedInstanceRecurringChargeArgs ¶ added in v5.18.0
type ReservedInstanceRecurringChargeArgs struct { RecurringChargeAmount pulumi.IntPtrInput `pulumi:"recurringChargeAmount"` RecurringChargeFrequency pulumi.StringPtrInput `pulumi:"recurringChargeFrequency"` }
func (ReservedInstanceRecurringChargeArgs) ElementType ¶ added in v5.18.0
func (ReservedInstanceRecurringChargeArgs) ElementType() reflect.Type
func (ReservedInstanceRecurringChargeArgs) ToReservedInstanceRecurringChargeOutput ¶ added in v5.18.0
func (i ReservedInstanceRecurringChargeArgs) ToReservedInstanceRecurringChargeOutput() ReservedInstanceRecurringChargeOutput
func (ReservedInstanceRecurringChargeArgs) ToReservedInstanceRecurringChargeOutputWithContext ¶ added in v5.18.0
func (i ReservedInstanceRecurringChargeArgs) ToReservedInstanceRecurringChargeOutputWithContext(ctx context.Context) ReservedInstanceRecurringChargeOutput
type ReservedInstanceRecurringChargeArray ¶ added in v5.18.0
type ReservedInstanceRecurringChargeArray []ReservedInstanceRecurringChargeInput
func (ReservedInstanceRecurringChargeArray) ElementType ¶ added in v5.18.0
func (ReservedInstanceRecurringChargeArray) ElementType() reflect.Type
func (ReservedInstanceRecurringChargeArray) ToReservedInstanceRecurringChargeArrayOutput ¶ added in v5.18.0
func (i ReservedInstanceRecurringChargeArray) ToReservedInstanceRecurringChargeArrayOutput() ReservedInstanceRecurringChargeArrayOutput
func (ReservedInstanceRecurringChargeArray) ToReservedInstanceRecurringChargeArrayOutputWithContext ¶ added in v5.18.0
func (i ReservedInstanceRecurringChargeArray) ToReservedInstanceRecurringChargeArrayOutputWithContext(ctx context.Context) ReservedInstanceRecurringChargeArrayOutput
type ReservedInstanceRecurringChargeArrayInput ¶ added in v5.18.0
type ReservedInstanceRecurringChargeArrayInput interface { pulumi.Input ToReservedInstanceRecurringChargeArrayOutput() ReservedInstanceRecurringChargeArrayOutput ToReservedInstanceRecurringChargeArrayOutputWithContext(context.Context) ReservedInstanceRecurringChargeArrayOutput }
ReservedInstanceRecurringChargeArrayInput is an input type that accepts ReservedInstanceRecurringChargeArray and ReservedInstanceRecurringChargeArrayOutput values. You can construct a concrete instance of `ReservedInstanceRecurringChargeArrayInput` via:
ReservedInstanceRecurringChargeArray{ ReservedInstanceRecurringChargeArgs{...} }
type ReservedInstanceRecurringChargeArrayOutput ¶ added in v5.18.0
type ReservedInstanceRecurringChargeArrayOutput struct{ *pulumi.OutputState }
func (ReservedInstanceRecurringChargeArrayOutput) ElementType ¶ added in v5.18.0
func (ReservedInstanceRecurringChargeArrayOutput) ElementType() reflect.Type
func (ReservedInstanceRecurringChargeArrayOutput) ToReservedInstanceRecurringChargeArrayOutput ¶ added in v5.18.0
func (o ReservedInstanceRecurringChargeArrayOutput) ToReservedInstanceRecurringChargeArrayOutput() ReservedInstanceRecurringChargeArrayOutput
func (ReservedInstanceRecurringChargeArrayOutput) ToReservedInstanceRecurringChargeArrayOutputWithContext ¶ added in v5.18.0
func (o ReservedInstanceRecurringChargeArrayOutput) ToReservedInstanceRecurringChargeArrayOutputWithContext(ctx context.Context) ReservedInstanceRecurringChargeArrayOutput
type ReservedInstanceRecurringChargeInput ¶ added in v5.18.0
type ReservedInstanceRecurringChargeInput interface { pulumi.Input ToReservedInstanceRecurringChargeOutput() ReservedInstanceRecurringChargeOutput ToReservedInstanceRecurringChargeOutputWithContext(context.Context) ReservedInstanceRecurringChargeOutput }
ReservedInstanceRecurringChargeInput is an input type that accepts ReservedInstanceRecurringChargeArgs and ReservedInstanceRecurringChargeOutput values. You can construct a concrete instance of `ReservedInstanceRecurringChargeInput` via:
ReservedInstanceRecurringChargeArgs{...}
type ReservedInstanceRecurringChargeOutput ¶ added in v5.18.0
type ReservedInstanceRecurringChargeOutput struct{ *pulumi.OutputState }
func (ReservedInstanceRecurringChargeOutput) ElementType ¶ added in v5.18.0
func (ReservedInstanceRecurringChargeOutput) ElementType() reflect.Type
func (ReservedInstanceRecurringChargeOutput) RecurringChargeAmount ¶ added in v5.18.0
func (o ReservedInstanceRecurringChargeOutput) RecurringChargeAmount() pulumi.IntPtrOutput
func (ReservedInstanceRecurringChargeOutput) RecurringChargeFrequency ¶ added in v5.18.0
func (o ReservedInstanceRecurringChargeOutput) RecurringChargeFrequency() pulumi.StringPtrOutput
func (ReservedInstanceRecurringChargeOutput) ToReservedInstanceRecurringChargeOutput ¶ added in v5.18.0
func (o ReservedInstanceRecurringChargeOutput) ToReservedInstanceRecurringChargeOutput() ReservedInstanceRecurringChargeOutput
func (ReservedInstanceRecurringChargeOutput) ToReservedInstanceRecurringChargeOutputWithContext ¶ added in v5.18.0
func (o ReservedInstanceRecurringChargeOutput) ToReservedInstanceRecurringChargeOutputWithContext(ctx context.Context) ReservedInstanceRecurringChargeOutput
type ReservedInstanceState ¶ added in v5.18.0
type ReservedInstanceState struct { // ARN for the reserved DB instance. Arn pulumi.StringPtrInput // Currency code for the reserved DB instance. CurrencyCode pulumi.StringPtrInput DbInstanceClass pulumi.StringPtrInput // Duration of the reservation in seconds. Duration pulumi.IntPtrInput // Fixed price charged for this reserved DB instance. FixedPrice pulumi.Float64PtrInput // Number of instances to reserve. Default value is `1`. InstanceCount pulumi.IntPtrInput // Unique identifier for the lease associated with the reserved DB instance. Amazon Web Services Support might request the lease ID for an issue related to a reserved DB instance. LeaseId pulumi.StringPtrInput // Whether the reservation applies to Multi-AZ deployments. MultiAz pulumi.BoolPtrInput // ID of the Reserved DB instance offering to purchase. To determine an `offeringId`, see the `rds.getReservedInstanceOffering` data source. OfferingId pulumi.StringPtrInput // Offering type of this reserved DB instance. OfferingType pulumi.StringPtrInput // Description of the reserved DB instance. ProductDescription pulumi.StringPtrInput // Recurring price charged to run this reserved DB instance. RecurringCharges ReservedInstanceRecurringChargeArrayInput ReservationId pulumi.StringPtrInput // Time the reservation started. StartTime pulumi.StringPtrInput // State of the reserved DB instance. State pulumi.StringPtrInput // Map of tags to assign to the DB reservation. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapInput // Hourly price charged for this reserved DB instance. UsagePrice pulumi.Float64PtrInput }
func (ReservedInstanceState) ElementType ¶ added in v5.18.0
func (ReservedInstanceState) ElementType() reflect.Type
type RoleAssociation ¶
type RoleAssociation struct { pulumi.CustomResourceState // DB Instance Identifier to associate with the IAM Role. DbInstanceIdentifier pulumi.StringOutput `pulumi:"dbInstanceIdentifier"` // Name of the feature for association. This can be found in the AWS documentation relevant to the integration or a full list is available in the `SupportedFeatureNames` list returned by [AWS CLI rds describe-db-engine-versions](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-engine-versions.html). FeatureName pulumi.StringOutput `pulumi:"featureName"` // Amazon Resource Name (ARN) of the IAM Role to associate with the DB Instance. RoleArn pulumi.StringOutput `pulumi:"roleArn"` }
Manages an RDS DB Instance association with an IAM Role. Example use cases:
* [Amazon RDS Oracle integration with Amazon S3](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/oracle-s3-integration.html) * [Importing Amazon S3 Data into an RDS PostgreSQL DB Instance](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PostgreSQL.S3Import.html)
> To manage the RDS DB Instance IAM Role for [Enhanced Monitoring](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Monitoring.OS.html), see the `rds.Instance` resource `monitoringRoleArn` argument instead.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.NewRoleAssociation(ctx, "example", &rds.RoleAssociationArgs{ DbInstanceIdentifier: pulumi.Any(aws_db_instance.Example.Id), FeatureName: pulumi.String("S3_INTEGRATION"), RoleArn: pulumi.Any(aws_iam_role.Example.Arn), }) if err != nil { return err } return nil }) }
```
## Import
`aws_db_instance_role_association` can be imported using the DB Instance Identifier and IAM Role ARN separated by a comma (`,`), e.g.,
```sh
$ pulumi import aws:rds/roleAssociation:RoleAssociation example my-db-instance,arn:aws:iam::123456789012:role/my-role
```
func GetRoleAssociation ¶
func GetRoleAssociation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RoleAssociationState, opts ...pulumi.ResourceOption) (*RoleAssociation, error)
GetRoleAssociation gets an existing RoleAssociation 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 NewRoleAssociation ¶
func NewRoleAssociation(ctx *pulumi.Context, name string, args *RoleAssociationArgs, opts ...pulumi.ResourceOption) (*RoleAssociation, error)
NewRoleAssociation registers a new resource with the given unique name, arguments, and options.
func (*RoleAssociation) ElementType ¶
func (*RoleAssociation) ElementType() reflect.Type
func (*RoleAssociation) ToRoleAssociationOutput ¶
func (i *RoleAssociation) ToRoleAssociationOutput() RoleAssociationOutput
func (*RoleAssociation) ToRoleAssociationOutputWithContext ¶
func (i *RoleAssociation) ToRoleAssociationOutputWithContext(ctx context.Context) RoleAssociationOutput
type RoleAssociationArgs ¶
type RoleAssociationArgs struct { // DB Instance Identifier to associate with the IAM Role. DbInstanceIdentifier pulumi.StringInput // Name of the feature for association. This can be found in the AWS documentation relevant to the integration or a full list is available in the `SupportedFeatureNames` list returned by [AWS CLI rds describe-db-engine-versions](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-engine-versions.html). FeatureName pulumi.StringInput // Amazon Resource Name (ARN) of the IAM Role to associate with the DB Instance. RoleArn pulumi.StringInput }
The set of arguments for constructing a RoleAssociation resource.
func (RoleAssociationArgs) ElementType ¶
func (RoleAssociationArgs) ElementType() reflect.Type
type RoleAssociationArray ¶
type RoleAssociationArray []RoleAssociationInput
func (RoleAssociationArray) ElementType ¶
func (RoleAssociationArray) ElementType() reflect.Type
func (RoleAssociationArray) ToRoleAssociationArrayOutput ¶
func (i RoleAssociationArray) ToRoleAssociationArrayOutput() RoleAssociationArrayOutput
func (RoleAssociationArray) ToRoleAssociationArrayOutputWithContext ¶
func (i RoleAssociationArray) ToRoleAssociationArrayOutputWithContext(ctx context.Context) RoleAssociationArrayOutput
type RoleAssociationArrayInput ¶
type RoleAssociationArrayInput interface { pulumi.Input ToRoleAssociationArrayOutput() RoleAssociationArrayOutput ToRoleAssociationArrayOutputWithContext(context.Context) RoleAssociationArrayOutput }
RoleAssociationArrayInput is an input type that accepts RoleAssociationArray and RoleAssociationArrayOutput values. You can construct a concrete instance of `RoleAssociationArrayInput` via:
RoleAssociationArray{ RoleAssociationArgs{...} }
type RoleAssociationArrayOutput ¶
type RoleAssociationArrayOutput struct{ *pulumi.OutputState }
func (RoleAssociationArrayOutput) ElementType ¶
func (RoleAssociationArrayOutput) ElementType() reflect.Type
func (RoleAssociationArrayOutput) Index ¶
func (o RoleAssociationArrayOutput) Index(i pulumi.IntInput) RoleAssociationOutput
func (RoleAssociationArrayOutput) ToRoleAssociationArrayOutput ¶
func (o RoleAssociationArrayOutput) ToRoleAssociationArrayOutput() RoleAssociationArrayOutput
func (RoleAssociationArrayOutput) ToRoleAssociationArrayOutputWithContext ¶
func (o RoleAssociationArrayOutput) ToRoleAssociationArrayOutputWithContext(ctx context.Context) RoleAssociationArrayOutput
type RoleAssociationInput ¶
type RoleAssociationInput interface { pulumi.Input ToRoleAssociationOutput() RoleAssociationOutput ToRoleAssociationOutputWithContext(ctx context.Context) RoleAssociationOutput }
type RoleAssociationMap ¶
type RoleAssociationMap map[string]RoleAssociationInput
func (RoleAssociationMap) ElementType ¶
func (RoleAssociationMap) ElementType() reflect.Type
func (RoleAssociationMap) ToRoleAssociationMapOutput ¶
func (i RoleAssociationMap) ToRoleAssociationMapOutput() RoleAssociationMapOutput
func (RoleAssociationMap) ToRoleAssociationMapOutputWithContext ¶
func (i RoleAssociationMap) ToRoleAssociationMapOutputWithContext(ctx context.Context) RoleAssociationMapOutput
type RoleAssociationMapInput ¶
type RoleAssociationMapInput interface { pulumi.Input ToRoleAssociationMapOutput() RoleAssociationMapOutput ToRoleAssociationMapOutputWithContext(context.Context) RoleAssociationMapOutput }
RoleAssociationMapInput is an input type that accepts RoleAssociationMap and RoleAssociationMapOutput values. You can construct a concrete instance of `RoleAssociationMapInput` via:
RoleAssociationMap{ "key": RoleAssociationArgs{...} }
type RoleAssociationMapOutput ¶
type RoleAssociationMapOutput struct{ *pulumi.OutputState }
func (RoleAssociationMapOutput) ElementType ¶
func (RoleAssociationMapOutput) ElementType() reflect.Type
func (RoleAssociationMapOutput) MapIndex ¶
func (o RoleAssociationMapOutput) MapIndex(k pulumi.StringInput) RoleAssociationOutput
func (RoleAssociationMapOutput) ToRoleAssociationMapOutput ¶
func (o RoleAssociationMapOutput) ToRoleAssociationMapOutput() RoleAssociationMapOutput
func (RoleAssociationMapOutput) ToRoleAssociationMapOutputWithContext ¶
func (o RoleAssociationMapOutput) ToRoleAssociationMapOutputWithContext(ctx context.Context) RoleAssociationMapOutput
type RoleAssociationOutput ¶
type RoleAssociationOutput struct{ *pulumi.OutputState }
func (RoleAssociationOutput) DbInstanceIdentifier ¶ added in v5.4.0
func (o RoleAssociationOutput) DbInstanceIdentifier() pulumi.StringOutput
DB Instance Identifier to associate with the IAM Role.
func (RoleAssociationOutput) ElementType ¶
func (RoleAssociationOutput) ElementType() reflect.Type
func (RoleAssociationOutput) FeatureName ¶ added in v5.4.0
func (o RoleAssociationOutput) FeatureName() pulumi.StringOutput
Name of the feature for association. This can be found in the AWS documentation relevant to the integration or a full list is available in the `SupportedFeatureNames` list returned by [AWS CLI rds describe-db-engine-versions](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-engine-versions.html).
func (RoleAssociationOutput) RoleArn ¶ added in v5.4.0
func (o RoleAssociationOutput) RoleArn() pulumi.StringOutput
Amazon Resource Name (ARN) of the IAM Role to associate with the DB Instance.
func (RoleAssociationOutput) ToRoleAssociationOutput ¶
func (o RoleAssociationOutput) ToRoleAssociationOutput() RoleAssociationOutput
func (RoleAssociationOutput) ToRoleAssociationOutputWithContext ¶
func (o RoleAssociationOutput) ToRoleAssociationOutputWithContext(ctx context.Context) RoleAssociationOutput
type RoleAssociationState ¶
type RoleAssociationState struct { // DB Instance Identifier to associate with the IAM Role. DbInstanceIdentifier pulumi.StringPtrInput // Name of the feature for association. This can be found in the AWS documentation relevant to the integration or a full list is available in the `SupportedFeatureNames` list returned by [AWS CLI rds describe-db-engine-versions](https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-engine-versions.html). FeatureName pulumi.StringPtrInput // Amazon Resource Name (ARN) of the IAM Role to associate with the DB Instance. RoleArn pulumi.StringPtrInput }
func (RoleAssociationState) ElementType ¶
func (RoleAssociationState) ElementType() reflect.Type
type SecurityGroup ¶
type SecurityGroup struct { pulumi.CustomResourceState // The arn of the DB security group. Arn pulumi.StringOutput `pulumi:"arn"` // The description of the DB 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 DB security group. Name pulumi.StringOutput `pulumi:"name"` // 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"` }
Provides an RDS security group resource. This is only for DB instances in the EC2-Classic Platform. For instances inside a VPC, use the `aws_db_instance.vpc_security_group_ids` attribute instead.
!> **WARNING:** With the retirement of EC2-Classic the `rds.SecurityGroup` resource has been deprecated and will be removed in a future version.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.NewSecurityGroup(ctx, "default", &rds.SecurityGroupArgs{ Ingress: rds.SecurityGroupIngressArray{ &rds.SecurityGroupIngressArgs{ Cidr: pulumi.String("10.0.0.0/24"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
DB Security groups can be imported using the `name`, e.g.,
```sh
$ pulumi import aws:rds/securityGroup:SecurityGroup default aws_rds_sg-1
```
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
type SecurityGroupArgs ¶
type SecurityGroupArgs struct { // The description of the DB security group. Defaults to "Managed by Pulumi". Description pulumi.StringPtrInput // A list of ingress rules. Ingress SecurityGroupIngressArrayInput // The name of the DB security group. Name 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 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 ID of the security group to authorize SecurityGroupId *string `pulumi:"securityGroupId"` // 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 ID of the security group to authorize SecurityGroupId pulumi.StringPtrInput `pulumi:"securityGroupId"` // 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) SecurityGroupId ¶
func (o SecurityGroupIngressOutput) SecurityGroupId() pulumi.StringPtrOutput
The ID of the security group to authorize
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) Arn ¶ added in v5.4.0
func (o SecurityGroupOutput) Arn() pulumi.StringOutput
The arn of the DB security group.
func (SecurityGroupOutput) Description ¶ added in v5.4.0
func (o SecurityGroupOutput) Description() pulumi.StringOutput
The description of the DB security group. Defaults to "Managed by Pulumi".
func (SecurityGroupOutput) ElementType ¶
func (SecurityGroupOutput) ElementType() reflect.Type
func (SecurityGroupOutput) Ingress ¶ added in v5.4.0
func (o SecurityGroupOutput) Ingress() SecurityGroupIngressArrayOutput
A list of ingress rules.
func (SecurityGroupOutput) Name ¶ added in v5.4.0
func (o SecurityGroupOutput) Name() pulumi.StringOutput
The name of the DB security group.
func (SecurityGroupOutput) Tags ¶ added in v5.4.0
func (o SecurityGroupOutput) Tags() pulumi.StringMapOutput
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.
func (SecurityGroupOutput) TagsAll ¶ added in v5.4.0
func (o SecurityGroupOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (SecurityGroupOutput) ToSecurityGroupOutput ¶
func (o SecurityGroupOutput) ToSecurityGroupOutput() SecurityGroupOutput
func (SecurityGroupOutput) ToSecurityGroupOutputWithContext ¶
func (o SecurityGroupOutput) ToSecurityGroupOutputWithContext(ctx context.Context) SecurityGroupOutput
type SecurityGroupState ¶
type SecurityGroupState struct { // The arn of the DB security group. Arn pulumi.StringPtrInput // The description of the DB security group. Defaults to "Managed by Pulumi". Description pulumi.StringPtrInput // A list of ingress rules. Ingress SecurityGroupIngressArrayInput // The name of the DB security group. Name 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 }
func (SecurityGroupState) ElementType ¶
func (SecurityGroupState) ElementType() reflect.Type
type Snapshot ¶
type Snapshot struct { pulumi.CustomResourceState // Specifies the allocated storage size in gigabytes (GB). AllocatedStorage pulumi.IntOutput `pulumi:"allocatedStorage"` // Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot. AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"` // The DB Instance Identifier from which to take the snapshot. DbInstanceIdentifier pulumi.StringOutput `pulumi:"dbInstanceIdentifier"` // The Amazon Resource Name (ARN) for the DB snapshot. DbSnapshotArn pulumi.StringOutput `pulumi:"dbSnapshotArn"` // The Identifier for the snapshot. DbSnapshotIdentifier pulumi.StringOutput `pulumi:"dbSnapshotIdentifier"` // Specifies whether the DB snapshot is encrypted. Encrypted pulumi.BoolOutput `pulumi:"encrypted"` // Specifies the name of the database engine. Engine pulumi.StringOutput `pulumi:"engine"` // Specifies the version of the database engine. EngineVersion pulumi.StringOutput `pulumi:"engineVersion"` // Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot. Iops pulumi.IntOutput `pulumi:"iops"` // The ARN for the KMS encryption key. KmsKeyId pulumi.StringOutput `pulumi:"kmsKeyId"` // License model information for the restored DB instance. LicenseModel pulumi.StringOutput `pulumi:"licenseModel"` // Provides the option group name for the DB snapshot. OptionGroupName pulumi.StringOutput `pulumi:"optionGroupName"` Port pulumi.IntOutput `pulumi:"port"` // List of AWS Account ids to share snapshot with, use `all` to make snaphot public. SnapshotType pulumi.StringOutput `pulumi:"snapshotType"` // The DB snapshot Arn that the DB snapshot was copied from. It only has value in case of cross customer or cross region copy. SourceDbSnapshotIdentifier pulumi.StringOutput `pulumi:"sourceDbSnapshotIdentifier"` // The region that the DB snapshot was created in or copied from. SourceRegion pulumi.StringOutput `pulumi:"sourceRegion"` // Specifies the status of this DB snapshot. Status pulumi.StringOutput `pulumi:"status"` // Specifies the storage type associated with DB snapshot. StorageType pulumi.StringOutput `pulumi:"storageType"` // Key-value map of resource tags. .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"` // Provides the VPC ID associated with the DB snapshot. VpcId pulumi.StringOutput `pulumi:"vpcId"` }
Manages an RDS database instance snapshot. For managing RDS database cluster snapshots, see the `rds.ClusterSnapshot` resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { bar, err := rds.NewInstance(ctx, "bar", &rds.InstanceArgs{ AllocatedStorage: pulumi.Int(10), Engine: pulumi.String("mysql"), EngineVersion: pulumi.String("5.6.21"), InstanceClass: pulumi.String("db.t2.micro"), Name: pulumi.String("baz"), Password: pulumi.String("barbarbarbar"), Username: pulumi.String("foo"), MaintenanceWindow: pulumi.String("Fri:09:00-Fri:09:30"), BackupRetentionPeriod: pulumi.Int(0), ParameterGroupName: pulumi.String("default.mysql5.6"), }) if err != nil { return err } _, err = rds.NewSnapshot(ctx, "test", &rds.SnapshotArgs{ DbInstanceIdentifier: bar.ID(), DbSnapshotIdentifier: pulumi.String("testsnapshot1234"), }) if err != nil { return err } return nil }) }
```
## Import
`aws_db_snapshot` can be imported by using the snapshot identifier, e.g.,
```sh
$ pulumi import aws:rds/snapshot:Snapshot example my-snapshot
```
func GetSnapshot ¶
func GetSnapshot(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SnapshotState, opts ...pulumi.ResourceOption) (*Snapshot, error)
GetSnapshot gets an existing Snapshot 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 NewSnapshot ¶
func NewSnapshot(ctx *pulumi.Context, name string, args *SnapshotArgs, opts ...pulumi.ResourceOption) (*Snapshot, error)
NewSnapshot registers a new resource with the given unique name, arguments, and options.
func (*Snapshot) ElementType ¶
func (*Snapshot) ToSnapshotOutput ¶
func (i *Snapshot) ToSnapshotOutput() SnapshotOutput
func (*Snapshot) ToSnapshotOutputWithContext ¶
func (i *Snapshot) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
type SnapshotArgs ¶
type SnapshotArgs struct { // The DB Instance Identifier from which to take the snapshot. DbInstanceIdentifier pulumi.StringInput // The Identifier for the snapshot. DbSnapshotIdentifier pulumi.StringInput SharedAccounts pulumi.StringArrayInput // Key-value map of resource tags. .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 Snapshot resource.
func (SnapshotArgs) ElementType ¶
func (SnapshotArgs) ElementType() reflect.Type
type SnapshotArray ¶
type SnapshotArray []SnapshotInput
func (SnapshotArray) ElementType ¶
func (SnapshotArray) ElementType() reflect.Type
func (SnapshotArray) ToSnapshotArrayOutput ¶
func (i SnapshotArray) ToSnapshotArrayOutput() SnapshotArrayOutput
func (SnapshotArray) ToSnapshotArrayOutputWithContext ¶
func (i SnapshotArray) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput
type SnapshotArrayInput ¶
type SnapshotArrayInput interface { pulumi.Input ToSnapshotArrayOutput() SnapshotArrayOutput ToSnapshotArrayOutputWithContext(context.Context) SnapshotArrayOutput }
SnapshotArrayInput is an input type that accepts SnapshotArray and SnapshotArrayOutput values. You can construct a concrete instance of `SnapshotArrayInput` via:
SnapshotArray{ SnapshotArgs{...} }
type SnapshotArrayOutput ¶
type SnapshotArrayOutput struct{ *pulumi.OutputState }
func (SnapshotArrayOutput) ElementType ¶
func (SnapshotArrayOutput) ElementType() reflect.Type
func (SnapshotArrayOutput) Index ¶
func (o SnapshotArrayOutput) Index(i pulumi.IntInput) SnapshotOutput
func (SnapshotArrayOutput) ToSnapshotArrayOutput ¶
func (o SnapshotArrayOutput) ToSnapshotArrayOutput() SnapshotArrayOutput
func (SnapshotArrayOutput) ToSnapshotArrayOutputWithContext ¶
func (o SnapshotArrayOutput) ToSnapshotArrayOutputWithContext(ctx context.Context) SnapshotArrayOutput
type SnapshotCopy ¶ added in v5.6.0
type SnapshotCopy struct { pulumi.CustomResourceState // Specifies the allocated storage size in gigabytes (GB). AllocatedStorage pulumi.IntOutput `pulumi:"allocatedStorage"` // Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot. AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"` // Whether to copy existing tags. Defaults to `false`. CopyTags pulumi.BoolPtrOutput `pulumi:"copyTags"` // The Amazon Resource Name (ARN) for the DB snapshot. DbSnapshotArn pulumi.StringOutput `pulumi:"dbSnapshotArn"` // The Destination region to place snapshot copy. DestinationRegion pulumi.StringPtrOutput `pulumi:"destinationRegion"` // Specifies whether the DB snapshot is encrypted. Encrypted pulumi.BoolOutput `pulumi:"encrypted"` // Specifies the name of the database engine. Engine pulumi.StringOutput `pulumi:"engine"` // Specifies the version of the database engine. EngineVersion pulumi.StringOutput `pulumi:"engineVersion"` // Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot. Iops pulumi.IntOutput `pulumi:"iops"` // KMS key ID. KmsKeyId pulumi.StringPtrOutput `pulumi:"kmsKeyId"` // License model information for the restored DB instance. LicenseModel pulumi.StringOutput `pulumi:"licenseModel"` // The name of an option group to associate with the copy of the snapshot. OptionGroupName pulumi.StringOutput `pulumi:"optionGroupName"` Port pulumi.IntOutput `pulumi:"port"` // he URL that contains a Signature Version 4 signed request. PresignedUrl pulumi.StringPtrOutput `pulumi:"presignedUrl"` SnapshotType pulumi.StringOutput `pulumi:"snapshotType"` // Snapshot identifier of the source snapshot. SourceDbSnapshotIdentifier pulumi.StringOutput `pulumi:"sourceDbSnapshotIdentifier"` // The region that the DB snapshot was created in or copied from. SourceRegion pulumi.StringOutput `pulumi:"sourceRegion"` // Specifies the storage type associated with DB snapshot. StorageType pulumi.StringOutput `pulumi:"storageType"` // Key-value map of resource tags. 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"` // The external custom Availability Zone. TargetCustomAvailabilityZone pulumi.StringPtrOutput `pulumi:"targetCustomAvailabilityZone"` // The Identifier for the snapshot. TargetDbSnapshotIdentifier pulumi.StringOutput `pulumi:"targetDbSnapshotIdentifier"` // Provides the VPC ID associated with the DB snapshot. VpcId pulumi.StringOutput `pulumi:"vpcId"` }
Manages an RDS database instance snapshot copy. For managing RDS database cluster snapshots, see the `rds.ClusterSnapshot` resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleInstance, err := rds.NewInstance(ctx, "exampleInstance", &rds.InstanceArgs{ AllocatedStorage: pulumi.Int(10), Engine: pulumi.String("mysql"), EngineVersion: pulumi.String("5.6.21"), InstanceClass: pulumi.String("db.t2.micro"), Name: pulumi.String("baz"), Password: pulumi.String("barbarbarbar"), Username: pulumi.String("foo"), MaintenanceWindow: pulumi.String("Fri:09:00-Fri:09:30"), BackupRetentionPeriod: pulumi.Int(0), ParameterGroupName: pulumi.String("default.mysql5.6"), }) if err != nil { return err } exampleSnapshot, err := rds.NewSnapshot(ctx, "exampleSnapshot", &rds.SnapshotArgs{ DbInstanceIdentifier: exampleInstance.ID(), DbSnapshotIdentifier: pulumi.String("testsnapshot1234"), }) if err != nil { return err } _, err = rds.NewSnapshotCopy(ctx, "exampleSnapshotCopy", &rds.SnapshotCopyArgs{ SourceDbSnapshotIdentifier: exampleSnapshot.DbSnapshotArn, TargetDbSnapshotIdentifier: pulumi.String("testsnapshot1234-copy"), }) if err != nil { return err } return nil }) }
```
## Import
`aws_db_snapshot_copy` can be imported by using the snapshot identifier, e.g.,
```sh
$ pulumi import aws:rds/snapshotCopy:SnapshotCopy example my-snapshot
```
func GetSnapshotCopy ¶ added in v5.6.0
func GetSnapshotCopy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SnapshotCopyState, opts ...pulumi.ResourceOption) (*SnapshotCopy, error)
GetSnapshotCopy gets an existing SnapshotCopy 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 NewSnapshotCopy ¶ added in v5.6.0
func NewSnapshotCopy(ctx *pulumi.Context, name string, args *SnapshotCopyArgs, opts ...pulumi.ResourceOption) (*SnapshotCopy, error)
NewSnapshotCopy registers a new resource with the given unique name, arguments, and options.
func (*SnapshotCopy) ElementType ¶ added in v5.6.0
func (*SnapshotCopy) ElementType() reflect.Type
func (*SnapshotCopy) ToSnapshotCopyOutput ¶ added in v5.6.0
func (i *SnapshotCopy) ToSnapshotCopyOutput() SnapshotCopyOutput
func (*SnapshotCopy) ToSnapshotCopyOutputWithContext ¶ added in v5.6.0
func (i *SnapshotCopy) ToSnapshotCopyOutputWithContext(ctx context.Context) SnapshotCopyOutput
type SnapshotCopyArgs ¶ added in v5.6.0
type SnapshotCopyArgs struct { // Whether to copy existing tags. Defaults to `false`. CopyTags pulumi.BoolPtrInput // The Destination region to place snapshot copy. DestinationRegion pulumi.StringPtrInput // KMS key ID. KmsKeyId pulumi.StringPtrInput // The name of an option group to associate with the copy of the snapshot. OptionGroupName pulumi.StringPtrInput // he URL that contains a Signature Version 4 signed request. PresignedUrl pulumi.StringPtrInput // Snapshot identifier of the source snapshot. SourceDbSnapshotIdentifier pulumi.StringInput // Key-value map of resource tags. 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 external custom Availability Zone. TargetCustomAvailabilityZone pulumi.StringPtrInput // The Identifier for the snapshot. TargetDbSnapshotIdentifier pulumi.StringInput }
The set of arguments for constructing a SnapshotCopy resource.
func (SnapshotCopyArgs) ElementType ¶ added in v5.6.0
func (SnapshotCopyArgs) ElementType() reflect.Type
type SnapshotCopyArray ¶ added in v5.6.0
type SnapshotCopyArray []SnapshotCopyInput
func (SnapshotCopyArray) ElementType ¶ added in v5.6.0
func (SnapshotCopyArray) ElementType() reflect.Type
func (SnapshotCopyArray) ToSnapshotCopyArrayOutput ¶ added in v5.6.0
func (i SnapshotCopyArray) ToSnapshotCopyArrayOutput() SnapshotCopyArrayOutput
func (SnapshotCopyArray) ToSnapshotCopyArrayOutputWithContext ¶ added in v5.6.0
func (i SnapshotCopyArray) ToSnapshotCopyArrayOutputWithContext(ctx context.Context) SnapshotCopyArrayOutput
type SnapshotCopyArrayInput ¶ added in v5.6.0
type SnapshotCopyArrayInput interface { pulumi.Input ToSnapshotCopyArrayOutput() SnapshotCopyArrayOutput ToSnapshotCopyArrayOutputWithContext(context.Context) SnapshotCopyArrayOutput }
SnapshotCopyArrayInput is an input type that accepts SnapshotCopyArray and SnapshotCopyArrayOutput values. You can construct a concrete instance of `SnapshotCopyArrayInput` via:
SnapshotCopyArray{ SnapshotCopyArgs{...} }
type SnapshotCopyArrayOutput ¶ added in v5.6.0
type SnapshotCopyArrayOutput struct{ *pulumi.OutputState }
func (SnapshotCopyArrayOutput) ElementType ¶ added in v5.6.0
func (SnapshotCopyArrayOutput) ElementType() reflect.Type
func (SnapshotCopyArrayOutput) Index ¶ added in v5.6.0
func (o SnapshotCopyArrayOutput) Index(i pulumi.IntInput) SnapshotCopyOutput
func (SnapshotCopyArrayOutput) ToSnapshotCopyArrayOutput ¶ added in v5.6.0
func (o SnapshotCopyArrayOutput) ToSnapshotCopyArrayOutput() SnapshotCopyArrayOutput
func (SnapshotCopyArrayOutput) ToSnapshotCopyArrayOutputWithContext ¶ added in v5.6.0
func (o SnapshotCopyArrayOutput) ToSnapshotCopyArrayOutputWithContext(ctx context.Context) SnapshotCopyArrayOutput
type SnapshotCopyInput ¶ added in v5.6.0
type SnapshotCopyInput interface { pulumi.Input ToSnapshotCopyOutput() SnapshotCopyOutput ToSnapshotCopyOutputWithContext(ctx context.Context) SnapshotCopyOutput }
type SnapshotCopyMap ¶ added in v5.6.0
type SnapshotCopyMap map[string]SnapshotCopyInput
func (SnapshotCopyMap) ElementType ¶ added in v5.6.0
func (SnapshotCopyMap) ElementType() reflect.Type
func (SnapshotCopyMap) ToSnapshotCopyMapOutput ¶ added in v5.6.0
func (i SnapshotCopyMap) ToSnapshotCopyMapOutput() SnapshotCopyMapOutput
func (SnapshotCopyMap) ToSnapshotCopyMapOutputWithContext ¶ added in v5.6.0
func (i SnapshotCopyMap) ToSnapshotCopyMapOutputWithContext(ctx context.Context) SnapshotCopyMapOutput
type SnapshotCopyMapInput ¶ added in v5.6.0
type SnapshotCopyMapInput interface { pulumi.Input ToSnapshotCopyMapOutput() SnapshotCopyMapOutput ToSnapshotCopyMapOutputWithContext(context.Context) SnapshotCopyMapOutput }
SnapshotCopyMapInput is an input type that accepts SnapshotCopyMap and SnapshotCopyMapOutput values. You can construct a concrete instance of `SnapshotCopyMapInput` via:
SnapshotCopyMap{ "key": SnapshotCopyArgs{...} }
type SnapshotCopyMapOutput ¶ added in v5.6.0
type SnapshotCopyMapOutput struct{ *pulumi.OutputState }
func (SnapshotCopyMapOutput) ElementType ¶ added in v5.6.0
func (SnapshotCopyMapOutput) ElementType() reflect.Type
func (SnapshotCopyMapOutput) MapIndex ¶ added in v5.6.0
func (o SnapshotCopyMapOutput) MapIndex(k pulumi.StringInput) SnapshotCopyOutput
func (SnapshotCopyMapOutput) ToSnapshotCopyMapOutput ¶ added in v5.6.0
func (o SnapshotCopyMapOutput) ToSnapshotCopyMapOutput() SnapshotCopyMapOutput
func (SnapshotCopyMapOutput) ToSnapshotCopyMapOutputWithContext ¶ added in v5.6.0
func (o SnapshotCopyMapOutput) ToSnapshotCopyMapOutputWithContext(ctx context.Context) SnapshotCopyMapOutput
type SnapshotCopyOutput ¶ added in v5.6.0
type SnapshotCopyOutput struct{ *pulumi.OutputState }
func (SnapshotCopyOutput) AllocatedStorage ¶ added in v5.6.0
func (o SnapshotCopyOutput) AllocatedStorage() pulumi.IntOutput
Specifies the allocated storage size in gigabytes (GB).
func (SnapshotCopyOutput) AvailabilityZone ¶ added in v5.6.0
func (o SnapshotCopyOutput) AvailabilityZone() pulumi.StringOutput
Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
func (SnapshotCopyOutput) CopyTags ¶ added in v5.6.0
func (o SnapshotCopyOutput) CopyTags() pulumi.BoolPtrOutput
Whether to copy existing tags. Defaults to `false`.
func (SnapshotCopyOutput) DbSnapshotArn ¶ added in v5.6.0
func (o SnapshotCopyOutput) DbSnapshotArn() pulumi.StringOutput
The Amazon Resource Name (ARN) for the DB snapshot.
func (SnapshotCopyOutput) DestinationRegion ¶ added in v5.6.0
func (o SnapshotCopyOutput) DestinationRegion() pulumi.StringPtrOutput
The Destination region to place snapshot copy.
func (SnapshotCopyOutput) ElementType ¶ added in v5.6.0
func (SnapshotCopyOutput) ElementType() reflect.Type
func (SnapshotCopyOutput) Encrypted ¶ added in v5.6.0
func (o SnapshotCopyOutput) Encrypted() pulumi.BoolOutput
Specifies whether the DB snapshot is encrypted.
func (SnapshotCopyOutput) Engine ¶ added in v5.6.0
func (o SnapshotCopyOutput) Engine() pulumi.StringOutput
Specifies the name of the database engine.
func (SnapshotCopyOutput) EngineVersion ¶ added in v5.6.0
func (o SnapshotCopyOutput) EngineVersion() pulumi.StringOutput
Specifies the version of the database engine.
func (SnapshotCopyOutput) Iops ¶ added in v5.6.0
func (o SnapshotCopyOutput) Iops() pulumi.IntOutput
Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
func (SnapshotCopyOutput) KmsKeyId ¶ added in v5.6.0
func (o SnapshotCopyOutput) KmsKeyId() pulumi.StringPtrOutput
KMS key ID.
func (SnapshotCopyOutput) LicenseModel ¶ added in v5.6.0
func (o SnapshotCopyOutput) LicenseModel() pulumi.StringOutput
License model information for the restored DB instance.
func (SnapshotCopyOutput) OptionGroupName ¶ added in v5.6.0
func (o SnapshotCopyOutput) OptionGroupName() pulumi.StringOutput
The name of an option group to associate with the copy of the snapshot.
func (SnapshotCopyOutput) Port ¶ added in v5.6.0
func (o SnapshotCopyOutput) Port() pulumi.IntOutput
func (SnapshotCopyOutput) PresignedUrl ¶ added in v5.6.0
func (o SnapshotCopyOutput) PresignedUrl() pulumi.StringPtrOutput
he URL that contains a Signature Version 4 signed request.
func (SnapshotCopyOutput) SnapshotType ¶ added in v5.6.0
func (o SnapshotCopyOutput) SnapshotType() pulumi.StringOutput
func (SnapshotCopyOutput) SourceDbSnapshotIdentifier ¶ added in v5.6.0
func (o SnapshotCopyOutput) SourceDbSnapshotIdentifier() pulumi.StringOutput
Snapshot identifier of the source snapshot.
func (SnapshotCopyOutput) SourceRegion ¶ added in v5.6.0
func (o SnapshotCopyOutput) SourceRegion() pulumi.StringOutput
The region that the DB snapshot was created in or copied from.
func (SnapshotCopyOutput) StorageType ¶ added in v5.6.0
func (o SnapshotCopyOutput) StorageType() pulumi.StringOutput
Specifies the storage type associated with DB snapshot.
func (SnapshotCopyOutput) Tags ¶ added in v5.6.0
func (o SnapshotCopyOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (SnapshotCopyOutput) TagsAll ¶ added in v5.6.0
func (o SnapshotCopyOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (SnapshotCopyOutput) TargetCustomAvailabilityZone ¶ added in v5.6.0
func (o SnapshotCopyOutput) TargetCustomAvailabilityZone() pulumi.StringPtrOutput
The external custom Availability Zone.
func (SnapshotCopyOutput) TargetDbSnapshotIdentifier ¶ added in v5.6.0
func (o SnapshotCopyOutput) TargetDbSnapshotIdentifier() pulumi.StringOutput
The Identifier for the snapshot.
func (SnapshotCopyOutput) ToSnapshotCopyOutput ¶ added in v5.6.0
func (o SnapshotCopyOutput) ToSnapshotCopyOutput() SnapshotCopyOutput
func (SnapshotCopyOutput) ToSnapshotCopyOutputWithContext ¶ added in v5.6.0
func (o SnapshotCopyOutput) ToSnapshotCopyOutputWithContext(ctx context.Context) SnapshotCopyOutput
func (SnapshotCopyOutput) VpcId ¶ added in v5.6.0
func (o SnapshotCopyOutput) VpcId() pulumi.StringOutput
Provides the VPC ID associated with the DB snapshot.
type SnapshotCopyState ¶ added in v5.6.0
type SnapshotCopyState struct { // Specifies the allocated storage size in gigabytes (GB). AllocatedStorage pulumi.IntPtrInput // Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot. AvailabilityZone pulumi.StringPtrInput // Whether to copy existing tags. Defaults to `false`. CopyTags pulumi.BoolPtrInput // The Amazon Resource Name (ARN) for the DB snapshot. DbSnapshotArn pulumi.StringPtrInput // The Destination region to place snapshot copy. DestinationRegion pulumi.StringPtrInput // Specifies whether the DB snapshot is encrypted. Encrypted pulumi.BoolPtrInput // Specifies the name of the database engine. Engine pulumi.StringPtrInput // Specifies the version of the database engine. EngineVersion pulumi.StringPtrInput // Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot. Iops pulumi.IntPtrInput // KMS key ID. KmsKeyId pulumi.StringPtrInput // License model information for the restored DB instance. LicenseModel pulumi.StringPtrInput // The name of an option group to associate with the copy of the snapshot. OptionGroupName pulumi.StringPtrInput Port pulumi.IntPtrInput // he URL that contains a Signature Version 4 signed request. PresignedUrl pulumi.StringPtrInput SnapshotType pulumi.StringPtrInput // Snapshot identifier of the source snapshot. SourceDbSnapshotIdentifier pulumi.StringPtrInput // The region that the DB snapshot was created in or copied from. SourceRegion pulumi.StringPtrInput // Specifies the storage type associated with DB snapshot. StorageType pulumi.StringPtrInput // Key-value map of resource tags. 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 // The external custom Availability Zone. TargetCustomAvailabilityZone pulumi.StringPtrInput // The Identifier for the snapshot. TargetDbSnapshotIdentifier pulumi.StringPtrInput // Provides the VPC ID associated with the DB snapshot. VpcId pulumi.StringPtrInput }
func (SnapshotCopyState) ElementType ¶ added in v5.6.0
func (SnapshotCopyState) ElementType() reflect.Type
type SnapshotInput ¶
type SnapshotInput interface { pulumi.Input ToSnapshotOutput() SnapshotOutput ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput }
type SnapshotMap ¶
type SnapshotMap map[string]SnapshotInput
func (SnapshotMap) ElementType ¶
func (SnapshotMap) ElementType() reflect.Type
func (SnapshotMap) ToSnapshotMapOutput ¶
func (i SnapshotMap) ToSnapshotMapOutput() SnapshotMapOutput
func (SnapshotMap) ToSnapshotMapOutputWithContext ¶
func (i SnapshotMap) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput
type SnapshotMapInput ¶
type SnapshotMapInput interface { pulumi.Input ToSnapshotMapOutput() SnapshotMapOutput ToSnapshotMapOutputWithContext(context.Context) SnapshotMapOutput }
SnapshotMapInput is an input type that accepts SnapshotMap and SnapshotMapOutput values. You can construct a concrete instance of `SnapshotMapInput` via:
SnapshotMap{ "key": SnapshotArgs{...} }
type SnapshotMapOutput ¶
type SnapshotMapOutput struct{ *pulumi.OutputState }
func (SnapshotMapOutput) ElementType ¶
func (SnapshotMapOutput) ElementType() reflect.Type
func (SnapshotMapOutput) MapIndex ¶
func (o SnapshotMapOutput) MapIndex(k pulumi.StringInput) SnapshotOutput
func (SnapshotMapOutput) ToSnapshotMapOutput ¶
func (o SnapshotMapOutput) ToSnapshotMapOutput() SnapshotMapOutput
func (SnapshotMapOutput) ToSnapshotMapOutputWithContext ¶
func (o SnapshotMapOutput) ToSnapshotMapOutputWithContext(ctx context.Context) SnapshotMapOutput
type SnapshotOutput ¶
type SnapshotOutput struct{ *pulumi.OutputState }
func (SnapshotOutput) AllocatedStorage ¶ added in v5.4.0
func (o SnapshotOutput) AllocatedStorage() pulumi.IntOutput
Specifies the allocated storage size in gigabytes (GB).
func (SnapshotOutput) AvailabilityZone ¶ added in v5.4.0
func (o SnapshotOutput) AvailabilityZone() pulumi.StringOutput
Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot.
func (SnapshotOutput) DbInstanceIdentifier ¶ added in v5.4.0
func (o SnapshotOutput) DbInstanceIdentifier() pulumi.StringOutput
The DB Instance Identifier from which to take the snapshot.
func (SnapshotOutput) DbSnapshotArn ¶ added in v5.4.0
func (o SnapshotOutput) DbSnapshotArn() pulumi.StringOutput
The Amazon Resource Name (ARN) for the DB snapshot.
func (SnapshotOutput) DbSnapshotIdentifier ¶ added in v5.4.0
func (o SnapshotOutput) DbSnapshotIdentifier() pulumi.StringOutput
The Identifier for the snapshot.
func (SnapshotOutput) ElementType ¶
func (SnapshotOutput) ElementType() reflect.Type
func (SnapshotOutput) Encrypted ¶ added in v5.4.0
func (o SnapshotOutput) Encrypted() pulumi.BoolOutput
Specifies whether the DB snapshot is encrypted.
func (SnapshotOutput) Engine ¶ added in v5.4.0
func (o SnapshotOutput) Engine() pulumi.StringOutput
Specifies the name of the database engine.
func (SnapshotOutput) EngineVersion ¶ added in v5.4.0
func (o SnapshotOutput) EngineVersion() pulumi.StringOutput
Specifies the version of the database engine.
func (SnapshotOutput) Iops ¶ added in v5.4.0
func (o SnapshotOutput) Iops() pulumi.IntOutput
Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot.
func (SnapshotOutput) KmsKeyId ¶ added in v5.4.0
func (o SnapshotOutput) KmsKeyId() pulumi.StringOutput
The ARN for the KMS encryption key.
func (SnapshotOutput) LicenseModel ¶ added in v5.4.0
func (o SnapshotOutput) LicenseModel() pulumi.StringOutput
License model information for the restored DB instance.
func (SnapshotOutput) OptionGroupName ¶ added in v5.4.0
func (o SnapshotOutput) OptionGroupName() pulumi.StringOutput
Provides the option group name for the DB snapshot.
func (SnapshotOutput) Port ¶ added in v5.4.0
func (o SnapshotOutput) Port() pulumi.IntOutput
func (SnapshotOutput) SharedAccounts ¶ added in v5.32.0
func (o SnapshotOutput) SharedAccounts() pulumi.StringArrayOutput
List of AWS Account ids to share snapshot with, use `all` to make snaphot public.
func (SnapshotOutput) SnapshotType ¶ added in v5.4.0
func (o SnapshotOutput) SnapshotType() pulumi.StringOutput
func (SnapshotOutput) SourceDbSnapshotIdentifier ¶ added in v5.4.0
func (o SnapshotOutput) SourceDbSnapshotIdentifier() pulumi.StringOutput
The DB snapshot Arn that the DB snapshot was copied from. It only has value in case of cross customer or cross region copy.
func (SnapshotOutput) SourceRegion ¶ added in v5.4.0
func (o SnapshotOutput) SourceRegion() pulumi.StringOutput
The region that the DB snapshot was created in or copied from.
func (SnapshotOutput) Status ¶ added in v5.4.0
func (o SnapshotOutput) Status() pulumi.StringOutput
Specifies the status of this DB snapshot.
func (SnapshotOutput) StorageType ¶ added in v5.4.0
func (o SnapshotOutput) StorageType() pulumi.StringOutput
Specifies the storage type associated with DB snapshot.
func (SnapshotOutput) Tags ¶ added in v5.4.0
func (o SnapshotOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (SnapshotOutput) TagsAll ¶ added in v5.4.0
func (o SnapshotOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (SnapshotOutput) ToSnapshotOutput ¶
func (o SnapshotOutput) ToSnapshotOutput() SnapshotOutput
func (SnapshotOutput) ToSnapshotOutputWithContext ¶
func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
func (SnapshotOutput) VpcId ¶ added in v5.4.0
func (o SnapshotOutput) VpcId() pulumi.StringOutput
Provides the VPC ID associated with the DB snapshot.
type SnapshotState ¶
type SnapshotState struct { // Specifies the allocated storage size in gigabytes (GB). AllocatedStorage pulumi.IntPtrInput // Specifies the name of the Availability Zone the DB instance was located in at the time of the DB snapshot. AvailabilityZone pulumi.StringPtrInput // The DB Instance Identifier from which to take the snapshot. DbInstanceIdentifier pulumi.StringPtrInput // The Amazon Resource Name (ARN) for the DB snapshot. DbSnapshotArn pulumi.StringPtrInput // The Identifier for the snapshot. DbSnapshotIdentifier pulumi.StringPtrInput // Specifies whether the DB snapshot is encrypted. Encrypted pulumi.BoolPtrInput // Specifies the name of the database engine. Engine pulumi.StringPtrInput // Specifies the version of the database engine. EngineVersion pulumi.StringPtrInput // Specifies the Provisioned IOPS (I/O operations per second) value of the DB instance at the time of the snapshot. Iops pulumi.IntPtrInput // The ARN for the KMS encryption key. KmsKeyId pulumi.StringPtrInput // License model information for the restored DB instance. LicenseModel pulumi.StringPtrInput // Provides the option group name for the DB snapshot. OptionGroupName pulumi.StringPtrInput Port pulumi.IntPtrInput // List of AWS Account ids to share snapshot with, use `all` to make snaphot public. SnapshotType pulumi.StringPtrInput // The DB snapshot Arn that the DB snapshot was copied from. It only has value in case of cross customer or cross region copy. SourceDbSnapshotIdentifier pulumi.StringPtrInput // The region that the DB snapshot was created in or copied from. SourceRegion pulumi.StringPtrInput // Specifies the status of this DB snapshot. Status pulumi.StringPtrInput // Specifies the storage type associated with DB snapshot. StorageType pulumi.StringPtrInput // Key-value map of resource tags. .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 // Provides the VPC ID associated with the DB snapshot. VpcId pulumi.StringPtrInput }
func (SnapshotState) ElementType ¶
func (SnapshotState) ElementType() reflect.Type
type StorageType ¶
type StorageType string
func (StorageType) ElementType ¶
func (StorageType) ElementType() reflect.Type
func (StorageType) ToStorageTypeOutput ¶
func (e StorageType) ToStorageTypeOutput() StorageTypeOutput
func (StorageType) ToStorageTypeOutputWithContext ¶
func (e StorageType) ToStorageTypeOutputWithContext(ctx context.Context) StorageTypeOutput
func (StorageType) ToStorageTypePtrOutput ¶
func (e StorageType) ToStorageTypePtrOutput() StorageTypePtrOutput
func (StorageType) ToStorageTypePtrOutputWithContext ¶
func (e StorageType) ToStorageTypePtrOutputWithContext(ctx context.Context) StorageTypePtrOutput
func (StorageType) ToStringOutput ¶
func (e StorageType) ToStringOutput() pulumi.StringOutput
func (StorageType) ToStringOutputWithContext ¶
func (e StorageType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (StorageType) ToStringPtrOutput ¶
func (e StorageType) ToStringPtrOutput() pulumi.StringPtrOutput
func (StorageType) ToStringPtrOutputWithContext ¶
func (e StorageType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type StorageTypeInput ¶
type StorageTypeInput interface { pulumi.Input ToStorageTypeOutput() StorageTypeOutput ToStorageTypeOutputWithContext(context.Context) StorageTypeOutput }
StorageTypeInput is an input type that accepts StorageTypeArgs and StorageTypeOutput values. You can construct a concrete instance of `StorageTypeInput` via:
StorageTypeArgs{...}
type StorageTypeOutput ¶
type StorageTypeOutput struct{ *pulumi.OutputState }
func (StorageTypeOutput) ElementType ¶
func (StorageTypeOutput) ElementType() reflect.Type
func (StorageTypeOutput) ToStorageTypeOutput ¶
func (o StorageTypeOutput) ToStorageTypeOutput() StorageTypeOutput
func (StorageTypeOutput) ToStorageTypeOutputWithContext ¶
func (o StorageTypeOutput) ToStorageTypeOutputWithContext(ctx context.Context) StorageTypeOutput
func (StorageTypeOutput) ToStorageTypePtrOutput ¶
func (o StorageTypeOutput) ToStorageTypePtrOutput() StorageTypePtrOutput
func (StorageTypeOutput) ToStorageTypePtrOutputWithContext ¶
func (o StorageTypeOutput) ToStorageTypePtrOutputWithContext(ctx context.Context) StorageTypePtrOutput
func (StorageTypeOutput) ToStringOutput ¶
func (o StorageTypeOutput) ToStringOutput() pulumi.StringOutput
func (StorageTypeOutput) ToStringOutputWithContext ¶
func (o StorageTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput
func (StorageTypeOutput) ToStringPtrOutput ¶
func (o StorageTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (StorageTypeOutput) ToStringPtrOutputWithContext ¶
func (o StorageTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type StorageTypePtrInput ¶
type StorageTypePtrInput interface { pulumi.Input ToStorageTypePtrOutput() StorageTypePtrOutput ToStorageTypePtrOutputWithContext(context.Context) StorageTypePtrOutput }
func StorageTypePtr ¶
func StorageTypePtr(v string) StorageTypePtrInput
type StorageTypePtrOutput ¶
type StorageTypePtrOutput struct{ *pulumi.OutputState }
func (StorageTypePtrOutput) Elem ¶
func (o StorageTypePtrOutput) Elem() StorageTypeOutput
func (StorageTypePtrOutput) ElementType ¶
func (StorageTypePtrOutput) ElementType() reflect.Type
func (StorageTypePtrOutput) ToStorageTypePtrOutput ¶
func (o StorageTypePtrOutput) ToStorageTypePtrOutput() StorageTypePtrOutput
func (StorageTypePtrOutput) ToStorageTypePtrOutputWithContext ¶
func (o StorageTypePtrOutput) ToStorageTypePtrOutputWithContext(ctx context.Context) StorageTypePtrOutput
func (StorageTypePtrOutput) ToStringPtrOutput ¶
func (o StorageTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput
func (StorageTypePtrOutput) ToStringPtrOutputWithContext ¶
func (o StorageTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput
type SubnetGroup ¶
type SubnetGroup struct { pulumi.CustomResourceState // The ARN of the db subnet group. Arn pulumi.StringOutput `pulumi:"arn"` // The description of the DB subnet group. Defaults to "Managed by Pulumi". Description pulumi.StringOutput `pulumi:"description"` // The name of the DB subnet group. If omitted, this provider will assign a random, unique name. Name pulumi.StringOutput `pulumi:"name"` // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringOutput `pulumi:"namePrefix"` // A list of VPC subnet IDs. SubnetIds pulumi.StringArrayOutput `pulumi:"subnetIds"` // The network type of the db subnet group. SupportedNetworkTypes pulumi.StringArrayOutput `pulumi:"supportedNetworkTypes"` // 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"` }
Provides an RDS DB subnet group resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/rds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := rds.NewSubnetGroup(ctx, "default", &rds.SubnetGroupArgs{ SubnetIds: pulumi.StringArray{ aws_subnet.Frontend.Id, aws_subnet.Backend.Id, }, Tags: pulumi.StringMap{ "Name": pulumi.String("My DB subnet group"), }, }) if err != nil { return err } return nil }) }
```
## Import
DB Subnet groups can be imported using the `name`, e.g.,
```sh
$ pulumi import aws:rds/subnetGroup:SubnetGroup default production-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
type SubnetGroupArgs ¶
type SubnetGroupArgs struct { // The description of the DB subnet group. Defaults to "Managed by Pulumi". Description pulumi.StringPtrInput // The name of the DB subnet group. If omitted, this provider will assign a random, unique name. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrInput // A list 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) Arn ¶ added in v5.4.0
func (o SubnetGroupOutput) Arn() pulumi.StringOutput
The ARN of the db subnet group.
func (SubnetGroupOutput) Description ¶ added in v5.4.0
func (o SubnetGroupOutput) Description() pulumi.StringOutput
The description of the DB subnet group. Defaults to "Managed by Pulumi".
func (SubnetGroupOutput) ElementType ¶
func (SubnetGroupOutput) ElementType() reflect.Type
func (SubnetGroupOutput) Name ¶ added in v5.4.0
func (o SubnetGroupOutput) Name() pulumi.StringOutput
The name of the DB subnet group. If omitted, this provider will assign a random, unique name.
func (SubnetGroupOutput) NamePrefix ¶ added in v5.4.0
func (o SubnetGroupOutput) NamePrefix() pulumi.StringOutput
Creates a unique name beginning with the specified prefix. Conflicts with `name`.
func (SubnetGroupOutput) SubnetIds ¶ added in v5.4.0
func (o SubnetGroupOutput) SubnetIds() pulumi.StringArrayOutput
A list of VPC subnet IDs.
func (SubnetGroupOutput) SupportedNetworkTypes ¶ added in v5.13.0
func (o SubnetGroupOutput) SupportedNetworkTypes() pulumi.StringArrayOutput
The network type of the db subnet group.
func (SubnetGroupOutput) Tags ¶ added in v5.4.0
func (o SubnetGroupOutput) Tags() pulumi.StringMapOutput
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.
func (SubnetGroupOutput) TagsAll ¶ added in v5.4.0
func (o SubnetGroupOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
func (SubnetGroupOutput) ToSubnetGroupOutput ¶
func (o SubnetGroupOutput) ToSubnetGroupOutput() SubnetGroupOutput
func (SubnetGroupOutput) ToSubnetGroupOutputWithContext ¶
func (o SubnetGroupOutput) ToSubnetGroupOutputWithContext(ctx context.Context) SubnetGroupOutput
type SubnetGroupState ¶
type SubnetGroupState struct { // The ARN of the db subnet group. Arn pulumi.StringPtrInput // The description of the DB subnet group. Defaults to "Managed by Pulumi". Description pulumi.StringPtrInput // The name of the DB subnet group. If omitted, this provider will assign a random, unique name. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrInput // A list of VPC subnet IDs. SubnetIds pulumi.StringArrayInput // The network type of the db subnet group. SupportedNetworkTypes 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 `defaultTags` configuration block. TagsAll pulumi.StringMapInput }
func (SubnetGroupState) ElementType ¶
func (SubnetGroupState) ElementType() reflect.Type
Source Files ¶
- cluster.go
- clusterActivityStream.go
- clusterEndpoint.go
- clusterInstance.go
- clusterParameterGroup.go
- clusterRoleAssociation.go
- clusterSnapshot.go
- eventSubscription.go
- getCertificate.go
- getCluster.go
- getClusterSnapshot.go
- getClusters.go
- getEngineVersion.go
- getEventCategories.go
- getInstance.go
- getInstances.go
- getOrderableDbInstance.go
- getProxy.go
- getReservedInstanceOffering.go
- getSnapshot.go
- getSubnetGroup.go
- globalCluster.go
- init.go
- instance.go
- instanceAutomatedBackupsReplication.go
- optionGroup.go
- parameterGroup.go
- proxy.go
- proxyDefaultTargetGroup.go
- proxyEndpoint.go
- proxyTarget.go
- pulumiEnums.go
- pulumiTypes.go
- pulumiUtilities.go
- reservedInstance.go
- roleAssociation.go
- securityGroup.go
- snapshot.go
- snapshotCopy.go
- subnetGroup.go