Documentation ¶
Index ¶
- type Acl
- type AclArgs
- type AclArray
- type AclArrayInput
- type AclArrayOutput
- type AclInput
- type AclMap
- type AclMapInput
- type AclMapOutput
- type AclOutput
- func (o AclOutput) Arn() pulumi.StringOutput
- func (AclOutput) ElementType() reflect.Type
- func (o AclOutput) MinimumEngineVersion() pulumi.StringOutput
- func (o AclOutput) Name() pulumi.StringOutput
- func (o AclOutput) NamePrefix() pulumi.StringOutput
- func (o AclOutput) Tags() pulumi.StringMapOutput
- func (o AclOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o AclOutput) ToAclOutput() AclOutput
- func (o AclOutput) ToAclOutputWithContext(ctx context.Context) AclOutput
- func (o AclOutput) UserNames() pulumi.StringArrayOutput
- type AclState
- type Cluster
- type ClusterArgs
- type ClusterArray
- type ClusterArrayInput
- type ClusterArrayOutput
- type ClusterClusterEndpoint
- type ClusterClusterEndpointArgs
- type ClusterClusterEndpointArray
- func (ClusterClusterEndpointArray) ElementType() reflect.Type
- func (i ClusterClusterEndpointArray) ToClusterClusterEndpointArrayOutput() ClusterClusterEndpointArrayOutput
- func (i ClusterClusterEndpointArray) ToClusterClusterEndpointArrayOutputWithContext(ctx context.Context) ClusterClusterEndpointArrayOutput
- type ClusterClusterEndpointArrayInput
- type ClusterClusterEndpointArrayOutput
- func (ClusterClusterEndpointArrayOutput) ElementType() reflect.Type
- func (o ClusterClusterEndpointArrayOutput) Index(i pulumi.IntInput) ClusterClusterEndpointOutput
- func (o ClusterClusterEndpointArrayOutput) ToClusterClusterEndpointArrayOutput() ClusterClusterEndpointArrayOutput
- func (o ClusterClusterEndpointArrayOutput) ToClusterClusterEndpointArrayOutputWithContext(ctx context.Context) ClusterClusterEndpointArrayOutput
- type ClusterClusterEndpointInput
- type ClusterClusterEndpointOutput
- func (o ClusterClusterEndpointOutput) Address() pulumi.StringPtrOutput
- func (ClusterClusterEndpointOutput) ElementType() reflect.Type
- func (o ClusterClusterEndpointOutput) Port() pulumi.IntPtrOutput
- func (o ClusterClusterEndpointOutput) ToClusterClusterEndpointOutput() ClusterClusterEndpointOutput
- func (o ClusterClusterEndpointOutput) ToClusterClusterEndpointOutputWithContext(ctx context.Context) ClusterClusterEndpointOutput
- type ClusterInput
- type ClusterMap
- type ClusterMapInput
- type ClusterMapOutput
- type ClusterOutput
- func (o ClusterOutput) AclName() pulumi.StringOutput
- func (o ClusterOutput) Arn() pulumi.StringOutput
- func (o ClusterOutput) AutoMinorVersionUpgrade() pulumi.BoolPtrOutput
- func (o ClusterOutput) ClusterEndpoints() ClusterClusterEndpointArrayOutput
- func (o ClusterOutput) DataTiering() pulumi.BoolPtrOutput
- func (o ClusterOutput) Description() pulumi.StringPtrOutput
- func (ClusterOutput) ElementType() reflect.Type
- func (o ClusterOutput) EnginePatchVersion() pulumi.StringOutput
- func (o ClusterOutput) EngineVersion() pulumi.StringOutput
- func (o ClusterOutput) FinalSnapshotName() pulumi.StringPtrOutput
- func (o ClusterOutput) KmsKeyArn() pulumi.StringPtrOutput
- func (o ClusterOutput) MaintenanceWindow() pulumi.StringOutput
- func (o ClusterOutput) Name() pulumi.StringOutput
- func (o ClusterOutput) NamePrefix() pulumi.StringOutput
- func (o ClusterOutput) NodeType() pulumi.StringOutput
- func (o ClusterOutput) NumReplicasPerShard() pulumi.IntPtrOutput
- func (o ClusterOutput) NumShards() pulumi.IntPtrOutput
- func (o ClusterOutput) ParameterGroupName() pulumi.StringOutput
- func (o ClusterOutput) Port() pulumi.IntOutput
- func (o ClusterOutput) SecurityGroupIds() pulumi.StringArrayOutput
- func (o ClusterOutput) Shards() ClusterShardArrayOutput
- func (o ClusterOutput) SnapshotArns() pulumi.StringArrayOutput
- func (o ClusterOutput) SnapshotName() pulumi.StringPtrOutput
- func (o ClusterOutput) SnapshotRetentionLimit() pulumi.IntOutput
- func (o ClusterOutput) SnapshotWindow() pulumi.StringOutput
- func (o ClusterOutput) SnsTopicArn() pulumi.StringPtrOutput
- func (o ClusterOutput) SubnetGroupName() pulumi.StringOutput
- func (o ClusterOutput) Tags() pulumi.StringMapOutput
- func (o ClusterOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o ClusterOutput) TlsEnabled() pulumi.BoolPtrOutput
- func (o ClusterOutput) ToClusterOutput() ClusterOutput
- func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
- type ClusterShard
- type ClusterShardArgs
- type ClusterShardArray
- type ClusterShardArrayInput
- type ClusterShardArrayOutput
- func (ClusterShardArrayOutput) ElementType() reflect.Type
- func (o ClusterShardArrayOutput) Index(i pulumi.IntInput) ClusterShardOutput
- func (o ClusterShardArrayOutput) ToClusterShardArrayOutput() ClusterShardArrayOutput
- func (o ClusterShardArrayOutput) ToClusterShardArrayOutputWithContext(ctx context.Context) ClusterShardArrayOutput
- type ClusterShardInput
- type ClusterShardNode
- type ClusterShardNodeArgs
- type ClusterShardNodeArray
- type ClusterShardNodeArrayInput
- type ClusterShardNodeArrayOutput
- func (ClusterShardNodeArrayOutput) ElementType() reflect.Type
- func (o ClusterShardNodeArrayOutput) Index(i pulumi.IntInput) ClusterShardNodeOutput
- func (o ClusterShardNodeArrayOutput) ToClusterShardNodeArrayOutput() ClusterShardNodeArrayOutput
- func (o ClusterShardNodeArrayOutput) ToClusterShardNodeArrayOutputWithContext(ctx context.Context) ClusterShardNodeArrayOutput
- type ClusterShardNodeEndpoint
- type ClusterShardNodeEndpointArgs
- func (ClusterShardNodeEndpointArgs) ElementType() reflect.Type
- func (i ClusterShardNodeEndpointArgs) ToClusterShardNodeEndpointOutput() ClusterShardNodeEndpointOutput
- func (i ClusterShardNodeEndpointArgs) ToClusterShardNodeEndpointOutputWithContext(ctx context.Context) ClusterShardNodeEndpointOutput
- type ClusterShardNodeEndpointArray
- func (ClusterShardNodeEndpointArray) ElementType() reflect.Type
- func (i ClusterShardNodeEndpointArray) ToClusterShardNodeEndpointArrayOutput() ClusterShardNodeEndpointArrayOutput
- func (i ClusterShardNodeEndpointArray) ToClusterShardNodeEndpointArrayOutputWithContext(ctx context.Context) ClusterShardNodeEndpointArrayOutput
- type ClusterShardNodeEndpointArrayInput
- type ClusterShardNodeEndpointArrayOutput
- func (ClusterShardNodeEndpointArrayOutput) ElementType() reflect.Type
- func (o ClusterShardNodeEndpointArrayOutput) Index(i pulumi.IntInput) ClusterShardNodeEndpointOutput
- func (o ClusterShardNodeEndpointArrayOutput) ToClusterShardNodeEndpointArrayOutput() ClusterShardNodeEndpointArrayOutput
- func (o ClusterShardNodeEndpointArrayOutput) ToClusterShardNodeEndpointArrayOutputWithContext(ctx context.Context) ClusterShardNodeEndpointArrayOutput
- type ClusterShardNodeEndpointInput
- type ClusterShardNodeEndpointOutput
- func (o ClusterShardNodeEndpointOutput) Address() pulumi.StringPtrOutput
- func (ClusterShardNodeEndpointOutput) ElementType() reflect.Type
- func (o ClusterShardNodeEndpointOutput) Port() pulumi.IntPtrOutput
- func (o ClusterShardNodeEndpointOutput) ToClusterShardNodeEndpointOutput() ClusterShardNodeEndpointOutput
- func (o ClusterShardNodeEndpointOutput) ToClusterShardNodeEndpointOutputWithContext(ctx context.Context) ClusterShardNodeEndpointOutput
- type ClusterShardNodeInput
- type ClusterShardNodeOutput
- func (o ClusterShardNodeOutput) AvailabilityZone() pulumi.StringPtrOutput
- func (o ClusterShardNodeOutput) CreateTime() pulumi.StringPtrOutput
- func (ClusterShardNodeOutput) ElementType() reflect.Type
- func (o ClusterShardNodeOutput) Endpoints() ClusterShardNodeEndpointArrayOutput
- func (o ClusterShardNodeOutput) Name() pulumi.StringPtrOutput
- func (o ClusterShardNodeOutput) ToClusterShardNodeOutput() ClusterShardNodeOutput
- func (o ClusterShardNodeOutput) ToClusterShardNodeOutputWithContext(ctx context.Context) ClusterShardNodeOutput
- type ClusterShardOutput
- func (ClusterShardOutput) ElementType() reflect.Type
- func (o ClusterShardOutput) Name() pulumi.StringPtrOutput
- func (o ClusterShardOutput) Nodes() ClusterShardNodeArrayOutput
- func (o ClusterShardOutput) NumNodes() pulumi.IntPtrOutput
- func (o ClusterShardOutput) Slots() pulumi.StringPtrOutput
- func (o ClusterShardOutput) ToClusterShardOutput() ClusterShardOutput
- func (o ClusterShardOutput) ToClusterShardOutputWithContext(ctx context.Context) ClusterShardOutput
- type ClusterState
- type GetClusterClusterEndpoint
- type GetClusterClusterEndpointArgs
- func (GetClusterClusterEndpointArgs) ElementType() reflect.Type
- func (i GetClusterClusterEndpointArgs) ToGetClusterClusterEndpointOutput() GetClusterClusterEndpointOutput
- func (i GetClusterClusterEndpointArgs) ToGetClusterClusterEndpointOutputWithContext(ctx context.Context) GetClusterClusterEndpointOutput
- type GetClusterClusterEndpointArray
- func (GetClusterClusterEndpointArray) ElementType() reflect.Type
- func (i GetClusterClusterEndpointArray) ToGetClusterClusterEndpointArrayOutput() GetClusterClusterEndpointArrayOutput
- func (i GetClusterClusterEndpointArray) ToGetClusterClusterEndpointArrayOutputWithContext(ctx context.Context) GetClusterClusterEndpointArrayOutput
- type GetClusterClusterEndpointArrayInput
- type GetClusterClusterEndpointArrayOutput
- func (GetClusterClusterEndpointArrayOutput) ElementType() reflect.Type
- func (o GetClusterClusterEndpointArrayOutput) Index(i pulumi.IntInput) GetClusterClusterEndpointOutput
- func (o GetClusterClusterEndpointArrayOutput) ToGetClusterClusterEndpointArrayOutput() GetClusterClusterEndpointArrayOutput
- func (o GetClusterClusterEndpointArrayOutput) ToGetClusterClusterEndpointArrayOutputWithContext(ctx context.Context) GetClusterClusterEndpointArrayOutput
- type GetClusterClusterEndpointInput
- type GetClusterClusterEndpointOutput
- func (o GetClusterClusterEndpointOutput) Address() pulumi.StringOutput
- func (GetClusterClusterEndpointOutput) ElementType() reflect.Type
- func (o GetClusterClusterEndpointOutput) Port() pulumi.IntOutput
- func (o GetClusterClusterEndpointOutput) ToGetClusterClusterEndpointOutput() GetClusterClusterEndpointOutput
- func (o GetClusterClusterEndpointOutput) ToGetClusterClusterEndpointOutputWithContext(ctx context.Context) GetClusterClusterEndpointOutput
- type GetClusterShard
- type GetClusterShardArgs
- type GetClusterShardArray
- type GetClusterShardArrayInput
- type GetClusterShardArrayOutput
- func (GetClusterShardArrayOutput) ElementType() reflect.Type
- func (o GetClusterShardArrayOutput) Index(i pulumi.IntInput) GetClusterShardOutput
- func (o GetClusterShardArrayOutput) ToGetClusterShardArrayOutput() GetClusterShardArrayOutput
- func (o GetClusterShardArrayOutput) ToGetClusterShardArrayOutputWithContext(ctx context.Context) GetClusterShardArrayOutput
- type GetClusterShardInput
- type GetClusterShardNode
- type GetClusterShardNodeArgs
- type GetClusterShardNodeArray
- type GetClusterShardNodeArrayInput
- type GetClusterShardNodeArrayOutput
- func (GetClusterShardNodeArrayOutput) ElementType() reflect.Type
- func (o GetClusterShardNodeArrayOutput) Index(i pulumi.IntInput) GetClusterShardNodeOutput
- func (o GetClusterShardNodeArrayOutput) ToGetClusterShardNodeArrayOutput() GetClusterShardNodeArrayOutput
- func (o GetClusterShardNodeArrayOutput) ToGetClusterShardNodeArrayOutputWithContext(ctx context.Context) GetClusterShardNodeArrayOutput
- type GetClusterShardNodeEndpoint
- type GetClusterShardNodeEndpointArgs
- func (GetClusterShardNodeEndpointArgs) ElementType() reflect.Type
- func (i GetClusterShardNodeEndpointArgs) ToGetClusterShardNodeEndpointOutput() GetClusterShardNodeEndpointOutput
- func (i GetClusterShardNodeEndpointArgs) ToGetClusterShardNodeEndpointOutputWithContext(ctx context.Context) GetClusterShardNodeEndpointOutput
- type GetClusterShardNodeEndpointArray
- func (GetClusterShardNodeEndpointArray) ElementType() reflect.Type
- func (i GetClusterShardNodeEndpointArray) ToGetClusterShardNodeEndpointArrayOutput() GetClusterShardNodeEndpointArrayOutput
- func (i GetClusterShardNodeEndpointArray) ToGetClusterShardNodeEndpointArrayOutputWithContext(ctx context.Context) GetClusterShardNodeEndpointArrayOutput
- type GetClusterShardNodeEndpointArrayInput
- type GetClusterShardNodeEndpointArrayOutput
- func (GetClusterShardNodeEndpointArrayOutput) ElementType() reflect.Type
- func (o GetClusterShardNodeEndpointArrayOutput) Index(i pulumi.IntInput) GetClusterShardNodeEndpointOutput
- func (o GetClusterShardNodeEndpointArrayOutput) ToGetClusterShardNodeEndpointArrayOutput() GetClusterShardNodeEndpointArrayOutput
- func (o GetClusterShardNodeEndpointArrayOutput) ToGetClusterShardNodeEndpointArrayOutputWithContext(ctx context.Context) GetClusterShardNodeEndpointArrayOutput
- type GetClusterShardNodeEndpointInput
- type GetClusterShardNodeEndpointOutput
- func (o GetClusterShardNodeEndpointOutput) Address() pulumi.StringOutput
- func (GetClusterShardNodeEndpointOutput) ElementType() reflect.Type
- func (o GetClusterShardNodeEndpointOutput) Port() pulumi.IntOutput
- func (o GetClusterShardNodeEndpointOutput) ToGetClusterShardNodeEndpointOutput() GetClusterShardNodeEndpointOutput
- func (o GetClusterShardNodeEndpointOutput) ToGetClusterShardNodeEndpointOutputWithContext(ctx context.Context) GetClusterShardNodeEndpointOutput
- type GetClusterShardNodeInput
- type GetClusterShardNodeOutput
- func (o GetClusterShardNodeOutput) AvailabilityZone() pulumi.StringOutput
- func (o GetClusterShardNodeOutput) CreateTime() pulumi.StringOutput
- func (GetClusterShardNodeOutput) ElementType() reflect.Type
- func (o GetClusterShardNodeOutput) Endpoints() GetClusterShardNodeEndpointArrayOutput
- func (o GetClusterShardNodeOutput) Name() pulumi.StringOutput
- func (o GetClusterShardNodeOutput) ToGetClusterShardNodeOutput() GetClusterShardNodeOutput
- func (o GetClusterShardNodeOutput) ToGetClusterShardNodeOutputWithContext(ctx context.Context) GetClusterShardNodeOutput
- type GetClusterShardOutput
- func (GetClusterShardOutput) ElementType() reflect.Type
- func (o GetClusterShardOutput) Name() pulumi.StringOutput
- func (o GetClusterShardOutput) Nodes() GetClusterShardNodeArrayOutput
- func (o GetClusterShardOutput) NumNodes() pulumi.IntOutput
- func (o GetClusterShardOutput) Slots() pulumi.StringOutput
- func (o GetClusterShardOutput) ToGetClusterShardOutput() GetClusterShardOutput
- func (o GetClusterShardOutput) ToGetClusterShardOutputWithContext(ctx context.Context) GetClusterShardOutput
- type GetParameterGroupParameter
- type GetParameterGroupParameterArgs
- func (GetParameterGroupParameterArgs) ElementType() reflect.Type
- func (i GetParameterGroupParameterArgs) ToGetParameterGroupParameterOutput() GetParameterGroupParameterOutput
- func (i GetParameterGroupParameterArgs) ToGetParameterGroupParameterOutputWithContext(ctx context.Context) GetParameterGroupParameterOutput
- type GetParameterGroupParameterArray
- func (GetParameterGroupParameterArray) ElementType() reflect.Type
- func (i GetParameterGroupParameterArray) ToGetParameterGroupParameterArrayOutput() GetParameterGroupParameterArrayOutput
- func (i GetParameterGroupParameterArray) ToGetParameterGroupParameterArrayOutputWithContext(ctx context.Context) GetParameterGroupParameterArrayOutput
- type GetParameterGroupParameterArrayInput
- type GetParameterGroupParameterArrayOutput
- func (GetParameterGroupParameterArrayOutput) ElementType() reflect.Type
- func (o GetParameterGroupParameterArrayOutput) Index(i pulumi.IntInput) GetParameterGroupParameterOutput
- func (o GetParameterGroupParameterArrayOutput) ToGetParameterGroupParameterArrayOutput() GetParameterGroupParameterArrayOutput
- func (o GetParameterGroupParameterArrayOutput) ToGetParameterGroupParameterArrayOutputWithContext(ctx context.Context) GetParameterGroupParameterArrayOutput
- type GetParameterGroupParameterInput
- type GetParameterGroupParameterOutput
- func (GetParameterGroupParameterOutput) ElementType() reflect.Type
- func (o GetParameterGroupParameterOutput) Name() pulumi.StringOutput
- func (o GetParameterGroupParameterOutput) ToGetParameterGroupParameterOutput() GetParameterGroupParameterOutput
- func (o GetParameterGroupParameterOutput) ToGetParameterGroupParameterOutputWithContext(ctx context.Context) GetParameterGroupParameterOutput
- func (o GetParameterGroupParameterOutput) Value() pulumi.StringOutput
- type GetSnapshotClusterConfiguration
- type GetSnapshotClusterConfigurationArgs
- func (GetSnapshotClusterConfigurationArgs) ElementType() reflect.Type
- func (i GetSnapshotClusterConfigurationArgs) ToGetSnapshotClusterConfigurationOutput() GetSnapshotClusterConfigurationOutput
- func (i GetSnapshotClusterConfigurationArgs) ToGetSnapshotClusterConfigurationOutputWithContext(ctx context.Context) GetSnapshotClusterConfigurationOutput
- type GetSnapshotClusterConfigurationArray
- func (GetSnapshotClusterConfigurationArray) ElementType() reflect.Type
- func (i GetSnapshotClusterConfigurationArray) ToGetSnapshotClusterConfigurationArrayOutput() GetSnapshotClusterConfigurationArrayOutput
- func (i GetSnapshotClusterConfigurationArray) ToGetSnapshotClusterConfigurationArrayOutputWithContext(ctx context.Context) GetSnapshotClusterConfigurationArrayOutput
- type GetSnapshotClusterConfigurationArrayInput
- type GetSnapshotClusterConfigurationArrayOutput
- func (GetSnapshotClusterConfigurationArrayOutput) ElementType() reflect.Type
- func (o GetSnapshotClusterConfigurationArrayOutput) Index(i pulumi.IntInput) GetSnapshotClusterConfigurationOutput
- func (o GetSnapshotClusterConfigurationArrayOutput) ToGetSnapshotClusterConfigurationArrayOutput() GetSnapshotClusterConfigurationArrayOutput
- func (o GetSnapshotClusterConfigurationArrayOutput) ToGetSnapshotClusterConfigurationArrayOutputWithContext(ctx context.Context) GetSnapshotClusterConfigurationArrayOutput
- type GetSnapshotClusterConfigurationInput
- type GetSnapshotClusterConfigurationOutput
- func (o GetSnapshotClusterConfigurationOutput) Description() pulumi.StringOutput
- func (GetSnapshotClusterConfigurationOutput) ElementType() reflect.Type
- func (o GetSnapshotClusterConfigurationOutput) EngineVersion() pulumi.StringOutput
- func (o GetSnapshotClusterConfigurationOutput) MaintenanceWindow() pulumi.StringOutput
- func (o GetSnapshotClusterConfigurationOutput) Name() pulumi.StringOutput
- func (o GetSnapshotClusterConfigurationOutput) NodeType() pulumi.StringOutput
- func (o GetSnapshotClusterConfigurationOutput) NumShards() pulumi.IntOutput
- func (o GetSnapshotClusterConfigurationOutput) ParameterGroupName() pulumi.StringOutput
- func (o GetSnapshotClusterConfigurationOutput) Port() pulumi.IntOutput
- func (o GetSnapshotClusterConfigurationOutput) SnapshotRetentionLimit() pulumi.IntOutput
- func (o GetSnapshotClusterConfigurationOutput) SnapshotWindow() pulumi.StringOutput
- func (o GetSnapshotClusterConfigurationOutput) SubnetGroupName() pulumi.StringOutput
- func (o GetSnapshotClusterConfigurationOutput) ToGetSnapshotClusterConfigurationOutput() GetSnapshotClusterConfigurationOutput
- func (o GetSnapshotClusterConfigurationOutput) ToGetSnapshotClusterConfigurationOutputWithContext(ctx context.Context) GetSnapshotClusterConfigurationOutput
- func (o GetSnapshotClusterConfigurationOutput) TopicArn() pulumi.StringOutput
- func (o GetSnapshotClusterConfigurationOutput) VpcId() pulumi.StringOutput
- type GetUserAuthenticationMode
- type GetUserAuthenticationModeArgs
- func (GetUserAuthenticationModeArgs) ElementType() reflect.Type
- func (i GetUserAuthenticationModeArgs) ToGetUserAuthenticationModeOutput() GetUserAuthenticationModeOutput
- func (i GetUserAuthenticationModeArgs) ToGetUserAuthenticationModeOutputWithContext(ctx context.Context) GetUserAuthenticationModeOutput
- type GetUserAuthenticationModeArray
- func (GetUserAuthenticationModeArray) ElementType() reflect.Type
- func (i GetUserAuthenticationModeArray) ToGetUserAuthenticationModeArrayOutput() GetUserAuthenticationModeArrayOutput
- func (i GetUserAuthenticationModeArray) ToGetUserAuthenticationModeArrayOutputWithContext(ctx context.Context) GetUserAuthenticationModeArrayOutput
- type GetUserAuthenticationModeArrayInput
- type GetUserAuthenticationModeArrayOutput
- func (GetUserAuthenticationModeArrayOutput) ElementType() reflect.Type
- func (o GetUserAuthenticationModeArrayOutput) Index(i pulumi.IntInput) GetUserAuthenticationModeOutput
- func (o GetUserAuthenticationModeArrayOutput) ToGetUserAuthenticationModeArrayOutput() GetUserAuthenticationModeArrayOutput
- func (o GetUserAuthenticationModeArrayOutput) ToGetUserAuthenticationModeArrayOutputWithContext(ctx context.Context) GetUserAuthenticationModeArrayOutput
- type GetUserAuthenticationModeInput
- type GetUserAuthenticationModeOutput
- func (GetUserAuthenticationModeOutput) ElementType() reflect.Type
- func (o GetUserAuthenticationModeOutput) PasswordCount() pulumi.IntOutput
- func (o GetUserAuthenticationModeOutput) ToGetUserAuthenticationModeOutput() GetUserAuthenticationModeOutput
- func (o GetUserAuthenticationModeOutput) ToGetUserAuthenticationModeOutputWithContext(ctx context.Context) GetUserAuthenticationModeOutput
- func (o GetUserAuthenticationModeOutput) Type() pulumi.StringOutput
- type LookupAclArgs
- type LookupAclOutputArgs
- type LookupAclResult
- type LookupAclResultOutput
- func (o LookupAclResultOutput) Arn() pulumi.StringOutput
- func (LookupAclResultOutput) ElementType() reflect.Type
- func (o LookupAclResultOutput) Id() pulumi.StringOutput
- func (o LookupAclResultOutput) MinimumEngineVersion() pulumi.StringOutput
- func (o LookupAclResultOutput) Name() pulumi.StringOutput
- func (o LookupAclResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupAclResultOutput) ToLookupAclResultOutput() LookupAclResultOutput
- func (o LookupAclResultOutput) ToLookupAclResultOutputWithContext(ctx context.Context) LookupAclResultOutput
- func (o LookupAclResultOutput) UserNames() pulumi.StringArrayOutput
- type LookupClusterArgs
- type LookupClusterOutputArgs
- type LookupClusterResult
- type LookupClusterResultOutput
- func (o LookupClusterResultOutput) AclName() pulumi.StringOutput
- func (o LookupClusterResultOutput) Arn() pulumi.StringOutput
- func (o LookupClusterResultOutput) AutoMinorVersionUpgrade() pulumi.BoolOutput
- func (o LookupClusterResultOutput) ClusterEndpoints() GetClusterClusterEndpointArrayOutput
- func (o LookupClusterResultOutput) DataTiering() pulumi.BoolOutput
- func (o LookupClusterResultOutput) Description() pulumi.StringOutput
- func (LookupClusterResultOutput) ElementType() reflect.Type
- func (o LookupClusterResultOutput) EnginePatchVersion() pulumi.StringOutput
- func (o LookupClusterResultOutput) EngineVersion() pulumi.StringOutput
- func (o LookupClusterResultOutput) FinalSnapshotName() pulumi.StringOutput
- func (o LookupClusterResultOutput) Id() pulumi.StringOutput
- func (o LookupClusterResultOutput) KmsKeyArn() pulumi.StringOutput
- func (o LookupClusterResultOutput) MaintenanceWindow() pulumi.StringOutput
- func (o LookupClusterResultOutput) Name() pulumi.StringOutput
- func (o LookupClusterResultOutput) NodeType() pulumi.StringOutput
- func (o LookupClusterResultOutput) NumReplicasPerShard() pulumi.IntOutput
- func (o LookupClusterResultOutput) NumShards() pulumi.IntOutput
- func (o LookupClusterResultOutput) ParameterGroupName() pulumi.StringOutput
- func (o LookupClusterResultOutput) Port() pulumi.IntOutput
- func (o LookupClusterResultOutput) SecurityGroupIds() pulumi.StringArrayOutput
- func (o LookupClusterResultOutput) Shards() GetClusterShardArrayOutput
- func (o LookupClusterResultOutput) SnapshotRetentionLimit() pulumi.IntOutput
- func (o LookupClusterResultOutput) SnapshotWindow() pulumi.StringOutput
- func (o LookupClusterResultOutput) SnsTopicArn() pulumi.StringOutput
- func (o LookupClusterResultOutput) SubnetGroupName() pulumi.StringOutput
- func (o LookupClusterResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupClusterResultOutput) TlsEnabled() pulumi.BoolOutput
- func (o LookupClusterResultOutput) ToLookupClusterResultOutput() LookupClusterResultOutput
- func (o LookupClusterResultOutput) ToLookupClusterResultOutputWithContext(ctx context.Context) LookupClusterResultOutput
- type LookupParameterGroupArgs
- type LookupParameterGroupOutputArgs
- type LookupParameterGroupResult
- type LookupParameterGroupResultOutput
- func (o LookupParameterGroupResultOutput) Arn() pulumi.StringOutput
- func (o LookupParameterGroupResultOutput) Description() pulumi.StringOutput
- func (LookupParameterGroupResultOutput) ElementType() reflect.Type
- func (o LookupParameterGroupResultOutput) Family() pulumi.StringOutput
- func (o LookupParameterGroupResultOutput) Id() pulumi.StringOutput
- func (o LookupParameterGroupResultOutput) Name() pulumi.StringOutput
- func (o LookupParameterGroupResultOutput) Parameters() GetParameterGroupParameterArrayOutput
- func (o LookupParameterGroupResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupParameterGroupResultOutput) ToLookupParameterGroupResultOutput() LookupParameterGroupResultOutput
- func (o LookupParameterGroupResultOutput) ToLookupParameterGroupResultOutputWithContext(ctx context.Context) LookupParameterGroupResultOutput
- type LookupSnapshotArgs
- type LookupSnapshotOutputArgs
- type LookupSnapshotResult
- type LookupSnapshotResultOutput
- func (o LookupSnapshotResultOutput) Arn() pulumi.StringOutput
- func (o LookupSnapshotResultOutput) ClusterConfigurations() GetSnapshotClusterConfigurationArrayOutput
- func (o LookupSnapshotResultOutput) ClusterName() pulumi.StringOutput
- func (LookupSnapshotResultOutput) ElementType() reflect.Type
- func (o LookupSnapshotResultOutput) Id() pulumi.StringOutput
- func (o LookupSnapshotResultOutput) KmsKeyArn() pulumi.StringOutput
- func (o LookupSnapshotResultOutput) Name() pulumi.StringOutput
- func (o LookupSnapshotResultOutput) Source() pulumi.StringOutput
- func (o LookupSnapshotResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutput() LookupSnapshotResultOutput
- func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutputWithContext(ctx context.Context) LookupSnapshotResultOutput
- 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) SubnetIds() pulumi.StringArrayOutput
- func (o LookupSubnetGroupResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupSubnetGroupResultOutput) ToLookupSubnetGroupResultOutput() LookupSubnetGroupResultOutput
- func (o LookupSubnetGroupResultOutput) ToLookupSubnetGroupResultOutputWithContext(ctx context.Context) LookupSubnetGroupResultOutput
- func (o LookupSubnetGroupResultOutput) VpcId() pulumi.StringOutput
- type LookupUserArgs
- type LookupUserOutputArgs
- type LookupUserResult
- type LookupUserResultOutput
- func (o LookupUserResultOutput) AccessString() pulumi.StringOutput
- func (o LookupUserResultOutput) Arn() pulumi.StringOutput
- func (o LookupUserResultOutput) AuthenticationModes() GetUserAuthenticationModeArrayOutput
- func (LookupUserResultOutput) ElementType() reflect.Type
- func (o LookupUserResultOutput) Id() pulumi.StringOutput
- func (o LookupUserResultOutput) MinimumEngineVersion() pulumi.StringOutput
- func (o LookupUserResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupUserResultOutput) ToLookupUserResultOutput() LookupUserResultOutput
- func (o LookupUserResultOutput) ToLookupUserResultOutputWithContext(ctx context.Context) LookupUserResultOutput
- func (o LookupUserResultOutput) UserName() pulumi.StringOutput
- 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.StringPtrOutput
- 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.StringMapOutputdeprecated
- 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 (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 Snapshot
- type SnapshotArgs
- type SnapshotArray
- type SnapshotArrayInput
- type SnapshotArrayOutput
- type SnapshotClusterConfiguration
- type SnapshotClusterConfigurationArgs
- func (SnapshotClusterConfigurationArgs) ElementType() reflect.Type
- func (i SnapshotClusterConfigurationArgs) ToSnapshotClusterConfigurationOutput() SnapshotClusterConfigurationOutput
- func (i SnapshotClusterConfigurationArgs) ToSnapshotClusterConfigurationOutputWithContext(ctx context.Context) SnapshotClusterConfigurationOutput
- type SnapshotClusterConfigurationArray
- func (SnapshotClusterConfigurationArray) ElementType() reflect.Type
- func (i SnapshotClusterConfigurationArray) ToSnapshotClusterConfigurationArrayOutput() SnapshotClusterConfigurationArrayOutput
- func (i SnapshotClusterConfigurationArray) ToSnapshotClusterConfigurationArrayOutputWithContext(ctx context.Context) SnapshotClusterConfigurationArrayOutput
- type SnapshotClusterConfigurationArrayInput
- type SnapshotClusterConfigurationArrayOutput
- func (SnapshotClusterConfigurationArrayOutput) ElementType() reflect.Type
- func (o SnapshotClusterConfigurationArrayOutput) Index(i pulumi.IntInput) SnapshotClusterConfigurationOutput
- func (o SnapshotClusterConfigurationArrayOutput) ToSnapshotClusterConfigurationArrayOutput() SnapshotClusterConfigurationArrayOutput
- func (o SnapshotClusterConfigurationArrayOutput) ToSnapshotClusterConfigurationArrayOutputWithContext(ctx context.Context) SnapshotClusterConfigurationArrayOutput
- type SnapshotClusterConfigurationInput
- type SnapshotClusterConfigurationOutput
- func (o SnapshotClusterConfigurationOutput) Description() pulumi.StringPtrOutput
- func (SnapshotClusterConfigurationOutput) ElementType() reflect.Type
- func (o SnapshotClusterConfigurationOutput) EngineVersion() pulumi.StringPtrOutput
- func (o SnapshotClusterConfigurationOutput) MaintenanceWindow() pulumi.StringPtrOutput
- func (o SnapshotClusterConfigurationOutput) Name() pulumi.StringPtrOutput
- func (o SnapshotClusterConfigurationOutput) NodeType() pulumi.StringPtrOutput
- func (o SnapshotClusterConfigurationOutput) NumShards() pulumi.IntPtrOutput
- func (o SnapshotClusterConfigurationOutput) ParameterGroupName() pulumi.StringPtrOutput
- func (o SnapshotClusterConfigurationOutput) Port() pulumi.IntPtrOutput
- func (o SnapshotClusterConfigurationOutput) SnapshotRetentionLimit() pulumi.IntPtrOutput
- func (o SnapshotClusterConfigurationOutput) SnapshotWindow() pulumi.StringPtrOutput
- func (o SnapshotClusterConfigurationOutput) SubnetGroupName() pulumi.StringPtrOutput
- func (o SnapshotClusterConfigurationOutput) ToSnapshotClusterConfigurationOutput() SnapshotClusterConfigurationOutput
- func (o SnapshotClusterConfigurationOutput) ToSnapshotClusterConfigurationOutputWithContext(ctx context.Context) SnapshotClusterConfigurationOutput
- func (o SnapshotClusterConfigurationOutput) TopicArn() pulumi.StringPtrOutput
- func (o SnapshotClusterConfigurationOutput) VpcId() pulumi.StringPtrOutput
- type SnapshotInput
- type SnapshotMap
- type SnapshotMapInput
- type SnapshotMapOutput
- type SnapshotOutput
- func (o SnapshotOutput) Arn() pulumi.StringOutput
- func (o SnapshotOutput) ClusterConfigurations() SnapshotClusterConfigurationArrayOutput
- func (o SnapshotOutput) ClusterName() pulumi.StringOutput
- func (SnapshotOutput) ElementType() reflect.Type
- func (o SnapshotOutput) KmsKeyArn() pulumi.StringPtrOutput
- func (o SnapshotOutput) Name() pulumi.StringOutput
- func (o SnapshotOutput) NamePrefix() pulumi.StringOutput
- func (o SnapshotOutput) Source() pulumi.StringOutput
- func (o SnapshotOutput) Tags() pulumi.StringMapOutput
- func (o SnapshotOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o SnapshotOutput) ToSnapshotOutput() SnapshotOutput
- func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
- type SnapshotState
- 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.StringPtrOutput
- 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) Tags() pulumi.StringMapOutput
- func (o SubnetGroupOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o SubnetGroupOutput) ToSubnetGroupOutput() SubnetGroupOutput
- func (o SubnetGroupOutput) ToSubnetGroupOutputWithContext(ctx context.Context) SubnetGroupOutput
- func (o SubnetGroupOutput) VpcId() pulumi.StringOutput
- type SubnetGroupState
- type User
- type UserArgs
- type UserArray
- type UserArrayInput
- type UserArrayOutput
- type UserAuthenticationMode
- type UserAuthenticationModeArgs
- func (UserAuthenticationModeArgs) ElementType() reflect.Type
- func (i UserAuthenticationModeArgs) ToUserAuthenticationModeOutput() UserAuthenticationModeOutput
- func (i UserAuthenticationModeArgs) ToUserAuthenticationModeOutputWithContext(ctx context.Context) UserAuthenticationModeOutput
- func (i UserAuthenticationModeArgs) ToUserAuthenticationModePtrOutput() UserAuthenticationModePtrOutput
- func (i UserAuthenticationModeArgs) ToUserAuthenticationModePtrOutputWithContext(ctx context.Context) UserAuthenticationModePtrOutput
- type UserAuthenticationModeInput
- type UserAuthenticationModeOutput
- func (UserAuthenticationModeOutput) ElementType() reflect.Type
- func (o UserAuthenticationModeOutput) PasswordCount() pulumi.IntPtrOutput
- func (o UserAuthenticationModeOutput) Passwords() pulumi.StringArrayOutput
- func (o UserAuthenticationModeOutput) ToUserAuthenticationModeOutput() UserAuthenticationModeOutput
- func (o UserAuthenticationModeOutput) ToUserAuthenticationModeOutputWithContext(ctx context.Context) UserAuthenticationModeOutput
- func (o UserAuthenticationModeOutput) ToUserAuthenticationModePtrOutput() UserAuthenticationModePtrOutput
- func (o UserAuthenticationModeOutput) ToUserAuthenticationModePtrOutputWithContext(ctx context.Context) UserAuthenticationModePtrOutput
- func (o UserAuthenticationModeOutput) Type() pulumi.StringOutput
- type UserAuthenticationModePtrInput
- type UserAuthenticationModePtrOutput
- func (o UserAuthenticationModePtrOutput) Elem() UserAuthenticationModeOutput
- func (UserAuthenticationModePtrOutput) ElementType() reflect.Type
- func (o UserAuthenticationModePtrOutput) PasswordCount() pulumi.IntPtrOutput
- func (o UserAuthenticationModePtrOutput) Passwords() pulumi.StringArrayOutput
- func (o UserAuthenticationModePtrOutput) ToUserAuthenticationModePtrOutput() UserAuthenticationModePtrOutput
- func (o UserAuthenticationModePtrOutput) ToUserAuthenticationModePtrOutputWithContext(ctx context.Context) UserAuthenticationModePtrOutput
- func (o UserAuthenticationModePtrOutput) Type() pulumi.StringPtrOutput
- type UserInput
- type UserMap
- type UserMapInput
- type UserMapOutput
- type UserOutput
- func (o UserOutput) AccessString() pulumi.StringOutput
- func (o UserOutput) Arn() pulumi.StringOutput
- func (o UserOutput) AuthenticationMode() UserAuthenticationModeOutput
- func (UserOutput) ElementType() reflect.Type
- func (o UserOutput) MinimumEngineVersion() pulumi.StringOutput
- func (o UserOutput) Tags() pulumi.StringMapOutput
- func (o UserOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o UserOutput) ToUserOutput() UserOutput
- func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput
- func (o UserOutput) UserName() pulumi.StringOutput
- type UserState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Acl ¶
type Acl struct { pulumi.CustomResourceState // The ARN of the ACL. Arn pulumi.StringOutput `pulumi:"arn"` // The minimum engine version supported by the ACL. MinimumEngineVersion pulumi.StringOutput `pulumi:"minimumEngineVersion"` // Name of the ACL. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. Name pulumi.StringOutput `pulumi:"name"` // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringOutput `pulumi:"namePrefix"` // 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. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // Set of MemoryDB user names to be included in this ACL. UserNames pulumi.StringArrayOutput `pulumi:"userNames"` }
Provides a MemoryDB ACL.
More information about users and ACL-s can be found in the [MemoryDB User Guide](https://docs.aws.amazon.com/memorydb/latest/devguide/clusters.acls.html).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/memorydb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := memorydb.NewAcl(ctx, "example", &memorydb.AclArgs{ UserNames: pulumi.StringArray{ pulumi.String("my-user-1"), pulumi.String("my-user-2"), }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import an ACL using the `name`. For example:
```sh
$ pulumi import aws:memorydb/acl:Acl example my-acl
```
func GetAcl ¶
func GetAcl(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AclState, opts ...pulumi.ResourceOption) (*Acl, error)
GetAcl gets an existing Acl 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 NewAcl ¶
func NewAcl(ctx *pulumi.Context, name string, args *AclArgs, opts ...pulumi.ResourceOption) (*Acl, error)
NewAcl registers a new resource with the given unique name, arguments, and options.
func (*Acl) ElementType ¶
func (*Acl) ToAclOutput ¶
type AclArgs ¶
type AclArgs struct { // Name of the ACL. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix 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 // Set of MemoryDB user names to be included in this ACL. UserNames pulumi.StringArrayInput }
The set of arguments for constructing a Acl resource.
func (AclArgs) ElementType ¶
type AclArray ¶
type AclArray []AclInput
func (AclArray) ElementType ¶
func (AclArray) ToAclArrayOutput ¶
func (i AclArray) ToAclArrayOutput() AclArrayOutput
func (AclArray) ToAclArrayOutputWithContext ¶
func (i AclArray) ToAclArrayOutputWithContext(ctx context.Context) AclArrayOutput
type AclArrayInput ¶
type AclArrayInput interface { pulumi.Input ToAclArrayOutput() AclArrayOutput ToAclArrayOutputWithContext(context.Context) AclArrayOutput }
AclArrayInput is an input type that accepts AclArray and AclArrayOutput values. You can construct a concrete instance of `AclArrayInput` via:
AclArray{ AclArgs{...} }
type AclArrayOutput ¶
type AclArrayOutput struct{ *pulumi.OutputState }
func (AclArrayOutput) ElementType ¶
func (AclArrayOutput) ElementType() reflect.Type
func (AclArrayOutput) ToAclArrayOutput ¶
func (o AclArrayOutput) ToAclArrayOutput() AclArrayOutput
func (AclArrayOutput) ToAclArrayOutputWithContext ¶
func (o AclArrayOutput) ToAclArrayOutputWithContext(ctx context.Context) AclArrayOutput
type AclMap ¶
func (AclMap) ElementType ¶
func (AclMap) ToAclMapOutput ¶
func (i AclMap) ToAclMapOutput() AclMapOutput
func (AclMap) ToAclMapOutputWithContext ¶
func (i AclMap) ToAclMapOutputWithContext(ctx context.Context) AclMapOutput
type AclMapInput ¶
type AclMapInput interface { pulumi.Input ToAclMapOutput() AclMapOutput ToAclMapOutputWithContext(context.Context) AclMapOutput }
AclMapInput is an input type that accepts AclMap and AclMapOutput values. You can construct a concrete instance of `AclMapInput` via:
AclMap{ "key": AclArgs{...} }
type AclMapOutput ¶
type AclMapOutput struct{ *pulumi.OutputState }
func (AclMapOutput) ElementType ¶
func (AclMapOutput) ElementType() reflect.Type
func (AclMapOutput) MapIndex ¶
func (o AclMapOutput) MapIndex(k pulumi.StringInput) AclOutput
func (AclMapOutput) ToAclMapOutput ¶
func (o AclMapOutput) ToAclMapOutput() AclMapOutput
func (AclMapOutput) ToAclMapOutputWithContext ¶
func (o AclMapOutput) ToAclMapOutputWithContext(ctx context.Context) AclMapOutput
type AclOutput ¶
type AclOutput struct{ *pulumi.OutputState }
func (AclOutput) ElementType ¶
func (AclOutput) MinimumEngineVersion ¶
func (o AclOutput) MinimumEngineVersion() pulumi.StringOutput
The minimum engine version supported by the ACL.
func (AclOutput) Name ¶
func (o AclOutput) Name() pulumi.StringOutput
Name of the ACL. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.
func (AclOutput) NamePrefix ¶
func (o AclOutput) NamePrefix() pulumi.StringOutput
Creates a unique name beginning with the specified prefix. Conflicts with `name`.
func (AclOutput) Tags ¶
func (o AclOutput) 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 (AclOutput) TagsAll
deprecated
func (o AclOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (AclOutput) ToAclOutput ¶
func (AclOutput) ToAclOutputWithContext ¶
func (AclOutput) UserNames ¶
func (o AclOutput) UserNames() pulumi.StringArrayOutput
Set of MemoryDB user names to be included in this ACL.
type AclState ¶
type AclState struct { // The ARN of the ACL. Arn pulumi.StringPtrInput // The minimum engine version supported by the ACL. MinimumEngineVersion pulumi.StringPtrInput // Name of the ACL. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix 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. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput // Set of MemoryDB user names to be included in this ACL. UserNames pulumi.StringArrayInput }
func (AclState) ElementType ¶
type Cluster ¶
type Cluster struct { pulumi.CustomResourceState // The name of the Access Control List to associate with the cluster. AclName pulumi.StringOutput `pulumi:"aclName"` // The ARN of the cluster. Arn pulumi.StringOutput `pulumi:"arn"` // When set to `true`, the cluster will automatically receive minor engine version upgrades after launch. Defaults to `true`. AutoMinorVersionUpgrade pulumi.BoolPtrOutput `pulumi:"autoMinorVersionUpgrade"` ClusterEndpoints ClusterClusterEndpointArrayOutput `pulumi:"clusterEndpoints"` // Enables data tiering. This option is not supported by all instance types. For more information, see [Data tiering](https://docs.aws.amazon.com/memorydb/latest/devguide/data-tiering.html). DataTiering pulumi.BoolPtrOutput `pulumi:"dataTiering"` // Description for the cluster. Description pulumi.StringPtrOutput `pulumi:"description"` // Patch version number of the Redis engine used by the cluster. EnginePatchVersion pulumi.StringOutput `pulumi:"enginePatchVersion"` // Version number of the Redis engine to be used for the cluster. Downgrades are not supported. EngineVersion pulumi.StringOutput `pulumi:"engineVersion"` // Name of the final cluster snapshot to be created when this resource is deleted. If omitted, no final snapshot will be made. FinalSnapshotName pulumi.StringPtrOutput `pulumi:"finalSnapshotName"` // ARN of the KMS key used to encrypt the cluster at rest. KmsKeyArn pulumi.StringPtrOutput `pulumi:"kmsKeyArn"` // Specifies the weekly time range during which maintenance on the cluster is performed. Specify as a range in the format `ddd:hh24:mi-ddd:hh24:mi` (24H Clock UTC). The minimum maintenance window is a 60 minute period. Example: `sun:23:00-mon:01:30`. MaintenanceWindow pulumi.StringOutput `pulumi:"maintenanceWindow"` // Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. Name pulumi.StringOutput `pulumi:"name"` // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringOutput `pulumi:"namePrefix"` // The compute and memory capacity of the nodes in the cluster. See AWS documentation on [supported node types](https://docs.aws.amazon.com/memorydb/latest/devguide/nodes.supportedtypes.html) as well as [vertical scaling](https://docs.aws.amazon.com/memorydb/latest/devguide/cluster-vertical-scaling.html). // // The following arguments are optional: NodeType pulumi.StringOutput `pulumi:"nodeType"` // The number of replicas to apply to each shard, up to a maximum of 5. Defaults to `1` (i.e. 2 nodes per shard). NumReplicasPerShard pulumi.IntPtrOutput `pulumi:"numReplicasPerShard"` // The number of shards in the cluster. Defaults to `1`. NumShards pulumi.IntPtrOutput `pulumi:"numShards"` // The name of the parameter group associated with the cluster. ParameterGroupName pulumi.StringOutput `pulumi:"parameterGroupName"` // The port number on which each of the nodes accepts connections. Defaults to `6379`. Port pulumi.IntOutput `pulumi:"port"` // Set of VPC Security Group ID-s to associate with this cluster. SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"` // Set of shards in this cluster. Shards ClusterShardArrayOutput `pulumi:"shards"` // List of ARN-s that uniquely identify RDB snapshot files stored in S3. The snapshot files will be used to populate the new cluster. Object names in the ARN-s cannot contain any commas. SnapshotArns pulumi.StringArrayOutput `pulumi:"snapshotArns"` // The name of a snapshot from which to restore data into the new cluster. SnapshotName pulumi.StringPtrOutput `pulumi:"snapshotName"` // The number of days for which MemoryDB retains automatic snapshots before deleting them. When set to `0`, automatic backups are disabled. Defaults to `0`. SnapshotRetentionLimit pulumi.IntOutput `pulumi:"snapshotRetentionLimit"` // The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: `05:00-09:00`. SnapshotWindow pulumi.StringOutput `pulumi:"snapshotWindow"` // ARN of the SNS topic to which cluster notifications are sent. SnsTopicArn pulumi.StringPtrOutput `pulumi:"snsTopicArn"` // The name of the subnet group to be used for the cluster. Defaults to a subnet group consisting of default VPC subnets. SubnetGroupName pulumi.StringOutput `pulumi:"subnetGroupName"` // 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. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // A flag to enable in-transit encryption on the cluster. When set to `false`, the `aclName` must be `open-access`. Defaults to `true`. TlsEnabled pulumi.BoolPtrOutput `pulumi:"tlsEnabled"` }
Provides a MemoryDB Cluster.
More information about MemoryDB can be found in the [Developer Guide](https://docs.aws.amazon.com/memorydb/latest/devguide/what-is-memorydb-for-redis.html).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/memorydb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := memorydb.NewCluster(ctx, "example", &memorydb.ClusterArgs{ AclName: pulumi.String("open-access"), NodeType: pulumi.String("db.t4g.small"), NumShards: pulumi.Int(2), SecurityGroupIds: pulumi.StringArray{ aws_security_group.Example.Id, }, SnapshotRetentionLimit: pulumi.Int(7), SubnetGroupName: pulumi.Any(aws_memorydb_subnet_group.Example.Id), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import a cluster using the `name`. For example:
```sh
$ pulumi import aws:memorydb/cluster:Cluster example my-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 ClusterArgs ¶
type ClusterArgs struct { // The name of the Access Control List to associate with the cluster. AclName pulumi.StringInput // When set to `true`, the cluster will automatically receive minor engine version upgrades after launch. Defaults to `true`. AutoMinorVersionUpgrade pulumi.BoolPtrInput // Enables data tiering. This option is not supported by all instance types. For more information, see [Data tiering](https://docs.aws.amazon.com/memorydb/latest/devguide/data-tiering.html). DataTiering pulumi.BoolPtrInput // Description for the cluster. Description pulumi.StringPtrInput // Version number of the Redis engine to be used for the cluster. Downgrades are not supported. EngineVersion pulumi.StringPtrInput // Name of the final cluster snapshot to be created when this resource is deleted. If omitted, no final snapshot will be made. FinalSnapshotName pulumi.StringPtrInput // ARN of the KMS key used to encrypt the cluster at rest. KmsKeyArn pulumi.StringPtrInput // Specifies the weekly time range during which maintenance on the cluster is performed. Specify as a range in the format `ddd:hh24:mi-ddd:hh24:mi` (24H Clock UTC). The minimum maintenance window is a 60 minute period. Example: `sun:23:00-mon:01:30`. MaintenanceWindow pulumi.StringPtrInput // Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrInput // The compute and memory capacity of the nodes in the cluster. See AWS documentation on [supported node types](https://docs.aws.amazon.com/memorydb/latest/devguide/nodes.supportedtypes.html) as well as [vertical scaling](https://docs.aws.amazon.com/memorydb/latest/devguide/cluster-vertical-scaling.html). // // The following arguments are optional: NodeType pulumi.StringInput // The number of replicas to apply to each shard, up to a maximum of 5. Defaults to `1` (i.e. 2 nodes per shard). NumReplicasPerShard pulumi.IntPtrInput // The number of shards in the cluster. Defaults to `1`. NumShards pulumi.IntPtrInput // The name of the parameter group associated with the cluster. ParameterGroupName pulumi.StringPtrInput // The port number on which each of the nodes accepts connections. Defaults to `6379`. Port pulumi.IntPtrInput // Set of VPC Security Group ID-s to associate with this cluster. SecurityGroupIds pulumi.StringArrayInput // List of ARN-s that uniquely identify RDB snapshot files stored in S3. The snapshot files will be used to populate the new cluster. Object names in the ARN-s cannot contain any commas. SnapshotArns pulumi.StringArrayInput // The name of a snapshot from which to restore data into the new cluster. SnapshotName pulumi.StringPtrInput // The number of days for which MemoryDB retains automatic snapshots before deleting them. When set to `0`, automatic backups are disabled. Defaults to `0`. SnapshotRetentionLimit pulumi.IntPtrInput // The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: `05:00-09:00`. SnapshotWindow pulumi.StringPtrInput // ARN of the SNS topic to which cluster notifications are sent. SnsTopicArn pulumi.StringPtrInput // The name of the subnet group to be used for the cluster. Defaults to a subnet group consisting of default VPC subnets. SubnetGroupName 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 flag to enable in-transit encryption on the cluster. When set to `false`, the `aclName` must be `open-access`. Defaults to `true`. TlsEnabled pulumi.BoolPtrInput }
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 ClusterClusterEndpoint ¶
type ClusterClusterEndpointArgs ¶
type ClusterClusterEndpointArgs struct { // DNS hostname of the node. Address pulumi.StringPtrInput `pulumi:"address"` // The port number on which each of the nodes accepts connections. Defaults to `6379`. Port pulumi.IntPtrInput `pulumi:"port"` }
func (ClusterClusterEndpointArgs) ElementType ¶
func (ClusterClusterEndpointArgs) ElementType() reflect.Type
func (ClusterClusterEndpointArgs) ToClusterClusterEndpointOutput ¶
func (i ClusterClusterEndpointArgs) ToClusterClusterEndpointOutput() ClusterClusterEndpointOutput
func (ClusterClusterEndpointArgs) ToClusterClusterEndpointOutputWithContext ¶
func (i ClusterClusterEndpointArgs) ToClusterClusterEndpointOutputWithContext(ctx context.Context) ClusterClusterEndpointOutput
type ClusterClusterEndpointArray ¶
type ClusterClusterEndpointArray []ClusterClusterEndpointInput
func (ClusterClusterEndpointArray) ElementType ¶
func (ClusterClusterEndpointArray) ElementType() reflect.Type
func (ClusterClusterEndpointArray) ToClusterClusterEndpointArrayOutput ¶
func (i ClusterClusterEndpointArray) ToClusterClusterEndpointArrayOutput() ClusterClusterEndpointArrayOutput
func (ClusterClusterEndpointArray) ToClusterClusterEndpointArrayOutputWithContext ¶
func (i ClusterClusterEndpointArray) ToClusterClusterEndpointArrayOutputWithContext(ctx context.Context) ClusterClusterEndpointArrayOutput
type ClusterClusterEndpointArrayInput ¶
type ClusterClusterEndpointArrayInput interface { pulumi.Input ToClusterClusterEndpointArrayOutput() ClusterClusterEndpointArrayOutput ToClusterClusterEndpointArrayOutputWithContext(context.Context) ClusterClusterEndpointArrayOutput }
ClusterClusterEndpointArrayInput is an input type that accepts ClusterClusterEndpointArray and ClusterClusterEndpointArrayOutput values. You can construct a concrete instance of `ClusterClusterEndpointArrayInput` via:
ClusterClusterEndpointArray{ ClusterClusterEndpointArgs{...} }
type ClusterClusterEndpointArrayOutput ¶
type ClusterClusterEndpointArrayOutput struct{ *pulumi.OutputState }
func (ClusterClusterEndpointArrayOutput) ElementType ¶
func (ClusterClusterEndpointArrayOutput) ElementType() reflect.Type
func (ClusterClusterEndpointArrayOutput) Index ¶
func (o ClusterClusterEndpointArrayOutput) Index(i pulumi.IntInput) ClusterClusterEndpointOutput
func (ClusterClusterEndpointArrayOutput) ToClusterClusterEndpointArrayOutput ¶
func (o ClusterClusterEndpointArrayOutput) ToClusterClusterEndpointArrayOutput() ClusterClusterEndpointArrayOutput
func (ClusterClusterEndpointArrayOutput) ToClusterClusterEndpointArrayOutputWithContext ¶
func (o ClusterClusterEndpointArrayOutput) ToClusterClusterEndpointArrayOutputWithContext(ctx context.Context) ClusterClusterEndpointArrayOutput
type ClusterClusterEndpointInput ¶
type ClusterClusterEndpointInput interface { pulumi.Input ToClusterClusterEndpointOutput() ClusterClusterEndpointOutput ToClusterClusterEndpointOutputWithContext(context.Context) ClusterClusterEndpointOutput }
ClusterClusterEndpointInput is an input type that accepts ClusterClusterEndpointArgs and ClusterClusterEndpointOutput values. You can construct a concrete instance of `ClusterClusterEndpointInput` via:
ClusterClusterEndpointArgs{...}
type ClusterClusterEndpointOutput ¶
type ClusterClusterEndpointOutput struct{ *pulumi.OutputState }
func (ClusterClusterEndpointOutput) Address ¶
func (o ClusterClusterEndpointOutput) Address() pulumi.StringPtrOutput
DNS hostname of the node.
func (ClusterClusterEndpointOutput) ElementType ¶
func (ClusterClusterEndpointOutput) ElementType() reflect.Type
func (ClusterClusterEndpointOutput) Port ¶
func (o ClusterClusterEndpointOutput) Port() pulumi.IntPtrOutput
The port number on which each of the nodes accepts connections. Defaults to `6379`.
func (ClusterClusterEndpointOutput) ToClusterClusterEndpointOutput ¶
func (o ClusterClusterEndpointOutput) ToClusterClusterEndpointOutput() ClusterClusterEndpointOutput
func (ClusterClusterEndpointOutput) ToClusterClusterEndpointOutputWithContext ¶
func (o ClusterClusterEndpointOutput) ToClusterClusterEndpointOutputWithContext(ctx context.Context) ClusterClusterEndpointOutput
type ClusterInput ¶
type ClusterInput interface { pulumi.Input ToClusterOutput() ClusterOutput ToClusterOutputWithContext(ctx context.Context) ClusterOutput }
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) AclName ¶
func (o ClusterOutput) AclName() pulumi.StringOutput
The name of the Access Control List to associate with the cluster.
func (ClusterOutput) AutoMinorVersionUpgrade ¶
func (o ClusterOutput) AutoMinorVersionUpgrade() pulumi.BoolPtrOutput
When set to `true`, the cluster will automatically receive minor engine version upgrades after launch. Defaults to `true`.
func (ClusterOutput) ClusterEndpoints ¶
func (o ClusterOutput) ClusterEndpoints() ClusterClusterEndpointArrayOutput
func (ClusterOutput) DataTiering ¶
func (o ClusterOutput) DataTiering() pulumi.BoolPtrOutput
Enables data tiering. This option is not supported by all instance types. For more information, see [Data tiering](https://docs.aws.amazon.com/memorydb/latest/devguide/data-tiering.html).
func (ClusterOutput) Description ¶
func (o ClusterOutput) Description() pulumi.StringPtrOutput
Description for the cluster.
func (ClusterOutput) ElementType ¶
func (ClusterOutput) ElementType() reflect.Type
func (ClusterOutput) EnginePatchVersion ¶
func (o ClusterOutput) EnginePatchVersion() pulumi.StringOutput
Patch version number of the Redis engine used by the cluster.
func (ClusterOutput) EngineVersion ¶
func (o ClusterOutput) EngineVersion() pulumi.StringOutput
Version number of the Redis engine to be used for the cluster. Downgrades are not supported.
func (ClusterOutput) FinalSnapshotName ¶
func (o ClusterOutput) FinalSnapshotName() pulumi.StringPtrOutput
Name of the final cluster snapshot to be created when this resource is deleted. If omitted, no final snapshot will be made.
func (ClusterOutput) KmsKeyArn ¶
func (o ClusterOutput) KmsKeyArn() pulumi.StringPtrOutput
ARN of the KMS key used to encrypt the cluster at rest.
func (ClusterOutput) MaintenanceWindow ¶
func (o ClusterOutput) MaintenanceWindow() pulumi.StringOutput
Specifies the weekly time range during which maintenance on the cluster is performed. Specify as a range in the format `ddd:hh24:mi-ddd:hh24:mi` (24H Clock UTC). The minimum maintenance window is a 60 minute period. Example: `sun:23:00-mon:01:30`.
func (ClusterOutput) Name ¶
func (o ClusterOutput) Name() pulumi.StringOutput
Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.
func (ClusterOutput) NamePrefix ¶
func (o ClusterOutput) NamePrefix() pulumi.StringOutput
Creates a unique name beginning with the specified prefix. Conflicts with `name`.
func (ClusterOutput) NodeType ¶
func (o ClusterOutput) NodeType() pulumi.StringOutput
The compute and memory capacity of the nodes in the cluster. See AWS documentation on [supported node types](https://docs.aws.amazon.com/memorydb/latest/devguide/nodes.supportedtypes.html) as well as [vertical scaling](https://docs.aws.amazon.com/memorydb/latest/devguide/cluster-vertical-scaling.html).
The following arguments are optional:
func (ClusterOutput) NumReplicasPerShard ¶
func (o ClusterOutput) NumReplicasPerShard() pulumi.IntPtrOutput
The number of replicas to apply to each shard, up to a maximum of 5. Defaults to `1` (i.e. 2 nodes per shard).
func (ClusterOutput) NumShards ¶
func (o ClusterOutput) NumShards() pulumi.IntPtrOutput
The number of shards in the cluster. Defaults to `1`.
func (ClusterOutput) ParameterGroupName ¶
func (o ClusterOutput) ParameterGroupName() pulumi.StringOutput
The name of the parameter group associated with the cluster.
func (ClusterOutput) Port ¶
func (o ClusterOutput) Port() pulumi.IntOutput
The port number on which each of the nodes accepts connections. Defaults to `6379`.
func (ClusterOutput) SecurityGroupIds ¶
func (o ClusterOutput) SecurityGroupIds() pulumi.StringArrayOutput
Set of VPC Security Group ID-s to associate with this cluster.
func (ClusterOutput) Shards ¶
func (o ClusterOutput) Shards() ClusterShardArrayOutput
Set of shards in this cluster.
func (ClusterOutput) SnapshotArns ¶
func (o ClusterOutput) SnapshotArns() pulumi.StringArrayOutput
List of ARN-s that uniquely identify RDB snapshot files stored in S3. The snapshot files will be used to populate the new cluster. Object names in the ARN-s cannot contain any commas.
func (ClusterOutput) SnapshotName ¶
func (o ClusterOutput) SnapshotName() pulumi.StringPtrOutput
The name of a snapshot from which to restore data into the new cluster.
func (ClusterOutput) SnapshotRetentionLimit ¶
func (o ClusterOutput) SnapshotRetentionLimit() pulumi.IntOutput
The number of days for which MemoryDB retains automatic snapshots before deleting them. When set to `0`, automatic backups are disabled. Defaults to `0`.
func (ClusterOutput) SnapshotWindow ¶
func (o ClusterOutput) SnapshotWindow() pulumi.StringOutput
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: `05:00-09:00`.
func (ClusterOutput) SnsTopicArn ¶
func (o ClusterOutput) SnsTopicArn() pulumi.StringPtrOutput
ARN of the SNS topic to which cluster notifications are sent.
func (ClusterOutput) SubnetGroupName ¶
func (o ClusterOutput) SubnetGroupName() pulumi.StringOutput
The name of the subnet group to be used for the cluster. Defaults to a subnet group consisting of default VPC subnets.
func (ClusterOutput) Tags ¶
func (o ClusterOutput) 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 (ClusterOutput) TagsAll
deprecated
func (o ClusterOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (ClusterOutput) TlsEnabled ¶
func (o ClusterOutput) TlsEnabled() pulumi.BoolPtrOutput
A flag to enable in-transit encryption on the cluster. When set to `false`, the `aclName` must be `open-access`. Defaults to `true`.
func (ClusterOutput) ToClusterOutput ¶
func (o ClusterOutput) ToClusterOutput() ClusterOutput
func (ClusterOutput) ToClusterOutputWithContext ¶
func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
type ClusterShard ¶
type ClusterShard struct { // Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. Name *string `pulumi:"name"` // Set of nodes in this shard. Nodes []ClusterShardNode `pulumi:"nodes"` // Number of individual nodes in this shard. NumNodes *int `pulumi:"numNodes"` // Keyspace for this shard. Example: `0-16383`. Slots *string `pulumi:"slots"` }
type ClusterShardArgs ¶
type ClusterShardArgs struct { // Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. Name pulumi.StringPtrInput `pulumi:"name"` // Set of nodes in this shard. Nodes ClusterShardNodeArrayInput `pulumi:"nodes"` // Number of individual nodes in this shard. NumNodes pulumi.IntPtrInput `pulumi:"numNodes"` // Keyspace for this shard. Example: `0-16383`. Slots pulumi.StringPtrInput `pulumi:"slots"` }
func (ClusterShardArgs) ElementType ¶
func (ClusterShardArgs) ElementType() reflect.Type
func (ClusterShardArgs) ToClusterShardOutput ¶
func (i ClusterShardArgs) ToClusterShardOutput() ClusterShardOutput
func (ClusterShardArgs) ToClusterShardOutputWithContext ¶
func (i ClusterShardArgs) ToClusterShardOutputWithContext(ctx context.Context) ClusterShardOutput
type ClusterShardArray ¶
type ClusterShardArray []ClusterShardInput
func (ClusterShardArray) ElementType ¶
func (ClusterShardArray) ElementType() reflect.Type
func (ClusterShardArray) ToClusterShardArrayOutput ¶
func (i ClusterShardArray) ToClusterShardArrayOutput() ClusterShardArrayOutput
func (ClusterShardArray) ToClusterShardArrayOutputWithContext ¶
func (i ClusterShardArray) ToClusterShardArrayOutputWithContext(ctx context.Context) ClusterShardArrayOutput
type ClusterShardArrayInput ¶
type ClusterShardArrayInput interface { pulumi.Input ToClusterShardArrayOutput() ClusterShardArrayOutput ToClusterShardArrayOutputWithContext(context.Context) ClusterShardArrayOutput }
ClusterShardArrayInput is an input type that accepts ClusterShardArray and ClusterShardArrayOutput values. You can construct a concrete instance of `ClusterShardArrayInput` via:
ClusterShardArray{ ClusterShardArgs{...} }
type ClusterShardArrayOutput ¶
type ClusterShardArrayOutput struct{ *pulumi.OutputState }
func (ClusterShardArrayOutput) ElementType ¶
func (ClusterShardArrayOutput) ElementType() reflect.Type
func (ClusterShardArrayOutput) Index ¶
func (o ClusterShardArrayOutput) Index(i pulumi.IntInput) ClusterShardOutput
func (ClusterShardArrayOutput) ToClusterShardArrayOutput ¶
func (o ClusterShardArrayOutput) ToClusterShardArrayOutput() ClusterShardArrayOutput
func (ClusterShardArrayOutput) ToClusterShardArrayOutputWithContext ¶
func (o ClusterShardArrayOutput) ToClusterShardArrayOutputWithContext(ctx context.Context) ClusterShardArrayOutput
type ClusterShardInput ¶
type ClusterShardInput interface { pulumi.Input ToClusterShardOutput() ClusterShardOutput ToClusterShardOutputWithContext(context.Context) ClusterShardOutput }
ClusterShardInput is an input type that accepts ClusterShardArgs and ClusterShardOutput values. You can construct a concrete instance of `ClusterShardInput` via:
ClusterShardArgs{...}
type ClusterShardNode ¶
type ClusterShardNode struct { // The Availability Zone in which the node resides. AvailabilityZone *string `pulumi:"availabilityZone"` // The date and time when the node was created. Example: `2022-01-01T21:00:00Z`. CreateTime *string `pulumi:"createTime"` Endpoints []ClusterShardNodeEndpoint `pulumi:"endpoints"` // Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. Name *string `pulumi:"name"` }
type ClusterShardNodeArgs ¶
type ClusterShardNodeArgs struct { // The Availability Zone in which the node resides. AvailabilityZone pulumi.StringPtrInput `pulumi:"availabilityZone"` // The date and time when the node was created. Example: `2022-01-01T21:00:00Z`. CreateTime pulumi.StringPtrInput `pulumi:"createTime"` Endpoints ClusterShardNodeEndpointArrayInput `pulumi:"endpoints"` // Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. Name pulumi.StringPtrInput `pulumi:"name"` }
func (ClusterShardNodeArgs) ElementType ¶
func (ClusterShardNodeArgs) ElementType() reflect.Type
func (ClusterShardNodeArgs) ToClusterShardNodeOutput ¶
func (i ClusterShardNodeArgs) ToClusterShardNodeOutput() ClusterShardNodeOutput
func (ClusterShardNodeArgs) ToClusterShardNodeOutputWithContext ¶
func (i ClusterShardNodeArgs) ToClusterShardNodeOutputWithContext(ctx context.Context) ClusterShardNodeOutput
type ClusterShardNodeArray ¶
type ClusterShardNodeArray []ClusterShardNodeInput
func (ClusterShardNodeArray) ElementType ¶
func (ClusterShardNodeArray) ElementType() reflect.Type
func (ClusterShardNodeArray) ToClusterShardNodeArrayOutput ¶
func (i ClusterShardNodeArray) ToClusterShardNodeArrayOutput() ClusterShardNodeArrayOutput
func (ClusterShardNodeArray) ToClusterShardNodeArrayOutputWithContext ¶
func (i ClusterShardNodeArray) ToClusterShardNodeArrayOutputWithContext(ctx context.Context) ClusterShardNodeArrayOutput
type ClusterShardNodeArrayInput ¶
type ClusterShardNodeArrayInput interface { pulumi.Input ToClusterShardNodeArrayOutput() ClusterShardNodeArrayOutput ToClusterShardNodeArrayOutputWithContext(context.Context) ClusterShardNodeArrayOutput }
ClusterShardNodeArrayInput is an input type that accepts ClusterShardNodeArray and ClusterShardNodeArrayOutput values. You can construct a concrete instance of `ClusterShardNodeArrayInput` via:
ClusterShardNodeArray{ ClusterShardNodeArgs{...} }
type ClusterShardNodeArrayOutput ¶
type ClusterShardNodeArrayOutput struct{ *pulumi.OutputState }
func (ClusterShardNodeArrayOutput) ElementType ¶
func (ClusterShardNodeArrayOutput) ElementType() reflect.Type
func (ClusterShardNodeArrayOutput) Index ¶
func (o ClusterShardNodeArrayOutput) Index(i pulumi.IntInput) ClusterShardNodeOutput
func (ClusterShardNodeArrayOutput) ToClusterShardNodeArrayOutput ¶
func (o ClusterShardNodeArrayOutput) ToClusterShardNodeArrayOutput() ClusterShardNodeArrayOutput
func (ClusterShardNodeArrayOutput) ToClusterShardNodeArrayOutputWithContext ¶
func (o ClusterShardNodeArrayOutput) ToClusterShardNodeArrayOutputWithContext(ctx context.Context) ClusterShardNodeArrayOutput
type ClusterShardNodeEndpointArgs ¶
type ClusterShardNodeEndpointArgs struct { // DNS hostname of the node. Address pulumi.StringPtrInput `pulumi:"address"` // The port number on which each of the nodes accepts connections. Defaults to `6379`. Port pulumi.IntPtrInput `pulumi:"port"` }
func (ClusterShardNodeEndpointArgs) ElementType ¶
func (ClusterShardNodeEndpointArgs) ElementType() reflect.Type
func (ClusterShardNodeEndpointArgs) ToClusterShardNodeEndpointOutput ¶
func (i ClusterShardNodeEndpointArgs) ToClusterShardNodeEndpointOutput() ClusterShardNodeEndpointOutput
func (ClusterShardNodeEndpointArgs) ToClusterShardNodeEndpointOutputWithContext ¶
func (i ClusterShardNodeEndpointArgs) ToClusterShardNodeEndpointOutputWithContext(ctx context.Context) ClusterShardNodeEndpointOutput
type ClusterShardNodeEndpointArray ¶
type ClusterShardNodeEndpointArray []ClusterShardNodeEndpointInput
func (ClusterShardNodeEndpointArray) ElementType ¶
func (ClusterShardNodeEndpointArray) ElementType() reflect.Type
func (ClusterShardNodeEndpointArray) ToClusterShardNodeEndpointArrayOutput ¶
func (i ClusterShardNodeEndpointArray) ToClusterShardNodeEndpointArrayOutput() ClusterShardNodeEndpointArrayOutput
func (ClusterShardNodeEndpointArray) ToClusterShardNodeEndpointArrayOutputWithContext ¶
func (i ClusterShardNodeEndpointArray) ToClusterShardNodeEndpointArrayOutputWithContext(ctx context.Context) ClusterShardNodeEndpointArrayOutput
type ClusterShardNodeEndpointArrayInput ¶
type ClusterShardNodeEndpointArrayInput interface { pulumi.Input ToClusterShardNodeEndpointArrayOutput() ClusterShardNodeEndpointArrayOutput ToClusterShardNodeEndpointArrayOutputWithContext(context.Context) ClusterShardNodeEndpointArrayOutput }
ClusterShardNodeEndpointArrayInput is an input type that accepts ClusterShardNodeEndpointArray and ClusterShardNodeEndpointArrayOutput values. You can construct a concrete instance of `ClusterShardNodeEndpointArrayInput` via:
ClusterShardNodeEndpointArray{ ClusterShardNodeEndpointArgs{...} }
type ClusterShardNodeEndpointArrayOutput ¶
type ClusterShardNodeEndpointArrayOutput struct{ *pulumi.OutputState }
func (ClusterShardNodeEndpointArrayOutput) ElementType ¶
func (ClusterShardNodeEndpointArrayOutput) ElementType() reflect.Type
func (ClusterShardNodeEndpointArrayOutput) Index ¶
func (o ClusterShardNodeEndpointArrayOutput) Index(i pulumi.IntInput) ClusterShardNodeEndpointOutput
func (ClusterShardNodeEndpointArrayOutput) ToClusterShardNodeEndpointArrayOutput ¶
func (o ClusterShardNodeEndpointArrayOutput) ToClusterShardNodeEndpointArrayOutput() ClusterShardNodeEndpointArrayOutput
func (ClusterShardNodeEndpointArrayOutput) ToClusterShardNodeEndpointArrayOutputWithContext ¶
func (o ClusterShardNodeEndpointArrayOutput) ToClusterShardNodeEndpointArrayOutputWithContext(ctx context.Context) ClusterShardNodeEndpointArrayOutput
type ClusterShardNodeEndpointInput ¶
type ClusterShardNodeEndpointInput interface { pulumi.Input ToClusterShardNodeEndpointOutput() ClusterShardNodeEndpointOutput ToClusterShardNodeEndpointOutputWithContext(context.Context) ClusterShardNodeEndpointOutput }
ClusterShardNodeEndpointInput is an input type that accepts ClusterShardNodeEndpointArgs and ClusterShardNodeEndpointOutput values. You can construct a concrete instance of `ClusterShardNodeEndpointInput` via:
ClusterShardNodeEndpointArgs{...}
type ClusterShardNodeEndpointOutput ¶
type ClusterShardNodeEndpointOutput struct{ *pulumi.OutputState }
func (ClusterShardNodeEndpointOutput) Address ¶
func (o ClusterShardNodeEndpointOutput) Address() pulumi.StringPtrOutput
DNS hostname of the node.
func (ClusterShardNodeEndpointOutput) ElementType ¶
func (ClusterShardNodeEndpointOutput) ElementType() reflect.Type
func (ClusterShardNodeEndpointOutput) Port ¶
func (o ClusterShardNodeEndpointOutput) Port() pulumi.IntPtrOutput
The port number on which each of the nodes accepts connections. Defaults to `6379`.
func (ClusterShardNodeEndpointOutput) ToClusterShardNodeEndpointOutput ¶
func (o ClusterShardNodeEndpointOutput) ToClusterShardNodeEndpointOutput() ClusterShardNodeEndpointOutput
func (ClusterShardNodeEndpointOutput) ToClusterShardNodeEndpointOutputWithContext ¶
func (o ClusterShardNodeEndpointOutput) ToClusterShardNodeEndpointOutputWithContext(ctx context.Context) ClusterShardNodeEndpointOutput
type ClusterShardNodeInput ¶
type ClusterShardNodeInput interface { pulumi.Input ToClusterShardNodeOutput() ClusterShardNodeOutput ToClusterShardNodeOutputWithContext(context.Context) ClusterShardNodeOutput }
ClusterShardNodeInput is an input type that accepts ClusterShardNodeArgs and ClusterShardNodeOutput values. You can construct a concrete instance of `ClusterShardNodeInput` via:
ClusterShardNodeArgs{...}
type ClusterShardNodeOutput ¶
type ClusterShardNodeOutput struct{ *pulumi.OutputState }
func (ClusterShardNodeOutput) AvailabilityZone ¶
func (o ClusterShardNodeOutput) AvailabilityZone() pulumi.StringPtrOutput
The Availability Zone in which the node resides.
func (ClusterShardNodeOutput) CreateTime ¶
func (o ClusterShardNodeOutput) CreateTime() pulumi.StringPtrOutput
The date and time when the node was created. Example: `2022-01-01T21:00:00Z`.
func (ClusterShardNodeOutput) ElementType ¶
func (ClusterShardNodeOutput) ElementType() reflect.Type
func (ClusterShardNodeOutput) Endpoints ¶
func (o ClusterShardNodeOutput) Endpoints() ClusterShardNodeEndpointArrayOutput
func (ClusterShardNodeOutput) Name ¶
func (o ClusterShardNodeOutput) Name() pulumi.StringPtrOutput
Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.
func (ClusterShardNodeOutput) ToClusterShardNodeOutput ¶
func (o ClusterShardNodeOutput) ToClusterShardNodeOutput() ClusterShardNodeOutput
func (ClusterShardNodeOutput) ToClusterShardNodeOutputWithContext ¶
func (o ClusterShardNodeOutput) ToClusterShardNodeOutputWithContext(ctx context.Context) ClusterShardNodeOutput
type ClusterShardOutput ¶
type ClusterShardOutput struct{ *pulumi.OutputState }
func (ClusterShardOutput) ElementType ¶
func (ClusterShardOutput) ElementType() reflect.Type
func (ClusterShardOutput) Name ¶
func (o ClusterShardOutput) Name() pulumi.StringPtrOutput
Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.
func (ClusterShardOutput) Nodes ¶
func (o ClusterShardOutput) Nodes() ClusterShardNodeArrayOutput
Set of nodes in this shard.
func (ClusterShardOutput) NumNodes ¶
func (o ClusterShardOutput) NumNodes() pulumi.IntPtrOutput
Number of individual nodes in this shard.
func (ClusterShardOutput) Slots ¶
func (o ClusterShardOutput) Slots() pulumi.StringPtrOutput
Keyspace for this shard. Example: `0-16383`.
func (ClusterShardOutput) ToClusterShardOutput ¶
func (o ClusterShardOutput) ToClusterShardOutput() ClusterShardOutput
func (ClusterShardOutput) ToClusterShardOutputWithContext ¶
func (o ClusterShardOutput) ToClusterShardOutputWithContext(ctx context.Context) ClusterShardOutput
type ClusterState ¶
type ClusterState struct { // The name of the Access Control List to associate with the cluster. AclName pulumi.StringPtrInput // The ARN of the cluster. Arn pulumi.StringPtrInput // When set to `true`, the cluster will automatically receive minor engine version upgrades after launch. Defaults to `true`. AutoMinorVersionUpgrade pulumi.BoolPtrInput ClusterEndpoints ClusterClusterEndpointArrayInput // Enables data tiering. This option is not supported by all instance types. For more information, see [Data tiering](https://docs.aws.amazon.com/memorydb/latest/devguide/data-tiering.html). DataTiering pulumi.BoolPtrInput // Description for the cluster. Description pulumi.StringPtrInput // Patch version number of the Redis engine used by the cluster. EnginePatchVersion pulumi.StringPtrInput // Version number of the Redis engine to be used for the cluster. Downgrades are not supported. EngineVersion pulumi.StringPtrInput // Name of the final cluster snapshot to be created when this resource is deleted. If omitted, no final snapshot will be made. FinalSnapshotName pulumi.StringPtrInput // ARN of the KMS key used to encrypt the cluster at rest. KmsKeyArn pulumi.StringPtrInput // Specifies the weekly time range during which maintenance on the cluster is performed. Specify as a range in the format `ddd:hh24:mi-ddd:hh24:mi` (24H Clock UTC). The minimum maintenance window is a 60 minute period. Example: `sun:23:00-mon:01:30`. MaintenanceWindow pulumi.StringPtrInput // Name of the cluster. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrInput // The compute and memory capacity of the nodes in the cluster. See AWS documentation on [supported node types](https://docs.aws.amazon.com/memorydb/latest/devguide/nodes.supportedtypes.html) as well as [vertical scaling](https://docs.aws.amazon.com/memorydb/latest/devguide/cluster-vertical-scaling.html). // // The following arguments are optional: NodeType pulumi.StringPtrInput // The number of replicas to apply to each shard, up to a maximum of 5. Defaults to `1` (i.e. 2 nodes per shard). NumReplicasPerShard pulumi.IntPtrInput // The number of shards in the cluster. Defaults to `1`. NumShards pulumi.IntPtrInput // The name of the parameter group associated with the cluster. ParameterGroupName pulumi.StringPtrInput // The port number on which each of the nodes accepts connections. Defaults to `6379`. Port pulumi.IntPtrInput // Set of VPC Security Group ID-s to associate with this cluster. SecurityGroupIds pulumi.StringArrayInput // Set of shards in this cluster. Shards ClusterShardArrayInput // List of ARN-s that uniquely identify RDB snapshot files stored in S3. The snapshot files will be used to populate the new cluster. Object names in the ARN-s cannot contain any commas. SnapshotArns pulumi.StringArrayInput // The name of a snapshot from which to restore data into the new cluster. SnapshotName pulumi.StringPtrInput // The number of days for which MemoryDB retains automatic snapshots before deleting them. When set to `0`, automatic backups are disabled. Defaults to `0`. SnapshotRetentionLimit pulumi.IntPtrInput // The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: `05:00-09:00`. SnapshotWindow pulumi.StringPtrInput // ARN of the SNS topic to which cluster notifications are sent. SnsTopicArn pulumi.StringPtrInput // The name of the subnet group to be used for the cluster. Defaults to a subnet group consisting of default VPC subnets. SubnetGroupName 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. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput // A flag to enable in-transit encryption on the cluster. When set to `false`, the `aclName` must be `open-access`. Defaults to `true`. TlsEnabled pulumi.BoolPtrInput }
func (ClusterState) ElementType ¶
func (ClusterState) ElementType() reflect.Type
type GetClusterClusterEndpointArgs ¶
type GetClusterClusterEndpointArgs struct { // DNS hostname of the node. Address pulumi.StringInput `pulumi:"address"` // Port number that this node is listening on. Port pulumi.IntInput `pulumi:"port"` }
func (GetClusterClusterEndpointArgs) ElementType ¶
func (GetClusterClusterEndpointArgs) ElementType() reflect.Type
func (GetClusterClusterEndpointArgs) ToGetClusterClusterEndpointOutput ¶
func (i GetClusterClusterEndpointArgs) ToGetClusterClusterEndpointOutput() GetClusterClusterEndpointOutput
func (GetClusterClusterEndpointArgs) ToGetClusterClusterEndpointOutputWithContext ¶
func (i GetClusterClusterEndpointArgs) ToGetClusterClusterEndpointOutputWithContext(ctx context.Context) GetClusterClusterEndpointOutput
type GetClusterClusterEndpointArray ¶
type GetClusterClusterEndpointArray []GetClusterClusterEndpointInput
func (GetClusterClusterEndpointArray) ElementType ¶
func (GetClusterClusterEndpointArray) ElementType() reflect.Type
func (GetClusterClusterEndpointArray) ToGetClusterClusterEndpointArrayOutput ¶
func (i GetClusterClusterEndpointArray) ToGetClusterClusterEndpointArrayOutput() GetClusterClusterEndpointArrayOutput
func (GetClusterClusterEndpointArray) ToGetClusterClusterEndpointArrayOutputWithContext ¶
func (i GetClusterClusterEndpointArray) ToGetClusterClusterEndpointArrayOutputWithContext(ctx context.Context) GetClusterClusterEndpointArrayOutput
type GetClusterClusterEndpointArrayInput ¶
type GetClusterClusterEndpointArrayInput interface { pulumi.Input ToGetClusterClusterEndpointArrayOutput() GetClusterClusterEndpointArrayOutput ToGetClusterClusterEndpointArrayOutputWithContext(context.Context) GetClusterClusterEndpointArrayOutput }
GetClusterClusterEndpointArrayInput is an input type that accepts GetClusterClusterEndpointArray and GetClusterClusterEndpointArrayOutput values. You can construct a concrete instance of `GetClusterClusterEndpointArrayInput` via:
GetClusterClusterEndpointArray{ GetClusterClusterEndpointArgs{...} }
type GetClusterClusterEndpointArrayOutput ¶
type GetClusterClusterEndpointArrayOutput struct{ *pulumi.OutputState }
func (GetClusterClusterEndpointArrayOutput) ElementType ¶
func (GetClusterClusterEndpointArrayOutput) ElementType() reflect.Type
func (GetClusterClusterEndpointArrayOutput) Index ¶
func (o GetClusterClusterEndpointArrayOutput) Index(i pulumi.IntInput) GetClusterClusterEndpointOutput
func (GetClusterClusterEndpointArrayOutput) ToGetClusterClusterEndpointArrayOutput ¶
func (o GetClusterClusterEndpointArrayOutput) ToGetClusterClusterEndpointArrayOutput() GetClusterClusterEndpointArrayOutput
func (GetClusterClusterEndpointArrayOutput) ToGetClusterClusterEndpointArrayOutputWithContext ¶
func (o GetClusterClusterEndpointArrayOutput) ToGetClusterClusterEndpointArrayOutputWithContext(ctx context.Context) GetClusterClusterEndpointArrayOutput
type GetClusterClusterEndpointInput ¶
type GetClusterClusterEndpointInput interface { pulumi.Input ToGetClusterClusterEndpointOutput() GetClusterClusterEndpointOutput ToGetClusterClusterEndpointOutputWithContext(context.Context) GetClusterClusterEndpointOutput }
GetClusterClusterEndpointInput is an input type that accepts GetClusterClusterEndpointArgs and GetClusterClusterEndpointOutput values. You can construct a concrete instance of `GetClusterClusterEndpointInput` via:
GetClusterClusterEndpointArgs{...}
type GetClusterClusterEndpointOutput ¶
type GetClusterClusterEndpointOutput struct{ *pulumi.OutputState }
func (GetClusterClusterEndpointOutput) Address ¶
func (o GetClusterClusterEndpointOutput) Address() pulumi.StringOutput
DNS hostname of the node.
func (GetClusterClusterEndpointOutput) ElementType ¶
func (GetClusterClusterEndpointOutput) ElementType() reflect.Type
func (GetClusterClusterEndpointOutput) Port ¶
func (o GetClusterClusterEndpointOutput) Port() pulumi.IntOutput
Port number that this node is listening on.
func (GetClusterClusterEndpointOutput) ToGetClusterClusterEndpointOutput ¶
func (o GetClusterClusterEndpointOutput) ToGetClusterClusterEndpointOutput() GetClusterClusterEndpointOutput
func (GetClusterClusterEndpointOutput) ToGetClusterClusterEndpointOutputWithContext ¶
func (o GetClusterClusterEndpointOutput) ToGetClusterClusterEndpointOutputWithContext(ctx context.Context) GetClusterClusterEndpointOutput
type GetClusterShard ¶
type GetClusterShard struct { // Name of the cluster. Name string `pulumi:"name"` // Set of nodes in this shard. Nodes []GetClusterShardNode `pulumi:"nodes"` // Number of individual nodes in this shard. NumNodes int `pulumi:"numNodes"` // Keyspace for this shard. Example: `0-16383`. Slots string `pulumi:"slots"` }
type GetClusterShardArgs ¶
type GetClusterShardArgs struct { // Name of the cluster. Name pulumi.StringInput `pulumi:"name"` // Set of nodes in this shard. Nodes GetClusterShardNodeArrayInput `pulumi:"nodes"` // Number of individual nodes in this shard. NumNodes pulumi.IntInput `pulumi:"numNodes"` // Keyspace for this shard. Example: `0-16383`. Slots pulumi.StringInput `pulumi:"slots"` }
func (GetClusterShardArgs) ElementType ¶
func (GetClusterShardArgs) ElementType() reflect.Type
func (GetClusterShardArgs) ToGetClusterShardOutput ¶
func (i GetClusterShardArgs) ToGetClusterShardOutput() GetClusterShardOutput
func (GetClusterShardArgs) ToGetClusterShardOutputWithContext ¶
func (i GetClusterShardArgs) ToGetClusterShardOutputWithContext(ctx context.Context) GetClusterShardOutput
type GetClusterShardArray ¶
type GetClusterShardArray []GetClusterShardInput
func (GetClusterShardArray) ElementType ¶
func (GetClusterShardArray) ElementType() reflect.Type
func (GetClusterShardArray) ToGetClusterShardArrayOutput ¶
func (i GetClusterShardArray) ToGetClusterShardArrayOutput() GetClusterShardArrayOutput
func (GetClusterShardArray) ToGetClusterShardArrayOutputWithContext ¶
func (i GetClusterShardArray) ToGetClusterShardArrayOutputWithContext(ctx context.Context) GetClusterShardArrayOutput
type GetClusterShardArrayInput ¶
type GetClusterShardArrayInput interface { pulumi.Input ToGetClusterShardArrayOutput() GetClusterShardArrayOutput ToGetClusterShardArrayOutputWithContext(context.Context) GetClusterShardArrayOutput }
GetClusterShardArrayInput is an input type that accepts GetClusterShardArray and GetClusterShardArrayOutput values. You can construct a concrete instance of `GetClusterShardArrayInput` via:
GetClusterShardArray{ GetClusterShardArgs{...} }
type GetClusterShardArrayOutput ¶
type GetClusterShardArrayOutput struct{ *pulumi.OutputState }
func (GetClusterShardArrayOutput) ElementType ¶
func (GetClusterShardArrayOutput) ElementType() reflect.Type
func (GetClusterShardArrayOutput) Index ¶
func (o GetClusterShardArrayOutput) Index(i pulumi.IntInput) GetClusterShardOutput
func (GetClusterShardArrayOutput) ToGetClusterShardArrayOutput ¶
func (o GetClusterShardArrayOutput) ToGetClusterShardArrayOutput() GetClusterShardArrayOutput
func (GetClusterShardArrayOutput) ToGetClusterShardArrayOutputWithContext ¶
func (o GetClusterShardArrayOutput) ToGetClusterShardArrayOutputWithContext(ctx context.Context) GetClusterShardArrayOutput
type GetClusterShardInput ¶
type GetClusterShardInput interface { pulumi.Input ToGetClusterShardOutput() GetClusterShardOutput ToGetClusterShardOutputWithContext(context.Context) GetClusterShardOutput }
GetClusterShardInput is an input type that accepts GetClusterShardArgs and GetClusterShardOutput values. You can construct a concrete instance of `GetClusterShardInput` via:
GetClusterShardArgs{...}
type GetClusterShardNode ¶
type GetClusterShardNode struct { // The Availability Zone in which the node resides. AvailabilityZone string `pulumi:"availabilityZone"` // The date and time when the node was created. Example: `2022-01-01T21:00:00Z`. CreateTime string `pulumi:"createTime"` Endpoints []GetClusterShardNodeEndpoint `pulumi:"endpoints"` // Name of the cluster. Name string `pulumi:"name"` }
type GetClusterShardNodeArgs ¶
type GetClusterShardNodeArgs struct { // The Availability Zone in which the node resides. AvailabilityZone pulumi.StringInput `pulumi:"availabilityZone"` // The date and time when the node was created. Example: `2022-01-01T21:00:00Z`. CreateTime pulumi.StringInput `pulumi:"createTime"` Endpoints GetClusterShardNodeEndpointArrayInput `pulumi:"endpoints"` // Name of the cluster. Name pulumi.StringInput `pulumi:"name"` }
func (GetClusterShardNodeArgs) ElementType ¶
func (GetClusterShardNodeArgs) ElementType() reflect.Type
func (GetClusterShardNodeArgs) ToGetClusterShardNodeOutput ¶
func (i GetClusterShardNodeArgs) ToGetClusterShardNodeOutput() GetClusterShardNodeOutput
func (GetClusterShardNodeArgs) ToGetClusterShardNodeOutputWithContext ¶
func (i GetClusterShardNodeArgs) ToGetClusterShardNodeOutputWithContext(ctx context.Context) GetClusterShardNodeOutput
type GetClusterShardNodeArray ¶
type GetClusterShardNodeArray []GetClusterShardNodeInput
func (GetClusterShardNodeArray) ElementType ¶
func (GetClusterShardNodeArray) ElementType() reflect.Type
func (GetClusterShardNodeArray) ToGetClusterShardNodeArrayOutput ¶
func (i GetClusterShardNodeArray) ToGetClusterShardNodeArrayOutput() GetClusterShardNodeArrayOutput
func (GetClusterShardNodeArray) ToGetClusterShardNodeArrayOutputWithContext ¶
func (i GetClusterShardNodeArray) ToGetClusterShardNodeArrayOutputWithContext(ctx context.Context) GetClusterShardNodeArrayOutput
type GetClusterShardNodeArrayInput ¶
type GetClusterShardNodeArrayInput interface { pulumi.Input ToGetClusterShardNodeArrayOutput() GetClusterShardNodeArrayOutput ToGetClusterShardNodeArrayOutputWithContext(context.Context) GetClusterShardNodeArrayOutput }
GetClusterShardNodeArrayInput is an input type that accepts GetClusterShardNodeArray and GetClusterShardNodeArrayOutput values. You can construct a concrete instance of `GetClusterShardNodeArrayInput` via:
GetClusterShardNodeArray{ GetClusterShardNodeArgs{...} }
type GetClusterShardNodeArrayOutput ¶
type GetClusterShardNodeArrayOutput struct{ *pulumi.OutputState }
func (GetClusterShardNodeArrayOutput) ElementType ¶
func (GetClusterShardNodeArrayOutput) ElementType() reflect.Type
func (GetClusterShardNodeArrayOutput) Index ¶
func (o GetClusterShardNodeArrayOutput) Index(i pulumi.IntInput) GetClusterShardNodeOutput
func (GetClusterShardNodeArrayOutput) ToGetClusterShardNodeArrayOutput ¶
func (o GetClusterShardNodeArrayOutput) ToGetClusterShardNodeArrayOutput() GetClusterShardNodeArrayOutput
func (GetClusterShardNodeArrayOutput) ToGetClusterShardNodeArrayOutputWithContext ¶
func (o GetClusterShardNodeArrayOutput) ToGetClusterShardNodeArrayOutputWithContext(ctx context.Context) GetClusterShardNodeArrayOutput
type GetClusterShardNodeEndpointArgs ¶
type GetClusterShardNodeEndpointArgs struct { // DNS hostname of the node. Address pulumi.StringInput `pulumi:"address"` // Port number that this node is listening on. Port pulumi.IntInput `pulumi:"port"` }
func (GetClusterShardNodeEndpointArgs) ElementType ¶
func (GetClusterShardNodeEndpointArgs) ElementType() reflect.Type
func (GetClusterShardNodeEndpointArgs) ToGetClusterShardNodeEndpointOutput ¶
func (i GetClusterShardNodeEndpointArgs) ToGetClusterShardNodeEndpointOutput() GetClusterShardNodeEndpointOutput
func (GetClusterShardNodeEndpointArgs) ToGetClusterShardNodeEndpointOutputWithContext ¶
func (i GetClusterShardNodeEndpointArgs) ToGetClusterShardNodeEndpointOutputWithContext(ctx context.Context) GetClusterShardNodeEndpointOutput
type GetClusterShardNodeEndpointArray ¶
type GetClusterShardNodeEndpointArray []GetClusterShardNodeEndpointInput
func (GetClusterShardNodeEndpointArray) ElementType ¶
func (GetClusterShardNodeEndpointArray) ElementType() reflect.Type
func (GetClusterShardNodeEndpointArray) ToGetClusterShardNodeEndpointArrayOutput ¶
func (i GetClusterShardNodeEndpointArray) ToGetClusterShardNodeEndpointArrayOutput() GetClusterShardNodeEndpointArrayOutput
func (GetClusterShardNodeEndpointArray) ToGetClusterShardNodeEndpointArrayOutputWithContext ¶
func (i GetClusterShardNodeEndpointArray) ToGetClusterShardNodeEndpointArrayOutputWithContext(ctx context.Context) GetClusterShardNodeEndpointArrayOutput
type GetClusterShardNodeEndpointArrayInput ¶
type GetClusterShardNodeEndpointArrayInput interface { pulumi.Input ToGetClusterShardNodeEndpointArrayOutput() GetClusterShardNodeEndpointArrayOutput ToGetClusterShardNodeEndpointArrayOutputWithContext(context.Context) GetClusterShardNodeEndpointArrayOutput }
GetClusterShardNodeEndpointArrayInput is an input type that accepts GetClusterShardNodeEndpointArray and GetClusterShardNodeEndpointArrayOutput values. You can construct a concrete instance of `GetClusterShardNodeEndpointArrayInput` via:
GetClusterShardNodeEndpointArray{ GetClusterShardNodeEndpointArgs{...} }
type GetClusterShardNodeEndpointArrayOutput ¶
type GetClusterShardNodeEndpointArrayOutput struct{ *pulumi.OutputState }
func (GetClusterShardNodeEndpointArrayOutput) ElementType ¶
func (GetClusterShardNodeEndpointArrayOutput) ElementType() reflect.Type
func (GetClusterShardNodeEndpointArrayOutput) ToGetClusterShardNodeEndpointArrayOutput ¶
func (o GetClusterShardNodeEndpointArrayOutput) ToGetClusterShardNodeEndpointArrayOutput() GetClusterShardNodeEndpointArrayOutput
func (GetClusterShardNodeEndpointArrayOutput) ToGetClusterShardNodeEndpointArrayOutputWithContext ¶
func (o GetClusterShardNodeEndpointArrayOutput) ToGetClusterShardNodeEndpointArrayOutputWithContext(ctx context.Context) GetClusterShardNodeEndpointArrayOutput
type GetClusterShardNodeEndpointInput ¶
type GetClusterShardNodeEndpointInput interface { pulumi.Input ToGetClusterShardNodeEndpointOutput() GetClusterShardNodeEndpointOutput ToGetClusterShardNodeEndpointOutputWithContext(context.Context) GetClusterShardNodeEndpointOutput }
GetClusterShardNodeEndpointInput is an input type that accepts GetClusterShardNodeEndpointArgs and GetClusterShardNodeEndpointOutput values. You can construct a concrete instance of `GetClusterShardNodeEndpointInput` via:
GetClusterShardNodeEndpointArgs{...}
type GetClusterShardNodeEndpointOutput ¶
type GetClusterShardNodeEndpointOutput struct{ *pulumi.OutputState }
func (GetClusterShardNodeEndpointOutput) Address ¶
func (o GetClusterShardNodeEndpointOutput) Address() pulumi.StringOutput
DNS hostname of the node.
func (GetClusterShardNodeEndpointOutput) ElementType ¶
func (GetClusterShardNodeEndpointOutput) ElementType() reflect.Type
func (GetClusterShardNodeEndpointOutput) Port ¶
func (o GetClusterShardNodeEndpointOutput) Port() pulumi.IntOutput
Port number that this node is listening on.
func (GetClusterShardNodeEndpointOutput) ToGetClusterShardNodeEndpointOutput ¶
func (o GetClusterShardNodeEndpointOutput) ToGetClusterShardNodeEndpointOutput() GetClusterShardNodeEndpointOutput
func (GetClusterShardNodeEndpointOutput) ToGetClusterShardNodeEndpointOutputWithContext ¶
func (o GetClusterShardNodeEndpointOutput) ToGetClusterShardNodeEndpointOutputWithContext(ctx context.Context) GetClusterShardNodeEndpointOutput
type GetClusterShardNodeInput ¶
type GetClusterShardNodeInput interface { pulumi.Input ToGetClusterShardNodeOutput() GetClusterShardNodeOutput ToGetClusterShardNodeOutputWithContext(context.Context) GetClusterShardNodeOutput }
GetClusterShardNodeInput is an input type that accepts GetClusterShardNodeArgs and GetClusterShardNodeOutput values. You can construct a concrete instance of `GetClusterShardNodeInput` via:
GetClusterShardNodeArgs{...}
type GetClusterShardNodeOutput ¶
type GetClusterShardNodeOutput struct{ *pulumi.OutputState }
func (GetClusterShardNodeOutput) AvailabilityZone ¶
func (o GetClusterShardNodeOutput) AvailabilityZone() pulumi.StringOutput
The Availability Zone in which the node resides.
func (GetClusterShardNodeOutput) CreateTime ¶
func (o GetClusterShardNodeOutput) CreateTime() pulumi.StringOutput
The date and time when the node was created. Example: `2022-01-01T21:00:00Z`.
func (GetClusterShardNodeOutput) ElementType ¶
func (GetClusterShardNodeOutput) ElementType() reflect.Type
func (GetClusterShardNodeOutput) Endpoints ¶
func (o GetClusterShardNodeOutput) Endpoints() GetClusterShardNodeEndpointArrayOutput
func (GetClusterShardNodeOutput) Name ¶
func (o GetClusterShardNodeOutput) Name() pulumi.StringOutput
Name of the cluster.
func (GetClusterShardNodeOutput) ToGetClusterShardNodeOutput ¶
func (o GetClusterShardNodeOutput) ToGetClusterShardNodeOutput() GetClusterShardNodeOutput
func (GetClusterShardNodeOutput) ToGetClusterShardNodeOutputWithContext ¶
func (o GetClusterShardNodeOutput) ToGetClusterShardNodeOutputWithContext(ctx context.Context) GetClusterShardNodeOutput
type GetClusterShardOutput ¶
type GetClusterShardOutput struct{ *pulumi.OutputState }
func (GetClusterShardOutput) ElementType ¶
func (GetClusterShardOutput) ElementType() reflect.Type
func (GetClusterShardOutput) Name ¶
func (o GetClusterShardOutput) Name() pulumi.StringOutput
Name of the cluster.
func (GetClusterShardOutput) Nodes ¶
func (o GetClusterShardOutput) Nodes() GetClusterShardNodeArrayOutput
Set of nodes in this shard.
func (GetClusterShardOutput) NumNodes ¶
func (o GetClusterShardOutput) NumNodes() pulumi.IntOutput
Number of individual nodes in this shard.
func (GetClusterShardOutput) Slots ¶
func (o GetClusterShardOutput) Slots() pulumi.StringOutput
Keyspace for this shard. Example: `0-16383`.
func (GetClusterShardOutput) ToGetClusterShardOutput ¶
func (o GetClusterShardOutput) ToGetClusterShardOutput() GetClusterShardOutput
func (GetClusterShardOutput) ToGetClusterShardOutputWithContext ¶
func (o GetClusterShardOutput) ToGetClusterShardOutputWithContext(ctx context.Context) GetClusterShardOutput
type GetParameterGroupParameterArgs ¶
type GetParameterGroupParameterArgs struct { // Name of the parameter group. Name pulumi.StringInput `pulumi:"name"` // Value of the parameter. Value pulumi.StringInput `pulumi:"value"` }
func (GetParameterGroupParameterArgs) ElementType ¶
func (GetParameterGroupParameterArgs) ElementType() reflect.Type
func (GetParameterGroupParameterArgs) ToGetParameterGroupParameterOutput ¶
func (i GetParameterGroupParameterArgs) ToGetParameterGroupParameterOutput() GetParameterGroupParameterOutput
func (GetParameterGroupParameterArgs) ToGetParameterGroupParameterOutputWithContext ¶
func (i GetParameterGroupParameterArgs) ToGetParameterGroupParameterOutputWithContext(ctx context.Context) GetParameterGroupParameterOutput
type GetParameterGroupParameterArray ¶
type GetParameterGroupParameterArray []GetParameterGroupParameterInput
func (GetParameterGroupParameterArray) ElementType ¶
func (GetParameterGroupParameterArray) ElementType() reflect.Type
func (GetParameterGroupParameterArray) ToGetParameterGroupParameterArrayOutput ¶
func (i GetParameterGroupParameterArray) ToGetParameterGroupParameterArrayOutput() GetParameterGroupParameterArrayOutput
func (GetParameterGroupParameterArray) ToGetParameterGroupParameterArrayOutputWithContext ¶
func (i GetParameterGroupParameterArray) ToGetParameterGroupParameterArrayOutputWithContext(ctx context.Context) GetParameterGroupParameterArrayOutput
type GetParameterGroupParameterArrayInput ¶
type GetParameterGroupParameterArrayInput interface { pulumi.Input ToGetParameterGroupParameterArrayOutput() GetParameterGroupParameterArrayOutput ToGetParameterGroupParameterArrayOutputWithContext(context.Context) GetParameterGroupParameterArrayOutput }
GetParameterGroupParameterArrayInput is an input type that accepts GetParameterGroupParameterArray and GetParameterGroupParameterArrayOutput values. You can construct a concrete instance of `GetParameterGroupParameterArrayInput` via:
GetParameterGroupParameterArray{ GetParameterGroupParameterArgs{...} }
type GetParameterGroupParameterArrayOutput ¶
type GetParameterGroupParameterArrayOutput struct{ *pulumi.OutputState }
func (GetParameterGroupParameterArrayOutput) ElementType ¶
func (GetParameterGroupParameterArrayOutput) ElementType() reflect.Type
func (GetParameterGroupParameterArrayOutput) Index ¶
func (o GetParameterGroupParameterArrayOutput) Index(i pulumi.IntInput) GetParameterGroupParameterOutput
func (GetParameterGroupParameterArrayOutput) ToGetParameterGroupParameterArrayOutput ¶
func (o GetParameterGroupParameterArrayOutput) ToGetParameterGroupParameterArrayOutput() GetParameterGroupParameterArrayOutput
func (GetParameterGroupParameterArrayOutput) ToGetParameterGroupParameterArrayOutputWithContext ¶
func (o GetParameterGroupParameterArrayOutput) ToGetParameterGroupParameterArrayOutputWithContext(ctx context.Context) GetParameterGroupParameterArrayOutput
type GetParameterGroupParameterInput ¶
type GetParameterGroupParameterInput interface { pulumi.Input ToGetParameterGroupParameterOutput() GetParameterGroupParameterOutput ToGetParameterGroupParameterOutputWithContext(context.Context) GetParameterGroupParameterOutput }
GetParameterGroupParameterInput is an input type that accepts GetParameterGroupParameterArgs and GetParameterGroupParameterOutput values. You can construct a concrete instance of `GetParameterGroupParameterInput` via:
GetParameterGroupParameterArgs{...}
type GetParameterGroupParameterOutput ¶
type GetParameterGroupParameterOutput struct{ *pulumi.OutputState }
func (GetParameterGroupParameterOutput) ElementType ¶
func (GetParameterGroupParameterOutput) ElementType() reflect.Type
func (GetParameterGroupParameterOutput) Name ¶
func (o GetParameterGroupParameterOutput) Name() pulumi.StringOutput
Name of the parameter group.
func (GetParameterGroupParameterOutput) ToGetParameterGroupParameterOutput ¶
func (o GetParameterGroupParameterOutput) ToGetParameterGroupParameterOutput() GetParameterGroupParameterOutput
func (GetParameterGroupParameterOutput) ToGetParameterGroupParameterOutputWithContext ¶
func (o GetParameterGroupParameterOutput) ToGetParameterGroupParameterOutputWithContext(ctx context.Context) GetParameterGroupParameterOutput
func (GetParameterGroupParameterOutput) Value ¶
func (o GetParameterGroupParameterOutput) Value() pulumi.StringOutput
Value of the parameter.
type GetSnapshotClusterConfiguration ¶
type GetSnapshotClusterConfiguration struct { // Description for the cluster. Description string `pulumi:"description"` // Version number of the Redis engine used by the cluster. EngineVersion string `pulumi:"engineVersion"` // The weekly time range during which maintenance on the cluster is performed. MaintenanceWindow string `pulumi:"maintenanceWindow"` // Name of the snapshot. Name string `pulumi:"name"` // Compute and memory capacity of the nodes in the cluster. NodeType string `pulumi:"nodeType"` // Number of shards in the cluster. NumShards int `pulumi:"numShards"` // Name of the parameter group associated with the cluster. ParameterGroupName string `pulumi:"parameterGroupName"` // Port number on which the cluster accepts connections. Port int `pulumi:"port"` // Number of days for which MemoryDB retains automatic snapshots before deleting them. SnapshotRetentionLimit int `pulumi:"snapshotRetentionLimit"` // The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of the shard. SnapshotWindow string `pulumi:"snapshotWindow"` // Name of the subnet group used by the cluster. SubnetGroupName string `pulumi:"subnetGroupName"` // ARN of the SNS topic to which cluster notifications are sent. TopicArn string `pulumi:"topicArn"` // The VPC in which the cluster exists. VpcId string `pulumi:"vpcId"` }
type GetSnapshotClusterConfigurationArgs ¶
type GetSnapshotClusterConfigurationArgs struct { // Description for the cluster. Description pulumi.StringInput `pulumi:"description"` // Version number of the Redis engine used by the cluster. EngineVersion pulumi.StringInput `pulumi:"engineVersion"` // The weekly time range during which maintenance on the cluster is performed. MaintenanceWindow pulumi.StringInput `pulumi:"maintenanceWindow"` // Name of the snapshot. Name pulumi.StringInput `pulumi:"name"` // Compute and memory capacity of the nodes in the cluster. NodeType pulumi.StringInput `pulumi:"nodeType"` // Number of shards in the cluster. NumShards pulumi.IntInput `pulumi:"numShards"` // Name of the parameter group associated with the cluster. ParameterGroupName pulumi.StringInput `pulumi:"parameterGroupName"` // Port number on which the cluster accepts connections. Port pulumi.IntInput `pulumi:"port"` // Number of days for which MemoryDB retains automatic snapshots before deleting them. SnapshotRetentionLimit pulumi.IntInput `pulumi:"snapshotRetentionLimit"` // The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of the shard. SnapshotWindow pulumi.StringInput `pulumi:"snapshotWindow"` // Name of the subnet group used by the cluster. SubnetGroupName pulumi.StringInput `pulumi:"subnetGroupName"` // ARN of the SNS topic to which cluster notifications are sent. TopicArn pulumi.StringInput `pulumi:"topicArn"` // The VPC in which the cluster exists. VpcId pulumi.StringInput `pulumi:"vpcId"` }
func (GetSnapshotClusterConfigurationArgs) ElementType ¶
func (GetSnapshotClusterConfigurationArgs) ElementType() reflect.Type
func (GetSnapshotClusterConfigurationArgs) ToGetSnapshotClusterConfigurationOutput ¶
func (i GetSnapshotClusterConfigurationArgs) ToGetSnapshotClusterConfigurationOutput() GetSnapshotClusterConfigurationOutput
func (GetSnapshotClusterConfigurationArgs) ToGetSnapshotClusterConfigurationOutputWithContext ¶
func (i GetSnapshotClusterConfigurationArgs) ToGetSnapshotClusterConfigurationOutputWithContext(ctx context.Context) GetSnapshotClusterConfigurationOutput
type GetSnapshotClusterConfigurationArray ¶
type GetSnapshotClusterConfigurationArray []GetSnapshotClusterConfigurationInput
func (GetSnapshotClusterConfigurationArray) ElementType ¶
func (GetSnapshotClusterConfigurationArray) ElementType() reflect.Type
func (GetSnapshotClusterConfigurationArray) ToGetSnapshotClusterConfigurationArrayOutput ¶
func (i GetSnapshotClusterConfigurationArray) ToGetSnapshotClusterConfigurationArrayOutput() GetSnapshotClusterConfigurationArrayOutput
func (GetSnapshotClusterConfigurationArray) ToGetSnapshotClusterConfigurationArrayOutputWithContext ¶
func (i GetSnapshotClusterConfigurationArray) ToGetSnapshotClusterConfigurationArrayOutputWithContext(ctx context.Context) GetSnapshotClusterConfigurationArrayOutput
type GetSnapshotClusterConfigurationArrayInput ¶
type GetSnapshotClusterConfigurationArrayInput interface { pulumi.Input ToGetSnapshotClusterConfigurationArrayOutput() GetSnapshotClusterConfigurationArrayOutput ToGetSnapshotClusterConfigurationArrayOutputWithContext(context.Context) GetSnapshotClusterConfigurationArrayOutput }
GetSnapshotClusterConfigurationArrayInput is an input type that accepts GetSnapshotClusterConfigurationArray and GetSnapshotClusterConfigurationArrayOutput values. You can construct a concrete instance of `GetSnapshotClusterConfigurationArrayInput` via:
GetSnapshotClusterConfigurationArray{ GetSnapshotClusterConfigurationArgs{...} }
type GetSnapshotClusterConfigurationArrayOutput ¶
type GetSnapshotClusterConfigurationArrayOutput struct{ *pulumi.OutputState }
func (GetSnapshotClusterConfigurationArrayOutput) ElementType ¶
func (GetSnapshotClusterConfigurationArrayOutput) ElementType() reflect.Type
func (GetSnapshotClusterConfigurationArrayOutput) ToGetSnapshotClusterConfigurationArrayOutput ¶
func (o GetSnapshotClusterConfigurationArrayOutput) ToGetSnapshotClusterConfigurationArrayOutput() GetSnapshotClusterConfigurationArrayOutput
func (GetSnapshotClusterConfigurationArrayOutput) ToGetSnapshotClusterConfigurationArrayOutputWithContext ¶
func (o GetSnapshotClusterConfigurationArrayOutput) ToGetSnapshotClusterConfigurationArrayOutputWithContext(ctx context.Context) GetSnapshotClusterConfigurationArrayOutput
type GetSnapshotClusterConfigurationInput ¶
type GetSnapshotClusterConfigurationInput interface { pulumi.Input ToGetSnapshotClusterConfigurationOutput() GetSnapshotClusterConfigurationOutput ToGetSnapshotClusterConfigurationOutputWithContext(context.Context) GetSnapshotClusterConfigurationOutput }
GetSnapshotClusterConfigurationInput is an input type that accepts GetSnapshotClusterConfigurationArgs and GetSnapshotClusterConfigurationOutput values. You can construct a concrete instance of `GetSnapshotClusterConfigurationInput` via:
GetSnapshotClusterConfigurationArgs{...}
type GetSnapshotClusterConfigurationOutput ¶
type GetSnapshotClusterConfigurationOutput struct{ *pulumi.OutputState }
func (GetSnapshotClusterConfigurationOutput) Description ¶
func (o GetSnapshotClusterConfigurationOutput) Description() pulumi.StringOutput
Description for the cluster.
func (GetSnapshotClusterConfigurationOutput) ElementType ¶
func (GetSnapshotClusterConfigurationOutput) ElementType() reflect.Type
func (GetSnapshotClusterConfigurationOutput) EngineVersion ¶
func (o GetSnapshotClusterConfigurationOutput) EngineVersion() pulumi.StringOutput
Version number of the Redis engine used by the cluster.
func (GetSnapshotClusterConfigurationOutput) MaintenanceWindow ¶
func (o GetSnapshotClusterConfigurationOutput) MaintenanceWindow() pulumi.StringOutput
The weekly time range during which maintenance on the cluster is performed.
func (GetSnapshotClusterConfigurationOutput) Name ¶
func (o GetSnapshotClusterConfigurationOutput) Name() pulumi.StringOutput
Name of the snapshot.
func (GetSnapshotClusterConfigurationOutput) NodeType ¶
func (o GetSnapshotClusterConfigurationOutput) NodeType() pulumi.StringOutput
Compute and memory capacity of the nodes in the cluster.
func (GetSnapshotClusterConfigurationOutput) NumShards ¶
func (o GetSnapshotClusterConfigurationOutput) NumShards() pulumi.IntOutput
Number of shards in the cluster.
func (GetSnapshotClusterConfigurationOutput) ParameterGroupName ¶
func (o GetSnapshotClusterConfigurationOutput) ParameterGroupName() pulumi.StringOutput
Name of the parameter group associated with the cluster.
func (GetSnapshotClusterConfigurationOutput) Port ¶
func (o GetSnapshotClusterConfigurationOutput) Port() pulumi.IntOutput
Port number on which the cluster accepts connections.
func (GetSnapshotClusterConfigurationOutput) SnapshotRetentionLimit ¶
func (o GetSnapshotClusterConfigurationOutput) SnapshotRetentionLimit() pulumi.IntOutput
Number of days for which MemoryDB retains automatic snapshots before deleting them.
func (GetSnapshotClusterConfigurationOutput) SnapshotWindow ¶
func (o GetSnapshotClusterConfigurationOutput) SnapshotWindow() pulumi.StringOutput
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of the shard.
func (GetSnapshotClusterConfigurationOutput) SubnetGroupName ¶
func (o GetSnapshotClusterConfigurationOutput) SubnetGroupName() pulumi.StringOutput
Name of the subnet group used by the cluster.
func (GetSnapshotClusterConfigurationOutput) ToGetSnapshotClusterConfigurationOutput ¶
func (o GetSnapshotClusterConfigurationOutput) ToGetSnapshotClusterConfigurationOutput() GetSnapshotClusterConfigurationOutput
func (GetSnapshotClusterConfigurationOutput) ToGetSnapshotClusterConfigurationOutputWithContext ¶
func (o GetSnapshotClusterConfigurationOutput) ToGetSnapshotClusterConfigurationOutputWithContext(ctx context.Context) GetSnapshotClusterConfigurationOutput
func (GetSnapshotClusterConfigurationOutput) TopicArn ¶
func (o GetSnapshotClusterConfigurationOutput) TopicArn() pulumi.StringOutput
ARN of the SNS topic to which cluster notifications are sent.
func (GetSnapshotClusterConfigurationOutput) VpcId ¶
func (o GetSnapshotClusterConfigurationOutput) VpcId() pulumi.StringOutput
The VPC in which the cluster exists.
type GetUserAuthenticationModeArgs ¶
type GetUserAuthenticationModeArgs struct { // The number of passwords belonging to the user. PasswordCount pulumi.IntInput `pulumi:"passwordCount"` // Whether the user requires a password to authenticate. Type pulumi.StringInput `pulumi:"type"` }
func (GetUserAuthenticationModeArgs) ElementType ¶
func (GetUserAuthenticationModeArgs) ElementType() reflect.Type
func (GetUserAuthenticationModeArgs) ToGetUserAuthenticationModeOutput ¶
func (i GetUserAuthenticationModeArgs) ToGetUserAuthenticationModeOutput() GetUserAuthenticationModeOutput
func (GetUserAuthenticationModeArgs) ToGetUserAuthenticationModeOutputWithContext ¶
func (i GetUserAuthenticationModeArgs) ToGetUserAuthenticationModeOutputWithContext(ctx context.Context) GetUserAuthenticationModeOutput
type GetUserAuthenticationModeArray ¶
type GetUserAuthenticationModeArray []GetUserAuthenticationModeInput
func (GetUserAuthenticationModeArray) ElementType ¶
func (GetUserAuthenticationModeArray) ElementType() reflect.Type
func (GetUserAuthenticationModeArray) ToGetUserAuthenticationModeArrayOutput ¶
func (i GetUserAuthenticationModeArray) ToGetUserAuthenticationModeArrayOutput() GetUserAuthenticationModeArrayOutput
func (GetUserAuthenticationModeArray) ToGetUserAuthenticationModeArrayOutputWithContext ¶
func (i GetUserAuthenticationModeArray) ToGetUserAuthenticationModeArrayOutputWithContext(ctx context.Context) GetUserAuthenticationModeArrayOutput
type GetUserAuthenticationModeArrayInput ¶
type GetUserAuthenticationModeArrayInput interface { pulumi.Input ToGetUserAuthenticationModeArrayOutput() GetUserAuthenticationModeArrayOutput ToGetUserAuthenticationModeArrayOutputWithContext(context.Context) GetUserAuthenticationModeArrayOutput }
GetUserAuthenticationModeArrayInput is an input type that accepts GetUserAuthenticationModeArray and GetUserAuthenticationModeArrayOutput values. You can construct a concrete instance of `GetUserAuthenticationModeArrayInput` via:
GetUserAuthenticationModeArray{ GetUserAuthenticationModeArgs{...} }
type GetUserAuthenticationModeArrayOutput ¶
type GetUserAuthenticationModeArrayOutput struct{ *pulumi.OutputState }
func (GetUserAuthenticationModeArrayOutput) ElementType ¶
func (GetUserAuthenticationModeArrayOutput) ElementType() reflect.Type
func (GetUserAuthenticationModeArrayOutput) Index ¶
func (o GetUserAuthenticationModeArrayOutput) Index(i pulumi.IntInput) GetUserAuthenticationModeOutput
func (GetUserAuthenticationModeArrayOutput) ToGetUserAuthenticationModeArrayOutput ¶
func (o GetUserAuthenticationModeArrayOutput) ToGetUserAuthenticationModeArrayOutput() GetUserAuthenticationModeArrayOutput
func (GetUserAuthenticationModeArrayOutput) ToGetUserAuthenticationModeArrayOutputWithContext ¶
func (o GetUserAuthenticationModeArrayOutput) ToGetUserAuthenticationModeArrayOutputWithContext(ctx context.Context) GetUserAuthenticationModeArrayOutput
type GetUserAuthenticationModeInput ¶
type GetUserAuthenticationModeInput interface { pulumi.Input ToGetUserAuthenticationModeOutput() GetUserAuthenticationModeOutput ToGetUserAuthenticationModeOutputWithContext(context.Context) GetUserAuthenticationModeOutput }
GetUserAuthenticationModeInput is an input type that accepts GetUserAuthenticationModeArgs and GetUserAuthenticationModeOutput values. You can construct a concrete instance of `GetUserAuthenticationModeInput` via:
GetUserAuthenticationModeArgs{...}
type GetUserAuthenticationModeOutput ¶
type GetUserAuthenticationModeOutput struct{ *pulumi.OutputState }
func (GetUserAuthenticationModeOutput) ElementType ¶
func (GetUserAuthenticationModeOutput) ElementType() reflect.Type
func (GetUserAuthenticationModeOutput) PasswordCount ¶
func (o GetUserAuthenticationModeOutput) PasswordCount() pulumi.IntOutput
The number of passwords belonging to the user.
func (GetUserAuthenticationModeOutput) ToGetUserAuthenticationModeOutput ¶
func (o GetUserAuthenticationModeOutput) ToGetUserAuthenticationModeOutput() GetUserAuthenticationModeOutput
func (GetUserAuthenticationModeOutput) ToGetUserAuthenticationModeOutputWithContext ¶
func (o GetUserAuthenticationModeOutput) ToGetUserAuthenticationModeOutputWithContext(ctx context.Context) GetUserAuthenticationModeOutput
func (GetUserAuthenticationModeOutput) Type ¶
func (o GetUserAuthenticationModeOutput) Type() pulumi.StringOutput
Whether the user requires a password to authenticate.
type LookupAclArgs ¶
type LookupAclArgs struct { // Name of the ACL. Name string `pulumi:"name"` // Map of tags assigned to the ACL. Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getAcl.
type LookupAclOutputArgs ¶
type LookupAclOutputArgs struct { // Name of the ACL. Name pulumi.StringInput `pulumi:"name"` // Map of tags assigned to the ACL. Tags pulumi.StringMapInput `pulumi:"tags"` }
A collection of arguments for invoking getAcl.
func (LookupAclOutputArgs) ElementType ¶
func (LookupAclOutputArgs) ElementType() reflect.Type
type LookupAclResult ¶
type LookupAclResult struct { // ARN of the ACL. Arn string `pulumi:"arn"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The minimum engine version supported by the ACL. MinimumEngineVersion string `pulumi:"minimumEngineVersion"` Name string `pulumi:"name"` // Map of tags assigned to the ACL. Tags map[string]string `pulumi:"tags"` // Set of MemoryDB user names included in this ACL. UserNames []string `pulumi:"userNames"` }
A collection of values returned by getAcl.
func LookupAcl ¶
func LookupAcl(ctx *pulumi.Context, args *LookupAclArgs, opts ...pulumi.InvokeOption) (*LookupAclResult, error)
Provides information about a MemoryDB ACL.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/memorydb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := memorydb.LookupAcl(ctx, &memorydb.LookupAclArgs{ Name: "my-acl", }, nil) if err != nil { return err } return nil }) }
```
type LookupAclResultOutput ¶
type LookupAclResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAcl.
func LookupAclOutput ¶
func LookupAclOutput(ctx *pulumi.Context, args LookupAclOutputArgs, opts ...pulumi.InvokeOption) LookupAclResultOutput
func (LookupAclResultOutput) Arn ¶
func (o LookupAclResultOutput) Arn() pulumi.StringOutput
ARN of the ACL.
func (LookupAclResultOutput) ElementType ¶
func (LookupAclResultOutput) ElementType() reflect.Type
func (LookupAclResultOutput) Id ¶
func (o LookupAclResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupAclResultOutput) MinimumEngineVersion ¶
func (o LookupAclResultOutput) MinimumEngineVersion() pulumi.StringOutput
The minimum engine version supported by the ACL.
func (LookupAclResultOutput) Name ¶
func (o LookupAclResultOutput) Name() pulumi.StringOutput
func (LookupAclResultOutput) Tags ¶
func (o LookupAclResultOutput) Tags() pulumi.StringMapOutput
Map of tags assigned to the ACL.
func (LookupAclResultOutput) ToLookupAclResultOutput ¶
func (o LookupAclResultOutput) ToLookupAclResultOutput() LookupAclResultOutput
func (LookupAclResultOutput) ToLookupAclResultOutputWithContext ¶
func (o LookupAclResultOutput) ToLookupAclResultOutputWithContext(ctx context.Context) LookupAclResultOutput
func (LookupAclResultOutput) UserNames ¶
func (o LookupAclResultOutput) UserNames() pulumi.StringArrayOutput
Set of MemoryDB user names included in this ACL.
type LookupClusterArgs ¶
type LookupClusterArgs struct { // Name of the cluster. Name string `pulumi:"name"` // Map of tags assigned to the cluster. Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getCluster.
type LookupClusterOutputArgs ¶
type LookupClusterOutputArgs struct { // Name of the cluster. Name pulumi.StringInput `pulumi:"name"` // Map of tags assigned to the cluster. 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 { // Name of the Access Control List associated with the cluster. AclName string `pulumi:"aclName"` // ARN of the cluster. Arn string `pulumi:"arn"` // True when the cluster allows automatic minor version upgrades. AutoMinorVersionUpgrade bool `pulumi:"autoMinorVersionUpgrade"` ClusterEndpoints []GetClusterClusterEndpoint `pulumi:"clusterEndpoints"` // True when data tiering is enabled. DataTiering bool `pulumi:"dataTiering"` // Description for the cluster. Description string `pulumi:"description"` // Patch version number of the Redis engine used by the cluster. EnginePatchVersion string `pulumi:"enginePatchVersion"` // Version number of the Redis engine used by the cluster. EngineVersion string `pulumi:"engineVersion"` // Name of the final cluster snapshot to be created when this resource is deleted. If omitted, no final snapshot will be made. FinalSnapshotName string `pulumi:"finalSnapshotName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // ARN of the KMS key used to encrypt the cluster at rest. KmsKeyArn string `pulumi:"kmsKeyArn"` // Weekly time range during which maintenance on the cluster is performed. Specify as a range in the format `ddd:hh24:mi-ddd:hh24:mi` (24H Clock UTC). Example: `sun:23:00-mon:01:30`. MaintenanceWindow string `pulumi:"maintenanceWindow"` // Name of this node. Name string `pulumi:"name"` // Compute and memory capacity of the nodes in the cluster. NodeType string `pulumi:"nodeType"` // The number of replicas to apply to each shard. NumReplicasPerShard int `pulumi:"numReplicasPerShard"` // Number of shards in the cluster. NumShards int `pulumi:"numShards"` // The name of the parameter group associated with the cluster. ParameterGroupName string `pulumi:"parameterGroupName"` // Port number that this node is listening on. Port int `pulumi:"port"` // Set of VPC Security Group ID-s associated with this cluster. SecurityGroupIds []string `pulumi:"securityGroupIds"` // Set of shards in this cluster. Shards []GetClusterShard `pulumi:"shards"` // The number of days for which MemoryDB retains automatic snapshots before deleting them. When set to `0`, automatic backups are disabled. SnapshotRetentionLimit int `pulumi:"snapshotRetentionLimit"` // Daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: `05:00-09:00`. SnapshotWindow string `pulumi:"snapshotWindow"` // ARN of the SNS topic to which cluster notifications are sent. SnsTopicArn string `pulumi:"snsTopicArn"` // The name of the subnet group used for the cluster. SubnetGroupName string `pulumi:"subnetGroupName"` // Map of tags assigned to the cluster. Tags map[string]string `pulumi:"tags"` // When true, in-transit encryption is enabled for the cluster. TlsEnabled bool `pulumi:"tlsEnabled"` }
A collection of values returned by getCluster.
func LookupCluster ¶
func LookupCluster(ctx *pulumi.Context, args *LookupClusterArgs, opts ...pulumi.InvokeOption) (*LookupClusterResult, error)
Provides information about a MemoryDB Cluster.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/memorydb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := memorydb.LookupCluster(ctx, &memorydb.LookupClusterArgs{ Name: "my-cluster", }, 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) AclName ¶
func (o LookupClusterResultOutput) AclName() pulumi.StringOutput
Name of the Access Control List associated with the cluster.
func (LookupClusterResultOutput) Arn ¶
func (o LookupClusterResultOutput) Arn() pulumi.StringOutput
ARN of the cluster.
func (LookupClusterResultOutput) AutoMinorVersionUpgrade ¶
func (o LookupClusterResultOutput) AutoMinorVersionUpgrade() pulumi.BoolOutput
True when the cluster allows automatic minor version upgrades.
func (LookupClusterResultOutput) ClusterEndpoints ¶
func (o LookupClusterResultOutput) ClusterEndpoints() GetClusterClusterEndpointArrayOutput
func (LookupClusterResultOutput) DataTiering ¶
func (o LookupClusterResultOutput) DataTiering() pulumi.BoolOutput
True when data tiering is enabled.
func (LookupClusterResultOutput) Description ¶
func (o LookupClusterResultOutput) Description() pulumi.StringOutput
Description for the cluster.
func (LookupClusterResultOutput) ElementType ¶
func (LookupClusterResultOutput) ElementType() reflect.Type
func (LookupClusterResultOutput) EnginePatchVersion ¶
func (o LookupClusterResultOutput) EnginePatchVersion() pulumi.StringOutput
Patch version number of the Redis engine used by the cluster.
func (LookupClusterResultOutput) EngineVersion ¶
func (o LookupClusterResultOutput) EngineVersion() pulumi.StringOutput
Version number of the Redis engine used by the cluster.
func (LookupClusterResultOutput) FinalSnapshotName ¶
func (o LookupClusterResultOutput) FinalSnapshotName() pulumi.StringOutput
Name of the final cluster snapshot to be created when this resource is deleted. If omitted, no final snapshot will be made.
func (LookupClusterResultOutput) Id ¶
func (o LookupClusterResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupClusterResultOutput) KmsKeyArn ¶
func (o LookupClusterResultOutput) KmsKeyArn() pulumi.StringOutput
ARN of the KMS key used to encrypt the cluster at rest.
func (LookupClusterResultOutput) MaintenanceWindow ¶
func (o LookupClusterResultOutput) MaintenanceWindow() pulumi.StringOutput
Weekly time range during which maintenance on the cluster is performed. Specify as a range in the format `ddd:hh24:mi-ddd:hh24:mi` (24H Clock UTC). Example: `sun:23:00-mon:01:30`.
func (LookupClusterResultOutput) Name ¶
func (o LookupClusterResultOutput) Name() pulumi.StringOutput
Name of this node.
func (LookupClusterResultOutput) NodeType ¶
func (o LookupClusterResultOutput) NodeType() pulumi.StringOutput
Compute and memory capacity of the nodes in the cluster.
func (LookupClusterResultOutput) NumReplicasPerShard ¶
func (o LookupClusterResultOutput) NumReplicasPerShard() pulumi.IntOutput
The number of replicas to apply to each shard.
func (LookupClusterResultOutput) NumShards ¶
func (o LookupClusterResultOutput) NumShards() pulumi.IntOutput
Number of shards in the cluster.
func (LookupClusterResultOutput) ParameterGroupName ¶
func (o LookupClusterResultOutput) ParameterGroupName() pulumi.StringOutput
The name of the parameter group associated with the cluster.
func (LookupClusterResultOutput) Port ¶
func (o LookupClusterResultOutput) Port() pulumi.IntOutput
Port number that this node is listening on.
func (LookupClusterResultOutput) SecurityGroupIds ¶
func (o LookupClusterResultOutput) SecurityGroupIds() pulumi.StringArrayOutput
Set of VPC Security Group ID-s associated with this cluster.
func (LookupClusterResultOutput) Shards ¶
func (o LookupClusterResultOutput) Shards() GetClusterShardArrayOutput
Set of shards in this cluster.
func (LookupClusterResultOutput) SnapshotRetentionLimit ¶
func (o LookupClusterResultOutput) SnapshotRetentionLimit() pulumi.IntOutput
The number of days for which MemoryDB retains automatic snapshots before deleting them. When set to `0`, automatic backups are disabled.
func (LookupClusterResultOutput) SnapshotWindow ¶
func (o LookupClusterResultOutput) SnapshotWindow() pulumi.StringOutput
Daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your shard. Example: `05:00-09:00`.
func (LookupClusterResultOutput) SnsTopicArn ¶
func (o LookupClusterResultOutput) SnsTopicArn() pulumi.StringOutput
ARN of the SNS topic to which cluster notifications are sent.
func (LookupClusterResultOutput) SubnetGroupName ¶
func (o LookupClusterResultOutput) SubnetGroupName() pulumi.StringOutput
The name of the subnet group used for the cluster.
func (LookupClusterResultOutput) Tags ¶
func (o LookupClusterResultOutput) Tags() pulumi.StringMapOutput
Map of tags assigned to the cluster.
func (LookupClusterResultOutput) TlsEnabled ¶
func (o LookupClusterResultOutput) TlsEnabled() pulumi.BoolOutput
When true, in-transit encryption is enabled for the cluster.
func (LookupClusterResultOutput) ToLookupClusterResultOutput ¶
func (o LookupClusterResultOutput) ToLookupClusterResultOutput() LookupClusterResultOutput
func (LookupClusterResultOutput) ToLookupClusterResultOutputWithContext ¶
func (o LookupClusterResultOutput) ToLookupClusterResultOutputWithContext(ctx context.Context) LookupClusterResultOutput
type LookupParameterGroupArgs ¶
type LookupParameterGroupArgs struct { // Name of the parameter group. Name string `pulumi:"name"` // Map of tags assigned to the parameter group. Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getParameterGroup.
type LookupParameterGroupOutputArgs ¶
type LookupParameterGroupOutputArgs struct { // Name of the parameter group. Name pulumi.StringInput `pulumi:"name"` // Map of tags assigned to the parameter group. Tags pulumi.StringMapInput `pulumi:"tags"` }
A collection of arguments for invoking getParameterGroup.
func (LookupParameterGroupOutputArgs) ElementType ¶
func (LookupParameterGroupOutputArgs) ElementType() reflect.Type
type LookupParameterGroupResult ¶
type LookupParameterGroupResult struct { // ARN of the parameter group. Arn string `pulumi:"arn"` // Description of the parameter group. Description string `pulumi:"description"` // Engine version that the parameter group can be used with. Family string `pulumi:"family"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Name of the parameter. Name string `pulumi:"name"` // Set of user-defined MemoryDB parameters applied by the parameter group. Parameters []GetParameterGroupParameter `pulumi:"parameters"` // Map of tags assigned to the parameter group. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getParameterGroup.
func LookupParameterGroup ¶
func LookupParameterGroup(ctx *pulumi.Context, args *LookupParameterGroupArgs, opts ...pulumi.InvokeOption) (*LookupParameterGroupResult, error)
Provides information about a MemoryDB Parameter Group.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/memorydb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := memorydb.LookupParameterGroup(ctx, &memorydb.LookupParameterGroupArgs{ Name: "my-parameter-group", }, nil) if err != nil { return err } return nil }) }
```
type LookupParameterGroupResultOutput ¶
type LookupParameterGroupResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getParameterGroup.
func LookupParameterGroupOutput ¶
func LookupParameterGroupOutput(ctx *pulumi.Context, args LookupParameterGroupOutputArgs, opts ...pulumi.InvokeOption) LookupParameterGroupResultOutput
func (LookupParameterGroupResultOutput) Arn ¶
func (o LookupParameterGroupResultOutput) Arn() pulumi.StringOutput
ARN of the parameter group.
func (LookupParameterGroupResultOutput) Description ¶
func (o LookupParameterGroupResultOutput) Description() pulumi.StringOutput
Description of the parameter group.
func (LookupParameterGroupResultOutput) ElementType ¶
func (LookupParameterGroupResultOutput) ElementType() reflect.Type
func (LookupParameterGroupResultOutput) Family ¶
func (o LookupParameterGroupResultOutput) Family() pulumi.StringOutput
Engine version that the parameter group can be used with.
func (LookupParameterGroupResultOutput) Id ¶
func (o LookupParameterGroupResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupParameterGroupResultOutput) Name ¶
func (o LookupParameterGroupResultOutput) Name() pulumi.StringOutput
Name of the parameter.
func (LookupParameterGroupResultOutput) Parameters ¶
func (o LookupParameterGroupResultOutput) Parameters() GetParameterGroupParameterArrayOutput
Set of user-defined MemoryDB parameters applied by the parameter group.
func (LookupParameterGroupResultOutput) Tags ¶
func (o LookupParameterGroupResultOutput) Tags() pulumi.StringMapOutput
Map of tags assigned to the parameter group.
func (LookupParameterGroupResultOutput) ToLookupParameterGroupResultOutput ¶
func (o LookupParameterGroupResultOutput) ToLookupParameterGroupResultOutput() LookupParameterGroupResultOutput
func (LookupParameterGroupResultOutput) ToLookupParameterGroupResultOutputWithContext ¶
func (o LookupParameterGroupResultOutput) ToLookupParameterGroupResultOutputWithContext(ctx context.Context) LookupParameterGroupResultOutput
type LookupSnapshotArgs ¶
type LookupSnapshotArgs struct { // Name of the snapshot. Name string `pulumi:"name"` // Map of tags assigned to the snapshot. Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getSnapshot.
type LookupSnapshotOutputArgs ¶
type LookupSnapshotOutputArgs struct { // Name of the snapshot. Name pulumi.StringInput `pulumi:"name"` // Map of tags assigned to the snapshot. Tags pulumi.StringMapInput `pulumi:"tags"` }
A collection of arguments for invoking getSnapshot.
func (LookupSnapshotOutputArgs) ElementType ¶
func (LookupSnapshotOutputArgs) ElementType() reflect.Type
type LookupSnapshotResult ¶
type LookupSnapshotResult struct { // ARN of the snapshot. Arn string `pulumi:"arn"` // The configuration of the cluster from which the snapshot was taken. ClusterConfigurations []GetSnapshotClusterConfiguration `pulumi:"clusterConfigurations"` // Name of the MemoryDB cluster that this snapshot was taken from. ClusterName string `pulumi:"clusterName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // ARN of the KMS key used to encrypt the snapshot at rest. KmsKeyArn string `pulumi:"kmsKeyArn"` // Name of the cluster. Name string `pulumi:"name"` // Whether the snapshot is from an automatic backup (`automated`) or was created manually (`manual`). Source string `pulumi:"source"` // Map of tags assigned to the snapshot. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getSnapshot.
func LookupSnapshot ¶
func LookupSnapshot(ctx *pulumi.Context, args *LookupSnapshotArgs, opts ...pulumi.InvokeOption) (*LookupSnapshotResult, error)
Provides information about a MemoryDB Snapshot.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/memorydb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := memorydb.LookupSnapshot(ctx, &memorydb.LookupSnapshotArgs{ Name: "my-snapshot", }, nil) 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) Arn ¶
func (o LookupSnapshotResultOutput) Arn() pulumi.StringOutput
ARN of the snapshot.
func (LookupSnapshotResultOutput) ClusterConfigurations ¶
func (o LookupSnapshotResultOutput) ClusterConfigurations() GetSnapshotClusterConfigurationArrayOutput
The configuration of the cluster from which the snapshot was taken.
func (LookupSnapshotResultOutput) ClusterName ¶
func (o LookupSnapshotResultOutput) ClusterName() pulumi.StringOutput
Name of the MemoryDB cluster that this snapshot was taken from.
func (LookupSnapshotResultOutput) ElementType ¶
func (LookupSnapshotResultOutput) ElementType() reflect.Type
func (LookupSnapshotResultOutput) Id ¶
func (o LookupSnapshotResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupSnapshotResultOutput) KmsKeyArn ¶
func (o LookupSnapshotResultOutput) KmsKeyArn() pulumi.StringOutput
ARN of the KMS key used to encrypt the snapshot at rest.
func (LookupSnapshotResultOutput) Name ¶
func (o LookupSnapshotResultOutput) Name() pulumi.StringOutput
Name of the cluster.
func (LookupSnapshotResultOutput) Source ¶
func (o LookupSnapshotResultOutput) Source() pulumi.StringOutput
Whether the snapshot is from an automatic backup (`automated`) or was created manually (`manual`).
func (LookupSnapshotResultOutput) Tags ¶
func (o LookupSnapshotResultOutput) Tags() pulumi.StringMapOutput
Map of tags assigned to the snapshot.
func (LookupSnapshotResultOutput) ToLookupSnapshotResultOutput ¶
func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutput() LookupSnapshotResultOutput
func (LookupSnapshotResultOutput) ToLookupSnapshotResultOutputWithContext ¶
func (o LookupSnapshotResultOutput) ToLookupSnapshotResultOutputWithContext(ctx context.Context) LookupSnapshotResultOutput
type LookupSubnetGroupArgs ¶
type LookupSubnetGroupArgs struct { // Name of the subnet group. Name string `pulumi:"name"` // Map of tags assigned to the subnet group. Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getSubnetGroup.
type LookupSubnetGroupOutputArgs ¶
type LookupSubnetGroupOutputArgs struct { // Name of the subnet group. Name pulumi.StringInput `pulumi:"name"` // Map of tags assigned to the subnet group. Tags pulumi.StringMapInput `pulumi:"tags"` }
A collection of arguments for invoking getSubnetGroup.
func (LookupSubnetGroupOutputArgs) ElementType ¶
func (LookupSubnetGroupOutputArgs) ElementType() reflect.Type
type LookupSubnetGroupResult ¶
type LookupSubnetGroupResult struct { // ARN of the subnet group. Arn string `pulumi:"arn"` // Description of the subnet group. Description string `pulumi:"description"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` // Set of VPC Subnet ID-s of the subnet group. SubnetIds []string `pulumi:"subnetIds"` // Map of tags assigned to the subnet group. Tags map[string]string `pulumi:"tags"` // VPC in which the subnet group exists. 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)
Provides information about a MemoryDB Subnet Group.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/memorydb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := memorydb.LookupSubnetGroup(ctx, &memorydb.LookupSubnetGroupArgs{ Name: "my-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 of the subnet group.
func (LookupSubnetGroupResultOutput) Description ¶
func (o LookupSubnetGroupResultOutput) Description() pulumi.StringOutput
Description of the 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) SubnetIds ¶
func (o LookupSubnetGroupResultOutput) SubnetIds() pulumi.StringArrayOutput
Set of VPC Subnet ID-s of the subnet group.
func (LookupSubnetGroupResultOutput) Tags ¶
func (o LookupSubnetGroupResultOutput) Tags() pulumi.StringMapOutput
Map of tags assigned to the 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
VPC in which the subnet group exists.
type LookupUserArgs ¶
type LookupUserArgs struct { // Map of tags assigned to the subnet group. Tags map[string]string `pulumi:"tags"` // Name of the user. UserName string `pulumi:"userName"` }
A collection of arguments for invoking getUser.
type LookupUserOutputArgs ¶
type LookupUserOutputArgs struct { // Map of tags assigned to the subnet group. Tags pulumi.StringMapInput `pulumi:"tags"` // Name of the user. UserName pulumi.StringInput `pulumi:"userName"` }
A collection of arguments for invoking getUser.
func (LookupUserOutputArgs) ElementType ¶
func (LookupUserOutputArgs) ElementType() reflect.Type
type LookupUserResult ¶
type LookupUserResult struct { // Access permissions string used for this user. AccessString string `pulumi:"accessString"` // ARN of the user. Arn string `pulumi:"arn"` // Denotes the user's authentication properties. AuthenticationModes []GetUserAuthenticationMode `pulumi:"authenticationModes"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The minimum engine version supported for the user. MinimumEngineVersion string `pulumi:"minimumEngineVersion"` // Map of tags assigned to the subnet group. Tags map[string]string `pulumi:"tags"` UserName string `pulumi:"userName"` }
A collection of values returned by getUser.
func LookupUser ¶
func LookupUser(ctx *pulumi.Context, args *LookupUserArgs, opts ...pulumi.InvokeOption) (*LookupUserResult, error)
Provides information about a MemoryDB User.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/memorydb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := memorydb.LookupUser(ctx, &memorydb.LookupUserArgs{ UserName: "my-user", }, nil) if err != nil { return err } return nil }) }
```
type LookupUserResultOutput ¶
type LookupUserResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getUser.
func LookupUserOutput ¶
func LookupUserOutput(ctx *pulumi.Context, args LookupUserOutputArgs, opts ...pulumi.InvokeOption) LookupUserResultOutput
func (LookupUserResultOutput) AccessString ¶
func (o LookupUserResultOutput) AccessString() pulumi.StringOutput
Access permissions string used for this user.
func (LookupUserResultOutput) Arn ¶
func (o LookupUserResultOutput) Arn() pulumi.StringOutput
ARN of the user.
func (LookupUserResultOutput) AuthenticationModes ¶
func (o LookupUserResultOutput) AuthenticationModes() GetUserAuthenticationModeArrayOutput
Denotes the user's authentication properties.
func (LookupUserResultOutput) ElementType ¶
func (LookupUserResultOutput) ElementType() reflect.Type
func (LookupUserResultOutput) Id ¶
func (o LookupUserResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupUserResultOutput) MinimumEngineVersion ¶
func (o LookupUserResultOutput) MinimumEngineVersion() pulumi.StringOutput
The minimum engine version supported for the user.
func (LookupUserResultOutput) Tags ¶
func (o LookupUserResultOutput) Tags() pulumi.StringMapOutput
Map of tags assigned to the subnet group.
func (LookupUserResultOutput) ToLookupUserResultOutput ¶
func (o LookupUserResultOutput) ToLookupUserResultOutput() LookupUserResultOutput
func (LookupUserResultOutput) ToLookupUserResultOutputWithContext ¶
func (o LookupUserResultOutput) ToLookupUserResultOutputWithContext(ctx context.Context) LookupUserResultOutput
func (LookupUserResultOutput) UserName ¶
func (o LookupUserResultOutput) UserName() pulumi.StringOutput
type ParameterGroup ¶
type ParameterGroup struct { pulumi.CustomResourceState // The ARN of the parameter group. Arn pulumi.StringOutput `pulumi:"arn"` // Description for the parameter group. Description pulumi.StringPtrOutput `pulumi:"description"` // The engine version that the parameter group can be used with. // // The following arguments are optional: Family pulumi.StringOutput `pulumi:"family"` // Name of the parameter group. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. Name pulumi.StringOutput `pulumi:"name"` // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringOutput `pulumi:"namePrefix"` // Set of MemoryDB parameters to apply. Any parameters not specified will fall back to their family defaults. Detailed below. 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. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a MemoryDB Parameter Group.
More information about parameter groups can be found in the [MemoryDB User Guide](https://docs.aws.amazon.com/memorydb/latest/devguide/parametergroups.html).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/memorydb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := memorydb.NewParameterGroup(ctx, "example", &memorydb.ParameterGroupArgs{ Family: pulumi.String("memorydb_redis6"), Parameters: memorydb.ParameterGroupParameterArray{ &memorydb.ParameterGroupParameterArgs{ Name: pulumi.String("activedefrag"), Value: pulumi.String("yes"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import a parameter group using the `name`. For example:
```sh
$ pulumi import aws:memorydb/parameterGroup:ParameterGroup example my-parameter-group
```
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 { // Description for the parameter group. Description pulumi.StringPtrInput // The engine version that the parameter group can be used with. // // The following arguments are optional: Family pulumi.StringInput // Name of the parameter group. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrInput // Set of MemoryDB parameters to apply. Any parameters not specified will fall back to their family defaults. Detailed below. 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 ¶
func (o ParameterGroupOutput) Arn() pulumi.StringOutput
The ARN of the parameter group.
func (ParameterGroupOutput) Description ¶
func (o ParameterGroupOutput) Description() pulumi.StringPtrOutput
Description for the parameter group.
func (ParameterGroupOutput) ElementType ¶
func (ParameterGroupOutput) ElementType() reflect.Type
func (ParameterGroupOutput) Family ¶
func (o ParameterGroupOutput) Family() pulumi.StringOutput
The engine version that the parameter group can be used with.
The following arguments are optional:
func (ParameterGroupOutput) Name ¶
func (o ParameterGroupOutput) Name() pulumi.StringOutput
Name of the parameter group. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.
func (ParameterGroupOutput) NamePrefix ¶
func (o ParameterGroupOutput) NamePrefix() pulumi.StringOutput
Creates a unique name beginning with the specified prefix. Conflicts with `name`.
func (ParameterGroupOutput) Parameters ¶
func (o ParameterGroupOutput) Parameters() ParameterGroupParameterArrayOutput
Set of MemoryDB parameters to apply. Any parameters not specified will fall back to their family defaults. Detailed below.
func (ParameterGroupOutput) Tags ¶
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
deprecated
func (o ParameterGroupOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (ParameterGroupOutput) ToParameterGroupOutput ¶
func (o ParameterGroupOutput) ToParameterGroupOutput() ParameterGroupOutput
func (ParameterGroupOutput) ToParameterGroupOutputWithContext ¶
func (o ParameterGroupOutput) ToParameterGroupOutputWithContext(ctx context.Context) ParameterGroupOutput
type ParameterGroupParameter ¶
type ParameterGroupParameterArgs ¶
type ParameterGroupParameterArgs struct { // The name of the parameter. Name pulumi.StringInput `pulumi:"name"` // The value of the parameter. Value pulumi.StringInput `pulumi:"value"` }
func (ParameterGroupParameterArgs) ElementType ¶
func (ParameterGroupParameterArgs) ElementType() reflect.Type
func (ParameterGroupParameterArgs) ToParameterGroupParameterOutput ¶
func (i ParameterGroupParameterArgs) ToParameterGroupParameterOutput() ParameterGroupParameterOutput
func (ParameterGroupParameterArgs) ToParameterGroupParameterOutputWithContext ¶
func (i ParameterGroupParameterArgs) ToParameterGroupParameterOutputWithContext(ctx context.Context) ParameterGroupParameterOutput
type ParameterGroupParameterArray ¶
type ParameterGroupParameterArray []ParameterGroupParameterInput
func (ParameterGroupParameterArray) ElementType ¶
func (ParameterGroupParameterArray) ElementType() reflect.Type
func (ParameterGroupParameterArray) ToParameterGroupParameterArrayOutput ¶
func (i ParameterGroupParameterArray) ToParameterGroupParameterArrayOutput() ParameterGroupParameterArrayOutput
func (ParameterGroupParameterArray) ToParameterGroupParameterArrayOutputWithContext ¶
func (i ParameterGroupParameterArray) ToParameterGroupParameterArrayOutputWithContext(ctx context.Context) ParameterGroupParameterArrayOutput
type ParameterGroupParameterArrayInput ¶
type ParameterGroupParameterArrayInput interface { pulumi.Input ToParameterGroupParameterArrayOutput() ParameterGroupParameterArrayOutput ToParameterGroupParameterArrayOutputWithContext(context.Context) ParameterGroupParameterArrayOutput }
ParameterGroupParameterArrayInput is an input type that accepts ParameterGroupParameterArray and ParameterGroupParameterArrayOutput values. You can construct a concrete instance of `ParameterGroupParameterArrayInput` via:
ParameterGroupParameterArray{ ParameterGroupParameterArgs{...} }
type ParameterGroupParameterArrayOutput ¶
type ParameterGroupParameterArrayOutput struct{ *pulumi.OutputState }
func (ParameterGroupParameterArrayOutput) ElementType ¶
func (ParameterGroupParameterArrayOutput) ElementType() reflect.Type
func (ParameterGroupParameterArrayOutput) Index ¶
func (o ParameterGroupParameterArrayOutput) Index(i pulumi.IntInput) ParameterGroupParameterOutput
func (ParameterGroupParameterArrayOutput) ToParameterGroupParameterArrayOutput ¶
func (o ParameterGroupParameterArrayOutput) ToParameterGroupParameterArrayOutput() ParameterGroupParameterArrayOutput
func (ParameterGroupParameterArrayOutput) ToParameterGroupParameterArrayOutputWithContext ¶
func (o ParameterGroupParameterArrayOutput) ToParameterGroupParameterArrayOutputWithContext(ctx context.Context) ParameterGroupParameterArrayOutput
type ParameterGroupParameterInput ¶
type ParameterGroupParameterInput interface { pulumi.Input ToParameterGroupParameterOutput() ParameterGroupParameterOutput ToParameterGroupParameterOutputWithContext(context.Context) ParameterGroupParameterOutput }
ParameterGroupParameterInput is an input type that accepts ParameterGroupParameterArgs and ParameterGroupParameterOutput values. You can construct a concrete instance of `ParameterGroupParameterInput` via:
ParameterGroupParameterArgs{...}
type ParameterGroupParameterOutput ¶
type ParameterGroupParameterOutput struct{ *pulumi.OutputState }
func (ParameterGroupParameterOutput) ElementType ¶
func (ParameterGroupParameterOutput) ElementType() reflect.Type
func (ParameterGroupParameterOutput) Name ¶
func (o ParameterGroupParameterOutput) Name() pulumi.StringOutput
The name of the 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 parameter.
type ParameterGroupState ¶
type ParameterGroupState struct { // The ARN of the parameter group. Arn pulumi.StringPtrInput // Description for the parameter group. Description pulumi.StringPtrInput // The engine version that the parameter group can be used with. // // The following arguments are optional: Family pulumi.StringPtrInput // Name of the parameter group. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrInput // Set of MemoryDB parameters to apply. Any parameters not specified will fall back to their family defaults. Detailed below. 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. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput }
func (ParameterGroupState) ElementType ¶
func (ParameterGroupState) ElementType() reflect.Type
type Snapshot ¶
type Snapshot struct { pulumi.CustomResourceState // The ARN of the snapshot. Arn pulumi.StringOutput `pulumi:"arn"` // The configuration of the cluster from which the snapshot was taken. ClusterConfigurations SnapshotClusterConfigurationArrayOutput `pulumi:"clusterConfigurations"` // Name of the MemoryDB cluster to take a snapshot of. ClusterName pulumi.StringOutput `pulumi:"clusterName"` // ARN of the KMS key used to encrypt the snapshot at rest. KmsKeyArn pulumi.StringPtrOutput `pulumi:"kmsKeyArn"` // Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. Name pulumi.StringOutput `pulumi:"name"` // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringOutput `pulumi:"namePrefix"` // Indicates whether the snapshot is from an automatic backup (`automated`) or was created manually (`manual`). Source pulumi.StringOutput `pulumi:"source"` // 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. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a MemoryDB Snapshot.
More information about snapshot and restore can be found in the [MemoryDB User Guide](https://docs.aws.amazon.com/memorydb/latest/devguide/snapshots.html).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/memorydb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := memorydb.NewSnapshot(ctx, "example", &memorydb.SnapshotArgs{ ClusterName: pulumi.Any(aws_memorydb_cluster.Example.Name), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import a snapshot using the `name`. For example:
```sh
$ pulumi import aws:memorydb/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 { // Name of the MemoryDB cluster to take a snapshot of. ClusterName pulumi.StringInput // ARN of the KMS key used to encrypt the snapshot at rest. KmsKeyArn pulumi.StringPtrInput // Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix 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 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 SnapshotClusterConfiguration ¶
type SnapshotClusterConfiguration struct { // Description for the cluster. Description *string `pulumi:"description"` // Version number of the Redis engine used by the cluster. EngineVersion *string `pulumi:"engineVersion"` // The weekly time range during which maintenance on the cluster is performed. MaintenanceWindow *string `pulumi:"maintenanceWindow"` // Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. Name *string `pulumi:"name"` // Compute and memory capacity of the nodes in the cluster. NodeType *string `pulumi:"nodeType"` // Number of shards in the cluster. NumShards *int `pulumi:"numShards"` // Name of the parameter group associated with the cluster. ParameterGroupName *string `pulumi:"parameterGroupName"` // Port number on which the cluster accepts connections. Port *int `pulumi:"port"` // Number of days for which MemoryDB retains automatic snapshots before deleting them. SnapshotRetentionLimit *int `pulumi:"snapshotRetentionLimit"` // The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of the shard. SnapshotWindow *string `pulumi:"snapshotWindow"` // Name of the subnet group used by the cluster. SubnetGroupName *string `pulumi:"subnetGroupName"` // ARN of the SNS topic to which cluster notifications are sent. TopicArn *string `pulumi:"topicArn"` // The VPC in which the cluster exists. VpcId *string `pulumi:"vpcId"` }
type SnapshotClusterConfigurationArgs ¶
type SnapshotClusterConfigurationArgs struct { // Description for the cluster. Description pulumi.StringPtrInput `pulumi:"description"` // Version number of the Redis engine used by the cluster. EngineVersion pulumi.StringPtrInput `pulumi:"engineVersion"` // The weekly time range during which maintenance on the cluster is performed. MaintenanceWindow pulumi.StringPtrInput `pulumi:"maintenanceWindow"` // Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. Name pulumi.StringPtrInput `pulumi:"name"` // Compute and memory capacity of the nodes in the cluster. NodeType pulumi.StringPtrInput `pulumi:"nodeType"` // Number of shards in the cluster. NumShards pulumi.IntPtrInput `pulumi:"numShards"` // Name of the parameter group associated with the cluster. ParameterGroupName pulumi.StringPtrInput `pulumi:"parameterGroupName"` // Port number on which the cluster accepts connections. Port pulumi.IntPtrInput `pulumi:"port"` // Number of days for which MemoryDB retains automatic snapshots before deleting them. SnapshotRetentionLimit pulumi.IntPtrInput `pulumi:"snapshotRetentionLimit"` // The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of the shard. SnapshotWindow pulumi.StringPtrInput `pulumi:"snapshotWindow"` // Name of the subnet group used by the cluster. SubnetGroupName pulumi.StringPtrInput `pulumi:"subnetGroupName"` // ARN of the SNS topic to which cluster notifications are sent. TopicArn pulumi.StringPtrInput `pulumi:"topicArn"` // The VPC in which the cluster exists. VpcId pulumi.StringPtrInput `pulumi:"vpcId"` }
func (SnapshotClusterConfigurationArgs) ElementType ¶
func (SnapshotClusterConfigurationArgs) ElementType() reflect.Type
func (SnapshotClusterConfigurationArgs) ToSnapshotClusterConfigurationOutput ¶
func (i SnapshotClusterConfigurationArgs) ToSnapshotClusterConfigurationOutput() SnapshotClusterConfigurationOutput
func (SnapshotClusterConfigurationArgs) ToSnapshotClusterConfigurationOutputWithContext ¶
func (i SnapshotClusterConfigurationArgs) ToSnapshotClusterConfigurationOutputWithContext(ctx context.Context) SnapshotClusterConfigurationOutput
type SnapshotClusterConfigurationArray ¶
type SnapshotClusterConfigurationArray []SnapshotClusterConfigurationInput
func (SnapshotClusterConfigurationArray) ElementType ¶
func (SnapshotClusterConfigurationArray) ElementType() reflect.Type
func (SnapshotClusterConfigurationArray) ToSnapshotClusterConfigurationArrayOutput ¶
func (i SnapshotClusterConfigurationArray) ToSnapshotClusterConfigurationArrayOutput() SnapshotClusterConfigurationArrayOutput
func (SnapshotClusterConfigurationArray) ToSnapshotClusterConfigurationArrayOutputWithContext ¶
func (i SnapshotClusterConfigurationArray) ToSnapshotClusterConfigurationArrayOutputWithContext(ctx context.Context) SnapshotClusterConfigurationArrayOutput
type SnapshotClusterConfigurationArrayInput ¶
type SnapshotClusterConfigurationArrayInput interface { pulumi.Input ToSnapshotClusterConfigurationArrayOutput() SnapshotClusterConfigurationArrayOutput ToSnapshotClusterConfigurationArrayOutputWithContext(context.Context) SnapshotClusterConfigurationArrayOutput }
SnapshotClusterConfigurationArrayInput is an input type that accepts SnapshotClusterConfigurationArray and SnapshotClusterConfigurationArrayOutput values. You can construct a concrete instance of `SnapshotClusterConfigurationArrayInput` via:
SnapshotClusterConfigurationArray{ SnapshotClusterConfigurationArgs{...} }
type SnapshotClusterConfigurationArrayOutput ¶
type SnapshotClusterConfigurationArrayOutput struct{ *pulumi.OutputState }
func (SnapshotClusterConfigurationArrayOutput) ElementType ¶
func (SnapshotClusterConfigurationArrayOutput) ElementType() reflect.Type
func (SnapshotClusterConfigurationArrayOutput) ToSnapshotClusterConfigurationArrayOutput ¶
func (o SnapshotClusterConfigurationArrayOutput) ToSnapshotClusterConfigurationArrayOutput() SnapshotClusterConfigurationArrayOutput
func (SnapshotClusterConfigurationArrayOutput) ToSnapshotClusterConfigurationArrayOutputWithContext ¶
func (o SnapshotClusterConfigurationArrayOutput) ToSnapshotClusterConfigurationArrayOutputWithContext(ctx context.Context) SnapshotClusterConfigurationArrayOutput
type SnapshotClusterConfigurationInput ¶
type SnapshotClusterConfigurationInput interface { pulumi.Input ToSnapshotClusterConfigurationOutput() SnapshotClusterConfigurationOutput ToSnapshotClusterConfigurationOutputWithContext(context.Context) SnapshotClusterConfigurationOutput }
SnapshotClusterConfigurationInput is an input type that accepts SnapshotClusterConfigurationArgs and SnapshotClusterConfigurationOutput values. You can construct a concrete instance of `SnapshotClusterConfigurationInput` via:
SnapshotClusterConfigurationArgs{...}
type SnapshotClusterConfigurationOutput ¶
type SnapshotClusterConfigurationOutput struct{ *pulumi.OutputState }
func (SnapshotClusterConfigurationOutput) Description ¶
func (o SnapshotClusterConfigurationOutput) Description() pulumi.StringPtrOutput
Description for the cluster.
func (SnapshotClusterConfigurationOutput) ElementType ¶
func (SnapshotClusterConfigurationOutput) ElementType() reflect.Type
func (SnapshotClusterConfigurationOutput) EngineVersion ¶
func (o SnapshotClusterConfigurationOutput) EngineVersion() pulumi.StringPtrOutput
Version number of the Redis engine used by the cluster.
func (SnapshotClusterConfigurationOutput) MaintenanceWindow ¶
func (o SnapshotClusterConfigurationOutput) MaintenanceWindow() pulumi.StringPtrOutput
The weekly time range during which maintenance on the cluster is performed.
func (SnapshotClusterConfigurationOutput) Name ¶
func (o SnapshotClusterConfigurationOutput) Name() pulumi.StringPtrOutput
Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.
func (SnapshotClusterConfigurationOutput) NodeType ¶
func (o SnapshotClusterConfigurationOutput) NodeType() pulumi.StringPtrOutput
Compute and memory capacity of the nodes in the cluster.
func (SnapshotClusterConfigurationOutput) NumShards ¶
func (o SnapshotClusterConfigurationOutput) NumShards() pulumi.IntPtrOutput
Number of shards in the cluster.
func (SnapshotClusterConfigurationOutput) ParameterGroupName ¶
func (o SnapshotClusterConfigurationOutput) ParameterGroupName() pulumi.StringPtrOutput
Name of the parameter group associated with the cluster.
func (SnapshotClusterConfigurationOutput) Port ¶
func (o SnapshotClusterConfigurationOutput) Port() pulumi.IntPtrOutput
Port number on which the cluster accepts connections.
func (SnapshotClusterConfigurationOutput) SnapshotRetentionLimit ¶
func (o SnapshotClusterConfigurationOutput) SnapshotRetentionLimit() pulumi.IntPtrOutput
Number of days for which MemoryDB retains automatic snapshots before deleting them.
func (SnapshotClusterConfigurationOutput) SnapshotWindow ¶
func (o SnapshotClusterConfigurationOutput) SnapshotWindow() pulumi.StringPtrOutput
The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of the shard.
func (SnapshotClusterConfigurationOutput) SubnetGroupName ¶
func (o SnapshotClusterConfigurationOutput) SubnetGroupName() pulumi.StringPtrOutput
Name of the subnet group used by the cluster.
func (SnapshotClusterConfigurationOutput) ToSnapshotClusterConfigurationOutput ¶
func (o SnapshotClusterConfigurationOutput) ToSnapshotClusterConfigurationOutput() SnapshotClusterConfigurationOutput
func (SnapshotClusterConfigurationOutput) ToSnapshotClusterConfigurationOutputWithContext ¶
func (o SnapshotClusterConfigurationOutput) ToSnapshotClusterConfigurationOutputWithContext(ctx context.Context) SnapshotClusterConfigurationOutput
func (SnapshotClusterConfigurationOutput) TopicArn ¶
func (o SnapshotClusterConfigurationOutput) TopicArn() pulumi.StringPtrOutput
ARN of the SNS topic to which cluster notifications are sent.
func (SnapshotClusterConfigurationOutput) VpcId ¶
func (o SnapshotClusterConfigurationOutput) VpcId() pulumi.StringPtrOutput
The VPC in which the cluster exists.
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) Arn ¶
func (o SnapshotOutput) Arn() pulumi.StringOutput
The ARN of the snapshot.
func (SnapshotOutput) ClusterConfigurations ¶
func (o SnapshotOutput) ClusterConfigurations() SnapshotClusterConfigurationArrayOutput
The configuration of the cluster from which the snapshot was taken.
func (SnapshotOutput) ClusterName ¶
func (o SnapshotOutput) ClusterName() pulumi.StringOutput
Name of the MemoryDB cluster to take a snapshot of.
func (SnapshotOutput) ElementType ¶
func (SnapshotOutput) ElementType() reflect.Type
func (SnapshotOutput) KmsKeyArn ¶
func (o SnapshotOutput) KmsKeyArn() pulumi.StringPtrOutput
ARN of the KMS key used to encrypt the snapshot at rest.
func (SnapshotOutput) Name ¶
func (o SnapshotOutput) Name() pulumi.StringOutput
Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.
func (SnapshotOutput) NamePrefix ¶
func (o SnapshotOutput) NamePrefix() pulumi.StringOutput
Creates a unique name beginning with the specified prefix. Conflicts with `name`.
func (SnapshotOutput) Source ¶
func (o SnapshotOutput) Source() pulumi.StringOutput
Indicates whether the snapshot is from an automatic backup (`automated`) or was created manually (`manual`).
func (SnapshotOutput) Tags ¶
func (o SnapshotOutput) 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 (SnapshotOutput) TagsAll
deprecated
func (o SnapshotOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (SnapshotOutput) ToSnapshotOutput ¶
func (o SnapshotOutput) ToSnapshotOutput() SnapshotOutput
func (SnapshotOutput) ToSnapshotOutputWithContext ¶
func (o SnapshotOutput) ToSnapshotOutputWithContext(ctx context.Context) SnapshotOutput
type SnapshotState ¶
type SnapshotState struct { // The ARN of the snapshot. Arn pulumi.StringPtrInput // The configuration of the cluster from which the snapshot was taken. ClusterConfigurations SnapshotClusterConfigurationArrayInput // Name of the MemoryDB cluster to take a snapshot of. ClusterName pulumi.StringPtrInput // ARN of the KMS key used to encrypt the snapshot at rest. KmsKeyArn pulumi.StringPtrInput // Name of the snapshot. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrInput // Indicates whether the snapshot is from an automatic backup (`automated`) or was created manually (`manual`). Source 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. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput }
func (SnapshotState) ElementType ¶
func (SnapshotState) ElementType() reflect.Type
type SubnetGroup ¶
type SubnetGroup struct { pulumi.CustomResourceState // The ARN of the subnet group. Arn pulumi.StringOutput `pulumi:"arn"` // Description for the subnet group. Description pulumi.StringPtrOutput `pulumi:"description"` // Name of the subnet group. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. Name pulumi.StringOutput `pulumi:"name"` // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringOutput `pulumi:"namePrefix"` // Set of VPC Subnet ID-s for the subnet group. At least one subnet must be provided. // // The following arguments are optional: SubnetIds pulumi.StringArrayOutput `pulumi:"subnetIds"` // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // The VPC in which the subnet group exists. VpcId pulumi.StringOutput `pulumi:"vpcId"` }
Provides a MemoryDB Subnet Group.
More information about subnet groups can be found in the [MemoryDB User Guide](https://docs.aws.amazon.com/memorydb/latest/devguide/subnetgroups.html).
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/memorydb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleVpc, err := ec2.NewVpc(ctx, "exampleVpc", &ec2.VpcArgs{ CidrBlock: pulumi.String("10.0.0.0/16"), }) if err != nil { return err } exampleSubnet, err := ec2.NewSubnet(ctx, "exampleSubnet", &ec2.SubnetArgs{ VpcId: exampleVpc.ID(), CidrBlock: pulumi.String("10.0.0.0/24"), AvailabilityZone: pulumi.String("us-west-2a"), }) if err != nil { return err } _, err = memorydb.NewSubnetGroup(ctx, "exampleSubnetGroup", &memorydb.SubnetGroupArgs{ SubnetIds: pulumi.StringArray{ exampleSubnet.ID(), }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import a subnet group using its `name`. For example:
```sh
$ pulumi import aws:memorydb/subnetGroup:SubnetGroup example my-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 { // Description for the subnet group. Description pulumi.StringPtrInput // Name of the subnet group. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrInput // Set of VPC Subnet ID-s for the subnet group. At least one subnet must be provided. // // The following arguments are optional: 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 ¶
func (o SubnetGroupOutput) Arn() pulumi.StringOutput
The ARN of the subnet group.
func (SubnetGroupOutput) Description ¶
func (o SubnetGroupOutput) Description() pulumi.StringPtrOutput
Description for the subnet group.
func (SubnetGroupOutput) ElementType ¶
func (SubnetGroupOutput) ElementType() reflect.Type
func (SubnetGroupOutput) Name ¶
func (o SubnetGroupOutput) Name() pulumi.StringOutput
Name of the subnet group. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`.
func (SubnetGroupOutput) NamePrefix ¶
func (o SubnetGroupOutput) NamePrefix() pulumi.StringOutput
Creates a unique name beginning with the specified prefix. Conflicts with `name`.
func (SubnetGroupOutput) SubnetIds ¶
func (o SubnetGroupOutput) SubnetIds() pulumi.StringArrayOutput
Set of VPC Subnet ID-s for the subnet group. At least one subnet must be provided.
The following arguments are optional:
func (SubnetGroupOutput) Tags ¶
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
deprecated
func (o SubnetGroupOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (SubnetGroupOutput) ToSubnetGroupOutput ¶
func (o SubnetGroupOutput) ToSubnetGroupOutput() SubnetGroupOutput
func (SubnetGroupOutput) ToSubnetGroupOutputWithContext ¶
func (o SubnetGroupOutput) ToSubnetGroupOutputWithContext(ctx context.Context) SubnetGroupOutput
func (SubnetGroupOutput) VpcId ¶
func (o SubnetGroupOutput) VpcId() pulumi.StringOutput
The VPC in which the subnet group exists.
type SubnetGroupState ¶
type SubnetGroupState struct { // The ARN of the subnet group. Arn pulumi.StringPtrInput // Description for the subnet group. Description pulumi.StringPtrInput // Name of the subnet group. If omitted, the provider will assign a random, unique name. Conflicts with `namePrefix`. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrInput // Set of VPC Subnet ID-s for the subnet group. At least one subnet must be provided. // // The following arguments are optional: SubnetIds pulumi.StringArrayInput // A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput // The VPC in which the subnet group exists. VpcId pulumi.StringPtrInput }
func (SubnetGroupState) ElementType ¶
func (SubnetGroupState) ElementType() reflect.Type
type User ¶
type User struct { pulumi.CustomResourceState // The access permissions string used for this user. AccessString pulumi.StringOutput `pulumi:"accessString"` // The ARN of the user. Arn pulumi.StringOutput `pulumi:"arn"` // Denotes the user's authentication properties. Detailed below. AuthenticationMode UserAuthenticationModeOutput `pulumi:"authenticationMode"` // The minimum engine version supported for the user. MinimumEngineVersion pulumi.StringOutput `pulumi:"minimumEngineVersion"` // 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. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // Name of the MemoryDB user. Up to 40 characters. // // The following arguments are optional: UserName pulumi.StringOutput `pulumi:"userName"` }
Provides a MemoryDB User.
More information about users and ACL-s can be found in the [MemoryDB User Guide](https://docs.aws.amazon.com/memorydb/latest/devguide/clusters.acls.html).
> **Note:** All arguments including the username and passwords will be stored in the raw state as plain-text. ## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/memorydb" "github.com/pulumi/pulumi-random/sdk/v4/go/random" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleRandomPassword, err := random.NewRandomPassword(ctx, "exampleRandomPassword", &random.RandomPasswordArgs{ Length: pulumi.Int(16), }) if err != nil { return err } _, err = memorydb.NewUser(ctx, "exampleUser", &memorydb.UserArgs{ UserName: pulumi.String("my-user"), AccessString: pulumi.String("on ~* &* +@all"), AuthenticationMode: &memorydb.UserAuthenticationModeArgs{ Type: pulumi.String("password"), Passwords: pulumi.StringArray{ exampleRandomPassword.Result, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import a user using the `user_name`. For example:
```sh
$ pulumi import aws:memorydb/user:User example my-user
```
The `passwords` are not available for imported resources, as this information cannot be read back from the MemoryDB API.
func GetUser ¶
func GetUser(ctx *pulumi.Context, name string, id pulumi.IDInput, state *UserState, opts ...pulumi.ResourceOption) (*User, error)
GetUser gets an existing User 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 NewUser ¶
func NewUser(ctx *pulumi.Context, name string, args *UserArgs, opts ...pulumi.ResourceOption) (*User, error)
NewUser registers a new resource with the given unique name, arguments, and options.
func (*User) ElementType ¶
func (*User) ToUserOutput ¶
func (i *User) ToUserOutput() UserOutput
func (*User) ToUserOutputWithContext ¶
func (i *User) ToUserOutputWithContext(ctx context.Context) UserOutput
type UserArgs ¶
type UserArgs struct { // The access permissions string used for this user. AccessString pulumi.StringInput // Denotes the user's authentication properties. Detailed below. AuthenticationMode UserAuthenticationModeInput // 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 // Name of the MemoryDB user. Up to 40 characters. // // The following arguments are optional: UserName pulumi.StringInput }
The set of arguments for constructing a User resource.
func (UserArgs) ElementType ¶
type UserArray ¶
type UserArray []UserInput
func (UserArray) ElementType ¶
func (UserArray) ToUserArrayOutput ¶
func (i UserArray) ToUserArrayOutput() UserArrayOutput
func (UserArray) ToUserArrayOutputWithContext ¶
func (i UserArray) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput
type UserArrayInput ¶
type UserArrayInput interface { pulumi.Input ToUserArrayOutput() UserArrayOutput ToUserArrayOutputWithContext(context.Context) UserArrayOutput }
UserArrayInput is an input type that accepts UserArray and UserArrayOutput values. You can construct a concrete instance of `UserArrayInput` via:
UserArray{ UserArgs{...} }
type UserArrayOutput ¶
type UserArrayOutput struct{ *pulumi.OutputState }
func (UserArrayOutput) ElementType ¶
func (UserArrayOutput) ElementType() reflect.Type
func (UserArrayOutput) Index ¶
func (o UserArrayOutput) Index(i pulumi.IntInput) UserOutput
func (UserArrayOutput) ToUserArrayOutput ¶
func (o UserArrayOutput) ToUserArrayOutput() UserArrayOutput
func (UserArrayOutput) ToUserArrayOutputWithContext ¶
func (o UserArrayOutput) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput
type UserAuthenticationMode ¶
type UserAuthenticationMode struct { // The number of passwords belonging to the user. PasswordCount *int `pulumi:"passwordCount"` // The set of passwords used for authentication. You can create up to two passwords for each user. Passwords []string `pulumi:"passwords"` // Indicates whether the user requires a password to authenticate. Must be set to `password`. Type string `pulumi:"type"` }
type UserAuthenticationModeArgs ¶
type UserAuthenticationModeArgs struct { // The number of passwords belonging to the user. PasswordCount pulumi.IntPtrInput `pulumi:"passwordCount"` // The set of passwords used for authentication. You can create up to two passwords for each user. Passwords pulumi.StringArrayInput `pulumi:"passwords"` // Indicates whether the user requires a password to authenticate. Must be set to `password`. Type pulumi.StringInput `pulumi:"type"` }
func (UserAuthenticationModeArgs) ElementType ¶
func (UserAuthenticationModeArgs) ElementType() reflect.Type
func (UserAuthenticationModeArgs) ToUserAuthenticationModeOutput ¶
func (i UserAuthenticationModeArgs) ToUserAuthenticationModeOutput() UserAuthenticationModeOutput
func (UserAuthenticationModeArgs) ToUserAuthenticationModeOutputWithContext ¶
func (i UserAuthenticationModeArgs) ToUserAuthenticationModeOutputWithContext(ctx context.Context) UserAuthenticationModeOutput
func (UserAuthenticationModeArgs) ToUserAuthenticationModePtrOutput ¶
func (i UserAuthenticationModeArgs) ToUserAuthenticationModePtrOutput() UserAuthenticationModePtrOutput
func (UserAuthenticationModeArgs) ToUserAuthenticationModePtrOutputWithContext ¶
func (i UserAuthenticationModeArgs) ToUserAuthenticationModePtrOutputWithContext(ctx context.Context) UserAuthenticationModePtrOutput
type UserAuthenticationModeInput ¶
type UserAuthenticationModeInput interface { pulumi.Input ToUserAuthenticationModeOutput() UserAuthenticationModeOutput ToUserAuthenticationModeOutputWithContext(context.Context) UserAuthenticationModeOutput }
UserAuthenticationModeInput is an input type that accepts UserAuthenticationModeArgs and UserAuthenticationModeOutput values. You can construct a concrete instance of `UserAuthenticationModeInput` via:
UserAuthenticationModeArgs{...}
type UserAuthenticationModeOutput ¶
type UserAuthenticationModeOutput struct{ *pulumi.OutputState }
func (UserAuthenticationModeOutput) ElementType ¶
func (UserAuthenticationModeOutput) ElementType() reflect.Type
func (UserAuthenticationModeOutput) PasswordCount ¶
func (o UserAuthenticationModeOutput) PasswordCount() pulumi.IntPtrOutput
The number of passwords belonging to the user.
func (UserAuthenticationModeOutput) Passwords ¶
func (o UserAuthenticationModeOutput) Passwords() pulumi.StringArrayOutput
The set of passwords used for authentication. You can create up to two passwords for each user.
func (UserAuthenticationModeOutput) ToUserAuthenticationModeOutput ¶
func (o UserAuthenticationModeOutput) ToUserAuthenticationModeOutput() UserAuthenticationModeOutput
func (UserAuthenticationModeOutput) ToUserAuthenticationModeOutputWithContext ¶
func (o UserAuthenticationModeOutput) ToUserAuthenticationModeOutputWithContext(ctx context.Context) UserAuthenticationModeOutput
func (UserAuthenticationModeOutput) ToUserAuthenticationModePtrOutput ¶
func (o UserAuthenticationModeOutput) ToUserAuthenticationModePtrOutput() UserAuthenticationModePtrOutput
func (UserAuthenticationModeOutput) ToUserAuthenticationModePtrOutputWithContext ¶
func (o UserAuthenticationModeOutput) ToUserAuthenticationModePtrOutputWithContext(ctx context.Context) UserAuthenticationModePtrOutput
func (UserAuthenticationModeOutput) Type ¶
func (o UserAuthenticationModeOutput) Type() pulumi.StringOutput
Indicates whether the user requires a password to authenticate. Must be set to `password`.
type UserAuthenticationModePtrInput ¶
type UserAuthenticationModePtrInput interface { pulumi.Input ToUserAuthenticationModePtrOutput() UserAuthenticationModePtrOutput ToUserAuthenticationModePtrOutputWithContext(context.Context) UserAuthenticationModePtrOutput }
UserAuthenticationModePtrInput is an input type that accepts UserAuthenticationModeArgs, UserAuthenticationModePtr and UserAuthenticationModePtrOutput values. You can construct a concrete instance of `UserAuthenticationModePtrInput` via:
UserAuthenticationModeArgs{...} or: nil
func UserAuthenticationModePtr ¶
func UserAuthenticationModePtr(v *UserAuthenticationModeArgs) UserAuthenticationModePtrInput
type UserAuthenticationModePtrOutput ¶
type UserAuthenticationModePtrOutput struct{ *pulumi.OutputState }
func (UserAuthenticationModePtrOutput) Elem ¶
func (o UserAuthenticationModePtrOutput) Elem() UserAuthenticationModeOutput
func (UserAuthenticationModePtrOutput) ElementType ¶
func (UserAuthenticationModePtrOutput) ElementType() reflect.Type
func (UserAuthenticationModePtrOutput) PasswordCount ¶
func (o UserAuthenticationModePtrOutput) PasswordCount() pulumi.IntPtrOutput
The number of passwords belonging to the user.
func (UserAuthenticationModePtrOutput) Passwords ¶
func (o UserAuthenticationModePtrOutput) Passwords() pulumi.StringArrayOutput
The set of passwords used for authentication. You can create up to two passwords for each user.
func (UserAuthenticationModePtrOutput) ToUserAuthenticationModePtrOutput ¶
func (o UserAuthenticationModePtrOutput) ToUserAuthenticationModePtrOutput() UserAuthenticationModePtrOutput
func (UserAuthenticationModePtrOutput) ToUserAuthenticationModePtrOutputWithContext ¶
func (o UserAuthenticationModePtrOutput) ToUserAuthenticationModePtrOutputWithContext(ctx context.Context) UserAuthenticationModePtrOutput
func (UserAuthenticationModePtrOutput) Type ¶
func (o UserAuthenticationModePtrOutput) Type() pulumi.StringPtrOutput
Indicates whether the user requires a password to authenticate. Must be set to `password`.
type UserInput ¶
type UserInput interface { pulumi.Input ToUserOutput() UserOutput ToUserOutputWithContext(ctx context.Context) UserOutput }
type UserMap ¶
func (UserMap) ElementType ¶
func (UserMap) ToUserMapOutput ¶
func (i UserMap) ToUserMapOutput() UserMapOutput
func (UserMap) ToUserMapOutputWithContext ¶
func (i UserMap) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput
type UserMapInput ¶
type UserMapInput interface { pulumi.Input ToUserMapOutput() UserMapOutput ToUserMapOutputWithContext(context.Context) UserMapOutput }
UserMapInput is an input type that accepts UserMap and UserMapOutput values. You can construct a concrete instance of `UserMapInput` via:
UserMap{ "key": UserArgs{...} }
type UserMapOutput ¶
type UserMapOutput struct{ *pulumi.OutputState }
func (UserMapOutput) ElementType ¶
func (UserMapOutput) ElementType() reflect.Type
func (UserMapOutput) MapIndex ¶
func (o UserMapOutput) MapIndex(k pulumi.StringInput) UserOutput
func (UserMapOutput) ToUserMapOutput ¶
func (o UserMapOutput) ToUserMapOutput() UserMapOutput
func (UserMapOutput) ToUserMapOutputWithContext ¶
func (o UserMapOutput) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput
type UserOutput ¶
type UserOutput struct{ *pulumi.OutputState }
func (UserOutput) AccessString ¶
func (o UserOutput) AccessString() pulumi.StringOutput
The access permissions string used for this user.
func (UserOutput) AuthenticationMode ¶
func (o UserOutput) AuthenticationMode() UserAuthenticationModeOutput
Denotes the user's authentication properties. Detailed below.
func (UserOutput) ElementType ¶
func (UserOutput) ElementType() reflect.Type
func (UserOutput) MinimumEngineVersion ¶
func (o UserOutput) MinimumEngineVersion() pulumi.StringOutput
The minimum engine version supported for the user.
func (UserOutput) Tags ¶
func (o UserOutput) 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 (UserOutput) TagsAll
deprecated
func (o UserOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (UserOutput) ToUserOutput ¶
func (o UserOutput) ToUserOutput() UserOutput
func (UserOutput) ToUserOutputWithContext ¶
func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput
func (UserOutput) UserName ¶
func (o UserOutput) UserName() pulumi.StringOutput
Name of the MemoryDB user. Up to 40 characters.
The following arguments are optional:
type UserState ¶
type UserState struct { // The access permissions string used for this user. AccessString pulumi.StringPtrInput // The ARN of the user. Arn pulumi.StringPtrInput // Denotes the user's authentication properties. Detailed below. AuthenticationMode UserAuthenticationModePtrInput // The minimum engine version supported for the user. MinimumEngineVersion 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. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput // Name of the MemoryDB user. Up to 40 characters. // // The following arguments are optional: UserName pulumi.StringPtrInput }