Documentation ¶
Index ¶
- type NotificationRule
- type NotificationRuleArgs
- type NotificationRuleState
- type NotificationRuleTarget
- type NotificationRuleTargetArgs
- type NotificationRuleTargetArray
- func (NotificationRuleTargetArray) ElementType() reflect.Type
- func (i NotificationRuleTargetArray) ToNotificationRuleTargetArrayOutput() NotificationRuleTargetArrayOutput
- func (i NotificationRuleTargetArray) ToNotificationRuleTargetArrayOutputWithContext(ctx context.Context) NotificationRuleTargetArrayOutput
- type NotificationRuleTargetArrayInput
- type NotificationRuleTargetArrayOutput
- func (NotificationRuleTargetArrayOutput) ElementType() reflect.Type
- func (o NotificationRuleTargetArrayOutput) Index(i pulumi.IntInput) NotificationRuleTargetOutput
- func (o NotificationRuleTargetArrayOutput) ToNotificationRuleTargetArrayOutput() NotificationRuleTargetArrayOutput
- func (o NotificationRuleTargetArrayOutput) ToNotificationRuleTargetArrayOutputWithContext(ctx context.Context) NotificationRuleTargetArrayOutput
- type NotificationRuleTargetInput
- type NotificationRuleTargetOutput
- func (o NotificationRuleTargetOutput) Address() pulumi.StringOutput
- func (NotificationRuleTargetOutput) ElementType() reflect.Type
- func (o NotificationRuleTargetOutput) Status() pulumi.StringPtrOutput
- func (o NotificationRuleTargetOutput) ToNotificationRuleTargetOutput() NotificationRuleTargetOutput
- func (o NotificationRuleTargetOutput) ToNotificationRuleTargetOutputWithContext(ctx context.Context) NotificationRuleTargetOutput
- func (o NotificationRuleTargetOutput) Type() pulumi.StringPtrOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotificationRule ¶
type NotificationRule struct { pulumi.CustomResourceState // The codestar notification rule ARN. Arn pulumi.StringOutput `pulumi:"arn"` // The level of detail to include in the notifications for this resource. Possible values are `BASIC` and `FULL`. DetailType pulumi.StringOutput `pulumi:"detailType"` // A list of event types associated with this notification rule. // For list of allowed events see [here](https://docs.aws.amazon.com/codestar-notifications/latest/userguide/concepts.html#concepts-api). EventTypeIds pulumi.StringArrayOutput `pulumi:"eventTypeIds"` // The name of notification rule. Name pulumi.StringOutput `pulumi:"name"` // The ARN of the resource to associate with the notification rule. Resource pulumi.StringOutput `pulumi:"resource"` // The status of the notification rule. Possible values are `ENABLED` and `DISABLED`, default is `ENABLED`. Status pulumi.StringPtrOutput `pulumi:"status"` // A mapping of tags to assign to the resource. Tags pulumi.MapOutput `pulumi:"tags"` // Configuration blocks containing notification target information. Can be specified multiple times. At least one target must be specified on creation. Targets NotificationRuleTargetArrayOutput `pulumi:"targets"` }
Provides a CodeStar Notifications Rule.
func GetNotificationRule ¶
func GetNotificationRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NotificationRuleState, opts ...pulumi.ResourceOption) (*NotificationRule, error)
GetNotificationRule gets an existing NotificationRule 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 NewNotificationRule ¶
func NewNotificationRule(ctx *pulumi.Context, name string, args *NotificationRuleArgs, opts ...pulumi.ResourceOption) (*NotificationRule, error)
NewNotificationRule registers a new resource with the given unique name, arguments, and options.
type NotificationRuleArgs ¶
type NotificationRuleArgs struct { // The level of detail to include in the notifications for this resource. Possible values are `BASIC` and `FULL`. DetailType pulumi.StringInput // A list of event types associated with this notification rule. // For list of allowed events see [here](https://docs.aws.amazon.com/codestar-notifications/latest/userguide/concepts.html#concepts-api). EventTypeIds pulumi.StringArrayInput // The name of notification rule. Name pulumi.StringPtrInput // The ARN of the resource to associate with the notification rule. Resource pulumi.StringInput // The status of the notification rule. Possible values are `ENABLED` and `DISABLED`, default is `ENABLED`. Status pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // Configuration blocks containing notification target information. Can be specified multiple times. At least one target must be specified on creation. Targets NotificationRuleTargetArrayInput }
The set of arguments for constructing a NotificationRule resource.
func (NotificationRuleArgs) ElementType ¶
func (NotificationRuleArgs) ElementType() reflect.Type
type NotificationRuleState ¶
type NotificationRuleState struct { // The codestar notification rule ARN. Arn pulumi.StringPtrInput // The level of detail to include in the notifications for this resource. Possible values are `BASIC` and `FULL`. DetailType pulumi.StringPtrInput // A list of event types associated with this notification rule. // For list of allowed events see [here](https://docs.aws.amazon.com/codestar-notifications/latest/userguide/concepts.html#concepts-api). EventTypeIds pulumi.StringArrayInput // The name of notification rule. Name pulumi.StringPtrInput // The ARN of the resource to associate with the notification rule. Resource pulumi.StringPtrInput // The status of the notification rule. Possible values are `ENABLED` and `DISABLED`, default is `ENABLED`. Status pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // Configuration blocks containing notification target information. Can be specified multiple times. At least one target must be specified on creation. Targets NotificationRuleTargetArrayInput }
func (NotificationRuleState) ElementType ¶
func (NotificationRuleState) ElementType() reflect.Type
type NotificationRuleTarget ¶
type NotificationRuleTarget struct { // The ARN of notification rule target. For example, a SNS Topic ARN. Address string `pulumi:"address"` // The status of the notification rule. Possible values are `ENABLED` and `DISABLED`, default is `ENABLED`. Status *string `pulumi:"status"` // The type of the notification target. Default value is `SNS`. Type *string `pulumi:"type"` }
type NotificationRuleTargetArgs ¶
type NotificationRuleTargetArgs struct { // The ARN of notification rule target. For example, a SNS Topic ARN. Address pulumi.StringInput `pulumi:"address"` // The status of the notification rule. Possible values are `ENABLED` and `DISABLED`, default is `ENABLED`. Status pulumi.StringPtrInput `pulumi:"status"` // The type of the notification target. Default value is `SNS`. Type pulumi.StringPtrInput `pulumi:"type"` }
func (NotificationRuleTargetArgs) ElementType ¶
func (NotificationRuleTargetArgs) ElementType() reflect.Type
func (NotificationRuleTargetArgs) ToNotificationRuleTargetOutput ¶
func (i NotificationRuleTargetArgs) ToNotificationRuleTargetOutput() NotificationRuleTargetOutput
func (NotificationRuleTargetArgs) ToNotificationRuleTargetOutputWithContext ¶
func (i NotificationRuleTargetArgs) ToNotificationRuleTargetOutputWithContext(ctx context.Context) NotificationRuleTargetOutput
type NotificationRuleTargetArray ¶
type NotificationRuleTargetArray []NotificationRuleTargetInput
func (NotificationRuleTargetArray) ElementType ¶
func (NotificationRuleTargetArray) ElementType() reflect.Type
func (NotificationRuleTargetArray) ToNotificationRuleTargetArrayOutput ¶
func (i NotificationRuleTargetArray) ToNotificationRuleTargetArrayOutput() NotificationRuleTargetArrayOutput
func (NotificationRuleTargetArray) ToNotificationRuleTargetArrayOutputWithContext ¶
func (i NotificationRuleTargetArray) ToNotificationRuleTargetArrayOutputWithContext(ctx context.Context) NotificationRuleTargetArrayOutput
type NotificationRuleTargetArrayInput ¶
type NotificationRuleTargetArrayInput interface { pulumi.Input ToNotificationRuleTargetArrayOutput() NotificationRuleTargetArrayOutput ToNotificationRuleTargetArrayOutputWithContext(context.Context) NotificationRuleTargetArrayOutput }
NotificationRuleTargetArrayInput is an input type that accepts NotificationRuleTargetArray and NotificationRuleTargetArrayOutput values. You can construct a concrete instance of `NotificationRuleTargetArrayInput` via:
NotificationRuleTargetArray{ NotificationRuleTargetArgs{...} }
type NotificationRuleTargetArrayOutput ¶
type NotificationRuleTargetArrayOutput struct{ *pulumi.OutputState }
func (NotificationRuleTargetArrayOutput) ElementType ¶
func (NotificationRuleTargetArrayOutput) ElementType() reflect.Type
func (NotificationRuleTargetArrayOutput) Index ¶
func (o NotificationRuleTargetArrayOutput) Index(i pulumi.IntInput) NotificationRuleTargetOutput
func (NotificationRuleTargetArrayOutput) ToNotificationRuleTargetArrayOutput ¶
func (o NotificationRuleTargetArrayOutput) ToNotificationRuleTargetArrayOutput() NotificationRuleTargetArrayOutput
func (NotificationRuleTargetArrayOutput) ToNotificationRuleTargetArrayOutputWithContext ¶
func (o NotificationRuleTargetArrayOutput) ToNotificationRuleTargetArrayOutputWithContext(ctx context.Context) NotificationRuleTargetArrayOutput
type NotificationRuleTargetInput ¶
type NotificationRuleTargetInput interface { pulumi.Input ToNotificationRuleTargetOutput() NotificationRuleTargetOutput ToNotificationRuleTargetOutputWithContext(context.Context) NotificationRuleTargetOutput }
NotificationRuleTargetInput is an input type that accepts NotificationRuleTargetArgs and NotificationRuleTargetOutput values. You can construct a concrete instance of `NotificationRuleTargetInput` via:
NotificationRuleTargetArgs{...}
type NotificationRuleTargetOutput ¶
type NotificationRuleTargetOutput struct{ *pulumi.OutputState }
func (NotificationRuleTargetOutput) Address ¶
func (o NotificationRuleTargetOutput) Address() pulumi.StringOutput
The ARN of notification rule target. For example, a SNS Topic ARN.
func (NotificationRuleTargetOutput) ElementType ¶
func (NotificationRuleTargetOutput) ElementType() reflect.Type
func (NotificationRuleTargetOutput) Status ¶
func (o NotificationRuleTargetOutput) Status() pulumi.StringPtrOutput
The status of the notification rule. Possible values are `ENABLED` and `DISABLED`, default is `ENABLED`.
func (NotificationRuleTargetOutput) ToNotificationRuleTargetOutput ¶
func (o NotificationRuleTargetOutput) ToNotificationRuleTargetOutput() NotificationRuleTargetOutput
func (NotificationRuleTargetOutput) ToNotificationRuleTargetOutputWithContext ¶
func (o NotificationRuleTargetOutput) ToNotificationRuleTargetOutputWithContext(ctx context.Context) NotificationRuleTargetOutput
func (NotificationRuleTargetOutput) Type ¶
func (o NotificationRuleTargetOutput) Type() pulumi.StringPtrOutput
The type of the notification target. Default value is `SNS`.