Documentation
¶
Index ¶
- type Configuration
- type ConfigurationArgs
- type ConfigurationInput
- type ConfigurationOutput
- func (o ConfigurationOutput) Arn() pulumi.StringOutput
- func (o ConfigurationOutput) AuthenticationStrategy() pulumi.StringPtrOutput
- func (o ConfigurationOutput) AwsId() pulumi.StringOutput
- func (o ConfigurationOutput) Data() pulumi.StringOutput
- func (o ConfigurationOutput) Description() pulumi.StringPtrOutput
- func (ConfigurationOutput) ElementType() reflect.Type
- func (o ConfigurationOutput) EngineType() pulumi.StringOutput
- func (o ConfigurationOutput) EngineVersion() pulumi.StringPtrOutput
- func (o ConfigurationOutput) Name() pulumi.StringOutput
- func (o ConfigurationOutput) Revision() pulumi.StringOutput
- func (o ConfigurationOutput) Tags() aws.TagArrayOutput
- func (o ConfigurationOutput) ToConfigurationOutput() ConfigurationOutput
- func (o ConfigurationOutput) ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput
- type ConfigurationState
- type ConfigurationTagsEntry
- type LookupConfigurationArgs
- type LookupConfigurationOutputArgs
- type LookupConfigurationResult
- type LookupConfigurationResultOutput
- func (o LookupConfigurationResultOutput) Arn() pulumi.StringPtrOutput
- func (o LookupConfigurationResultOutput) Description() pulumi.StringPtrOutput
- func (LookupConfigurationResultOutput) ElementType() reflect.Type
- func (o LookupConfigurationResultOutput) Id() pulumi.StringPtrOutput
- func (o LookupConfigurationResultOutput) Revision() pulumi.StringPtrOutput
- func (o LookupConfigurationResultOutput) Tags() aws.TagArrayOutput
- func (o LookupConfigurationResultOutput) ToLookupConfigurationResultOutput() LookupConfigurationResultOutput
- func (o LookupConfigurationResultOutput) ToLookupConfigurationResultOutputWithContext(ctx context.Context) LookupConfigurationResultOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { pulumi.CustomResourceState // The Amazon Resource Name (ARN) of the Amazon MQ configuration. Arn pulumi.StringOutput `pulumi:"arn"` // The authentication strategy associated with the configuration. The default is SIMPLE. AuthenticationStrategy pulumi.StringPtrOutput `pulumi:"authenticationStrategy"` // The ID of the Amazon MQ configuration. AwsId pulumi.StringOutput `pulumi:"awsId"` // The base64-encoded XML configuration. Data pulumi.StringOutput `pulumi:"data"` // The description of the configuration. Description pulumi.StringPtrOutput `pulumi:"description"` // The type of broker engine. Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations. EngineType pulumi.StringOutput `pulumi:"engineType"` // The version of the broker engine. EngineVersion pulumi.StringPtrOutput `pulumi:"engineVersion"` // The name of the configuration. Name pulumi.StringOutput `pulumi:"name"` // The revision number of the configuration. Revision pulumi.StringOutput `pulumi:"revision"` // Create tags when creating the configuration. Tags aws.TagArrayOutput `pulumi:"tags"` }
Resource Type definition for AWS::AmazonMQ::Configuration
## Example Usage ### Example
```go package main
import (
"encoding/base64" "github.com/pulumi/pulumi-aws-native/sdk/go/aws/amazonmq" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := amazonmq.NewConfiguration(ctx, "configuration", &amazonmq.ConfigurationArgs{ Data: pulumi.String(base64.StdEncoding.EncodeToString([]byte(`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<broker xmlns="http://activemq.apache.org/schema/core" start="false">
<destinationPolicy> <policyMap> <policyEntries> <policyEntry topic=">"> <pendingMessageLimitStrategy> <constantPendingMessageLimitStrategy limit="3000"/> </pendingMessageLimitStrategy> </policyEntry> </policyEntries> </policyMap> </destinationPolicy> <plugins> </plugins>
</broker> `))),
EngineType: pulumi.String("ACTIVEMQ"), EngineVersion: pulumi.String("5.15.0"), Name: pulumi.String("my-configuration-1"), }) if err != nil { return err } return nil }) }
```
func GetConfiguration ¶
func GetConfiguration(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ConfigurationState, opts ...pulumi.ResourceOption) (*Configuration, error)
GetConfiguration gets an existing Configuration 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 NewConfiguration ¶
func NewConfiguration(ctx *pulumi.Context, name string, args *ConfigurationArgs, opts ...pulumi.ResourceOption) (*Configuration, error)
NewConfiguration registers a new resource with the given unique name, arguments, and options.
func (*Configuration) ElementType ¶
func (*Configuration) ElementType() reflect.Type
func (*Configuration) ToConfigurationOutput ¶
func (i *Configuration) ToConfigurationOutput() ConfigurationOutput
func (*Configuration) ToConfigurationOutputWithContext ¶
func (i *Configuration) ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput
type ConfigurationArgs ¶
type ConfigurationArgs struct { // The authentication strategy associated with the configuration. The default is SIMPLE. AuthenticationStrategy pulumi.StringPtrInput // The base64-encoded XML configuration. Data pulumi.StringInput // The description of the configuration. Description pulumi.StringPtrInput // The type of broker engine. Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations. EngineType pulumi.StringInput // The version of the broker engine. EngineVersion pulumi.StringPtrInput // The name of the configuration. Name pulumi.StringPtrInput // Create tags when creating the configuration. Tags aws.TagArrayInput }
The set of arguments for constructing a Configuration resource.
func (ConfigurationArgs) ElementType ¶
func (ConfigurationArgs) ElementType() reflect.Type
type ConfigurationInput ¶
type ConfigurationInput interface { pulumi.Input ToConfigurationOutput() ConfigurationOutput ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput }
type ConfigurationOutput ¶
type ConfigurationOutput struct{ *pulumi.OutputState }
func (ConfigurationOutput) Arn ¶ added in v0.17.0
func (o ConfigurationOutput) Arn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the Amazon MQ configuration.
func (ConfigurationOutput) AuthenticationStrategy ¶ added in v0.17.0
func (o ConfigurationOutput) AuthenticationStrategy() pulumi.StringPtrOutput
The authentication strategy associated with the configuration. The default is SIMPLE.
func (ConfigurationOutput) AwsId ¶ added in v0.124.0
func (o ConfigurationOutput) AwsId() pulumi.StringOutput
The ID of the Amazon MQ configuration.
func (ConfigurationOutput) Data ¶ added in v0.17.0
func (o ConfigurationOutput) Data() pulumi.StringOutput
The base64-encoded XML configuration.
func (ConfigurationOutput) Description ¶ added in v0.17.0
func (o ConfigurationOutput) Description() pulumi.StringPtrOutput
The description of the configuration.
func (ConfigurationOutput) ElementType ¶
func (ConfigurationOutput) ElementType() reflect.Type
func (ConfigurationOutput) EngineType ¶ added in v0.17.0
func (o ConfigurationOutput) EngineType() pulumi.StringOutput
The type of broker engine. Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations.
func (ConfigurationOutput) EngineVersion ¶ added in v0.17.0
func (o ConfigurationOutput) EngineVersion() pulumi.StringPtrOutput
The version of the broker engine.
func (ConfigurationOutput) Name ¶ added in v0.17.0
func (o ConfigurationOutput) Name() pulumi.StringOutput
The name of the configuration.
func (ConfigurationOutput) Revision ¶ added in v0.17.0
func (o ConfigurationOutput) Revision() pulumi.StringOutput
The revision number of the configuration.
func (ConfigurationOutput) Tags ¶ added in v0.17.0
func (o ConfigurationOutput) Tags() aws.TagArrayOutput
Create tags when creating the configuration.
func (ConfigurationOutput) ToConfigurationOutput ¶
func (o ConfigurationOutput) ToConfigurationOutput() ConfigurationOutput
func (ConfigurationOutput) ToConfigurationOutputWithContext ¶
func (o ConfigurationOutput) ToConfigurationOutputWithContext(ctx context.Context) ConfigurationOutput
type ConfigurationState ¶
type ConfigurationState struct { }
func (ConfigurationState) ElementType ¶
func (ConfigurationState) ElementType() reflect.Type
type ConfigurationTagsEntry ¶
type LookupConfigurationArgs ¶ added in v0.12.0
type LookupConfigurationArgs struct { // The ID of the Amazon MQ configuration. Id string `pulumi:"id"` }
type LookupConfigurationOutputArgs ¶ added in v0.12.0
type LookupConfigurationOutputArgs struct { // The ID of the Amazon MQ configuration. Id pulumi.StringInput `pulumi:"id"` }
func (LookupConfigurationOutputArgs) ElementType ¶ added in v0.12.0
func (LookupConfigurationOutputArgs) ElementType() reflect.Type
type LookupConfigurationResult ¶ added in v0.12.0
type LookupConfigurationResult struct { // The Amazon Resource Name (ARN) of the Amazon MQ configuration. Arn *string `pulumi:"arn"` // The description of the configuration. Description *string `pulumi:"description"` // The ID of the Amazon MQ configuration. Id *string `pulumi:"id"` // The revision number of the configuration. Revision *string `pulumi:"revision"` // Create tags when creating the configuration. Tags []aws.Tag `pulumi:"tags"` }
func LookupConfiguration ¶ added in v0.12.0
func LookupConfiguration(ctx *pulumi.Context, args *LookupConfigurationArgs, opts ...pulumi.InvokeOption) (*LookupConfigurationResult, error)
Resource Type definition for AWS::AmazonMQ::Configuration
type LookupConfigurationResultOutput ¶ added in v0.12.0
type LookupConfigurationResultOutput struct{ *pulumi.OutputState }
func LookupConfigurationOutput ¶ added in v0.12.0
func LookupConfigurationOutput(ctx *pulumi.Context, args LookupConfigurationOutputArgs, opts ...pulumi.InvokeOption) LookupConfigurationResultOutput
func (LookupConfigurationResultOutput) Arn ¶ added in v0.12.0
func (o LookupConfigurationResultOutput) Arn() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the Amazon MQ configuration.
func (LookupConfigurationResultOutput) Description ¶ added in v0.12.0
func (o LookupConfigurationResultOutput) Description() pulumi.StringPtrOutput
The description of the configuration.
func (LookupConfigurationResultOutput) ElementType ¶ added in v0.12.0
func (LookupConfigurationResultOutput) ElementType() reflect.Type
func (LookupConfigurationResultOutput) Id ¶ added in v0.12.0
func (o LookupConfigurationResultOutput) Id() pulumi.StringPtrOutput
The ID of the Amazon MQ configuration.
func (LookupConfigurationResultOutput) Revision ¶ added in v0.12.0
func (o LookupConfigurationResultOutput) Revision() pulumi.StringPtrOutput
The revision number of the configuration.
func (LookupConfigurationResultOutput) Tags ¶ added in v0.12.0
func (o LookupConfigurationResultOutput) Tags() aws.TagArrayOutput
Create tags when creating the configuration.
func (LookupConfigurationResultOutput) ToLookupConfigurationResultOutput ¶ added in v0.12.0
func (o LookupConfigurationResultOutput) ToLookupConfigurationResultOutput() LookupConfigurationResultOutput
func (LookupConfigurationResultOutput) ToLookupConfigurationResultOutputWithContext ¶ added in v0.12.0
func (o LookupConfigurationResultOutput) ToLookupConfigurationResultOutputWithContext(ctx context.Context) LookupConfigurationResultOutput