Documentation ¶
Index ¶
- type CompositeAlarm
- type CompositeAlarmArgs
- type CompositeAlarmArray
- type CompositeAlarmArrayInput
- type CompositeAlarmArrayOutput
- func (CompositeAlarmArrayOutput) ElementType() reflect.Type
- func (o CompositeAlarmArrayOutput) Index(i pulumi.IntInput) CompositeAlarmOutput
- func (o CompositeAlarmArrayOutput) ToCompositeAlarmArrayOutput() CompositeAlarmArrayOutput
- func (o CompositeAlarmArrayOutput) ToCompositeAlarmArrayOutputWithContext(ctx context.Context) CompositeAlarmArrayOutput
- type CompositeAlarmInput
- type CompositeAlarmMap
- type CompositeAlarmMapInput
- type CompositeAlarmMapOutput
- func (CompositeAlarmMapOutput) ElementType() reflect.Type
- func (o CompositeAlarmMapOutput) MapIndex(k pulumi.StringInput) CompositeAlarmOutput
- func (o CompositeAlarmMapOutput) ToCompositeAlarmMapOutput() CompositeAlarmMapOutput
- func (o CompositeAlarmMapOutput) ToCompositeAlarmMapOutputWithContext(ctx context.Context) CompositeAlarmMapOutput
- type CompositeAlarmOutput
- type CompositeAlarmState
- type Dashboard
- type DashboardArgs
- type DashboardArray
- type DashboardArrayInput
- type DashboardArrayOutput
- func (DashboardArrayOutput) ElementType() reflect.Type
- func (o DashboardArrayOutput) Index(i pulumi.IntInput) DashboardOutput
- func (o DashboardArrayOutput) ToDashboardArrayOutput() DashboardArrayOutput
- func (o DashboardArrayOutput) ToDashboardArrayOutputWithContext(ctx context.Context) DashboardArrayOutput
- type DashboardInput
- type DashboardMap
- type DashboardMapInput
- type DashboardMapOutput
- type DashboardOutput
- type DashboardState
- type EventApiDestination
- type EventApiDestinationArgs
- type EventApiDestinationArray
- type EventApiDestinationArrayInput
- type EventApiDestinationArrayOutput
- func (EventApiDestinationArrayOutput) ElementType() reflect.Type
- func (o EventApiDestinationArrayOutput) Index(i pulumi.IntInput) EventApiDestinationOutput
- func (o EventApiDestinationArrayOutput) ToEventApiDestinationArrayOutput() EventApiDestinationArrayOutput
- func (o EventApiDestinationArrayOutput) ToEventApiDestinationArrayOutputWithContext(ctx context.Context) EventApiDestinationArrayOutput
- type EventApiDestinationInput
- type EventApiDestinationMap
- type EventApiDestinationMapInput
- type EventApiDestinationMapOutput
- func (EventApiDestinationMapOutput) ElementType() reflect.Type
- func (o EventApiDestinationMapOutput) MapIndex(k pulumi.StringInput) EventApiDestinationOutput
- func (o EventApiDestinationMapOutput) ToEventApiDestinationMapOutput() EventApiDestinationMapOutput
- func (o EventApiDestinationMapOutput) ToEventApiDestinationMapOutputWithContext(ctx context.Context) EventApiDestinationMapOutput
- type EventApiDestinationOutput
- type EventApiDestinationState
- type EventArchive
- type EventArchiveArgs
- type EventArchiveArray
- type EventArchiveArrayInput
- type EventArchiveArrayOutput
- func (EventArchiveArrayOutput) ElementType() reflect.Type
- func (o EventArchiveArrayOutput) Index(i pulumi.IntInput) EventArchiveOutput
- func (o EventArchiveArrayOutput) ToEventArchiveArrayOutput() EventArchiveArrayOutput
- func (o EventArchiveArrayOutput) ToEventArchiveArrayOutputWithContext(ctx context.Context) EventArchiveArrayOutput
- type EventArchiveInput
- type EventArchiveMap
- type EventArchiveMapInput
- type EventArchiveMapOutput
- func (EventArchiveMapOutput) ElementType() reflect.Type
- func (o EventArchiveMapOutput) MapIndex(k pulumi.StringInput) EventArchiveOutput
- func (o EventArchiveMapOutput) ToEventArchiveMapOutput() EventArchiveMapOutput
- func (o EventArchiveMapOutput) ToEventArchiveMapOutputWithContext(ctx context.Context) EventArchiveMapOutput
- type EventArchiveOutput
- type EventArchiveState
- type EventBus
- type EventBusArgs
- type EventBusArray
- type EventBusArrayInput
- type EventBusArrayOutput
- type EventBusInput
- type EventBusMap
- type EventBusMapInput
- type EventBusMapOutput
- type EventBusOutput
- type EventBusPolicy
- type EventBusPolicyArgs
- type EventBusPolicyArray
- type EventBusPolicyArrayInput
- type EventBusPolicyArrayOutput
- func (EventBusPolicyArrayOutput) ElementType() reflect.Type
- func (o EventBusPolicyArrayOutput) Index(i pulumi.IntInput) EventBusPolicyOutput
- func (o EventBusPolicyArrayOutput) ToEventBusPolicyArrayOutput() EventBusPolicyArrayOutput
- func (o EventBusPolicyArrayOutput) ToEventBusPolicyArrayOutputWithContext(ctx context.Context) EventBusPolicyArrayOutput
- type EventBusPolicyInput
- type EventBusPolicyMap
- type EventBusPolicyMapInput
- type EventBusPolicyMapOutput
- func (EventBusPolicyMapOutput) ElementType() reflect.Type
- func (o EventBusPolicyMapOutput) MapIndex(k pulumi.StringInput) EventBusPolicyOutput
- func (o EventBusPolicyMapOutput) ToEventBusPolicyMapOutput() EventBusPolicyMapOutput
- func (o EventBusPolicyMapOutput) ToEventBusPolicyMapOutputWithContext(ctx context.Context) EventBusPolicyMapOutput
- type EventBusPolicyOutput
- type EventBusPolicyState
- type EventBusState
- type EventConnection
- type EventConnectionArgs
- type EventConnectionArray
- type EventConnectionArrayInput
- type EventConnectionArrayOutput
- func (EventConnectionArrayOutput) ElementType() reflect.Type
- func (o EventConnectionArrayOutput) Index(i pulumi.IntInput) EventConnectionOutput
- func (o EventConnectionArrayOutput) ToEventConnectionArrayOutput() EventConnectionArrayOutput
- func (o EventConnectionArrayOutput) ToEventConnectionArrayOutputWithContext(ctx context.Context) EventConnectionArrayOutput
- type EventConnectionAuthParameters
- type EventConnectionAuthParametersApiKey
- type EventConnectionAuthParametersApiKeyArgs
- func (EventConnectionAuthParametersApiKeyArgs) ElementType() reflect.Type
- func (i EventConnectionAuthParametersApiKeyArgs) ToEventConnectionAuthParametersApiKeyOutput() EventConnectionAuthParametersApiKeyOutput
- func (i EventConnectionAuthParametersApiKeyArgs) ToEventConnectionAuthParametersApiKeyOutputWithContext(ctx context.Context) EventConnectionAuthParametersApiKeyOutput
- func (i EventConnectionAuthParametersApiKeyArgs) ToEventConnectionAuthParametersApiKeyPtrOutput() EventConnectionAuthParametersApiKeyPtrOutput
- func (i EventConnectionAuthParametersApiKeyArgs) ToEventConnectionAuthParametersApiKeyPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersApiKeyPtrOutput
- type EventConnectionAuthParametersApiKeyInput
- type EventConnectionAuthParametersApiKeyOutput
- func (EventConnectionAuthParametersApiKeyOutput) ElementType() reflect.Type
- func (o EventConnectionAuthParametersApiKeyOutput) Key() pulumi.StringOutput
- func (o EventConnectionAuthParametersApiKeyOutput) ToEventConnectionAuthParametersApiKeyOutput() EventConnectionAuthParametersApiKeyOutput
- func (o EventConnectionAuthParametersApiKeyOutput) ToEventConnectionAuthParametersApiKeyOutputWithContext(ctx context.Context) EventConnectionAuthParametersApiKeyOutput
- func (o EventConnectionAuthParametersApiKeyOutput) ToEventConnectionAuthParametersApiKeyPtrOutput() EventConnectionAuthParametersApiKeyPtrOutput
- func (o EventConnectionAuthParametersApiKeyOutput) ToEventConnectionAuthParametersApiKeyPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersApiKeyPtrOutput
- func (o EventConnectionAuthParametersApiKeyOutput) Value() pulumi.StringOutput
- type EventConnectionAuthParametersApiKeyPtrInput
- type EventConnectionAuthParametersApiKeyPtrOutput
- func (o EventConnectionAuthParametersApiKeyPtrOutput) Elem() EventConnectionAuthParametersApiKeyOutput
- func (EventConnectionAuthParametersApiKeyPtrOutput) ElementType() reflect.Type
- func (o EventConnectionAuthParametersApiKeyPtrOutput) Key() pulumi.StringPtrOutput
- func (o EventConnectionAuthParametersApiKeyPtrOutput) ToEventConnectionAuthParametersApiKeyPtrOutput() EventConnectionAuthParametersApiKeyPtrOutput
- func (o EventConnectionAuthParametersApiKeyPtrOutput) ToEventConnectionAuthParametersApiKeyPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersApiKeyPtrOutput
- func (o EventConnectionAuthParametersApiKeyPtrOutput) Value() pulumi.StringPtrOutput
- type EventConnectionAuthParametersArgs
- func (EventConnectionAuthParametersArgs) ElementType() reflect.Type
- func (i EventConnectionAuthParametersArgs) ToEventConnectionAuthParametersOutput() EventConnectionAuthParametersOutput
- func (i EventConnectionAuthParametersArgs) ToEventConnectionAuthParametersOutputWithContext(ctx context.Context) EventConnectionAuthParametersOutput
- func (i EventConnectionAuthParametersArgs) ToEventConnectionAuthParametersPtrOutput() EventConnectionAuthParametersPtrOutput
- func (i EventConnectionAuthParametersArgs) ToEventConnectionAuthParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersPtrOutput
- type EventConnectionAuthParametersBasic
- type EventConnectionAuthParametersBasicArgs
- func (EventConnectionAuthParametersBasicArgs) ElementType() reflect.Type
- func (i EventConnectionAuthParametersBasicArgs) ToEventConnectionAuthParametersBasicOutput() EventConnectionAuthParametersBasicOutput
- func (i EventConnectionAuthParametersBasicArgs) ToEventConnectionAuthParametersBasicOutputWithContext(ctx context.Context) EventConnectionAuthParametersBasicOutput
- func (i EventConnectionAuthParametersBasicArgs) ToEventConnectionAuthParametersBasicPtrOutput() EventConnectionAuthParametersBasicPtrOutput
- func (i EventConnectionAuthParametersBasicArgs) ToEventConnectionAuthParametersBasicPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersBasicPtrOutput
- type EventConnectionAuthParametersBasicInput
- type EventConnectionAuthParametersBasicOutput
- func (EventConnectionAuthParametersBasicOutput) ElementType() reflect.Type
- func (o EventConnectionAuthParametersBasicOutput) Password() pulumi.StringOutput
- func (o EventConnectionAuthParametersBasicOutput) ToEventConnectionAuthParametersBasicOutput() EventConnectionAuthParametersBasicOutput
- func (o EventConnectionAuthParametersBasicOutput) ToEventConnectionAuthParametersBasicOutputWithContext(ctx context.Context) EventConnectionAuthParametersBasicOutput
- func (o EventConnectionAuthParametersBasicOutput) ToEventConnectionAuthParametersBasicPtrOutput() EventConnectionAuthParametersBasicPtrOutput
- func (o EventConnectionAuthParametersBasicOutput) ToEventConnectionAuthParametersBasicPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersBasicPtrOutput
- func (o EventConnectionAuthParametersBasicOutput) Username() pulumi.StringOutput
- type EventConnectionAuthParametersBasicPtrInput
- type EventConnectionAuthParametersBasicPtrOutput
- func (o EventConnectionAuthParametersBasicPtrOutput) Elem() EventConnectionAuthParametersBasicOutput
- func (EventConnectionAuthParametersBasicPtrOutput) ElementType() reflect.Type
- func (o EventConnectionAuthParametersBasicPtrOutput) Password() pulumi.StringPtrOutput
- func (o EventConnectionAuthParametersBasicPtrOutput) ToEventConnectionAuthParametersBasicPtrOutput() EventConnectionAuthParametersBasicPtrOutput
- func (o EventConnectionAuthParametersBasicPtrOutput) ToEventConnectionAuthParametersBasicPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersBasicPtrOutput
- func (o EventConnectionAuthParametersBasicPtrOutput) Username() pulumi.StringPtrOutput
- type EventConnectionAuthParametersInput
- type EventConnectionAuthParametersInvocationHttpParameters
- type EventConnectionAuthParametersInvocationHttpParametersArgs
- func (EventConnectionAuthParametersInvocationHttpParametersArgs) ElementType() reflect.Type
- func (i EventConnectionAuthParametersInvocationHttpParametersArgs) ToEventConnectionAuthParametersInvocationHttpParametersOutput() EventConnectionAuthParametersInvocationHttpParametersOutput
- func (i EventConnectionAuthParametersInvocationHttpParametersArgs) ToEventConnectionAuthParametersInvocationHttpParametersOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersOutput
- func (i EventConnectionAuthParametersInvocationHttpParametersArgs) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutput() EventConnectionAuthParametersInvocationHttpParametersPtrOutput
- func (i EventConnectionAuthParametersInvocationHttpParametersArgs) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersPtrOutput
- type EventConnectionAuthParametersInvocationHttpParametersBody
- type EventConnectionAuthParametersInvocationHttpParametersBodyArgs
- func (EventConnectionAuthParametersInvocationHttpParametersBodyArgs) ElementType() reflect.Type
- func (i EventConnectionAuthParametersInvocationHttpParametersBodyArgs) ToEventConnectionAuthParametersInvocationHttpParametersBodyOutput() EventConnectionAuthParametersInvocationHttpParametersBodyOutput
- func (i EventConnectionAuthParametersInvocationHttpParametersBodyArgs) ToEventConnectionAuthParametersInvocationHttpParametersBodyOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersBodyOutput
- type EventConnectionAuthParametersInvocationHttpParametersBodyArray
- func (EventConnectionAuthParametersInvocationHttpParametersBodyArray) ElementType() reflect.Type
- func (i EventConnectionAuthParametersInvocationHttpParametersBodyArray) ToEventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput() EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput
- func (i EventConnectionAuthParametersInvocationHttpParametersBodyArray) ToEventConnectionAuthParametersInvocationHttpParametersBodyArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput
- type EventConnectionAuthParametersInvocationHttpParametersBodyArrayInput
- type EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput
- func (EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput) ElementType() reflect.Type
- func (o EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput) Index(i pulumi.IntInput) EventConnectionAuthParametersInvocationHttpParametersBodyOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput) ToEventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput() EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput) ToEventConnectionAuthParametersInvocationHttpParametersBodyArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput
- type EventConnectionAuthParametersInvocationHttpParametersBodyInput
- type EventConnectionAuthParametersInvocationHttpParametersBodyOutput
- func (EventConnectionAuthParametersInvocationHttpParametersBodyOutput) ElementType() reflect.Type
- func (o EventConnectionAuthParametersInvocationHttpParametersBodyOutput) IsValueSecret() pulumi.BoolPtrOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersBodyOutput) Key() pulumi.StringPtrOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersBodyOutput) ToEventConnectionAuthParametersInvocationHttpParametersBodyOutput() EventConnectionAuthParametersInvocationHttpParametersBodyOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersBodyOutput) ToEventConnectionAuthParametersInvocationHttpParametersBodyOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersBodyOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersBodyOutput) Value() pulumi.StringPtrOutput
- type EventConnectionAuthParametersInvocationHttpParametersHeader
- type EventConnectionAuthParametersInvocationHttpParametersHeaderArgs
- func (EventConnectionAuthParametersInvocationHttpParametersHeaderArgs) ElementType() reflect.Type
- func (i EventConnectionAuthParametersInvocationHttpParametersHeaderArgs) ToEventConnectionAuthParametersInvocationHttpParametersHeaderOutput() EventConnectionAuthParametersInvocationHttpParametersHeaderOutput
- func (i EventConnectionAuthParametersInvocationHttpParametersHeaderArgs) ToEventConnectionAuthParametersInvocationHttpParametersHeaderOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersHeaderOutput
- type EventConnectionAuthParametersInvocationHttpParametersHeaderArray
- func (EventConnectionAuthParametersInvocationHttpParametersHeaderArray) ElementType() reflect.Type
- func (i EventConnectionAuthParametersInvocationHttpParametersHeaderArray) ToEventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput() EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput
- func (i EventConnectionAuthParametersInvocationHttpParametersHeaderArray) ToEventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput
- type EventConnectionAuthParametersInvocationHttpParametersHeaderArrayInput
- type EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput
- func (EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput) ElementType() reflect.Type
- func (o EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput) Index(i pulumi.IntInput) EventConnectionAuthParametersInvocationHttpParametersHeaderOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput) ToEventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput() EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput) ToEventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput
- type EventConnectionAuthParametersInvocationHttpParametersHeaderInput
- type EventConnectionAuthParametersInvocationHttpParametersHeaderOutput
- func (EventConnectionAuthParametersInvocationHttpParametersHeaderOutput) ElementType() reflect.Type
- func (o EventConnectionAuthParametersInvocationHttpParametersHeaderOutput) IsValueSecret() pulumi.BoolPtrOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersHeaderOutput) Key() pulumi.StringPtrOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersHeaderOutput) ToEventConnectionAuthParametersInvocationHttpParametersHeaderOutput() EventConnectionAuthParametersInvocationHttpParametersHeaderOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersHeaderOutput) ToEventConnectionAuthParametersInvocationHttpParametersHeaderOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersHeaderOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersHeaderOutput) Value() pulumi.StringPtrOutput
- type EventConnectionAuthParametersInvocationHttpParametersInput
- type EventConnectionAuthParametersInvocationHttpParametersOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersOutput) Bodies() EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput
- func (EventConnectionAuthParametersInvocationHttpParametersOutput) ElementType() reflect.Type
- func (o EventConnectionAuthParametersInvocationHttpParametersOutput) Headers() EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersOutput) QueryStrings() EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersOutput) ToEventConnectionAuthParametersInvocationHttpParametersOutput() EventConnectionAuthParametersInvocationHttpParametersOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersOutput) ToEventConnectionAuthParametersInvocationHttpParametersOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersOutput) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutput() EventConnectionAuthParametersInvocationHttpParametersPtrOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersOutput) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersPtrOutput
- type EventConnectionAuthParametersInvocationHttpParametersPtrInput
- type EventConnectionAuthParametersInvocationHttpParametersPtrOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersPtrOutput) Bodies() EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersPtrOutput) Elem() EventConnectionAuthParametersInvocationHttpParametersOutput
- func (EventConnectionAuthParametersInvocationHttpParametersPtrOutput) ElementType() reflect.Type
- func (o EventConnectionAuthParametersInvocationHttpParametersPtrOutput) Headers() EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersPtrOutput) QueryStrings() EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersPtrOutput) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutput() EventConnectionAuthParametersInvocationHttpParametersPtrOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersPtrOutput) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersPtrOutput
- type EventConnectionAuthParametersInvocationHttpParametersQueryString
- type EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs
- func (EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs) ElementType() reflect.Type
- func (i EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringOutput() EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput
- func (i EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput
- type EventConnectionAuthParametersInvocationHttpParametersQueryStringArray
- func (EventConnectionAuthParametersInvocationHttpParametersQueryStringArray) ElementType() reflect.Type
- func (i EventConnectionAuthParametersInvocationHttpParametersQueryStringArray) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput() EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput
- func (i EventConnectionAuthParametersInvocationHttpParametersQueryStringArray) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput
- type EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayInput
- type EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput
- func (EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput) ElementType() reflect.Type
- func (o EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput) Index(i pulumi.IntInput) EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput() EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput
- type EventConnectionAuthParametersInvocationHttpParametersQueryStringInput
- type EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput
- func (EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput) ElementType() reflect.Type
- func (o EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput) IsValueSecret() pulumi.BoolPtrOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput) Key() pulumi.StringPtrOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringOutput() EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput
- func (o EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput) Value() pulumi.StringPtrOutput
- type EventConnectionAuthParametersOauth
- type EventConnectionAuthParametersOauthArgs
- func (EventConnectionAuthParametersOauthArgs) ElementType() reflect.Type
- func (i EventConnectionAuthParametersOauthArgs) ToEventConnectionAuthParametersOauthOutput() EventConnectionAuthParametersOauthOutput
- func (i EventConnectionAuthParametersOauthArgs) ToEventConnectionAuthParametersOauthOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOutput
- func (i EventConnectionAuthParametersOauthArgs) ToEventConnectionAuthParametersOauthPtrOutput() EventConnectionAuthParametersOauthPtrOutput
- func (i EventConnectionAuthParametersOauthArgs) ToEventConnectionAuthParametersOauthPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthPtrOutput
- type EventConnectionAuthParametersOauthClientParameters
- type EventConnectionAuthParametersOauthClientParametersArgs
- func (EventConnectionAuthParametersOauthClientParametersArgs) ElementType() reflect.Type
- func (i EventConnectionAuthParametersOauthClientParametersArgs) ToEventConnectionAuthParametersOauthClientParametersOutput() EventConnectionAuthParametersOauthClientParametersOutput
- func (i EventConnectionAuthParametersOauthClientParametersArgs) ToEventConnectionAuthParametersOauthClientParametersOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthClientParametersOutput
- func (i EventConnectionAuthParametersOauthClientParametersArgs) ToEventConnectionAuthParametersOauthClientParametersPtrOutput() EventConnectionAuthParametersOauthClientParametersPtrOutput
- func (i EventConnectionAuthParametersOauthClientParametersArgs) ToEventConnectionAuthParametersOauthClientParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthClientParametersPtrOutput
- type EventConnectionAuthParametersOauthClientParametersInput
- type EventConnectionAuthParametersOauthClientParametersOutput
- func (o EventConnectionAuthParametersOauthClientParametersOutput) ClientId() pulumi.StringOutput
- func (o EventConnectionAuthParametersOauthClientParametersOutput) ClientSecret() pulumi.StringOutput
- func (EventConnectionAuthParametersOauthClientParametersOutput) ElementType() reflect.Type
- func (o EventConnectionAuthParametersOauthClientParametersOutput) ToEventConnectionAuthParametersOauthClientParametersOutput() EventConnectionAuthParametersOauthClientParametersOutput
- func (o EventConnectionAuthParametersOauthClientParametersOutput) ToEventConnectionAuthParametersOauthClientParametersOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthClientParametersOutput
- func (o EventConnectionAuthParametersOauthClientParametersOutput) ToEventConnectionAuthParametersOauthClientParametersPtrOutput() EventConnectionAuthParametersOauthClientParametersPtrOutput
- func (o EventConnectionAuthParametersOauthClientParametersOutput) ToEventConnectionAuthParametersOauthClientParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthClientParametersPtrOutput
- type EventConnectionAuthParametersOauthClientParametersPtrInput
- type EventConnectionAuthParametersOauthClientParametersPtrOutput
- func (o EventConnectionAuthParametersOauthClientParametersPtrOutput) ClientId() pulumi.StringPtrOutput
- func (o EventConnectionAuthParametersOauthClientParametersPtrOutput) ClientSecret() pulumi.StringPtrOutput
- func (o EventConnectionAuthParametersOauthClientParametersPtrOutput) Elem() EventConnectionAuthParametersOauthClientParametersOutput
- func (EventConnectionAuthParametersOauthClientParametersPtrOutput) ElementType() reflect.Type
- func (o EventConnectionAuthParametersOauthClientParametersPtrOutput) ToEventConnectionAuthParametersOauthClientParametersPtrOutput() EventConnectionAuthParametersOauthClientParametersPtrOutput
- func (o EventConnectionAuthParametersOauthClientParametersPtrOutput) ToEventConnectionAuthParametersOauthClientParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthClientParametersPtrOutput
- type EventConnectionAuthParametersOauthInput
- type EventConnectionAuthParametersOauthOauthHttpParameters
- type EventConnectionAuthParametersOauthOauthHttpParametersArgs
- func (EventConnectionAuthParametersOauthOauthHttpParametersArgs) ElementType() reflect.Type
- func (i EventConnectionAuthParametersOauthOauthHttpParametersArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersOutput() EventConnectionAuthParametersOauthOauthHttpParametersOutput
- func (i EventConnectionAuthParametersOauthOauthHttpParametersArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersOutput
- func (i EventConnectionAuthParametersOauthOauthHttpParametersArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutput() EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput
- func (i EventConnectionAuthParametersOauthOauthHttpParametersArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput
- type EventConnectionAuthParametersOauthOauthHttpParametersBody
- type EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs
- func (EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs) ElementType() reflect.Type
- func (i EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyOutput() EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput
- func (i EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput
- type EventConnectionAuthParametersOauthOauthHttpParametersBodyArray
- func (EventConnectionAuthParametersOauthOauthHttpParametersBodyArray) ElementType() reflect.Type
- func (i EventConnectionAuthParametersOauthOauthHttpParametersBodyArray) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput() EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput
- func (i EventConnectionAuthParametersOauthOauthHttpParametersBodyArray) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput
- type EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayInput
- type EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput
- func (EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput) ElementType() reflect.Type
- func (o EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput) Index(i pulumi.IntInput) EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput() EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput
- type EventConnectionAuthParametersOauthOauthHttpParametersBodyInput
- type EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput
- func (EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput) ElementType() reflect.Type
- func (o EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput) IsValueSecret() pulumi.BoolPtrOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput) Key() pulumi.StringPtrOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyOutput() EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput) Value() pulumi.StringPtrOutput
- type EventConnectionAuthParametersOauthOauthHttpParametersHeader
- type EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs
- func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs) ElementType() reflect.Type
- func (i EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput() EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput
- func (i EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput
- type EventConnectionAuthParametersOauthOauthHttpParametersHeaderArray
- func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderArray) ElementType() reflect.Type
- func (i EventConnectionAuthParametersOauthOauthHttpParametersHeaderArray) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput() EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput
- func (i EventConnectionAuthParametersOauthOauthHttpParametersHeaderArray) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput
- type EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayInput
- type EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput
- func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput) ElementType() reflect.Type
- func (o EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput) Index(i pulumi.IntInput) EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput() EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput
- type EventConnectionAuthParametersOauthOauthHttpParametersHeaderInput
- type EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput
- func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput) ElementType() reflect.Type
- func (o EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput) IsValueSecret() pulumi.BoolPtrOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput) Key() pulumi.StringPtrOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput() EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput) Value() pulumi.StringPtrOutput
- type EventConnectionAuthParametersOauthOauthHttpParametersInput
- type EventConnectionAuthParametersOauthOauthHttpParametersOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersOutput) Bodies() EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput
- func (EventConnectionAuthParametersOauthOauthHttpParametersOutput) ElementType() reflect.Type
- func (o EventConnectionAuthParametersOauthOauthHttpParametersOutput) Headers() EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersOutput) QueryStrings() EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersOutput() EventConnectionAuthParametersOauthOauthHttpParametersOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutput() EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput
- type EventConnectionAuthParametersOauthOauthHttpParametersPtrInput
- type EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) Bodies() EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) Elem() EventConnectionAuthParametersOauthOauthHttpParametersOutput
- func (EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) ElementType() reflect.Type
- func (o EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) Headers() EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) QueryStrings() EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutput() EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput
- type EventConnectionAuthParametersOauthOauthHttpParametersQueryString
- type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs
- func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs) ElementType() reflect.Type
- func (i EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput() EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput
- func (i EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput
- type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArray
- func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArray) ElementType() reflect.Type
- func (i EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArray) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput() EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput
- func (i EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArray) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput
- type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayInput
- type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput
- func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput) ElementType() reflect.Type
- func (o EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput) Index(i pulumi.IntInput) EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput() EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput
- type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringInput
- type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput
- func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput) ElementType() reflect.Type
- func (o EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput) IsValueSecret() pulumi.BoolPtrOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput) Key() pulumi.StringPtrOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput() EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput
- func (o EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput) Value() pulumi.StringPtrOutput
- type EventConnectionAuthParametersOauthOutput
- func (o EventConnectionAuthParametersOauthOutput) AuthorizationEndpoint() pulumi.StringOutput
- func (o EventConnectionAuthParametersOauthOutput) ClientParameters() EventConnectionAuthParametersOauthClientParametersPtrOutput
- func (EventConnectionAuthParametersOauthOutput) ElementType() reflect.Type
- func (o EventConnectionAuthParametersOauthOutput) HttpMethod() pulumi.StringOutput
- func (o EventConnectionAuthParametersOauthOutput) OauthHttpParameters() EventConnectionAuthParametersOauthOauthHttpParametersOutput
- func (o EventConnectionAuthParametersOauthOutput) ToEventConnectionAuthParametersOauthOutput() EventConnectionAuthParametersOauthOutput
- func (o EventConnectionAuthParametersOauthOutput) ToEventConnectionAuthParametersOauthOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOutput
- func (o EventConnectionAuthParametersOauthOutput) ToEventConnectionAuthParametersOauthPtrOutput() EventConnectionAuthParametersOauthPtrOutput
- func (o EventConnectionAuthParametersOauthOutput) ToEventConnectionAuthParametersOauthPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthPtrOutput
- type EventConnectionAuthParametersOauthPtrInput
- type EventConnectionAuthParametersOauthPtrOutput
- func (o EventConnectionAuthParametersOauthPtrOutput) AuthorizationEndpoint() pulumi.StringPtrOutput
- func (o EventConnectionAuthParametersOauthPtrOutput) ClientParameters() EventConnectionAuthParametersOauthClientParametersPtrOutput
- func (o EventConnectionAuthParametersOauthPtrOutput) Elem() EventConnectionAuthParametersOauthOutput
- func (EventConnectionAuthParametersOauthPtrOutput) ElementType() reflect.Type
- func (o EventConnectionAuthParametersOauthPtrOutput) HttpMethod() pulumi.StringPtrOutput
- func (o EventConnectionAuthParametersOauthPtrOutput) OauthHttpParameters() EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput
- func (o EventConnectionAuthParametersOauthPtrOutput) ToEventConnectionAuthParametersOauthPtrOutput() EventConnectionAuthParametersOauthPtrOutput
- func (o EventConnectionAuthParametersOauthPtrOutput) ToEventConnectionAuthParametersOauthPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthPtrOutput
- type EventConnectionAuthParametersOutput
- func (o EventConnectionAuthParametersOutput) ApiKey() EventConnectionAuthParametersApiKeyPtrOutput
- func (o EventConnectionAuthParametersOutput) Basic() EventConnectionAuthParametersBasicPtrOutput
- func (EventConnectionAuthParametersOutput) ElementType() reflect.Type
- func (o EventConnectionAuthParametersOutput) InvocationHttpParameters() EventConnectionAuthParametersInvocationHttpParametersPtrOutput
- func (o EventConnectionAuthParametersOutput) Oauth() EventConnectionAuthParametersOauthPtrOutput
- func (o EventConnectionAuthParametersOutput) ToEventConnectionAuthParametersOutput() EventConnectionAuthParametersOutput
- func (o EventConnectionAuthParametersOutput) ToEventConnectionAuthParametersOutputWithContext(ctx context.Context) EventConnectionAuthParametersOutput
- func (o EventConnectionAuthParametersOutput) ToEventConnectionAuthParametersPtrOutput() EventConnectionAuthParametersPtrOutput
- func (o EventConnectionAuthParametersOutput) ToEventConnectionAuthParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersPtrOutput
- type EventConnectionAuthParametersPtrInput
- type EventConnectionAuthParametersPtrOutput
- func (o EventConnectionAuthParametersPtrOutput) ApiKey() EventConnectionAuthParametersApiKeyPtrOutput
- func (o EventConnectionAuthParametersPtrOutput) Basic() EventConnectionAuthParametersBasicPtrOutput
- func (o EventConnectionAuthParametersPtrOutput) Elem() EventConnectionAuthParametersOutput
- func (EventConnectionAuthParametersPtrOutput) ElementType() reflect.Type
- func (o EventConnectionAuthParametersPtrOutput) InvocationHttpParameters() EventConnectionAuthParametersInvocationHttpParametersPtrOutput
- func (o EventConnectionAuthParametersPtrOutput) Oauth() EventConnectionAuthParametersOauthPtrOutput
- func (o EventConnectionAuthParametersPtrOutput) ToEventConnectionAuthParametersPtrOutput() EventConnectionAuthParametersPtrOutput
- func (o EventConnectionAuthParametersPtrOutput) ToEventConnectionAuthParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersPtrOutput
- type EventConnectionInput
- type EventConnectionMap
- type EventConnectionMapInput
- type EventConnectionMapOutput
- func (EventConnectionMapOutput) ElementType() reflect.Type
- func (o EventConnectionMapOutput) MapIndex(k pulumi.StringInput) EventConnectionOutput
- func (o EventConnectionMapOutput) ToEventConnectionMapOutput() EventConnectionMapOutput
- func (o EventConnectionMapOutput) ToEventConnectionMapOutputWithContext(ctx context.Context) EventConnectionMapOutput
- type EventConnectionOutput
- type EventConnectionState
- type EventPermission
- type EventPermissionArgs
- type EventPermissionArray
- type EventPermissionArrayInput
- type EventPermissionArrayOutput
- func (EventPermissionArrayOutput) ElementType() reflect.Type
- func (o EventPermissionArrayOutput) Index(i pulumi.IntInput) EventPermissionOutput
- func (o EventPermissionArrayOutput) ToEventPermissionArrayOutput() EventPermissionArrayOutput
- func (o EventPermissionArrayOutput) ToEventPermissionArrayOutputWithContext(ctx context.Context) EventPermissionArrayOutput
- type EventPermissionCondition
- type EventPermissionConditionArgs
- func (EventPermissionConditionArgs) ElementType() reflect.Type
- func (i EventPermissionConditionArgs) ToEventPermissionConditionOutput() EventPermissionConditionOutput
- func (i EventPermissionConditionArgs) ToEventPermissionConditionOutputWithContext(ctx context.Context) EventPermissionConditionOutput
- func (i EventPermissionConditionArgs) ToEventPermissionConditionPtrOutput() EventPermissionConditionPtrOutput
- func (i EventPermissionConditionArgs) ToEventPermissionConditionPtrOutputWithContext(ctx context.Context) EventPermissionConditionPtrOutput
- type EventPermissionConditionInput
- type EventPermissionConditionOutput
- func (EventPermissionConditionOutput) ElementType() reflect.Type
- func (o EventPermissionConditionOutput) Key() pulumi.StringOutput
- func (o EventPermissionConditionOutput) ToEventPermissionConditionOutput() EventPermissionConditionOutput
- func (o EventPermissionConditionOutput) ToEventPermissionConditionOutputWithContext(ctx context.Context) EventPermissionConditionOutput
- func (o EventPermissionConditionOutput) ToEventPermissionConditionPtrOutput() EventPermissionConditionPtrOutput
- func (o EventPermissionConditionOutput) ToEventPermissionConditionPtrOutputWithContext(ctx context.Context) EventPermissionConditionPtrOutput
- func (o EventPermissionConditionOutput) Type() pulumi.StringOutput
- func (o EventPermissionConditionOutput) Value() pulumi.StringOutput
- type EventPermissionConditionPtrInput
- type EventPermissionConditionPtrOutput
- func (o EventPermissionConditionPtrOutput) Elem() EventPermissionConditionOutput
- func (EventPermissionConditionPtrOutput) ElementType() reflect.Type
- func (o EventPermissionConditionPtrOutput) Key() pulumi.StringPtrOutput
- func (o EventPermissionConditionPtrOutput) ToEventPermissionConditionPtrOutput() EventPermissionConditionPtrOutput
- func (o EventPermissionConditionPtrOutput) ToEventPermissionConditionPtrOutputWithContext(ctx context.Context) EventPermissionConditionPtrOutput
- func (o EventPermissionConditionPtrOutput) Type() pulumi.StringPtrOutput
- func (o EventPermissionConditionPtrOutput) Value() pulumi.StringPtrOutput
- type EventPermissionInput
- type EventPermissionMap
- type EventPermissionMapInput
- type EventPermissionMapOutput
- func (EventPermissionMapOutput) ElementType() reflect.Type
- func (o EventPermissionMapOutput) MapIndex(k pulumi.StringInput) EventPermissionOutput
- func (o EventPermissionMapOutput) ToEventPermissionMapOutput() EventPermissionMapOutput
- func (o EventPermissionMapOutput) ToEventPermissionMapOutputWithContext(ctx context.Context) EventPermissionMapOutput
- type EventPermissionOutput
- type EventPermissionState
- type EventRule
- type EventRuleArgs
- type EventRuleArray
- type EventRuleArrayInput
- type EventRuleArrayOutput
- func (EventRuleArrayOutput) ElementType() reflect.Type
- func (o EventRuleArrayOutput) Index(i pulumi.IntInput) EventRuleOutput
- func (o EventRuleArrayOutput) ToEventRuleArrayOutput() EventRuleArrayOutput
- func (o EventRuleArrayOutput) ToEventRuleArrayOutputWithContext(ctx context.Context) EventRuleArrayOutput
- type EventRuleInput
- type EventRuleMap
- type EventRuleMapInput
- type EventRuleMapOutput
- type EventRuleOutput
- type EventRuleState
- type EventTarget
- type EventTargetArgs
- type EventTargetArray
- type EventTargetArrayInput
- type EventTargetArrayOutput
- func (EventTargetArrayOutput) ElementType() reflect.Type
- func (o EventTargetArrayOutput) Index(i pulumi.IntInput) EventTargetOutput
- func (o EventTargetArrayOutput) ToEventTargetArrayOutput() EventTargetArrayOutput
- func (o EventTargetArrayOutput) ToEventTargetArrayOutputWithContext(ctx context.Context) EventTargetArrayOutput
- type EventTargetBatchTarget
- type EventTargetBatchTargetArgs
- func (EventTargetBatchTargetArgs) ElementType() reflect.Type
- func (i EventTargetBatchTargetArgs) ToEventTargetBatchTargetOutput() EventTargetBatchTargetOutput
- func (i EventTargetBatchTargetArgs) ToEventTargetBatchTargetOutputWithContext(ctx context.Context) EventTargetBatchTargetOutput
- func (i EventTargetBatchTargetArgs) ToEventTargetBatchTargetPtrOutput() EventTargetBatchTargetPtrOutput
- func (i EventTargetBatchTargetArgs) ToEventTargetBatchTargetPtrOutputWithContext(ctx context.Context) EventTargetBatchTargetPtrOutput
- type EventTargetBatchTargetInput
- type EventTargetBatchTargetOutput
- func (o EventTargetBatchTargetOutput) ArraySize() pulumi.IntPtrOutput
- func (EventTargetBatchTargetOutput) ElementType() reflect.Type
- func (o EventTargetBatchTargetOutput) JobAttempts() pulumi.IntPtrOutput
- func (o EventTargetBatchTargetOutput) JobDefinition() pulumi.StringOutput
- func (o EventTargetBatchTargetOutput) JobName() pulumi.StringOutput
- func (o EventTargetBatchTargetOutput) ToEventTargetBatchTargetOutput() EventTargetBatchTargetOutput
- func (o EventTargetBatchTargetOutput) ToEventTargetBatchTargetOutputWithContext(ctx context.Context) EventTargetBatchTargetOutput
- func (o EventTargetBatchTargetOutput) ToEventTargetBatchTargetPtrOutput() EventTargetBatchTargetPtrOutput
- func (o EventTargetBatchTargetOutput) ToEventTargetBatchTargetPtrOutputWithContext(ctx context.Context) EventTargetBatchTargetPtrOutput
- type EventTargetBatchTargetPtrInput
- type EventTargetBatchTargetPtrOutput
- func (o EventTargetBatchTargetPtrOutput) ArraySize() pulumi.IntPtrOutput
- func (o EventTargetBatchTargetPtrOutput) Elem() EventTargetBatchTargetOutput
- func (EventTargetBatchTargetPtrOutput) ElementType() reflect.Type
- func (o EventTargetBatchTargetPtrOutput) JobAttempts() pulumi.IntPtrOutput
- func (o EventTargetBatchTargetPtrOutput) JobDefinition() pulumi.StringPtrOutput
- func (o EventTargetBatchTargetPtrOutput) JobName() pulumi.StringPtrOutput
- func (o EventTargetBatchTargetPtrOutput) ToEventTargetBatchTargetPtrOutput() EventTargetBatchTargetPtrOutput
- func (o EventTargetBatchTargetPtrOutput) ToEventTargetBatchTargetPtrOutputWithContext(ctx context.Context) EventTargetBatchTargetPtrOutput
- type EventTargetDeadLetterConfig
- type EventTargetDeadLetterConfigArgs
- func (EventTargetDeadLetterConfigArgs) ElementType() reflect.Type
- func (i EventTargetDeadLetterConfigArgs) ToEventTargetDeadLetterConfigOutput() EventTargetDeadLetterConfigOutput
- func (i EventTargetDeadLetterConfigArgs) ToEventTargetDeadLetterConfigOutputWithContext(ctx context.Context) EventTargetDeadLetterConfigOutput
- func (i EventTargetDeadLetterConfigArgs) ToEventTargetDeadLetterConfigPtrOutput() EventTargetDeadLetterConfigPtrOutput
- func (i EventTargetDeadLetterConfigArgs) ToEventTargetDeadLetterConfigPtrOutputWithContext(ctx context.Context) EventTargetDeadLetterConfigPtrOutput
- type EventTargetDeadLetterConfigInput
- type EventTargetDeadLetterConfigOutput
- func (o EventTargetDeadLetterConfigOutput) Arn() pulumi.StringPtrOutput
- func (EventTargetDeadLetterConfigOutput) ElementType() reflect.Type
- func (o EventTargetDeadLetterConfigOutput) ToEventTargetDeadLetterConfigOutput() EventTargetDeadLetterConfigOutput
- func (o EventTargetDeadLetterConfigOutput) ToEventTargetDeadLetterConfigOutputWithContext(ctx context.Context) EventTargetDeadLetterConfigOutput
- func (o EventTargetDeadLetterConfigOutput) ToEventTargetDeadLetterConfigPtrOutput() EventTargetDeadLetterConfigPtrOutput
- func (o EventTargetDeadLetterConfigOutput) ToEventTargetDeadLetterConfigPtrOutputWithContext(ctx context.Context) EventTargetDeadLetterConfigPtrOutput
- type EventTargetDeadLetterConfigPtrInput
- type EventTargetDeadLetterConfigPtrOutput
- func (o EventTargetDeadLetterConfigPtrOutput) Arn() pulumi.StringPtrOutput
- func (o EventTargetDeadLetterConfigPtrOutput) Elem() EventTargetDeadLetterConfigOutput
- func (EventTargetDeadLetterConfigPtrOutput) ElementType() reflect.Type
- func (o EventTargetDeadLetterConfigPtrOutput) ToEventTargetDeadLetterConfigPtrOutput() EventTargetDeadLetterConfigPtrOutput
- func (o EventTargetDeadLetterConfigPtrOutput) ToEventTargetDeadLetterConfigPtrOutputWithContext(ctx context.Context) EventTargetDeadLetterConfigPtrOutput
- type EventTargetEcsTarget
- type EventTargetEcsTargetArgs
- func (EventTargetEcsTargetArgs) ElementType() reflect.Type
- func (i EventTargetEcsTargetArgs) ToEventTargetEcsTargetOutput() EventTargetEcsTargetOutput
- func (i EventTargetEcsTargetArgs) ToEventTargetEcsTargetOutputWithContext(ctx context.Context) EventTargetEcsTargetOutput
- func (i EventTargetEcsTargetArgs) ToEventTargetEcsTargetPtrOutput() EventTargetEcsTargetPtrOutput
- func (i EventTargetEcsTargetArgs) ToEventTargetEcsTargetPtrOutputWithContext(ctx context.Context) EventTargetEcsTargetPtrOutput
- type EventTargetEcsTargetInput
- type EventTargetEcsTargetNetworkConfiguration
- type EventTargetEcsTargetNetworkConfigurationArgs
- func (EventTargetEcsTargetNetworkConfigurationArgs) ElementType() reflect.Type
- func (i EventTargetEcsTargetNetworkConfigurationArgs) ToEventTargetEcsTargetNetworkConfigurationOutput() EventTargetEcsTargetNetworkConfigurationOutput
- func (i EventTargetEcsTargetNetworkConfigurationArgs) ToEventTargetEcsTargetNetworkConfigurationOutputWithContext(ctx context.Context) EventTargetEcsTargetNetworkConfigurationOutput
- func (i EventTargetEcsTargetNetworkConfigurationArgs) ToEventTargetEcsTargetNetworkConfigurationPtrOutput() EventTargetEcsTargetNetworkConfigurationPtrOutput
- func (i EventTargetEcsTargetNetworkConfigurationArgs) ToEventTargetEcsTargetNetworkConfigurationPtrOutputWithContext(ctx context.Context) EventTargetEcsTargetNetworkConfigurationPtrOutput
- type EventTargetEcsTargetNetworkConfigurationInput
- type EventTargetEcsTargetNetworkConfigurationOutput
- func (o EventTargetEcsTargetNetworkConfigurationOutput) AssignPublicIp() pulumi.BoolPtrOutput
- func (EventTargetEcsTargetNetworkConfigurationOutput) ElementType() reflect.Type
- func (o EventTargetEcsTargetNetworkConfigurationOutput) SecurityGroups() pulumi.StringArrayOutput
- func (o EventTargetEcsTargetNetworkConfigurationOutput) Subnets() pulumi.StringArrayOutput
- func (o EventTargetEcsTargetNetworkConfigurationOutput) ToEventTargetEcsTargetNetworkConfigurationOutput() EventTargetEcsTargetNetworkConfigurationOutput
- func (o EventTargetEcsTargetNetworkConfigurationOutput) ToEventTargetEcsTargetNetworkConfigurationOutputWithContext(ctx context.Context) EventTargetEcsTargetNetworkConfigurationOutput
- func (o EventTargetEcsTargetNetworkConfigurationOutput) ToEventTargetEcsTargetNetworkConfigurationPtrOutput() EventTargetEcsTargetNetworkConfigurationPtrOutput
- func (o EventTargetEcsTargetNetworkConfigurationOutput) ToEventTargetEcsTargetNetworkConfigurationPtrOutputWithContext(ctx context.Context) EventTargetEcsTargetNetworkConfigurationPtrOutput
- type EventTargetEcsTargetNetworkConfigurationPtrInput
- type EventTargetEcsTargetNetworkConfigurationPtrOutput
- func (o EventTargetEcsTargetNetworkConfigurationPtrOutput) AssignPublicIp() pulumi.BoolPtrOutput
- func (o EventTargetEcsTargetNetworkConfigurationPtrOutput) Elem() EventTargetEcsTargetNetworkConfigurationOutput
- func (EventTargetEcsTargetNetworkConfigurationPtrOutput) ElementType() reflect.Type
- func (o EventTargetEcsTargetNetworkConfigurationPtrOutput) SecurityGroups() pulumi.StringArrayOutput
- func (o EventTargetEcsTargetNetworkConfigurationPtrOutput) Subnets() pulumi.StringArrayOutput
- func (o EventTargetEcsTargetNetworkConfigurationPtrOutput) ToEventTargetEcsTargetNetworkConfigurationPtrOutput() EventTargetEcsTargetNetworkConfigurationPtrOutput
- func (o EventTargetEcsTargetNetworkConfigurationPtrOutput) ToEventTargetEcsTargetNetworkConfigurationPtrOutputWithContext(ctx context.Context) EventTargetEcsTargetNetworkConfigurationPtrOutput
- type EventTargetEcsTargetOutput
- func (EventTargetEcsTargetOutput) ElementType() reflect.Type
- func (o EventTargetEcsTargetOutput) EnableEcsManagedTags() pulumi.BoolPtrOutput
- func (o EventTargetEcsTargetOutput) EnableExecuteCommand() pulumi.BoolPtrOutput
- func (o EventTargetEcsTargetOutput) Group() pulumi.StringPtrOutput
- func (o EventTargetEcsTargetOutput) LaunchType() pulumi.StringPtrOutput
- func (o EventTargetEcsTargetOutput) NetworkConfiguration() EventTargetEcsTargetNetworkConfigurationPtrOutput
- func (o EventTargetEcsTargetOutput) PlacementConstraints() EventTargetEcsTargetPlacementConstraintArrayOutput
- func (o EventTargetEcsTargetOutput) PlatformVersion() pulumi.StringPtrOutput
- func (o EventTargetEcsTargetOutput) PropagateTags() pulumi.StringPtrOutput
- func (o EventTargetEcsTargetOutput) Tags() pulumi.StringMapOutput
- func (o EventTargetEcsTargetOutput) TaskCount() pulumi.IntPtrOutput
- func (o EventTargetEcsTargetOutput) TaskDefinitionArn() pulumi.StringOutput
- func (o EventTargetEcsTargetOutput) ToEventTargetEcsTargetOutput() EventTargetEcsTargetOutput
- func (o EventTargetEcsTargetOutput) ToEventTargetEcsTargetOutputWithContext(ctx context.Context) EventTargetEcsTargetOutput
- func (o EventTargetEcsTargetOutput) ToEventTargetEcsTargetPtrOutput() EventTargetEcsTargetPtrOutput
- func (o EventTargetEcsTargetOutput) ToEventTargetEcsTargetPtrOutputWithContext(ctx context.Context) EventTargetEcsTargetPtrOutput
- type EventTargetEcsTargetPlacementConstraint
- type EventTargetEcsTargetPlacementConstraintArgs
- func (EventTargetEcsTargetPlacementConstraintArgs) ElementType() reflect.Type
- func (i EventTargetEcsTargetPlacementConstraintArgs) ToEventTargetEcsTargetPlacementConstraintOutput() EventTargetEcsTargetPlacementConstraintOutput
- func (i EventTargetEcsTargetPlacementConstraintArgs) ToEventTargetEcsTargetPlacementConstraintOutputWithContext(ctx context.Context) EventTargetEcsTargetPlacementConstraintOutput
- type EventTargetEcsTargetPlacementConstraintArray
- func (EventTargetEcsTargetPlacementConstraintArray) ElementType() reflect.Type
- func (i EventTargetEcsTargetPlacementConstraintArray) ToEventTargetEcsTargetPlacementConstraintArrayOutput() EventTargetEcsTargetPlacementConstraintArrayOutput
- func (i EventTargetEcsTargetPlacementConstraintArray) ToEventTargetEcsTargetPlacementConstraintArrayOutputWithContext(ctx context.Context) EventTargetEcsTargetPlacementConstraintArrayOutput
- type EventTargetEcsTargetPlacementConstraintArrayInput
- type EventTargetEcsTargetPlacementConstraintArrayOutput
- func (EventTargetEcsTargetPlacementConstraintArrayOutput) ElementType() reflect.Type
- func (o EventTargetEcsTargetPlacementConstraintArrayOutput) Index(i pulumi.IntInput) EventTargetEcsTargetPlacementConstraintOutput
- func (o EventTargetEcsTargetPlacementConstraintArrayOutput) ToEventTargetEcsTargetPlacementConstraintArrayOutput() EventTargetEcsTargetPlacementConstraintArrayOutput
- func (o EventTargetEcsTargetPlacementConstraintArrayOutput) ToEventTargetEcsTargetPlacementConstraintArrayOutputWithContext(ctx context.Context) EventTargetEcsTargetPlacementConstraintArrayOutput
- type EventTargetEcsTargetPlacementConstraintInput
- type EventTargetEcsTargetPlacementConstraintOutput
- func (EventTargetEcsTargetPlacementConstraintOutput) ElementType() reflect.Type
- func (o EventTargetEcsTargetPlacementConstraintOutput) Expression() pulumi.StringPtrOutput
- func (o EventTargetEcsTargetPlacementConstraintOutput) ToEventTargetEcsTargetPlacementConstraintOutput() EventTargetEcsTargetPlacementConstraintOutput
- func (o EventTargetEcsTargetPlacementConstraintOutput) ToEventTargetEcsTargetPlacementConstraintOutputWithContext(ctx context.Context) EventTargetEcsTargetPlacementConstraintOutput
- func (o EventTargetEcsTargetPlacementConstraintOutput) Type() pulumi.StringOutput
- type EventTargetEcsTargetPtrInput
- type EventTargetEcsTargetPtrOutput
- func (o EventTargetEcsTargetPtrOutput) Elem() EventTargetEcsTargetOutput
- func (EventTargetEcsTargetPtrOutput) ElementType() reflect.Type
- func (o EventTargetEcsTargetPtrOutput) EnableEcsManagedTags() pulumi.BoolPtrOutput
- func (o EventTargetEcsTargetPtrOutput) EnableExecuteCommand() pulumi.BoolPtrOutput
- func (o EventTargetEcsTargetPtrOutput) Group() pulumi.StringPtrOutput
- func (o EventTargetEcsTargetPtrOutput) LaunchType() pulumi.StringPtrOutput
- func (o EventTargetEcsTargetPtrOutput) NetworkConfiguration() EventTargetEcsTargetNetworkConfigurationPtrOutput
- func (o EventTargetEcsTargetPtrOutput) PlacementConstraints() EventTargetEcsTargetPlacementConstraintArrayOutput
- func (o EventTargetEcsTargetPtrOutput) PlatformVersion() pulumi.StringPtrOutput
- func (o EventTargetEcsTargetPtrOutput) PropagateTags() pulumi.StringPtrOutput
- func (o EventTargetEcsTargetPtrOutput) Tags() pulumi.StringMapOutput
- func (o EventTargetEcsTargetPtrOutput) TaskCount() pulumi.IntPtrOutput
- func (o EventTargetEcsTargetPtrOutput) TaskDefinitionArn() pulumi.StringPtrOutput
- func (o EventTargetEcsTargetPtrOutput) ToEventTargetEcsTargetPtrOutput() EventTargetEcsTargetPtrOutput
- func (o EventTargetEcsTargetPtrOutput) ToEventTargetEcsTargetPtrOutputWithContext(ctx context.Context) EventTargetEcsTargetPtrOutput
- type EventTargetHttpTarget
- type EventTargetHttpTargetArgs
- func (EventTargetHttpTargetArgs) ElementType() reflect.Type
- func (i EventTargetHttpTargetArgs) ToEventTargetHttpTargetOutput() EventTargetHttpTargetOutput
- func (i EventTargetHttpTargetArgs) ToEventTargetHttpTargetOutputWithContext(ctx context.Context) EventTargetHttpTargetOutput
- func (i EventTargetHttpTargetArgs) ToEventTargetHttpTargetPtrOutput() EventTargetHttpTargetPtrOutput
- func (i EventTargetHttpTargetArgs) ToEventTargetHttpTargetPtrOutputWithContext(ctx context.Context) EventTargetHttpTargetPtrOutput
- type EventTargetHttpTargetInput
- type EventTargetHttpTargetOutput
- func (EventTargetHttpTargetOutput) ElementType() reflect.Type
- func (o EventTargetHttpTargetOutput) HeaderParameters() pulumi.StringMapOutput
- func (o EventTargetHttpTargetOutput) PathParameterValues() pulumi.StringArrayOutput
- func (o EventTargetHttpTargetOutput) QueryStringParameters() pulumi.StringMapOutput
- func (o EventTargetHttpTargetOutput) ToEventTargetHttpTargetOutput() EventTargetHttpTargetOutput
- func (o EventTargetHttpTargetOutput) ToEventTargetHttpTargetOutputWithContext(ctx context.Context) EventTargetHttpTargetOutput
- func (o EventTargetHttpTargetOutput) ToEventTargetHttpTargetPtrOutput() EventTargetHttpTargetPtrOutput
- func (o EventTargetHttpTargetOutput) ToEventTargetHttpTargetPtrOutputWithContext(ctx context.Context) EventTargetHttpTargetPtrOutput
- type EventTargetHttpTargetPtrInput
- type EventTargetHttpTargetPtrOutput
- func (o EventTargetHttpTargetPtrOutput) Elem() EventTargetHttpTargetOutput
- func (EventTargetHttpTargetPtrOutput) ElementType() reflect.Type
- func (o EventTargetHttpTargetPtrOutput) HeaderParameters() pulumi.StringMapOutput
- func (o EventTargetHttpTargetPtrOutput) PathParameterValues() pulumi.StringArrayOutput
- func (o EventTargetHttpTargetPtrOutput) QueryStringParameters() pulumi.StringMapOutput
- func (o EventTargetHttpTargetPtrOutput) ToEventTargetHttpTargetPtrOutput() EventTargetHttpTargetPtrOutput
- func (o EventTargetHttpTargetPtrOutput) ToEventTargetHttpTargetPtrOutputWithContext(ctx context.Context) EventTargetHttpTargetPtrOutput
- type EventTargetInput
- type EventTargetInputTransformer
- type EventTargetInputTransformerArgs
- func (EventTargetInputTransformerArgs) ElementType() reflect.Type
- func (i EventTargetInputTransformerArgs) ToEventTargetInputTransformerOutput() EventTargetInputTransformerOutput
- func (i EventTargetInputTransformerArgs) ToEventTargetInputTransformerOutputWithContext(ctx context.Context) EventTargetInputTransformerOutput
- func (i EventTargetInputTransformerArgs) ToEventTargetInputTransformerPtrOutput() EventTargetInputTransformerPtrOutput
- func (i EventTargetInputTransformerArgs) ToEventTargetInputTransformerPtrOutputWithContext(ctx context.Context) EventTargetInputTransformerPtrOutput
- type EventTargetInputTransformerInput
- type EventTargetInputTransformerOutput
- func (EventTargetInputTransformerOutput) ElementType() reflect.Type
- func (o EventTargetInputTransformerOutput) InputPaths() pulumi.StringMapOutput
- func (o EventTargetInputTransformerOutput) InputTemplate() pulumi.StringOutput
- func (o EventTargetInputTransformerOutput) ToEventTargetInputTransformerOutput() EventTargetInputTransformerOutput
- func (o EventTargetInputTransformerOutput) ToEventTargetInputTransformerOutputWithContext(ctx context.Context) EventTargetInputTransformerOutput
- func (o EventTargetInputTransformerOutput) ToEventTargetInputTransformerPtrOutput() EventTargetInputTransformerPtrOutput
- func (o EventTargetInputTransformerOutput) ToEventTargetInputTransformerPtrOutputWithContext(ctx context.Context) EventTargetInputTransformerPtrOutput
- type EventTargetInputTransformerPtrInput
- type EventTargetInputTransformerPtrOutput
- func (o EventTargetInputTransformerPtrOutput) Elem() EventTargetInputTransformerOutput
- func (EventTargetInputTransformerPtrOutput) ElementType() reflect.Type
- func (o EventTargetInputTransformerPtrOutput) InputPaths() pulumi.StringMapOutput
- func (o EventTargetInputTransformerPtrOutput) InputTemplate() pulumi.StringPtrOutput
- func (o EventTargetInputTransformerPtrOutput) ToEventTargetInputTransformerPtrOutput() EventTargetInputTransformerPtrOutput
- func (o EventTargetInputTransformerPtrOutput) ToEventTargetInputTransformerPtrOutputWithContext(ctx context.Context) EventTargetInputTransformerPtrOutput
- type EventTargetKinesisTarget
- type EventTargetKinesisTargetArgs
- func (EventTargetKinesisTargetArgs) ElementType() reflect.Type
- func (i EventTargetKinesisTargetArgs) ToEventTargetKinesisTargetOutput() EventTargetKinesisTargetOutput
- func (i EventTargetKinesisTargetArgs) ToEventTargetKinesisTargetOutputWithContext(ctx context.Context) EventTargetKinesisTargetOutput
- func (i EventTargetKinesisTargetArgs) ToEventTargetKinesisTargetPtrOutput() EventTargetKinesisTargetPtrOutput
- func (i EventTargetKinesisTargetArgs) ToEventTargetKinesisTargetPtrOutputWithContext(ctx context.Context) EventTargetKinesisTargetPtrOutput
- type EventTargetKinesisTargetInput
- type EventTargetKinesisTargetOutput
- func (EventTargetKinesisTargetOutput) ElementType() reflect.Type
- func (o EventTargetKinesisTargetOutput) PartitionKeyPath() pulumi.StringPtrOutput
- func (o EventTargetKinesisTargetOutput) ToEventTargetKinesisTargetOutput() EventTargetKinesisTargetOutput
- func (o EventTargetKinesisTargetOutput) ToEventTargetKinesisTargetOutputWithContext(ctx context.Context) EventTargetKinesisTargetOutput
- func (o EventTargetKinesisTargetOutput) ToEventTargetKinesisTargetPtrOutput() EventTargetKinesisTargetPtrOutput
- func (o EventTargetKinesisTargetOutput) ToEventTargetKinesisTargetPtrOutputWithContext(ctx context.Context) EventTargetKinesisTargetPtrOutput
- type EventTargetKinesisTargetPtrInput
- type EventTargetKinesisTargetPtrOutput
- func (o EventTargetKinesisTargetPtrOutput) Elem() EventTargetKinesisTargetOutput
- func (EventTargetKinesisTargetPtrOutput) ElementType() reflect.Type
- func (o EventTargetKinesisTargetPtrOutput) PartitionKeyPath() pulumi.StringPtrOutput
- func (o EventTargetKinesisTargetPtrOutput) ToEventTargetKinesisTargetPtrOutput() EventTargetKinesisTargetPtrOutput
- func (o EventTargetKinesisTargetPtrOutput) ToEventTargetKinesisTargetPtrOutputWithContext(ctx context.Context) EventTargetKinesisTargetPtrOutput
- type EventTargetMap
- type EventTargetMapInput
- type EventTargetMapOutput
- func (EventTargetMapOutput) ElementType() reflect.Type
- func (o EventTargetMapOutput) MapIndex(k pulumi.StringInput) EventTargetOutput
- func (o EventTargetMapOutput) ToEventTargetMapOutput() EventTargetMapOutput
- func (o EventTargetMapOutput) ToEventTargetMapOutputWithContext(ctx context.Context) EventTargetMapOutput
- type EventTargetOutput
- type EventTargetRedshiftTarget
- type EventTargetRedshiftTargetArgs
- func (EventTargetRedshiftTargetArgs) ElementType() reflect.Type
- func (i EventTargetRedshiftTargetArgs) ToEventTargetRedshiftTargetOutput() EventTargetRedshiftTargetOutput
- func (i EventTargetRedshiftTargetArgs) ToEventTargetRedshiftTargetOutputWithContext(ctx context.Context) EventTargetRedshiftTargetOutput
- func (i EventTargetRedshiftTargetArgs) ToEventTargetRedshiftTargetPtrOutput() EventTargetRedshiftTargetPtrOutput
- func (i EventTargetRedshiftTargetArgs) ToEventTargetRedshiftTargetPtrOutputWithContext(ctx context.Context) EventTargetRedshiftTargetPtrOutput
- type EventTargetRedshiftTargetInput
- type EventTargetRedshiftTargetOutput
- func (o EventTargetRedshiftTargetOutput) Database() pulumi.StringOutput
- func (o EventTargetRedshiftTargetOutput) DbUser() pulumi.StringPtrOutput
- func (EventTargetRedshiftTargetOutput) ElementType() reflect.Type
- func (o EventTargetRedshiftTargetOutput) SecretsManagerArn() pulumi.StringPtrOutput
- func (o EventTargetRedshiftTargetOutput) Sql() pulumi.StringPtrOutput
- func (o EventTargetRedshiftTargetOutput) StatementName() pulumi.StringPtrOutput
- func (o EventTargetRedshiftTargetOutput) ToEventTargetRedshiftTargetOutput() EventTargetRedshiftTargetOutput
- func (o EventTargetRedshiftTargetOutput) ToEventTargetRedshiftTargetOutputWithContext(ctx context.Context) EventTargetRedshiftTargetOutput
- func (o EventTargetRedshiftTargetOutput) ToEventTargetRedshiftTargetPtrOutput() EventTargetRedshiftTargetPtrOutput
- func (o EventTargetRedshiftTargetOutput) ToEventTargetRedshiftTargetPtrOutputWithContext(ctx context.Context) EventTargetRedshiftTargetPtrOutput
- func (o EventTargetRedshiftTargetOutput) WithEvent() pulumi.BoolPtrOutput
- type EventTargetRedshiftTargetPtrInput
- type EventTargetRedshiftTargetPtrOutput
- func (o EventTargetRedshiftTargetPtrOutput) Database() pulumi.StringPtrOutput
- func (o EventTargetRedshiftTargetPtrOutput) DbUser() pulumi.StringPtrOutput
- func (o EventTargetRedshiftTargetPtrOutput) Elem() EventTargetRedshiftTargetOutput
- func (EventTargetRedshiftTargetPtrOutput) ElementType() reflect.Type
- func (o EventTargetRedshiftTargetPtrOutput) SecretsManagerArn() pulumi.StringPtrOutput
- func (o EventTargetRedshiftTargetPtrOutput) Sql() pulumi.StringPtrOutput
- func (o EventTargetRedshiftTargetPtrOutput) StatementName() pulumi.StringPtrOutput
- func (o EventTargetRedshiftTargetPtrOutput) ToEventTargetRedshiftTargetPtrOutput() EventTargetRedshiftTargetPtrOutput
- func (o EventTargetRedshiftTargetPtrOutput) ToEventTargetRedshiftTargetPtrOutputWithContext(ctx context.Context) EventTargetRedshiftTargetPtrOutput
- func (o EventTargetRedshiftTargetPtrOutput) WithEvent() pulumi.BoolPtrOutput
- type EventTargetRetryPolicy
- type EventTargetRetryPolicyArgs
- func (EventTargetRetryPolicyArgs) ElementType() reflect.Type
- func (i EventTargetRetryPolicyArgs) ToEventTargetRetryPolicyOutput() EventTargetRetryPolicyOutput
- func (i EventTargetRetryPolicyArgs) ToEventTargetRetryPolicyOutputWithContext(ctx context.Context) EventTargetRetryPolicyOutput
- func (i EventTargetRetryPolicyArgs) ToEventTargetRetryPolicyPtrOutput() EventTargetRetryPolicyPtrOutput
- func (i EventTargetRetryPolicyArgs) ToEventTargetRetryPolicyPtrOutputWithContext(ctx context.Context) EventTargetRetryPolicyPtrOutput
- type EventTargetRetryPolicyInput
- type EventTargetRetryPolicyOutput
- func (EventTargetRetryPolicyOutput) ElementType() reflect.Type
- func (o EventTargetRetryPolicyOutput) MaximumEventAgeInSeconds() pulumi.IntPtrOutput
- func (o EventTargetRetryPolicyOutput) MaximumRetryAttempts() pulumi.IntPtrOutput
- func (o EventTargetRetryPolicyOutput) ToEventTargetRetryPolicyOutput() EventTargetRetryPolicyOutput
- func (o EventTargetRetryPolicyOutput) ToEventTargetRetryPolicyOutputWithContext(ctx context.Context) EventTargetRetryPolicyOutput
- func (o EventTargetRetryPolicyOutput) ToEventTargetRetryPolicyPtrOutput() EventTargetRetryPolicyPtrOutput
- func (o EventTargetRetryPolicyOutput) ToEventTargetRetryPolicyPtrOutputWithContext(ctx context.Context) EventTargetRetryPolicyPtrOutput
- type EventTargetRetryPolicyPtrInput
- type EventTargetRetryPolicyPtrOutput
- func (o EventTargetRetryPolicyPtrOutput) Elem() EventTargetRetryPolicyOutput
- func (EventTargetRetryPolicyPtrOutput) ElementType() reflect.Type
- func (o EventTargetRetryPolicyPtrOutput) MaximumEventAgeInSeconds() pulumi.IntPtrOutput
- func (o EventTargetRetryPolicyPtrOutput) MaximumRetryAttempts() pulumi.IntPtrOutput
- func (o EventTargetRetryPolicyPtrOutput) ToEventTargetRetryPolicyPtrOutput() EventTargetRetryPolicyPtrOutput
- func (o EventTargetRetryPolicyPtrOutput) ToEventTargetRetryPolicyPtrOutputWithContext(ctx context.Context) EventTargetRetryPolicyPtrOutput
- type EventTargetRunCommandTarget
- type EventTargetRunCommandTargetArgs
- func (EventTargetRunCommandTargetArgs) ElementType() reflect.Type
- func (i EventTargetRunCommandTargetArgs) ToEventTargetRunCommandTargetOutput() EventTargetRunCommandTargetOutput
- func (i EventTargetRunCommandTargetArgs) ToEventTargetRunCommandTargetOutputWithContext(ctx context.Context) EventTargetRunCommandTargetOutput
- type EventTargetRunCommandTargetArray
- func (EventTargetRunCommandTargetArray) ElementType() reflect.Type
- func (i EventTargetRunCommandTargetArray) ToEventTargetRunCommandTargetArrayOutput() EventTargetRunCommandTargetArrayOutput
- func (i EventTargetRunCommandTargetArray) ToEventTargetRunCommandTargetArrayOutputWithContext(ctx context.Context) EventTargetRunCommandTargetArrayOutput
- type EventTargetRunCommandTargetArrayInput
- type EventTargetRunCommandTargetArrayOutput
- func (EventTargetRunCommandTargetArrayOutput) ElementType() reflect.Type
- func (o EventTargetRunCommandTargetArrayOutput) Index(i pulumi.IntInput) EventTargetRunCommandTargetOutput
- func (o EventTargetRunCommandTargetArrayOutput) ToEventTargetRunCommandTargetArrayOutput() EventTargetRunCommandTargetArrayOutput
- func (o EventTargetRunCommandTargetArrayOutput) ToEventTargetRunCommandTargetArrayOutputWithContext(ctx context.Context) EventTargetRunCommandTargetArrayOutput
- type EventTargetRunCommandTargetInput
- type EventTargetRunCommandTargetOutput
- func (EventTargetRunCommandTargetOutput) ElementType() reflect.Type
- func (o EventTargetRunCommandTargetOutput) Key() pulumi.StringOutput
- func (o EventTargetRunCommandTargetOutput) ToEventTargetRunCommandTargetOutput() EventTargetRunCommandTargetOutput
- func (o EventTargetRunCommandTargetOutput) ToEventTargetRunCommandTargetOutputWithContext(ctx context.Context) EventTargetRunCommandTargetOutput
- func (o EventTargetRunCommandTargetOutput) Values() pulumi.StringArrayOutput
- type EventTargetSqsTarget
- type EventTargetSqsTargetArgs
- func (EventTargetSqsTargetArgs) ElementType() reflect.Type
- func (i EventTargetSqsTargetArgs) ToEventTargetSqsTargetOutput() EventTargetSqsTargetOutput
- func (i EventTargetSqsTargetArgs) ToEventTargetSqsTargetOutputWithContext(ctx context.Context) EventTargetSqsTargetOutput
- func (i EventTargetSqsTargetArgs) ToEventTargetSqsTargetPtrOutput() EventTargetSqsTargetPtrOutput
- func (i EventTargetSqsTargetArgs) ToEventTargetSqsTargetPtrOutputWithContext(ctx context.Context) EventTargetSqsTargetPtrOutput
- type EventTargetSqsTargetInput
- type EventTargetSqsTargetOutput
- func (EventTargetSqsTargetOutput) ElementType() reflect.Type
- func (o EventTargetSqsTargetOutput) MessageGroupId() pulumi.StringPtrOutput
- func (o EventTargetSqsTargetOutput) ToEventTargetSqsTargetOutput() EventTargetSqsTargetOutput
- func (o EventTargetSqsTargetOutput) ToEventTargetSqsTargetOutputWithContext(ctx context.Context) EventTargetSqsTargetOutput
- func (o EventTargetSqsTargetOutput) ToEventTargetSqsTargetPtrOutput() EventTargetSqsTargetPtrOutput
- func (o EventTargetSqsTargetOutput) ToEventTargetSqsTargetPtrOutputWithContext(ctx context.Context) EventTargetSqsTargetPtrOutput
- type EventTargetSqsTargetPtrInput
- type EventTargetSqsTargetPtrOutput
- func (o EventTargetSqsTargetPtrOutput) Elem() EventTargetSqsTargetOutput
- func (EventTargetSqsTargetPtrOutput) ElementType() reflect.Type
- func (o EventTargetSqsTargetPtrOutput) MessageGroupId() pulumi.StringPtrOutput
- func (o EventTargetSqsTargetPtrOutput) ToEventTargetSqsTargetPtrOutput() EventTargetSqsTargetPtrOutput
- func (o EventTargetSqsTargetPtrOutput) ToEventTargetSqsTargetPtrOutputWithContext(ctx context.Context) EventTargetSqsTargetPtrOutput
- type EventTargetState
- type GetEventSourceArgs
- type GetEventSourceOutputArgs
- type GetEventSourceResult
- type GetEventSourceResultOutput
- func (o GetEventSourceResultOutput) Arn() pulumi.StringOutput
- func (o GetEventSourceResultOutput) CreatedBy() pulumi.StringOutput
- func (GetEventSourceResultOutput) ElementType() reflect.Type
- func (o GetEventSourceResultOutput) Id() pulumi.StringOutput
- func (o GetEventSourceResultOutput) Name() pulumi.StringOutput
- func (o GetEventSourceResultOutput) NamePrefix() pulumi.StringPtrOutput
- func (o GetEventSourceResultOutput) State() pulumi.StringOutput
- func (o GetEventSourceResultOutput) ToGetEventSourceResultOutput() GetEventSourceResultOutput
- func (o GetEventSourceResultOutput) ToGetEventSourceResultOutputWithContext(ctx context.Context) GetEventSourceResultOutput
- type GetLogGroupsArgs
- type GetLogGroupsOutputArgs
- type GetLogGroupsResult
- type GetLogGroupsResultOutput
- func (o GetLogGroupsResultOutput) Arns() pulumi.StringArrayOutput
- func (GetLogGroupsResultOutput) ElementType() reflect.Type
- func (o GetLogGroupsResultOutput) Id() pulumi.StringOutput
- func (o GetLogGroupsResultOutput) LogGroupNamePrefix() pulumi.StringOutput
- func (o GetLogGroupsResultOutput) LogGroupNames() pulumi.StringArrayOutput
- func (o GetLogGroupsResultOutput) ToGetLogGroupsResultOutput() GetLogGroupsResultOutput
- func (o GetLogGroupsResultOutput) ToGetLogGroupsResultOutputWithContext(ctx context.Context) GetLogGroupsResultOutput
- type LogDestination
- type LogDestinationArgs
- type LogDestinationArray
- type LogDestinationArrayInput
- type LogDestinationArrayOutput
- func (LogDestinationArrayOutput) ElementType() reflect.Type
- func (o LogDestinationArrayOutput) Index(i pulumi.IntInput) LogDestinationOutput
- func (o LogDestinationArrayOutput) ToLogDestinationArrayOutput() LogDestinationArrayOutput
- func (o LogDestinationArrayOutput) ToLogDestinationArrayOutputWithContext(ctx context.Context) LogDestinationArrayOutput
- type LogDestinationInput
- type LogDestinationMap
- type LogDestinationMapInput
- type LogDestinationMapOutput
- func (LogDestinationMapOutput) ElementType() reflect.Type
- func (o LogDestinationMapOutput) MapIndex(k pulumi.StringInput) LogDestinationOutput
- func (o LogDestinationMapOutput) ToLogDestinationMapOutput() LogDestinationMapOutput
- func (o LogDestinationMapOutput) ToLogDestinationMapOutputWithContext(ctx context.Context) LogDestinationMapOutput
- type LogDestinationOutput
- type LogDestinationPolicy
- type LogDestinationPolicyArgs
- type LogDestinationPolicyArray
- type LogDestinationPolicyArrayInput
- type LogDestinationPolicyArrayOutput
- func (LogDestinationPolicyArrayOutput) ElementType() reflect.Type
- func (o LogDestinationPolicyArrayOutput) Index(i pulumi.IntInput) LogDestinationPolicyOutput
- func (o LogDestinationPolicyArrayOutput) ToLogDestinationPolicyArrayOutput() LogDestinationPolicyArrayOutput
- func (o LogDestinationPolicyArrayOutput) ToLogDestinationPolicyArrayOutputWithContext(ctx context.Context) LogDestinationPolicyArrayOutput
- type LogDestinationPolicyInput
- type LogDestinationPolicyMap
- type LogDestinationPolicyMapInput
- type LogDestinationPolicyMapOutput
- func (LogDestinationPolicyMapOutput) ElementType() reflect.Type
- func (o LogDestinationPolicyMapOutput) MapIndex(k pulumi.StringInput) LogDestinationPolicyOutput
- func (o LogDestinationPolicyMapOutput) ToLogDestinationPolicyMapOutput() LogDestinationPolicyMapOutput
- func (o LogDestinationPolicyMapOutput) ToLogDestinationPolicyMapOutputWithContext(ctx context.Context) LogDestinationPolicyMapOutput
- type LogDestinationPolicyOutput
- type LogDestinationPolicyState
- type LogDestinationState
- type LogGroup
- type LogGroupArgs
- type LogGroupArray
- type LogGroupArrayInput
- type LogGroupArrayOutput
- type LogGroupInput
- type LogGroupMap
- type LogGroupMapInput
- type LogGroupMapOutput
- type LogGroupOutput
- type LogGroupState
- type LogMetricFilter
- type LogMetricFilterArgs
- type LogMetricFilterArray
- type LogMetricFilterArrayInput
- type LogMetricFilterArrayOutput
- func (LogMetricFilterArrayOutput) ElementType() reflect.Type
- func (o LogMetricFilterArrayOutput) Index(i pulumi.IntInput) LogMetricFilterOutput
- func (o LogMetricFilterArrayOutput) ToLogMetricFilterArrayOutput() LogMetricFilterArrayOutput
- func (o LogMetricFilterArrayOutput) ToLogMetricFilterArrayOutputWithContext(ctx context.Context) LogMetricFilterArrayOutput
- type LogMetricFilterInput
- type LogMetricFilterMap
- type LogMetricFilterMapInput
- type LogMetricFilterMapOutput
- func (LogMetricFilterMapOutput) ElementType() reflect.Type
- func (o LogMetricFilterMapOutput) MapIndex(k pulumi.StringInput) LogMetricFilterOutput
- func (o LogMetricFilterMapOutput) ToLogMetricFilterMapOutput() LogMetricFilterMapOutput
- func (o LogMetricFilterMapOutput) ToLogMetricFilterMapOutputWithContext(ctx context.Context) LogMetricFilterMapOutput
- type LogMetricFilterMetricTransformation
- type LogMetricFilterMetricTransformationArgs
- func (LogMetricFilterMetricTransformationArgs) ElementType() reflect.Type
- func (i LogMetricFilterMetricTransformationArgs) ToLogMetricFilterMetricTransformationOutput() LogMetricFilterMetricTransformationOutput
- func (i LogMetricFilterMetricTransformationArgs) ToLogMetricFilterMetricTransformationOutputWithContext(ctx context.Context) LogMetricFilterMetricTransformationOutput
- func (i LogMetricFilterMetricTransformationArgs) ToLogMetricFilterMetricTransformationPtrOutput() LogMetricFilterMetricTransformationPtrOutput
- func (i LogMetricFilterMetricTransformationArgs) ToLogMetricFilterMetricTransformationPtrOutputWithContext(ctx context.Context) LogMetricFilterMetricTransformationPtrOutput
- type LogMetricFilterMetricTransformationInput
- type LogMetricFilterMetricTransformationOutput
- func (o LogMetricFilterMetricTransformationOutput) DefaultValue() pulumi.StringPtrOutput
- func (o LogMetricFilterMetricTransformationOutput) Dimensions() pulumi.StringMapOutput
- func (LogMetricFilterMetricTransformationOutput) ElementType() reflect.Type
- func (o LogMetricFilterMetricTransformationOutput) Name() pulumi.StringOutput
- func (o LogMetricFilterMetricTransformationOutput) Namespace() pulumi.StringOutput
- func (o LogMetricFilterMetricTransformationOutput) ToLogMetricFilterMetricTransformationOutput() LogMetricFilterMetricTransformationOutput
- func (o LogMetricFilterMetricTransformationOutput) ToLogMetricFilterMetricTransformationOutputWithContext(ctx context.Context) LogMetricFilterMetricTransformationOutput
- func (o LogMetricFilterMetricTransformationOutput) ToLogMetricFilterMetricTransformationPtrOutput() LogMetricFilterMetricTransformationPtrOutput
- func (o LogMetricFilterMetricTransformationOutput) ToLogMetricFilterMetricTransformationPtrOutputWithContext(ctx context.Context) LogMetricFilterMetricTransformationPtrOutput
- func (o LogMetricFilterMetricTransformationOutput) Unit() pulumi.StringPtrOutput
- func (o LogMetricFilterMetricTransformationOutput) Value() pulumi.StringOutput
- type LogMetricFilterMetricTransformationPtrInput
- type LogMetricFilterMetricTransformationPtrOutput
- func (o LogMetricFilterMetricTransformationPtrOutput) DefaultValue() pulumi.StringPtrOutput
- func (o LogMetricFilterMetricTransformationPtrOutput) Dimensions() pulumi.StringMapOutput
- func (o LogMetricFilterMetricTransformationPtrOutput) Elem() LogMetricFilterMetricTransformationOutput
- func (LogMetricFilterMetricTransformationPtrOutput) ElementType() reflect.Type
- func (o LogMetricFilterMetricTransformationPtrOutput) Name() pulumi.StringPtrOutput
- func (o LogMetricFilterMetricTransformationPtrOutput) Namespace() pulumi.StringPtrOutput
- func (o LogMetricFilterMetricTransformationPtrOutput) ToLogMetricFilterMetricTransformationPtrOutput() LogMetricFilterMetricTransformationPtrOutput
- func (o LogMetricFilterMetricTransformationPtrOutput) ToLogMetricFilterMetricTransformationPtrOutputWithContext(ctx context.Context) LogMetricFilterMetricTransformationPtrOutput
- func (o LogMetricFilterMetricTransformationPtrOutput) Unit() pulumi.StringPtrOutput
- func (o LogMetricFilterMetricTransformationPtrOutput) Value() pulumi.StringPtrOutput
- type LogMetricFilterOutput
- type LogMetricFilterState
- type LogResourcePolicy
- type LogResourcePolicyArgs
- type LogResourcePolicyArray
- type LogResourcePolicyArrayInput
- type LogResourcePolicyArrayOutput
- func (LogResourcePolicyArrayOutput) ElementType() reflect.Type
- func (o LogResourcePolicyArrayOutput) Index(i pulumi.IntInput) LogResourcePolicyOutput
- func (o LogResourcePolicyArrayOutput) ToLogResourcePolicyArrayOutput() LogResourcePolicyArrayOutput
- func (o LogResourcePolicyArrayOutput) ToLogResourcePolicyArrayOutputWithContext(ctx context.Context) LogResourcePolicyArrayOutput
- type LogResourcePolicyInput
- type LogResourcePolicyMap
- type LogResourcePolicyMapInput
- type LogResourcePolicyMapOutput
- func (LogResourcePolicyMapOutput) ElementType() reflect.Type
- func (o LogResourcePolicyMapOutput) MapIndex(k pulumi.StringInput) LogResourcePolicyOutput
- func (o LogResourcePolicyMapOutput) ToLogResourcePolicyMapOutput() LogResourcePolicyMapOutput
- func (o LogResourcePolicyMapOutput) ToLogResourcePolicyMapOutputWithContext(ctx context.Context) LogResourcePolicyMapOutput
- type LogResourcePolicyOutput
- type LogResourcePolicyState
- type LogStream
- type LogStreamArgs
- type LogStreamArray
- type LogStreamArrayInput
- type LogStreamArrayOutput
- func (LogStreamArrayOutput) ElementType() reflect.Type
- func (o LogStreamArrayOutput) Index(i pulumi.IntInput) LogStreamOutput
- func (o LogStreamArrayOutput) ToLogStreamArrayOutput() LogStreamArrayOutput
- func (o LogStreamArrayOutput) ToLogStreamArrayOutputWithContext(ctx context.Context) LogStreamArrayOutput
- type LogStreamInput
- type LogStreamMap
- type LogStreamMapInput
- type LogStreamMapOutput
- type LogStreamOutput
- type LogStreamState
- type LogSubscriptionFilter
- type LogSubscriptionFilterArgs
- type LogSubscriptionFilterArray
- func (LogSubscriptionFilterArray) ElementType() reflect.Type
- func (i LogSubscriptionFilterArray) ToLogSubscriptionFilterArrayOutput() LogSubscriptionFilterArrayOutput
- func (i LogSubscriptionFilterArray) ToLogSubscriptionFilterArrayOutputWithContext(ctx context.Context) LogSubscriptionFilterArrayOutput
- type LogSubscriptionFilterArrayInput
- type LogSubscriptionFilterArrayOutput
- func (LogSubscriptionFilterArrayOutput) ElementType() reflect.Type
- func (o LogSubscriptionFilterArrayOutput) Index(i pulumi.IntInput) LogSubscriptionFilterOutput
- func (o LogSubscriptionFilterArrayOutput) ToLogSubscriptionFilterArrayOutput() LogSubscriptionFilterArrayOutput
- func (o LogSubscriptionFilterArrayOutput) ToLogSubscriptionFilterArrayOutputWithContext(ctx context.Context) LogSubscriptionFilterArrayOutput
- type LogSubscriptionFilterInput
- type LogSubscriptionFilterMap
- type LogSubscriptionFilterMapInput
- type LogSubscriptionFilterMapOutput
- func (LogSubscriptionFilterMapOutput) ElementType() reflect.Type
- func (o LogSubscriptionFilterMapOutput) MapIndex(k pulumi.StringInput) LogSubscriptionFilterOutput
- func (o LogSubscriptionFilterMapOutput) ToLogSubscriptionFilterMapOutput() LogSubscriptionFilterMapOutput
- func (o LogSubscriptionFilterMapOutput) ToLogSubscriptionFilterMapOutputWithContext(ctx context.Context) LogSubscriptionFilterMapOutput
- type LogSubscriptionFilterOutput
- type LogSubscriptionFilterState
- type LookupEventConnectionArgs
- type LookupEventConnectionOutputArgs
- type LookupEventConnectionResult
- type LookupEventConnectionResultOutput
- func (o LookupEventConnectionResultOutput) Arn() pulumi.StringOutput
- func (o LookupEventConnectionResultOutput) AuthorizationType() pulumi.StringOutput
- func (LookupEventConnectionResultOutput) ElementType() reflect.Type
- func (o LookupEventConnectionResultOutput) Id() pulumi.StringOutput
- func (o LookupEventConnectionResultOutput) Name() pulumi.StringOutput
- func (o LookupEventConnectionResultOutput) SecretArn() pulumi.StringOutput
- func (o LookupEventConnectionResultOutput) ToLookupEventConnectionResultOutput() LookupEventConnectionResultOutput
- func (o LookupEventConnectionResultOutput) ToLookupEventConnectionResultOutputWithContext(ctx context.Context) LookupEventConnectionResultOutput
- type LookupLogGroupArgs
- type LookupLogGroupOutputArgs
- type LookupLogGroupResult
- type LookupLogGroupResultOutput
- func (o LookupLogGroupResultOutput) Arn() pulumi.StringOutput
- func (o LookupLogGroupResultOutput) CreationTime() pulumi.IntOutput
- func (LookupLogGroupResultOutput) ElementType() reflect.Type
- func (o LookupLogGroupResultOutput) Id() pulumi.StringOutput
- func (o LookupLogGroupResultOutput) KmsKeyId() pulumi.StringOutput
- func (o LookupLogGroupResultOutput) Name() pulumi.StringOutput
- func (o LookupLogGroupResultOutput) RetentionInDays() pulumi.IntOutput
- func (o LookupLogGroupResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupLogGroupResultOutput) ToLookupLogGroupResultOutput() LookupLogGroupResultOutput
- func (o LookupLogGroupResultOutput) ToLookupLogGroupResultOutputWithContext(ctx context.Context) LookupLogGroupResultOutput
- type MetricAlarm
- type MetricAlarmArgs
- type MetricAlarmArray
- type MetricAlarmArrayInput
- type MetricAlarmArrayOutput
- func (MetricAlarmArrayOutput) ElementType() reflect.Type
- func (o MetricAlarmArrayOutput) Index(i pulumi.IntInput) MetricAlarmOutput
- func (o MetricAlarmArrayOutput) ToMetricAlarmArrayOutput() MetricAlarmArrayOutput
- func (o MetricAlarmArrayOutput) ToMetricAlarmArrayOutputWithContext(ctx context.Context) MetricAlarmArrayOutput
- type MetricAlarmInput
- type MetricAlarmMap
- type MetricAlarmMapInput
- type MetricAlarmMapOutput
- func (MetricAlarmMapOutput) ElementType() reflect.Type
- func (o MetricAlarmMapOutput) MapIndex(k pulumi.StringInput) MetricAlarmOutput
- func (o MetricAlarmMapOutput) ToMetricAlarmMapOutput() MetricAlarmMapOutput
- func (o MetricAlarmMapOutput) ToMetricAlarmMapOutputWithContext(ctx context.Context) MetricAlarmMapOutput
- type MetricAlarmMetricQuery
- type MetricAlarmMetricQueryArgs
- type MetricAlarmMetricQueryArray
- func (MetricAlarmMetricQueryArray) ElementType() reflect.Type
- func (i MetricAlarmMetricQueryArray) ToMetricAlarmMetricQueryArrayOutput() MetricAlarmMetricQueryArrayOutput
- func (i MetricAlarmMetricQueryArray) ToMetricAlarmMetricQueryArrayOutputWithContext(ctx context.Context) MetricAlarmMetricQueryArrayOutput
- type MetricAlarmMetricQueryArrayInput
- type MetricAlarmMetricQueryArrayOutput
- func (MetricAlarmMetricQueryArrayOutput) ElementType() reflect.Type
- func (o MetricAlarmMetricQueryArrayOutput) Index(i pulumi.IntInput) MetricAlarmMetricQueryOutput
- func (o MetricAlarmMetricQueryArrayOutput) ToMetricAlarmMetricQueryArrayOutput() MetricAlarmMetricQueryArrayOutput
- func (o MetricAlarmMetricQueryArrayOutput) ToMetricAlarmMetricQueryArrayOutputWithContext(ctx context.Context) MetricAlarmMetricQueryArrayOutput
- type MetricAlarmMetricQueryInput
- type MetricAlarmMetricQueryMetric
- type MetricAlarmMetricQueryMetricArgs
- func (MetricAlarmMetricQueryMetricArgs) ElementType() reflect.Type
- func (i MetricAlarmMetricQueryMetricArgs) ToMetricAlarmMetricQueryMetricOutput() MetricAlarmMetricQueryMetricOutput
- func (i MetricAlarmMetricQueryMetricArgs) ToMetricAlarmMetricQueryMetricOutputWithContext(ctx context.Context) MetricAlarmMetricQueryMetricOutput
- func (i MetricAlarmMetricQueryMetricArgs) ToMetricAlarmMetricQueryMetricPtrOutput() MetricAlarmMetricQueryMetricPtrOutput
- func (i MetricAlarmMetricQueryMetricArgs) ToMetricAlarmMetricQueryMetricPtrOutputWithContext(ctx context.Context) MetricAlarmMetricQueryMetricPtrOutput
- type MetricAlarmMetricQueryMetricInput
- type MetricAlarmMetricQueryMetricOutput
- func (o MetricAlarmMetricQueryMetricOutput) Dimensions() pulumi.StringMapOutput
- func (MetricAlarmMetricQueryMetricOutput) ElementType() reflect.Type
- func (o MetricAlarmMetricQueryMetricOutput) MetricName() pulumi.StringOutput
- func (o MetricAlarmMetricQueryMetricOutput) Namespace() pulumi.StringPtrOutput
- func (o MetricAlarmMetricQueryMetricOutput) Period() pulumi.IntOutput
- func (o MetricAlarmMetricQueryMetricOutput) Stat() pulumi.StringOutput
- func (o MetricAlarmMetricQueryMetricOutput) ToMetricAlarmMetricQueryMetricOutput() MetricAlarmMetricQueryMetricOutput
- func (o MetricAlarmMetricQueryMetricOutput) ToMetricAlarmMetricQueryMetricOutputWithContext(ctx context.Context) MetricAlarmMetricQueryMetricOutput
- func (o MetricAlarmMetricQueryMetricOutput) ToMetricAlarmMetricQueryMetricPtrOutput() MetricAlarmMetricQueryMetricPtrOutput
- func (o MetricAlarmMetricQueryMetricOutput) ToMetricAlarmMetricQueryMetricPtrOutputWithContext(ctx context.Context) MetricAlarmMetricQueryMetricPtrOutput
- func (o MetricAlarmMetricQueryMetricOutput) Unit() pulumi.StringPtrOutput
- type MetricAlarmMetricQueryMetricPtrInput
- type MetricAlarmMetricQueryMetricPtrOutput
- func (o MetricAlarmMetricQueryMetricPtrOutput) Dimensions() pulumi.StringMapOutput
- func (o MetricAlarmMetricQueryMetricPtrOutput) Elem() MetricAlarmMetricQueryMetricOutput
- func (MetricAlarmMetricQueryMetricPtrOutput) ElementType() reflect.Type
- func (o MetricAlarmMetricQueryMetricPtrOutput) MetricName() pulumi.StringPtrOutput
- func (o MetricAlarmMetricQueryMetricPtrOutput) Namespace() pulumi.StringPtrOutput
- func (o MetricAlarmMetricQueryMetricPtrOutput) Period() pulumi.IntPtrOutput
- func (o MetricAlarmMetricQueryMetricPtrOutput) Stat() pulumi.StringPtrOutput
- func (o MetricAlarmMetricQueryMetricPtrOutput) ToMetricAlarmMetricQueryMetricPtrOutput() MetricAlarmMetricQueryMetricPtrOutput
- func (o MetricAlarmMetricQueryMetricPtrOutput) ToMetricAlarmMetricQueryMetricPtrOutputWithContext(ctx context.Context) MetricAlarmMetricQueryMetricPtrOutput
- func (o MetricAlarmMetricQueryMetricPtrOutput) Unit() pulumi.StringPtrOutput
- type MetricAlarmMetricQueryOutput
- func (o MetricAlarmMetricQueryOutput) AccountId() pulumi.StringPtrOutput
- func (MetricAlarmMetricQueryOutput) ElementType() reflect.Type
- func (o MetricAlarmMetricQueryOutput) Expression() pulumi.StringPtrOutput
- func (o MetricAlarmMetricQueryOutput) Id() pulumi.StringOutput
- func (o MetricAlarmMetricQueryOutput) Label() pulumi.StringPtrOutput
- func (o MetricAlarmMetricQueryOutput) Metric() MetricAlarmMetricQueryMetricPtrOutput
- func (o MetricAlarmMetricQueryOutput) ReturnData() pulumi.BoolPtrOutput
- func (o MetricAlarmMetricQueryOutput) ToMetricAlarmMetricQueryOutput() MetricAlarmMetricQueryOutput
- func (o MetricAlarmMetricQueryOutput) ToMetricAlarmMetricQueryOutputWithContext(ctx context.Context) MetricAlarmMetricQueryOutput
- type MetricAlarmOutput
- type MetricAlarmState
- type MetricStream
- type MetricStreamArgs
- type MetricStreamArray
- type MetricStreamArrayInput
- type MetricStreamArrayOutput
- func (MetricStreamArrayOutput) ElementType() reflect.Type
- func (o MetricStreamArrayOutput) Index(i pulumi.IntInput) MetricStreamOutput
- func (o MetricStreamArrayOutput) ToMetricStreamArrayOutput() MetricStreamArrayOutput
- func (o MetricStreamArrayOutput) ToMetricStreamArrayOutputWithContext(ctx context.Context) MetricStreamArrayOutput
- type MetricStreamExcludeFilter
- type MetricStreamExcludeFilterArgs
- func (MetricStreamExcludeFilterArgs) ElementType() reflect.Type
- func (i MetricStreamExcludeFilterArgs) ToMetricStreamExcludeFilterOutput() MetricStreamExcludeFilterOutput
- func (i MetricStreamExcludeFilterArgs) ToMetricStreamExcludeFilterOutputWithContext(ctx context.Context) MetricStreamExcludeFilterOutput
- type MetricStreamExcludeFilterArray
- func (MetricStreamExcludeFilterArray) ElementType() reflect.Type
- func (i MetricStreamExcludeFilterArray) ToMetricStreamExcludeFilterArrayOutput() MetricStreamExcludeFilterArrayOutput
- func (i MetricStreamExcludeFilterArray) ToMetricStreamExcludeFilterArrayOutputWithContext(ctx context.Context) MetricStreamExcludeFilterArrayOutput
- type MetricStreamExcludeFilterArrayInput
- type MetricStreamExcludeFilterArrayOutput
- func (MetricStreamExcludeFilterArrayOutput) ElementType() reflect.Type
- func (o MetricStreamExcludeFilterArrayOutput) Index(i pulumi.IntInput) MetricStreamExcludeFilterOutput
- func (o MetricStreamExcludeFilterArrayOutput) ToMetricStreamExcludeFilterArrayOutput() MetricStreamExcludeFilterArrayOutput
- func (o MetricStreamExcludeFilterArrayOutput) ToMetricStreamExcludeFilterArrayOutputWithContext(ctx context.Context) MetricStreamExcludeFilterArrayOutput
- type MetricStreamExcludeFilterInput
- type MetricStreamExcludeFilterOutput
- func (MetricStreamExcludeFilterOutput) ElementType() reflect.Type
- func (o MetricStreamExcludeFilterOutput) Namespace() pulumi.StringOutput
- func (o MetricStreamExcludeFilterOutput) ToMetricStreamExcludeFilterOutput() MetricStreamExcludeFilterOutput
- func (o MetricStreamExcludeFilterOutput) ToMetricStreamExcludeFilterOutputWithContext(ctx context.Context) MetricStreamExcludeFilterOutput
- type MetricStreamIncludeFilter
- type MetricStreamIncludeFilterArgs
- func (MetricStreamIncludeFilterArgs) ElementType() reflect.Type
- func (i MetricStreamIncludeFilterArgs) ToMetricStreamIncludeFilterOutput() MetricStreamIncludeFilterOutput
- func (i MetricStreamIncludeFilterArgs) ToMetricStreamIncludeFilterOutputWithContext(ctx context.Context) MetricStreamIncludeFilterOutput
- type MetricStreamIncludeFilterArray
- func (MetricStreamIncludeFilterArray) ElementType() reflect.Type
- func (i MetricStreamIncludeFilterArray) ToMetricStreamIncludeFilterArrayOutput() MetricStreamIncludeFilterArrayOutput
- func (i MetricStreamIncludeFilterArray) ToMetricStreamIncludeFilterArrayOutputWithContext(ctx context.Context) MetricStreamIncludeFilterArrayOutput
- type MetricStreamIncludeFilterArrayInput
- type MetricStreamIncludeFilterArrayOutput
- func (MetricStreamIncludeFilterArrayOutput) ElementType() reflect.Type
- func (o MetricStreamIncludeFilterArrayOutput) Index(i pulumi.IntInput) MetricStreamIncludeFilterOutput
- func (o MetricStreamIncludeFilterArrayOutput) ToMetricStreamIncludeFilterArrayOutput() MetricStreamIncludeFilterArrayOutput
- func (o MetricStreamIncludeFilterArrayOutput) ToMetricStreamIncludeFilterArrayOutputWithContext(ctx context.Context) MetricStreamIncludeFilterArrayOutput
- type MetricStreamIncludeFilterInput
- type MetricStreamIncludeFilterOutput
- func (MetricStreamIncludeFilterOutput) ElementType() reflect.Type
- func (o MetricStreamIncludeFilterOutput) Namespace() pulumi.StringOutput
- func (o MetricStreamIncludeFilterOutput) ToMetricStreamIncludeFilterOutput() MetricStreamIncludeFilterOutput
- func (o MetricStreamIncludeFilterOutput) ToMetricStreamIncludeFilterOutputWithContext(ctx context.Context) MetricStreamIncludeFilterOutput
- type MetricStreamInput
- type MetricStreamMap
- type MetricStreamMapInput
- type MetricStreamMapOutput
- func (MetricStreamMapOutput) ElementType() reflect.Type
- func (o MetricStreamMapOutput) MapIndex(k pulumi.StringInput) MetricStreamOutput
- func (o MetricStreamMapOutput) ToMetricStreamMapOutput() MetricStreamMapOutput
- func (o MetricStreamMapOutput) ToMetricStreamMapOutputWithContext(ctx context.Context) MetricStreamMapOutput
- type MetricStreamOutput
- type MetricStreamState
- type QueryDefinition
- type QueryDefinitionArgs
- type QueryDefinitionArray
- type QueryDefinitionArrayInput
- type QueryDefinitionArrayOutput
- func (QueryDefinitionArrayOutput) ElementType() reflect.Type
- func (o QueryDefinitionArrayOutput) Index(i pulumi.IntInput) QueryDefinitionOutput
- func (o QueryDefinitionArrayOutput) ToQueryDefinitionArrayOutput() QueryDefinitionArrayOutput
- func (o QueryDefinitionArrayOutput) ToQueryDefinitionArrayOutputWithContext(ctx context.Context) QueryDefinitionArrayOutput
- type QueryDefinitionInput
- type QueryDefinitionMap
- type QueryDefinitionMapInput
- type QueryDefinitionMapOutput
- func (QueryDefinitionMapOutput) ElementType() reflect.Type
- func (o QueryDefinitionMapOutput) MapIndex(k pulumi.StringInput) QueryDefinitionOutput
- func (o QueryDefinitionMapOutput) ToQueryDefinitionMapOutput() QueryDefinitionMapOutput
- func (o QueryDefinitionMapOutput) ToQueryDefinitionMapOutputWithContext(ctx context.Context) QueryDefinitionMapOutput
- type QueryDefinitionOutput
- type QueryDefinitionState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompositeAlarm ¶
type CompositeAlarm struct { pulumi.CustomResourceState // Indicates whether actions should be executed during any changes to the alarm state of the composite alarm. Defaults to `true`. ActionsEnabled pulumi.BoolPtrOutput `pulumi:"actionsEnabled"` // The set of actions to execute when this alarm transitions to the `ALARM` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed. AlarmActions pulumi.StringArrayOutput `pulumi:"alarmActions"` // The description for the composite alarm. AlarmDescription pulumi.StringPtrOutput `pulumi:"alarmDescription"` // The name for the composite alarm. This name must be unique within the region. AlarmName pulumi.StringOutput `pulumi:"alarmName"` // An expression that specifies which other alarms are to be evaluated to determine this composite alarm's state. For syntax, see [Creating a Composite Alarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Composite_Alarm.html). The maximum length is 10240 characters. AlarmRule pulumi.StringOutput `pulumi:"alarmRule"` // The ARN of the composite alarm. Arn pulumi.StringOutput `pulumi:"arn"` // The set of actions to execute when this alarm transitions to the `INSUFFICIENT_DATA` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed. InsufficientDataActions pulumi.StringArrayOutput `pulumi:"insufficientDataActions"` // The set of actions to execute when this alarm transitions to an `OK` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed. OkActions pulumi.StringArrayOutput `pulumi:"okActions"` // A map of tags to associate with the alarm. Up to 50 tags are allowed. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a CloudWatch Composite Alarm resource.
> **NOTE:** An alarm (composite or metric) cannot be destroyed when there are other composite alarms depending on it. This can lead to a cyclical dependency on update, as the provider will unsuccessfully attempt to destroy alarms before updating the rule. Consider using `dependsOn`, references to alarm names, and two-stage updates.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudwatch.NewCompositeAlarm(ctx, "example", &cloudwatch.CompositeAlarmArgs{ AlarmDescription: pulumi.String("This is a composite alarm!"), AlarmName: pulumi.String("example-composite-alarm"), AlarmActions: pulumi.Any(aws_sns_topic.Example.Arn), OkActions: pulumi.Any(aws_sns_topic.Example.Arn), AlarmRule: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v", "ALARM(", aws_cloudwatch_metric_alarm.Alpha.Alarm_name, ") OR\n", "ALARM(", aws_cloudwatch_metric_alarm.Bravo.Alarm_name, ")\n")), }) if err != nil { return err } return nil }) }
```
## Import
Use the `alarm_name` to import a CloudWatch Composite Alarm. For example
```sh
$ pulumi import aws:cloudwatch/compositeAlarm:CompositeAlarm test my-alarm
```
func GetCompositeAlarm ¶
func GetCompositeAlarm(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CompositeAlarmState, opts ...pulumi.ResourceOption) (*CompositeAlarm, error)
GetCompositeAlarm gets an existing CompositeAlarm 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 NewCompositeAlarm ¶
func NewCompositeAlarm(ctx *pulumi.Context, name string, args *CompositeAlarmArgs, opts ...pulumi.ResourceOption) (*CompositeAlarm, error)
NewCompositeAlarm registers a new resource with the given unique name, arguments, and options.
func (*CompositeAlarm) ElementType ¶
func (*CompositeAlarm) ElementType() reflect.Type
func (*CompositeAlarm) ToCompositeAlarmOutput ¶
func (i *CompositeAlarm) ToCompositeAlarmOutput() CompositeAlarmOutput
func (*CompositeAlarm) ToCompositeAlarmOutputWithContext ¶
func (i *CompositeAlarm) ToCompositeAlarmOutputWithContext(ctx context.Context) CompositeAlarmOutput
type CompositeAlarmArgs ¶
type CompositeAlarmArgs struct { // Indicates whether actions should be executed during any changes to the alarm state of the composite alarm. Defaults to `true`. ActionsEnabled pulumi.BoolPtrInput // The set of actions to execute when this alarm transitions to the `ALARM` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed. AlarmActions pulumi.StringArrayInput // The description for the composite alarm. AlarmDescription pulumi.StringPtrInput // The name for the composite alarm. This name must be unique within the region. AlarmName pulumi.StringInput // An expression that specifies which other alarms are to be evaluated to determine this composite alarm's state. For syntax, see [Creating a Composite Alarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Composite_Alarm.html). The maximum length is 10240 characters. AlarmRule pulumi.StringInput // The set of actions to execute when this alarm transitions to the `INSUFFICIENT_DATA` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed. InsufficientDataActions pulumi.StringArrayInput // The set of actions to execute when this alarm transitions to an `OK` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed. OkActions pulumi.StringArrayInput // A map of tags to associate with the alarm. Up to 50 tags are allowed. .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 CompositeAlarm resource.
func (CompositeAlarmArgs) ElementType ¶
func (CompositeAlarmArgs) ElementType() reflect.Type
type CompositeAlarmArray ¶
type CompositeAlarmArray []CompositeAlarmInput
func (CompositeAlarmArray) ElementType ¶
func (CompositeAlarmArray) ElementType() reflect.Type
func (CompositeAlarmArray) ToCompositeAlarmArrayOutput ¶
func (i CompositeAlarmArray) ToCompositeAlarmArrayOutput() CompositeAlarmArrayOutput
func (CompositeAlarmArray) ToCompositeAlarmArrayOutputWithContext ¶
func (i CompositeAlarmArray) ToCompositeAlarmArrayOutputWithContext(ctx context.Context) CompositeAlarmArrayOutput
type CompositeAlarmArrayInput ¶
type CompositeAlarmArrayInput interface { pulumi.Input ToCompositeAlarmArrayOutput() CompositeAlarmArrayOutput ToCompositeAlarmArrayOutputWithContext(context.Context) CompositeAlarmArrayOutput }
CompositeAlarmArrayInput is an input type that accepts CompositeAlarmArray and CompositeAlarmArrayOutput values. You can construct a concrete instance of `CompositeAlarmArrayInput` via:
CompositeAlarmArray{ CompositeAlarmArgs{...} }
type CompositeAlarmArrayOutput ¶
type CompositeAlarmArrayOutput struct{ *pulumi.OutputState }
func (CompositeAlarmArrayOutput) ElementType ¶
func (CompositeAlarmArrayOutput) ElementType() reflect.Type
func (CompositeAlarmArrayOutput) Index ¶
func (o CompositeAlarmArrayOutput) Index(i pulumi.IntInput) CompositeAlarmOutput
func (CompositeAlarmArrayOutput) ToCompositeAlarmArrayOutput ¶
func (o CompositeAlarmArrayOutput) ToCompositeAlarmArrayOutput() CompositeAlarmArrayOutput
func (CompositeAlarmArrayOutput) ToCompositeAlarmArrayOutputWithContext ¶
func (o CompositeAlarmArrayOutput) ToCompositeAlarmArrayOutputWithContext(ctx context.Context) CompositeAlarmArrayOutput
type CompositeAlarmInput ¶
type CompositeAlarmInput interface { pulumi.Input ToCompositeAlarmOutput() CompositeAlarmOutput ToCompositeAlarmOutputWithContext(ctx context.Context) CompositeAlarmOutput }
type CompositeAlarmMap ¶
type CompositeAlarmMap map[string]CompositeAlarmInput
func (CompositeAlarmMap) ElementType ¶
func (CompositeAlarmMap) ElementType() reflect.Type
func (CompositeAlarmMap) ToCompositeAlarmMapOutput ¶
func (i CompositeAlarmMap) ToCompositeAlarmMapOutput() CompositeAlarmMapOutput
func (CompositeAlarmMap) ToCompositeAlarmMapOutputWithContext ¶
func (i CompositeAlarmMap) ToCompositeAlarmMapOutputWithContext(ctx context.Context) CompositeAlarmMapOutput
type CompositeAlarmMapInput ¶
type CompositeAlarmMapInput interface { pulumi.Input ToCompositeAlarmMapOutput() CompositeAlarmMapOutput ToCompositeAlarmMapOutputWithContext(context.Context) CompositeAlarmMapOutput }
CompositeAlarmMapInput is an input type that accepts CompositeAlarmMap and CompositeAlarmMapOutput values. You can construct a concrete instance of `CompositeAlarmMapInput` via:
CompositeAlarmMap{ "key": CompositeAlarmArgs{...} }
type CompositeAlarmMapOutput ¶
type CompositeAlarmMapOutput struct{ *pulumi.OutputState }
func (CompositeAlarmMapOutput) ElementType ¶
func (CompositeAlarmMapOutput) ElementType() reflect.Type
func (CompositeAlarmMapOutput) MapIndex ¶
func (o CompositeAlarmMapOutput) MapIndex(k pulumi.StringInput) CompositeAlarmOutput
func (CompositeAlarmMapOutput) ToCompositeAlarmMapOutput ¶
func (o CompositeAlarmMapOutput) ToCompositeAlarmMapOutput() CompositeAlarmMapOutput
func (CompositeAlarmMapOutput) ToCompositeAlarmMapOutputWithContext ¶
func (o CompositeAlarmMapOutput) ToCompositeAlarmMapOutputWithContext(ctx context.Context) CompositeAlarmMapOutput
type CompositeAlarmOutput ¶
type CompositeAlarmOutput struct{ *pulumi.OutputState }
func (CompositeAlarmOutput) ElementType ¶
func (CompositeAlarmOutput) ElementType() reflect.Type
func (CompositeAlarmOutput) ToCompositeAlarmOutput ¶
func (o CompositeAlarmOutput) ToCompositeAlarmOutput() CompositeAlarmOutput
func (CompositeAlarmOutput) ToCompositeAlarmOutputWithContext ¶
func (o CompositeAlarmOutput) ToCompositeAlarmOutputWithContext(ctx context.Context) CompositeAlarmOutput
type CompositeAlarmState ¶
type CompositeAlarmState struct { // Indicates whether actions should be executed during any changes to the alarm state of the composite alarm. Defaults to `true`. ActionsEnabled pulumi.BoolPtrInput // The set of actions to execute when this alarm transitions to the `ALARM` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed. AlarmActions pulumi.StringArrayInput // The description for the composite alarm. AlarmDescription pulumi.StringPtrInput // The name for the composite alarm. This name must be unique within the region. AlarmName pulumi.StringPtrInput // An expression that specifies which other alarms are to be evaluated to determine this composite alarm's state. For syntax, see [Creating a Composite Alarm](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Create_Composite_Alarm.html). The maximum length is 10240 characters. AlarmRule pulumi.StringPtrInput // The ARN of the composite alarm. Arn pulumi.StringPtrInput // The set of actions to execute when this alarm transitions to the `INSUFFICIENT_DATA` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed. InsufficientDataActions pulumi.StringArrayInput // The set of actions to execute when this alarm transitions to an `OK` state from any other state. Each action is specified as an ARN. Up to 5 actions are allowed. OkActions pulumi.StringArrayInput // A map of tags to associate with the alarm. Up to 50 tags are allowed. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapInput }
func (CompositeAlarmState) ElementType ¶
func (CompositeAlarmState) ElementType() reflect.Type
type Dashboard ¶
type Dashboard struct { pulumi.CustomResourceState // The Amazon Resource Name (ARN) of the dashboard. DashboardArn pulumi.StringOutput `pulumi:"dashboardArn"` // The detailed information about the dashboard, including what widgets are included and their location on the dashboard. You can read more about the body structure in the [documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html). DashboardBody pulumi.StringOutput `pulumi:"dashboardBody"` // The name of the dashboard. DashboardName pulumi.StringOutput `pulumi:"dashboardName"` }
Provides a CloudWatch Dashboard resource.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudwatch.NewDashboard(ctx, "main", &cloudwatch.DashboardArgs{ DashboardBody: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"widgets\": [\n", " {\n", " \"type\": \"metric\",\n", " \"x\": 0,\n", " \"y\": 0,\n", " \"width\": 12,\n", " \"height\": 6,\n", " \"properties\": {\n", " \"metrics\": [\n", " [\n", " \"AWS/EC2\",\n", " \"CPUUtilization\",\n", " \"InstanceId\",\n", " \"i-012345\"\n", " ]\n", " ],\n", " \"period\": 300,\n", " \"stat\": \"Average\",\n", " \"region\": \"us-east-1\",\n", " \"title\": \"EC2 Instance CPU\"\n", " }\n", " },\n", " {\n", " \"type\": \"text\",\n", " \"x\": 0,\n", " \"y\": 7,\n", " \"width\": 3,\n", " \"height\": 3,\n", " \"properties\": {\n", " \"markdown\": \"Hello world\"\n", " }\n", " }\n", " ]\n", "}\n", "\n")), DashboardName: pulumi.String("my-dashboard"), }) if err != nil { return err } return nil }) }
```
## Import
CloudWatch dashboards can be imported using the `dashboard_name`, e.g.,
```sh
$ pulumi import aws:cloudwatch/dashboard:Dashboard sample <dashboard_name>
```
func GetDashboard ¶
func GetDashboard(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DashboardState, opts ...pulumi.ResourceOption) (*Dashboard, error)
GetDashboard gets an existing Dashboard 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 NewDashboard ¶
func NewDashboard(ctx *pulumi.Context, name string, args *DashboardArgs, opts ...pulumi.ResourceOption) (*Dashboard, error)
NewDashboard registers a new resource with the given unique name, arguments, and options.
func (*Dashboard) ElementType ¶
func (*Dashboard) ToDashboardOutput ¶
func (i *Dashboard) ToDashboardOutput() DashboardOutput
func (*Dashboard) ToDashboardOutputWithContext ¶
func (i *Dashboard) ToDashboardOutputWithContext(ctx context.Context) DashboardOutput
type DashboardArgs ¶
type DashboardArgs struct { // The detailed information about the dashboard, including what widgets are included and their location on the dashboard. You can read more about the body structure in the [documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html). DashboardBody pulumi.StringInput // The name of the dashboard. DashboardName pulumi.StringInput }
The set of arguments for constructing a Dashboard resource.
func (DashboardArgs) ElementType ¶
func (DashboardArgs) ElementType() reflect.Type
type DashboardArray ¶
type DashboardArray []DashboardInput
func (DashboardArray) ElementType ¶
func (DashboardArray) ElementType() reflect.Type
func (DashboardArray) ToDashboardArrayOutput ¶
func (i DashboardArray) ToDashboardArrayOutput() DashboardArrayOutput
func (DashboardArray) ToDashboardArrayOutputWithContext ¶
func (i DashboardArray) ToDashboardArrayOutputWithContext(ctx context.Context) DashboardArrayOutput
type DashboardArrayInput ¶
type DashboardArrayInput interface { pulumi.Input ToDashboardArrayOutput() DashboardArrayOutput ToDashboardArrayOutputWithContext(context.Context) DashboardArrayOutput }
DashboardArrayInput is an input type that accepts DashboardArray and DashboardArrayOutput values. You can construct a concrete instance of `DashboardArrayInput` via:
DashboardArray{ DashboardArgs{...} }
type DashboardArrayOutput ¶
type DashboardArrayOutput struct{ *pulumi.OutputState }
func (DashboardArrayOutput) ElementType ¶
func (DashboardArrayOutput) ElementType() reflect.Type
func (DashboardArrayOutput) Index ¶
func (o DashboardArrayOutput) Index(i pulumi.IntInput) DashboardOutput
func (DashboardArrayOutput) ToDashboardArrayOutput ¶
func (o DashboardArrayOutput) ToDashboardArrayOutput() DashboardArrayOutput
func (DashboardArrayOutput) ToDashboardArrayOutputWithContext ¶
func (o DashboardArrayOutput) ToDashboardArrayOutputWithContext(ctx context.Context) DashboardArrayOutput
type DashboardInput ¶
type DashboardInput interface { pulumi.Input ToDashboardOutput() DashboardOutput ToDashboardOutputWithContext(ctx context.Context) DashboardOutput }
type DashboardMap ¶
type DashboardMap map[string]DashboardInput
func (DashboardMap) ElementType ¶
func (DashboardMap) ElementType() reflect.Type
func (DashboardMap) ToDashboardMapOutput ¶
func (i DashboardMap) ToDashboardMapOutput() DashboardMapOutput
func (DashboardMap) ToDashboardMapOutputWithContext ¶
func (i DashboardMap) ToDashboardMapOutputWithContext(ctx context.Context) DashboardMapOutput
type DashboardMapInput ¶
type DashboardMapInput interface { pulumi.Input ToDashboardMapOutput() DashboardMapOutput ToDashboardMapOutputWithContext(context.Context) DashboardMapOutput }
DashboardMapInput is an input type that accepts DashboardMap and DashboardMapOutput values. You can construct a concrete instance of `DashboardMapInput` via:
DashboardMap{ "key": DashboardArgs{...} }
type DashboardMapOutput ¶
type DashboardMapOutput struct{ *pulumi.OutputState }
func (DashboardMapOutput) ElementType ¶
func (DashboardMapOutput) ElementType() reflect.Type
func (DashboardMapOutput) MapIndex ¶
func (o DashboardMapOutput) MapIndex(k pulumi.StringInput) DashboardOutput
func (DashboardMapOutput) ToDashboardMapOutput ¶
func (o DashboardMapOutput) ToDashboardMapOutput() DashboardMapOutput
func (DashboardMapOutput) ToDashboardMapOutputWithContext ¶
func (o DashboardMapOutput) ToDashboardMapOutputWithContext(ctx context.Context) DashboardMapOutput
type DashboardOutput ¶
type DashboardOutput struct{ *pulumi.OutputState }
func (DashboardOutput) ElementType ¶
func (DashboardOutput) ElementType() reflect.Type
func (DashboardOutput) ToDashboardOutput ¶
func (o DashboardOutput) ToDashboardOutput() DashboardOutput
func (DashboardOutput) ToDashboardOutputWithContext ¶
func (o DashboardOutput) ToDashboardOutputWithContext(ctx context.Context) DashboardOutput
type DashboardState ¶
type DashboardState struct { // The Amazon Resource Name (ARN) of the dashboard. DashboardArn pulumi.StringPtrInput // The detailed information about the dashboard, including what widgets are included and their location on the dashboard. You can read more about the body structure in the [documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/CloudWatch-Dashboard-Body-Structure.html). DashboardBody pulumi.StringPtrInput // The name of the dashboard. DashboardName pulumi.StringPtrInput }
func (DashboardState) ElementType ¶
func (DashboardState) ElementType() reflect.Type
type EventApiDestination ¶ added in v4.7.0
type EventApiDestination struct { pulumi.CustomResourceState // The Amazon Resource Name (ARN) of the event API Destination. Arn pulumi.StringOutput `pulumi:"arn"` // ARN of the EventBridge Connection to use for the API Destination. ConnectionArn pulumi.StringOutput `pulumi:"connectionArn"` // The description of the new API Destination. Maximum of 512 characters. Description pulumi.StringPtrOutput `pulumi:"description"` // Select the HTTP method used for the invocation endpoint, such as GET, POST, PUT, etc. HttpMethod pulumi.StringOutput `pulumi:"httpMethod"` // URL endpoint to invoke as a target. This could be a valid endpoint generated by a partner service. You can include "*" as path parameters wildcards to be set from the Target HttpParameters. InvocationEndpoint pulumi.StringOutput `pulumi:"invocationEndpoint"` // Enter the maximum number of invocations per second to allow for this destination. Enter a value greater than 0 (default 300). InvocationRateLimitPerSecond pulumi.IntPtrOutput `pulumi:"invocationRateLimitPerSecond"` // The name of the new API Destination. The name must be unique for your account. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_. Name pulumi.StringOutput `pulumi:"name"` }
Provides an EventBridge event API Destination resource.
> **Note:** EventBridge was formerly known as CloudWatch Events. The functionality is identical.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudwatch.NewEventApiDestination(ctx, "test", &cloudwatch.EventApiDestinationArgs{ Description: pulumi.String("An API Destination"), InvocationEndpoint: pulumi.String("https://api.destination.com/endpoint"), HttpMethod: pulumi.String("POST"), InvocationRateLimitPerSecond: pulumi.Int(20), ConnectionArn: pulumi.Any(aws_cloudwatch_event_connection.Test.Arn), }) if err != nil { return err } return nil }) }
```
## Import
EventBridge API Destinations can be imported using the `name`, e.g., console ¶
```sh
$ pulumi import aws:cloudwatch/eventApiDestination:EventApiDestination test api-destination
```
func GetEventApiDestination ¶ added in v4.7.0
func GetEventApiDestination(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EventApiDestinationState, opts ...pulumi.ResourceOption) (*EventApiDestination, error)
GetEventApiDestination gets an existing EventApiDestination 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 NewEventApiDestination ¶ added in v4.7.0
func NewEventApiDestination(ctx *pulumi.Context, name string, args *EventApiDestinationArgs, opts ...pulumi.ResourceOption) (*EventApiDestination, error)
NewEventApiDestination registers a new resource with the given unique name, arguments, and options.
func (*EventApiDestination) ElementType ¶ added in v4.7.0
func (*EventApiDestination) ElementType() reflect.Type
func (*EventApiDestination) ToEventApiDestinationOutput ¶ added in v4.7.0
func (i *EventApiDestination) ToEventApiDestinationOutput() EventApiDestinationOutput
func (*EventApiDestination) ToEventApiDestinationOutputWithContext ¶ added in v4.7.0
func (i *EventApiDestination) ToEventApiDestinationOutputWithContext(ctx context.Context) EventApiDestinationOutput
type EventApiDestinationArgs ¶ added in v4.7.0
type EventApiDestinationArgs struct { // ARN of the EventBridge Connection to use for the API Destination. ConnectionArn pulumi.StringInput // The description of the new API Destination. Maximum of 512 characters. Description pulumi.StringPtrInput // Select the HTTP method used for the invocation endpoint, such as GET, POST, PUT, etc. HttpMethod pulumi.StringInput // URL endpoint to invoke as a target. This could be a valid endpoint generated by a partner service. You can include "*" as path parameters wildcards to be set from the Target HttpParameters. InvocationEndpoint pulumi.StringInput // Enter the maximum number of invocations per second to allow for this destination. Enter a value greater than 0 (default 300). InvocationRateLimitPerSecond pulumi.IntPtrInput // The name of the new API Destination. The name must be unique for your account. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_. Name pulumi.StringPtrInput }
The set of arguments for constructing a EventApiDestination resource.
func (EventApiDestinationArgs) ElementType ¶ added in v4.7.0
func (EventApiDestinationArgs) ElementType() reflect.Type
type EventApiDestinationArray ¶ added in v4.7.0
type EventApiDestinationArray []EventApiDestinationInput
func (EventApiDestinationArray) ElementType ¶ added in v4.7.0
func (EventApiDestinationArray) ElementType() reflect.Type
func (EventApiDestinationArray) ToEventApiDestinationArrayOutput ¶ added in v4.7.0
func (i EventApiDestinationArray) ToEventApiDestinationArrayOutput() EventApiDestinationArrayOutput
func (EventApiDestinationArray) ToEventApiDestinationArrayOutputWithContext ¶ added in v4.7.0
func (i EventApiDestinationArray) ToEventApiDestinationArrayOutputWithContext(ctx context.Context) EventApiDestinationArrayOutput
type EventApiDestinationArrayInput ¶ added in v4.7.0
type EventApiDestinationArrayInput interface { pulumi.Input ToEventApiDestinationArrayOutput() EventApiDestinationArrayOutput ToEventApiDestinationArrayOutputWithContext(context.Context) EventApiDestinationArrayOutput }
EventApiDestinationArrayInput is an input type that accepts EventApiDestinationArray and EventApiDestinationArrayOutput values. You can construct a concrete instance of `EventApiDestinationArrayInput` via:
EventApiDestinationArray{ EventApiDestinationArgs{...} }
type EventApiDestinationArrayOutput ¶ added in v4.7.0
type EventApiDestinationArrayOutput struct{ *pulumi.OutputState }
func (EventApiDestinationArrayOutput) ElementType ¶ added in v4.7.0
func (EventApiDestinationArrayOutput) ElementType() reflect.Type
func (EventApiDestinationArrayOutput) Index ¶ added in v4.7.0
func (o EventApiDestinationArrayOutput) Index(i pulumi.IntInput) EventApiDestinationOutput
func (EventApiDestinationArrayOutput) ToEventApiDestinationArrayOutput ¶ added in v4.7.0
func (o EventApiDestinationArrayOutput) ToEventApiDestinationArrayOutput() EventApiDestinationArrayOutput
func (EventApiDestinationArrayOutput) ToEventApiDestinationArrayOutputWithContext ¶ added in v4.7.0
func (o EventApiDestinationArrayOutput) ToEventApiDestinationArrayOutputWithContext(ctx context.Context) EventApiDestinationArrayOutput
type EventApiDestinationInput ¶ added in v4.7.0
type EventApiDestinationInput interface { pulumi.Input ToEventApiDestinationOutput() EventApiDestinationOutput ToEventApiDestinationOutputWithContext(ctx context.Context) EventApiDestinationOutput }
type EventApiDestinationMap ¶ added in v4.7.0
type EventApiDestinationMap map[string]EventApiDestinationInput
func (EventApiDestinationMap) ElementType ¶ added in v4.7.0
func (EventApiDestinationMap) ElementType() reflect.Type
func (EventApiDestinationMap) ToEventApiDestinationMapOutput ¶ added in v4.7.0
func (i EventApiDestinationMap) ToEventApiDestinationMapOutput() EventApiDestinationMapOutput
func (EventApiDestinationMap) ToEventApiDestinationMapOutputWithContext ¶ added in v4.7.0
func (i EventApiDestinationMap) ToEventApiDestinationMapOutputWithContext(ctx context.Context) EventApiDestinationMapOutput
type EventApiDestinationMapInput ¶ added in v4.7.0
type EventApiDestinationMapInput interface { pulumi.Input ToEventApiDestinationMapOutput() EventApiDestinationMapOutput ToEventApiDestinationMapOutputWithContext(context.Context) EventApiDestinationMapOutput }
EventApiDestinationMapInput is an input type that accepts EventApiDestinationMap and EventApiDestinationMapOutput values. You can construct a concrete instance of `EventApiDestinationMapInput` via:
EventApiDestinationMap{ "key": EventApiDestinationArgs{...} }
type EventApiDestinationMapOutput ¶ added in v4.7.0
type EventApiDestinationMapOutput struct{ *pulumi.OutputState }
func (EventApiDestinationMapOutput) ElementType ¶ added in v4.7.0
func (EventApiDestinationMapOutput) ElementType() reflect.Type
func (EventApiDestinationMapOutput) MapIndex ¶ added in v4.7.0
func (o EventApiDestinationMapOutput) MapIndex(k pulumi.StringInput) EventApiDestinationOutput
func (EventApiDestinationMapOutput) ToEventApiDestinationMapOutput ¶ added in v4.7.0
func (o EventApiDestinationMapOutput) ToEventApiDestinationMapOutput() EventApiDestinationMapOutput
func (EventApiDestinationMapOutput) ToEventApiDestinationMapOutputWithContext ¶ added in v4.7.0
func (o EventApiDestinationMapOutput) ToEventApiDestinationMapOutputWithContext(ctx context.Context) EventApiDestinationMapOutput
type EventApiDestinationOutput ¶ added in v4.7.0
type EventApiDestinationOutput struct{ *pulumi.OutputState }
func (EventApiDestinationOutput) ElementType ¶ added in v4.7.0
func (EventApiDestinationOutput) ElementType() reflect.Type
func (EventApiDestinationOutput) ToEventApiDestinationOutput ¶ added in v4.7.0
func (o EventApiDestinationOutput) ToEventApiDestinationOutput() EventApiDestinationOutput
func (EventApiDestinationOutput) ToEventApiDestinationOutputWithContext ¶ added in v4.7.0
func (o EventApiDestinationOutput) ToEventApiDestinationOutputWithContext(ctx context.Context) EventApiDestinationOutput
type EventApiDestinationState ¶ added in v4.7.0
type EventApiDestinationState struct { // The Amazon Resource Name (ARN) of the event API Destination. Arn pulumi.StringPtrInput // ARN of the EventBridge Connection to use for the API Destination. ConnectionArn pulumi.StringPtrInput // The description of the new API Destination. Maximum of 512 characters. Description pulumi.StringPtrInput // Select the HTTP method used for the invocation endpoint, such as GET, POST, PUT, etc. HttpMethod pulumi.StringPtrInput // URL endpoint to invoke as a target. This could be a valid endpoint generated by a partner service. You can include "*" as path parameters wildcards to be set from the Target HttpParameters. InvocationEndpoint pulumi.StringPtrInput // Enter the maximum number of invocations per second to allow for this destination. Enter a value greater than 0 (default 300). InvocationRateLimitPerSecond pulumi.IntPtrInput // The name of the new API Destination. The name must be unique for your account. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_. Name pulumi.StringPtrInput }
func (EventApiDestinationState) ElementType ¶ added in v4.7.0
func (EventApiDestinationState) ElementType() reflect.Type
type EventArchive ¶
type EventArchive struct { pulumi.CustomResourceState // The Amazon Resource Name (ARN) of the event archive. Arn pulumi.StringOutput `pulumi:"arn"` // The description of the new event archive. Description pulumi.StringPtrOutput `pulumi:"description"` // Instructs the new event archive to only capture events matched by this pattern. By default, it attempts to archive every event received in the `eventSourceArn`. EventPattern pulumi.StringPtrOutput `pulumi:"eventPattern"` // Event bus source ARN from where these events should be archived. EventSourceArn pulumi.StringOutput `pulumi:"eventSourceArn"` // The name of the new event archive. The archive name cannot exceed 48 characters. Name pulumi.StringOutput `pulumi:"name"` // The maximum number of days to retain events in the new event archive. By default, it archives indefinitely. RetentionDays pulumi.IntPtrOutput `pulumi:"retentionDays"` }
Provides an EventBridge event archive resource.
> **Note:** EventBridge was formerly known as CloudWatch Events. The functionality is identical.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { orderEventBus, err := cloudwatch.NewEventBus(ctx, "orderEventBus", nil) if err != nil { return err } _, err = cloudwatch.NewEventArchive(ctx, "orderEventArchive", &cloudwatch.EventArchiveArgs{ EventSourceArn: orderEventBus.Arn, }) if err != nil { return err } return nil }) }
``` ## Example all optional arguments
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { orderEventBus, err := cloudwatch.NewEventBus(ctx, "orderEventBus", nil) if err != nil { return err } _, err = cloudwatch.NewEventArchive(ctx, "orderEventArchive", &cloudwatch.EventArchiveArgs{ Description: pulumi.String("Archived events from order service"), EventSourceArn: orderEventBus.Arn, RetentionDays: pulumi.Int(7), EventPattern: pulumi.String(fmt.Sprintf("%v%v%v", "{\n", " \"source\": [\"company.team.order\"]\n", "}\n")), }) if err != nil { return err } return nil }) }
```
## Import
Event Archive can be imported using their name, for example bash ¶
```sh
$ pulumi import aws:cloudwatch/eventArchive:EventArchive imported_event_archive order-archive
```
func GetEventArchive ¶
func GetEventArchive(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EventArchiveState, opts ...pulumi.ResourceOption) (*EventArchive, error)
GetEventArchive gets an existing EventArchive 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 NewEventArchive ¶
func NewEventArchive(ctx *pulumi.Context, name string, args *EventArchiveArgs, opts ...pulumi.ResourceOption) (*EventArchive, error)
NewEventArchive registers a new resource with the given unique name, arguments, and options.
func (*EventArchive) ElementType ¶
func (*EventArchive) ElementType() reflect.Type
func (*EventArchive) ToEventArchiveOutput ¶
func (i *EventArchive) ToEventArchiveOutput() EventArchiveOutput
func (*EventArchive) ToEventArchiveOutputWithContext ¶
func (i *EventArchive) ToEventArchiveOutputWithContext(ctx context.Context) EventArchiveOutput
type EventArchiveArgs ¶
type EventArchiveArgs struct { // The description of the new event archive. Description pulumi.StringPtrInput // Instructs the new event archive to only capture events matched by this pattern. By default, it attempts to archive every event received in the `eventSourceArn`. EventPattern pulumi.StringPtrInput // Event bus source ARN from where these events should be archived. EventSourceArn pulumi.StringInput // The name of the new event archive. The archive name cannot exceed 48 characters. Name pulumi.StringPtrInput // The maximum number of days to retain events in the new event archive. By default, it archives indefinitely. RetentionDays pulumi.IntPtrInput }
The set of arguments for constructing a EventArchive resource.
func (EventArchiveArgs) ElementType ¶
func (EventArchiveArgs) ElementType() reflect.Type
type EventArchiveArray ¶
type EventArchiveArray []EventArchiveInput
func (EventArchiveArray) ElementType ¶
func (EventArchiveArray) ElementType() reflect.Type
func (EventArchiveArray) ToEventArchiveArrayOutput ¶
func (i EventArchiveArray) ToEventArchiveArrayOutput() EventArchiveArrayOutput
func (EventArchiveArray) ToEventArchiveArrayOutputWithContext ¶
func (i EventArchiveArray) ToEventArchiveArrayOutputWithContext(ctx context.Context) EventArchiveArrayOutput
type EventArchiveArrayInput ¶
type EventArchiveArrayInput interface { pulumi.Input ToEventArchiveArrayOutput() EventArchiveArrayOutput ToEventArchiveArrayOutputWithContext(context.Context) EventArchiveArrayOutput }
EventArchiveArrayInput is an input type that accepts EventArchiveArray and EventArchiveArrayOutput values. You can construct a concrete instance of `EventArchiveArrayInput` via:
EventArchiveArray{ EventArchiveArgs{...} }
type EventArchiveArrayOutput ¶
type EventArchiveArrayOutput struct{ *pulumi.OutputState }
func (EventArchiveArrayOutput) ElementType ¶
func (EventArchiveArrayOutput) ElementType() reflect.Type
func (EventArchiveArrayOutput) Index ¶
func (o EventArchiveArrayOutput) Index(i pulumi.IntInput) EventArchiveOutput
func (EventArchiveArrayOutput) ToEventArchiveArrayOutput ¶
func (o EventArchiveArrayOutput) ToEventArchiveArrayOutput() EventArchiveArrayOutput
func (EventArchiveArrayOutput) ToEventArchiveArrayOutputWithContext ¶
func (o EventArchiveArrayOutput) ToEventArchiveArrayOutputWithContext(ctx context.Context) EventArchiveArrayOutput
type EventArchiveInput ¶
type EventArchiveInput interface { pulumi.Input ToEventArchiveOutput() EventArchiveOutput ToEventArchiveOutputWithContext(ctx context.Context) EventArchiveOutput }
type EventArchiveMap ¶
type EventArchiveMap map[string]EventArchiveInput
func (EventArchiveMap) ElementType ¶
func (EventArchiveMap) ElementType() reflect.Type
func (EventArchiveMap) ToEventArchiveMapOutput ¶
func (i EventArchiveMap) ToEventArchiveMapOutput() EventArchiveMapOutput
func (EventArchiveMap) ToEventArchiveMapOutputWithContext ¶
func (i EventArchiveMap) ToEventArchiveMapOutputWithContext(ctx context.Context) EventArchiveMapOutput
type EventArchiveMapInput ¶
type EventArchiveMapInput interface { pulumi.Input ToEventArchiveMapOutput() EventArchiveMapOutput ToEventArchiveMapOutputWithContext(context.Context) EventArchiveMapOutput }
EventArchiveMapInput is an input type that accepts EventArchiveMap and EventArchiveMapOutput values. You can construct a concrete instance of `EventArchiveMapInput` via:
EventArchiveMap{ "key": EventArchiveArgs{...} }
type EventArchiveMapOutput ¶
type EventArchiveMapOutput struct{ *pulumi.OutputState }
func (EventArchiveMapOutput) ElementType ¶
func (EventArchiveMapOutput) ElementType() reflect.Type
func (EventArchiveMapOutput) MapIndex ¶
func (o EventArchiveMapOutput) MapIndex(k pulumi.StringInput) EventArchiveOutput
func (EventArchiveMapOutput) ToEventArchiveMapOutput ¶
func (o EventArchiveMapOutput) ToEventArchiveMapOutput() EventArchiveMapOutput
func (EventArchiveMapOutput) ToEventArchiveMapOutputWithContext ¶
func (o EventArchiveMapOutput) ToEventArchiveMapOutputWithContext(ctx context.Context) EventArchiveMapOutput
type EventArchiveOutput ¶
type EventArchiveOutput struct{ *pulumi.OutputState }
func (EventArchiveOutput) ElementType ¶
func (EventArchiveOutput) ElementType() reflect.Type
func (EventArchiveOutput) ToEventArchiveOutput ¶
func (o EventArchiveOutput) ToEventArchiveOutput() EventArchiveOutput
func (EventArchiveOutput) ToEventArchiveOutputWithContext ¶
func (o EventArchiveOutput) ToEventArchiveOutputWithContext(ctx context.Context) EventArchiveOutput
type EventArchiveState ¶
type EventArchiveState struct { // The Amazon Resource Name (ARN) of the event archive. Arn pulumi.StringPtrInput // The description of the new event archive. Description pulumi.StringPtrInput // Instructs the new event archive to only capture events matched by this pattern. By default, it attempts to archive every event received in the `eventSourceArn`. EventPattern pulumi.StringPtrInput // Event bus source ARN from where these events should be archived. EventSourceArn pulumi.StringPtrInput // The name of the new event archive. The archive name cannot exceed 48 characters. Name pulumi.StringPtrInput // The maximum number of days to retain events in the new event archive. By default, it archives indefinitely. RetentionDays pulumi.IntPtrInput }
func (EventArchiveState) ElementType ¶
func (EventArchiveState) ElementType() reflect.Type
type EventBus ¶
type EventBus struct { pulumi.CustomResourceState // The Amazon Resource Name (ARN) of the event bus. Arn pulumi.StringOutput `pulumi:"arn"` // The partner event source that the new event bus will be matched with. Must match `name`. EventSourceName pulumi.StringPtrOutput `pulumi:"eventSourceName"` // The name of the new event bus. The names of custom event buses can't contain the / character. To create a partner event bus, ensure the `name` matches the `eventSourceName`. Name pulumi.StringOutput `pulumi:"name"` // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides an EventBridge event bus resource.
> **Note:** EventBridge was formerly known as CloudWatch Events. The functionality is identical.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudwatch.NewEventBus(ctx, "messenger", nil) if err != nil { return err } return nil }) }
```
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "aws.partner/examplepartner.com" examplepartnerEventSource, err := cloudwatch.GetEventSource(ctx, &cloudwatch.GetEventSourceArgs{ NamePrefix: &opt0, }, nil) if err != nil { return err } _, err = cloudwatch.NewEventBus(ctx, "examplepartnerEventBus", &cloudwatch.EventBusArgs{ EventSourceName: pulumi.String(examplepartnerEventSource.Name), }) if err != nil { return err } return nil }) }
```
## Import
EventBridge event buses can be imported using the `name` (which can also be a partner event source name), e.g., console ¶
```sh
$ pulumi import aws:cloudwatch/eventBus:EventBus messenger chat-messages
```
func GetEventBus ¶
func GetEventBus(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EventBusState, opts ...pulumi.ResourceOption) (*EventBus, error)
GetEventBus gets an existing EventBus 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 NewEventBus ¶
func NewEventBus(ctx *pulumi.Context, name string, args *EventBusArgs, opts ...pulumi.ResourceOption) (*EventBus, error)
NewEventBus registers a new resource with the given unique name, arguments, and options.
func (*EventBus) ElementType ¶
func (*EventBus) ToEventBusOutput ¶
func (i *EventBus) ToEventBusOutput() EventBusOutput
func (*EventBus) ToEventBusOutputWithContext ¶
func (i *EventBus) ToEventBusOutputWithContext(ctx context.Context) EventBusOutput
type EventBusArgs ¶
type EventBusArgs struct { // The partner event source that the new event bus will be matched with. Must match `name`. EventSourceName pulumi.StringPtrInput // The name of the new event bus. The names of custom event buses can't contain the / character. To create a partner event bus, ensure the `name` matches the `eventSourceName`. Name pulumi.StringPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a EventBus resource.
func (EventBusArgs) ElementType ¶
func (EventBusArgs) ElementType() reflect.Type
type EventBusArray ¶
type EventBusArray []EventBusInput
func (EventBusArray) ElementType ¶
func (EventBusArray) ElementType() reflect.Type
func (EventBusArray) ToEventBusArrayOutput ¶
func (i EventBusArray) ToEventBusArrayOutput() EventBusArrayOutput
func (EventBusArray) ToEventBusArrayOutputWithContext ¶
func (i EventBusArray) ToEventBusArrayOutputWithContext(ctx context.Context) EventBusArrayOutput
type EventBusArrayInput ¶
type EventBusArrayInput interface { pulumi.Input ToEventBusArrayOutput() EventBusArrayOutput ToEventBusArrayOutputWithContext(context.Context) EventBusArrayOutput }
EventBusArrayInput is an input type that accepts EventBusArray and EventBusArrayOutput values. You can construct a concrete instance of `EventBusArrayInput` via:
EventBusArray{ EventBusArgs{...} }
type EventBusArrayOutput ¶
type EventBusArrayOutput struct{ *pulumi.OutputState }
func (EventBusArrayOutput) ElementType ¶
func (EventBusArrayOutput) ElementType() reflect.Type
func (EventBusArrayOutput) Index ¶
func (o EventBusArrayOutput) Index(i pulumi.IntInput) EventBusOutput
func (EventBusArrayOutput) ToEventBusArrayOutput ¶
func (o EventBusArrayOutput) ToEventBusArrayOutput() EventBusArrayOutput
func (EventBusArrayOutput) ToEventBusArrayOutputWithContext ¶
func (o EventBusArrayOutput) ToEventBusArrayOutputWithContext(ctx context.Context) EventBusArrayOutput
type EventBusInput ¶
type EventBusInput interface { pulumi.Input ToEventBusOutput() EventBusOutput ToEventBusOutputWithContext(ctx context.Context) EventBusOutput }
type EventBusMap ¶
type EventBusMap map[string]EventBusInput
func (EventBusMap) ElementType ¶
func (EventBusMap) ElementType() reflect.Type
func (EventBusMap) ToEventBusMapOutput ¶
func (i EventBusMap) ToEventBusMapOutput() EventBusMapOutput
func (EventBusMap) ToEventBusMapOutputWithContext ¶
func (i EventBusMap) ToEventBusMapOutputWithContext(ctx context.Context) EventBusMapOutput
type EventBusMapInput ¶
type EventBusMapInput interface { pulumi.Input ToEventBusMapOutput() EventBusMapOutput ToEventBusMapOutputWithContext(context.Context) EventBusMapOutput }
EventBusMapInput is an input type that accepts EventBusMap and EventBusMapOutput values. You can construct a concrete instance of `EventBusMapInput` via:
EventBusMap{ "key": EventBusArgs{...} }
type EventBusMapOutput ¶
type EventBusMapOutput struct{ *pulumi.OutputState }
func (EventBusMapOutput) ElementType ¶
func (EventBusMapOutput) ElementType() reflect.Type
func (EventBusMapOutput) MapIndex ¶
func (o EventBusMapOutput) MapIndex(k pulumi.StringInput) EventBusOutput
func (EventBusMapOutput) ToEventBusMapOutput ¶
func (o EventBusMapOutput) ToEventBusMapOutput() EventBusMapOutput
func (EventBusMapOutput) ToEventBusMapOutputWithContext ¶
func (o EventBusMapOutput) ToEventBusMapOutputWithContext(ctx context.Context) EventBusMapOutput
type EventBusOutput ¶
type EventBusOutput struct{ *pulumi.OutputState }
func (EventBusOutput) ElementType ¶
func (EventBusOutput) ElementType() reflect.Type
func (EventBusOutput) ToEventBusOutput ¶
func (o EventBusOutput) ToEventBusOutput() EventBusOutput
func (EventBusOutput) ToEventBusOutputWithContext ¶
func (o EventBusOutput) ToEventBusOutputWithContext(ctx context.Context) EventBusOutput
type EventBusPolicy ¶ added in v4.10.0
type EventBusPolicy struct { pulumi.CustomResourceState // The event bus to set the permissions on. If you omit this, the permissions are set on the `default` event bus. EventBusName pulumi.StringPtrOutput `pulumi:"eventBusName"` Policy pulumi.StringOutput `pulumi:"policy"` }
Provides a resource to create an EventBridge resource policy to support cross-account events.
> **Note:** EventBridge was formerly known as CloudWatch Events. The functionality is identical.
> **Note:** The EventBridge bus policy resource (`cloudwatch.EventBusPolicy`) is incompatible with the EventBridge permission resource (`cloudwatch.EventPermission`) and will overwrite permissions.
## Example Usage ### Account Access
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/iam" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { testPolicyDocument, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ iam.GetPolicyDocumentStatement{ Sid: "DevAccountAccess", Effect: "Allow", Actions: []string{ "events:PutEvents", }, Resources: []string{ "arn:aws:events:eu-west-1:123456789012:event-bus/default", }, Principals: []iam.GetPolicyDocumentStatementPrincipal{ iam.GetPolicyDocumentStatementPrincipal{ Type: "AWS", Identifiers: []string{ "123456789012", }, }, }, }, }, }, nil) if err != nil { return err } _, err = cloudwatch.NewEventBusPolicy(ctx, "testEventBusPolicy", &cloudwatch.EventBusPolicyArgs{ Policy: pulumi.String(testPolicyDocument.Json), EventBusName: pulumi.Any(aws_cloudwatch_event_bus.Test.Name), }) if err != nil { return err } return nil }) }
``` ### Organization Access
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/iam" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { testPolicyDocument, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ iam.GetPolicyDocumentStatement{ Sid: "OrganizationAccess", Effect: "Allow", Actions: []string{ "events:DescribeRule", "events:ListRules", "events:ListTargetsByRule", "events:ListTagsForResource", }, Resources: []string{ "arn:aws:events:eu-west-1:123456789012:rule/*", "arn:aws:events:eu-west-1:123456789012:event-bus/default", }, Principals: []iam.GetPolicyDocumentStatementPrincipal{ iam.GetPolicyDocumentStatementPrincipal{ Type: "AWS", Identifiers: []string{ "*", }, }, }, Conditions: []iam.GetPolicyDocumentStatementCondition{ iam.GetPolicyDocumentStatementCondition{ Test: "StringEquals", Variable: "aws:PrincipalOrgID", Values: aws_organizations_organization.Example.Id, }, }, }, }, }, nil) if err != nil { return err } _, err = cloudwatch.NewEventBusPolicy(ctx, "testEventBusPolicy", &cloudwatch.EventBusPolicyArgs{ Policy: pulumi.String(testPolicyDocument.Json), EventBusName: pulumi.Any(aws_cloudwatch_event_bus.Test.Name), }) if err != nil { return err } return nil }) }
``` ### Multiple Statements
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/iam" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { testPolicyDocument, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ iam.GetPolicyDocumentStatement{ Sid: "DevAccountAccess", Effect: "Allow", Actions: []string{ "events:PutEvents", }, Resources: []string{ "arn:aws:events:eu-west-1:123456789012:event-bus/default", }, Principals: []iam.GetPolicyDocumentStatementPrincipal{ iam.GetPolicyDocumentStatementPrincipal{ Type: "AWS", Identifiers: []string{ "123456789012", }, }, }, }, iam.GetPolicyDocumentStatement{ Sid: "OrganizationAccess", Effect: "Allow", Actions: []string{ "events:DescribeRule", "events:ListRules", "events:ListTargetsByRule", "events:ListTagsForResource", }, Resources: []string{ "arn:aws:events:eu-west-1:123456789012:rule/*", "arn:aws:events:eu-west-1:123456789012:event-bus/default", }, Principals: []iam.GetPolicyDocumentStatementPrincipal{ iam.GetPolicyDocumentStatementPrincipal{ Type: "AWS", Identifiers: []string{ "*", }, }, }, Conditions: []iam.GetPolicyDocumentStatementCondition{ iam.GetPolicyDocumentStatementCondition{ Test: "StringEquals", Variable: "aws:PrincipalOrgID", Values: aws_organizations_organization.Example.Id, }, }, }, }, }, nil) if err != nil { return err } _, err = cloudwatch.NewEventBusPolicy(ctx, "testEventBusPolicy", &cloudwatch.EventBusPolicyArgs{ Policy: pulumi.String(testPolicyDocument.Json), EventBusName: pulumi.Any(aws_cloudwatch_event_bus.Test.Name), }) if err != nil { return err } return nil }) }
```
## Import
EventBridge permissions can be imported using the `event_bus_name`, e.g.,
```sh
$ pulumi import aws:cloudwatch/eventBusPolicy:EventBusPolicy DevAccountAccess example-event-bus
```
func GetEventBusPolicy ¶ added in v4.10.0
func GetEventBusPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EventBusPolicyState, opts ...pulumi.ResourceOption) (*EventBusPolicy, error)
GetEventBusPolicy gets an existing EventBusPolicy 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 NewEventBusPolicy ¶ added in v4.10.0
func NewEventBusPolicy(ctx *pulumi.Context, name string, args *EventBusPolicyArgs, opts ...pulumi.ResourceOption) (*EventBusPolicy, error)
NewEventBusPolicy registers a new resource with the given unique name, arguments, and options.
func (*EventBusPolicy) ElementType ¶ added in v4.10.0
func (*EventBusPolicy) ElementType() reflect.Type
func (*EventBusPolicy) ToEventBusPolicyOutput ¶ added in v4.10.0
func (i *EventBusPolicy) ToEventBusPolicyOutput() EventBusPolicyOutput
func (*EventBusPolicy) ToEventBusPolicyOutputWithContext ¶ added in v4.10.0
func (i *EventBusPolicy) ToEventBusPolicyOutputWithContext(ctx context.Context) EventBusPolicyOutput
type EventBusPolicyArgs ¶ added in v4.10.0
type EventBusPolicyArgs struct { // The event bus to set the permissions on. If you omit this, the permissions are set on the `default` event bus. EventBusName pulumi.StringPtrInput Policy pulumi.StringInput }
The set of arguments for constructing a EventBusPolicy resource.
func (EventBusPolicyArgs) ElementType ¶ added in v4.10.0
func (EventBusPolicyArgs) ElementType() reflect.Type
type EventBusPolicyArray ¶ added in v4.10.0
type EventBusPolicyArray []EventBusPolicyInput
func (EventBusPolicyArray) ElementType ¶ added in v4.10.0
func (EventBusPolicyArray) ElementType() reflect.Type
func (EventBusPolicyArray) ToEventBusPolicyArrayOutput ¶ added in v4.10.0
func (i EventBusPolicyArray) ToEventBusPolicyArrayOutput() EventBusPolicyArrayOutput
func (EventBusPolicyArray) ToEventBusPolicyArrayOutputWithContext ¶ added in v4.10.0
func (i EventBusPolicyArray) ToEventBusPolicyArrayOutputWithContext(ctx context.Context) EventBusPolicyArrayOutput
type EventBusPolicyArrayInput ¶ added in v4.10.0
type EventBusPolicyArrayInput interface { pulumi.Input ToEventBusPolicyArrayOutput() EventBusPolicyArrayOutput ToEventBusPolicyArrayOutputWithContext(context.Context) EventBusPolicyArrayOutput }
EventBusPolicyArrayInput is an input type that accepts EventBusPolicyArray and EventBusPolicyArrayOutput values. You can construct a concrete instance of `EventBusPolicyArrayInput` via:
EventBusPolicyArray{ EventBusPolicyArgs{...} }
type EventBusPolicyArrayOutput ¶ added in v4.10.0
type EventBusPolicyArrayOutput struct{ *pulumi.OutputState }
func (EventBusPolicyArrayOutput) ElementType ¶ added in v4.10.0
func (EventBusPolicyArrayOutput) ElementType() reflect.Type
func (EventBusPolicyArrayOutput) Index ¶ added in v4.10.0
func (o EventBusPolicyArrayOutput) Index(i pulumi.IntInput) EventBusPolicyOutput
func (EventBusPolicyArrayOutput) ToEventBusPolicyArrayOutput ¶ added in v4.10.0
func (o EventBusPolicyArrayOutput) ToEventBusPolicyArrayOutput() EventBusPolicyArrayOutput
func (EventBusPolicyArrayOutput) ToEventBusPolicyArrayOutputWithContext ¶ added in v4.10.0
func (o EventBusPolicyArrayOutput) ToEventBusPolicyArrayOutputWithContext(ctx context.Context) EventBusPolicyArrayOutput
type EventBusPolicyInput ¶ added in v4.10.0
type EventBusPolicyInput interface { pulumi.Input ToEventBusPolicyOutput() EventBusPolicyOutput ToEventBusPolicyOutputWithContext(ctx context.Context) EventBusPolicyOutput }
type EventBusPolicyMap ¶ added in v4.10.0
type EventBusPolicyMap map[string]EventBusPolicyInput
func (EventBusPolicyMap) ElementType ¶ added in v4.10.0
func (EventBusPolicyMap) ElementType() reflect.Type
func (EventBusPolicyMap) ToEventBusPolicyMapOutput ¶ added in v4.10.0
func (i EventBusPolicyMap) ToEventBusPolicyMapOutput() EventBusPolicyMapOutput
func (EventBusPolicyMap) ToEventBusPolicyMapOutputWithContext ¶ added in v4.10.0
func (i EventBusPolicyMap) ToEventBusPolicyMapOutputWithContext(ctx context.Context) EventBusPolicyMapOutput
type EventBusPolicyMapInput ¶ added in v4.10.0
type EventBusPolicyMapInput interface { pulumi.Input ToEventBusPolicyMapOutput() EventBusPolicyMapOutput ToEventBusPolicyMapOutputWithContext(context.Context) EventBusPolicyMapOutput }
EventBusPolicyMapInput is an input type that accepts EventBusPolicyMap and EventBusPolicyMapOutput values. You can construct a concrete instance of `EventBusPolicyMapInput` via:
EventBusPolicyMap{ "key": EventBusPolicyArgs{...} }
type EventBusPolicyMapOutput ¶ added in v4.10.0
type EventBusPolicyMapOutput struct{ *pulumi.OutputState }
func (EventBusPolicyMapOutput) ElementType ¶ added in v4.10.0
func (EventBusPolicyMapOutput) ElementType() reflect.Type
func (EventBusPolicyMapOutput) MapIndex ¶ added in v4.10.0
func (o EventBusPolicyMapOutput) MapIndex(k pulumi.StringInput) EventBusPolicyOutput
func (EventBusPolicyMapOutput) ToEventBusPolicyMapOutput ¶ added in v4.10.0
func (o EventBusPolicyMapOutput) ToEventBusPolicyMapOutput() EventBusPolicyMapOutput
func (EventBusPolicyMapOutput) ToEventBusPolicyMapOutputWithContext ¶ added in v4.10.0
func (o EventBusPolicyMapOutput) ToEventBusPolicyMapOutputWithContext(ctx context.Context) EventBusPolicyMapOutput
type EventBusPolicyOutput ¶ added in v4.10.0
type EventBusPolicyOutput struct{ *pulumi.OutputState }
func (EventBusPolicyOutput) ElementType ¶ added in v4.10.0
func (EventBusPolicyOutput) ElementType() reflect.Type
func (EventBusPolicyOutput) ToEventBusPolicyOutput ¶ added in v4.10.0
func (o EventBusPolicyOutput) ToEventBusPolicyOutput() EventBusPolicyOutput
func (EventBusPolicyOutput) ToEventBusPolicyOutputWithContext ¶ added in v4.10.0
func (o EventBusPolicyOutput) ToEventBusPolicyOutputWithContext(ctx context.Context) EventBusPolicyOutput
type EventBusPolicyState ¶ added in v4.10.0
type EventBusPolicyState struct { // The event bus to set the permissions on. If you omit this, the permissions are set on the `default` event bus. EventBusName pulumi.StringPtrInput Policy pulumi.StringPtrInput }
func (EventBusPolicyState) ElementType ¶ added in v4.10.0
func (EventBusPolicyState) ElementType() reflect.Type
type EventBusState ¶
type EventBusState struct { // The Amazon Resource Name (ARN) of the event bus. Arn pulumi.StringPtrInput // The partner event source that the new event bus will be matched with. Must match `name`. EventSourceName pulumi.StringPtrInput // The name of the new event bus. The names of custom event buses can't contain the / character. To create a partner event bus, ensure the `name` matches the `eventSourceName`. Name pulumi.StringPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapInput }
func (EventBusState) ElementType ¶
func (EventBusState) ElementType() reflect.Type
type EventConnection ¶ added in v4.7.0
type EventConnection struct { pulumi.CustomResourceState // The Amazon Resource Name (ARN) of the connection. Arn pulumi.StringOutput `pulumi:"arn"` // Parameters used for authorization. A maximum of 1 are allowed. Documented below. AuthParameters EventConnectionAuthParametersOutput `pulumi:"authParameters"` // Choose the type of authorization to use for the connection. One of `API_KEY`,`BASIC`,`OAUTH_CLIENT_CREDENTIALS`. AuthorizationType pulumi.StringOutput `pulumi:"authorizationType"` // Enter a description for the connection. Maximum of 512 characters. Description pulumi.StringPtrOutput `pulumi:"description"` // The name of the new connection. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_. Name pulumi.StringOutput `pulumi:"name"` // The Amazon Resource Name (ARN) of the secret created from the authorization parameters specified for the connection. SecretArn pulumi.StringOutput `pulumi:"secretArn"` }
Provides an EventBridge connection resource.
> **Note:** EventBridge was formerly known as CloudWatch Events. The functionality is identical.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudwatch.NewEventConnection(ctx, "test", &cloudwatch.EventConnectionArgs{ AuthParameters: &cloudwatch.EventConnectionAuthParametersArgs{ ApiKey: &cloudwatch.EventConnectionAuthParametersApiKeyArgs{ Key: pulumi.String("x-signature"), Value: pulumi.String("1234"), }, }, AuthorizationType: pulumi.String("API_KEY"), Description: pulumi.String("A connection description"), }) if err != nil { return err } return nil }) }
``` ### Basic Authorization
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudwatch.NewEventConnection(ctx, "test", &cloudwatch.EventConnectionArgs{ AuthParameters: &cloudwatch.EventConnectionAuthParametersArgs{ Basic: &cloudwatch.EventConnectionAuthParametersBasicArgs{ Password: pulumi.String("Pass1234!"), Username: pulumi.String("user"), }, }, AuthorizationType: pulumi.String("BASIC"), Description: pulumi.String("A connection description"), }) if err != nil { return err } return nil }) }
``` ### OAuth Authorization
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudwatch.NewEventConnection(ctx, "test", &cloudwatch.EventConnectionArgs{ AuthParameters: &cloudwatch.EventConnectionAuthParametersArgs{ Oauth: &cloudwatch.EventConnectionAuthParametersOauthArgs{ AuthorizationEndpoint: pulumi.String("https://auth.url.com/endpoint"), ClientParameters: &cloudwatch.EventConnectionAuthParametersOauthClientParametersArgs{ ClientId: pulumi.String("1234567890"), ClientSecret: pulumi.String("Pass1234!"), }, HttpMethod: pulumi.String("GET"), OauthHttpParameters: &cloudwatch.EventConnectionAuthParametersOauthOauthHttpParametersArgs{ Body: []map[string]interface{}{ map[string]interface{}{ "isValueSecret": false, "key": "body-parameter-key", "value": "body-parameter-value", }, }, Header: []map[string]interface{}{ map[string]interface{}{ "isValueSecret": false, "key": "header-parameter-key", "value": "header-parameter-value", }, }, QueryString: []map[string]interface{}{ map[string]interface{}{ "isValueSecret": false, "key": "query-string-parameter-key", "value": "query-string-parameter-value", }, }, }, }, }, AuthorizationType: pulumi.String("OAUTH_CLIENT_CREDENTIALS"), Description: pulumi.String("A connection description"), }) if err != nil { return err } return nil }) }
``` ### Invocation Http Parameters
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudwatch.NewEventConnection(ctx, "test", &cloudwatch.EventConnectionArgs{ AuthParameters: &cloudwatch.EventConnectionAuthParametersArgs{ Basic: &cloudwatch.EventConnectionAuthParametersBasicArgs{ Password: pulumi.String("Pass1234!"), Username: pulumi.String("user"), }, InvocationHttpParameters: &cloudwatch.EventConnectionAuthParametersInvocationHttpParametersArgs{ Body: []interface{}{ map[string]interface{}{ "isValueSecret": false, "key": "body-parameter-key", "value": "body-parameter-value", }, map[string]interface{}{ "isValueSecret": true, "key": "body-parameter-key2", "value": "body-parameter-value2", }, }, Header: []map[string]interface{}{ map[string]interface{}{ "isValueSecret": false, "key": "header-parameter-key", "value": "header-parameter-value", }, }, QueryString: []map[string]interface{}{ map[string]interface{}{ "isValueSecret": false, "key": "query-string-parameter-key", "value": "query-string-parameter-value", }, }, }, }, AuthorizationType: pulumi.String("BASIC"), Description: pulumi.String("A connection description"), }) if err != nil { return err } return nil }) }
```
## Import
EventBridge Connection can be imported using the `name`, e.g., console ¶
```sh
$ pulumi import aws:cloudwatch/eventConnection:EventConnection test ngrok-connection
```
func GetEventConnection ¶ added in v4.7.0
func GetEventConnection(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EventConnectionState, opts ...pulumi.ResourceOption) (*EventConnection, error)
GetEventConnection gets an existing EventConnection 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 NewEventConnection ¶ added in v4.7.0
func NewEventConnection(ctx *pulumi.Context, name string, args *EventConnectionArgs, opts ...pulumi.ResourceOption) (*EventConnection, error)
NewEventConnection registers a new resource with the given unique name, arguments, and options.
func (*EventConnection) ElementType ¶ added in v4.7.0
func (*EventConnection) ElementType() reflect.Type
func (*EventConnection) ToEventConnectionOutput ¶ added in v4.7.0
func (i *EventConnection) ToEventConnectionOutput() EventConnectionOutput
func (*EventConnection) ToEventConnectionOutputWithContext ¶ added in v4.7.0
func (i *EventConnection) ToEventConnectionOutputWithContext(ctx context.Context) EventConnectionOutput
type EventConnectionArgs ¶ added in v4.7.0
type EventConnectionArgs struct { // Parameters used for authorization. A maximum of 1 are allowed. Documented below. AuthParameters EventConnectionAuthParametersInput // Choose the type of authorization to use for the connection. One of `API_KEY`,`BASIC`,`OAUTH_CLIENT_CREDENTIALS`. AuthorizationType pulumi.StringInput // Enter a description for the connection. Maximum of 512 characters. Description pulumi.StringPtrInput // The name of the new connection. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_. Name pulumi.StringPtrInput }
The set of arguments for constructing a EventConnection resource.
func (EventConnectionArgs) ElementType ¶ added in v4.7.0
func (EventConnectionArgs) ElementType() reflect.Type
type EventConnectionArray ¶ added in v4.7.0
type EventConnectionArray []EventConnectionInput
func (EventConnectionArray) ElementType ¶ added in v4.7.0
func (EventConnectionArray) ElementType() reflect.Type
func (EventConnectionArray) ToEventConnectionArrayOutput ¶ added in v4.7.0
func (i EventConnectionArray) ToEventConnectionArrayOutput() EventConnectionArrayOutput
func (EventConnectionArray) ToEventConnectionArrayOutputWithContext ¶ added in v4.7.0
func (i EventConnectionArray) ToEventConnectionArrayOutputWithContext(ctx context.Context) EventConnectionArrayOutput
type EventConnectionArrayInput ¶ added in v4.7.0
type EventConnectionArrayInput interface { pulumi.Input ToEventConnectionArrayOutput() EventConnectionArrayOutput ToEventConnectionArrayOutputWithContext(context.Context) EventConnectionArrayOutput }
EventConnectionArrayInput is an input type that accepts EventConnectionArray and EventConnectionArrayOutput values. You can construct a concrete instance of `EventConnectionArrayInput` via:
EventConnectionArray{ EventConnectionArgs{...} }
type EventConnectionArrayOutput ¶ added in v4.7.0
type EventConnectionArrayOutput struct{ *pulumi.OutputState }
func (EventConnectionArrayOutput) ElementType ¶ added in v4.7.0
func (EventConnectionArrayOutput) ElementType() reflect.Type
func (EventConnectionArrayOutput) Index ¶ added in v4.7.0
func (o EventConnectionArrayOutput) Index(i pulumi.IntInput) EventConnectionOutput
func (EventConnectionArrayOutput) ToEventConnectionArrayOutput ¶ added in v4.7.0
func (o EventConnectionArrayOutput) ToEventConnectionArrayOutput() EventConnectionArrayOutput
func (EventConnectionArrayOutput) ToEventConnectionArrayOutputWithContext ¶ added in v4.7.0
func (o EventConnectionArrayOutput) ToEventConnectionArrayOutputWithContext(ctx context.Context) EventConnectionArrayOutput
type EventConnectionAuthParameters ¶ added in v4.7.0
type EventConnectionAuthParameters struct { // Parameters used for API_KEY authorization. An API key to include in the header for each authentication request. A maximum of 1 are allowed. Conflicts with `basic` and `oauth`. Documented below. ApiKey *EventConnectionAuthParametersApiKey `pulumi:"apiKey"` // Parameters used for BASIC authorization. A maximum of 1 are allowed. Conflicts with `apiKey` and `oauth`. Documented below. Basic *EventConnectionAuthParametersBasic `pulumi:"basic"` // Invocation Http Parameters are additional credentials used to sign each Invocation of the ApiDestination created from this Connection. If the ApiDestination Rule Target has additional HttpParameters, the values will be merged together, with the Connection Invocation Http Parameters taking precedence. Secret values are stored and managed by AWS Secrets Manager. A maximum of 1 are allowed. Documented below. InvocationHttpParameters *EventConnectionAuthParametersInvocationHttpParameters `pulumi:"invocationHttpParameters"` // Parameters used for OAUTH_CLIENT_CREDENTIALS authorization. A maximum of 1 are allowed. Conflicts with `basic` and `apiKey`. Documented below. Oauth *EventConnectionAuthParametersOauth `pulumi:"oauth"` }
type EventConnectionAuthParametersApiKey ¶ added in v4.7.0
type EventConnectionAuthParametersApiKeyArgs ¶ added in v4.7.0
type EventConnectionAuthParametersApiKeyArgs struct { // Header Name. Key pulumi.StringInput `pulumi:"key"` // Header Value. Created and stored in AWS Secrets Manager. Value pulumi.StringInput `pulumi:"value"` }
func (EventConnectionAuthParametersApiKeyArgs) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersApiKeyArgs) ElementType() reflect.Type
func (EventConnectionAuthParametersApiKeyArgs) ToEventConnectionAuthParametersApiKeyOutput ¶ added in v4.7.0
func (i EventConnectionAuthParametersApiKeyArgs) ToEventConnectionAuthParametersApiKeyOutput() EventConnectionAuthParametersApiKeyOutput
func (EventConnectionAuthParametersApiKeyArgs) ToEventConnectionAuthParametersApiKeyOutputWithContext ¶ added in v4.7.0
func (i EventConnectionAuthParametersApiKeyArgs) ToEventConnectionAuthParametersApiKeyOutputWithContext(ctx context.Context) EventConnectionAuthParametersApiKeyOutput
func (EventConnectionAuthParametersApiKeyArgs) ToEventConnectionAuthParametersApiKeyPtrOutput ¶ added in v4.7.0
func (i EventConnectionAuthParametersApiKeyArgs) ToEventConnectionAuthParametersApiKeyPtrOutput() EventConnectionAuthParametersApiKeyPtrOutput
func (EventConnectionAuthParametersApiKeyArgs) ToEventConnectionAuthParametersApiKeyPtrOutputWithContext ¶ added in v4.7.0
func (i EventConnectionAuthParametersApiKeyArgs) ToEventConnectionAuthParametersApiKeyPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersApiKeyPtrOutput
type EventConnectionAuthParametersApiKeyInput ¶ added in v4.7.0
type EventConnectionAuthParametersApiKeyInput interface { pulumi.Input ToEventConnectionAuthParametersApiKeyOutput() EventConnectionAuthParametersApiKeyOutput ToEventConnectionAuthParametersApiKeyOutputWithContext(context.Context) EventConnectionAuthParametersApiKeyOutput }
EventConnectionAuthParametersApiKeyInput is an input type that accepts EventConnectionAuthParametersApiKeyArgs and EventConnectionAuthParametersApiKeyOutput values. You can construct a concrete instance of `EventConnectionAuthParametersApiKeyInput` via:
EventConnectionAuthParametersApiKeyArgs{...}
type EventConnectionAuthParametersApiKeyOutput ¶ added in v4.7.0
type EventConnectionAuthParametersApiKeyOutput struct{ *pulumi.OutputState }
func (EventConnectionAuthParametersApiKeyOutput) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersApiKeyOutput) ElementType() reflect.Type
func (EventConnectionAuthParametersApiKeyOutput) Key ¶ added in v4.7.0
func (o EventConnectionAuthParametersApiKeyOutput) Key() pulumi.StringOutput
Header Name.
func (EventConnectionAuthParametersApiKeyOutput) ToEventConnectionAuthParametersApiKeyOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersApiKeyOutput) ToEventConnectionAuthParametersApiKeyOutput() EventConnectionAuthParametersApiKeyOutput
func (EventConnectionAuthParametersApiKeyOutput) ToEventConnectionAuthParametersApiKeyOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersApiKeyOutput) ToEventConnectionAuthParametersApiKeyOutputWithContext(ctx context.Context) EventConnectionAuthParametersApiKeyOutput
func (EventConnectionAuthParametersApiKeyOutput) ToEventConnectionAuthParametersApiKeyPtrOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersApiKeyOutput) ToEventConnectionAuthParametersApiKeyPtrOutput() EventConnectionAuthParametersApiKeyPtrOutput
func (EventConnectionAuthParametersApiKeyOutput) ToEventConnectionAuthParametersApiKeyPtrOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersApiKeyOutput) ToEventConnectionAuthParametersApiKeyPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersApiKeyPtrOutput
func (EventConnectionAuthParametersApiKeyOutput) Value ¶ added in v4.7.0
func (o EventConnectionAuthParametersApiKeyOutput) Value() pulumi.StringOutput
Header Value. Created and stored in AWS Secrets Manager.
type EventConnectionAuthParametersApiKeyPtrInput ¶ added in v4.7.0
type EventConnectionAuthParametersApiKeyPtrInput interface { pulumi.Input ToEventConnectionAuthParametersApiKeyPtrOutput() EventConnectionAuthParametersApiKeyPtrOutput ToEventConnectionAuthParametersApiKeyPtrOutputWithContext(context.Context) EventConnectionAuthParametersApiKeyPtrOutput }
EventConnectionAuthParametersApiKeyPtrInput is an input type that accepts EventConnectionAuthParametersApiKeyArgs, EventConnectionAuthParametersApiKeyPtr and EventConnectionAuthParametersApiKeyPtrOutput values. You can construct a concrete instance of `EventConnectionAuthParametersApiKeyPtrInput` via:
EventConnectionAuthParametersApiKeyArgs{...} or: nil
func EventConnectionAuthParametersApiKeyPtr ¶ added in v4.7.0
func EventConnectionAuthParametersApiKeyPtr(v *EventConnectionAuthParametersApiKeyArgs) EventConnectionAuthParametersApiKeyPtrInput
type EventConnectionAuthParametersApiKeyPtrOutput ¶ added in v4.7.0
type EventConnectionAuthParametersApiKeyPtrOutput struct{ *pulumi.OutputState }
func (EventConnectionAuthParametersApiKeyPtrOutput) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersApiKeyPtrOutput) ElementType() reflect.Type
func (EventConnectionAuthParametersApiKeyPtrOutput) Key ¶ added in v4.7.0
func (o EventConnectionAuthParametersApiKeyPtrOutput) Key() pulumi.StringPtrOutput
Header Name.
func (EventConnectionAuthParametersApiKeyPtrOutput) ToEventConnectionAuthParametersApiKeyPtrOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersApiKeyPtrOutput) ToEventConnectionAuthParametersApiKeyPtrOutput() EventConnectionAuthParametersApiKeyPtrOutput
func (EventConnectionAuthParametersApiKeyPtrOutput) ToEventConnectionAuthParametersApiKeyPtrOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersApiKeyPtrOutput) ToEventConnectionAuthParametersApiKeyPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersApiKeyPtrOutput
func (EventConnectionAuthParametersApiKeyPtrOutput) Value ¶ added in v4.7.0
func (o EventConnectionAuthParametersApiKeyPtrOutput) Value() pulumi.StringPtrOutput
Header Value. Created and stored in AWS Secrets Manager.
type EventConnectionAuthParametersArgs ¶ added in v4.7.0
type EventConnectionAuthParametersArgs struct { // Parameters used for API_KEY authorization. An API key to include in the header for each authentication request. A maximum of 1 are allowed. Conflicts with `basic` and `oauth`. Documented below. ApiKey EventConnectionAuthParametersApiKeyPtrInput `pulumi:"apiKey"` // Parameters used for BASIC authorization. A maximum of 1 are allowed. Conflicts with `apiKey` and `oauth`. Documented below. Basic EventConnectionAuthParametersBasicPtrInput `pulumi:"basic"` // Invocation Http Parameters are additional credentials used to sign each Invocation of the ApiDestination created from this Connection. If the ApiDestination Rule Target has additional HttpParameters, the values will be merged together, with the Connection Invocation Http Parameters taking precedence. Secret values are stored and managed by AWS Secrets Manager. A maximum of 1 are allowed. Documented below. InvocationHttpParameters EventConnectionAuthParametersInvocationHttpParametersPtrInput `pulumi:"invocationHttpParameters"` // Parameters used for OAUTH_CLIENT_CREDENTIALS authorization. A maximum of 1 are allowed. Conflicts with `basic` and `apiKey`. Documented below. Oauth EventConnectionAuthParametersOauthPtrInput `pulumi:"oauth"` }
func (EventConnectionAuthParametersArgs) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersArgs) ElementType() reflect.Type
func (EventConnectionAuthParametersArgs) ToEventConnectionAuthParametersOutput ¶ added in v4.7.0
func (i EventConnectionAuthParametersArgs) ToEventConnectionAuthParametersOutput() EventConnectionAuthParametersOutput
func (EventConnectionAuthParametersArgs) ToEventConnectionAuthParametersOutputWithContext ¶ added in v4.7.0
func (i EventConnectionAuthParametersArgs) ToEventConnectionAuthParametersOutputWithContext(ctx context.Context) EventConnectionAuthParametersOutput
func (EventConnectionAuthParametersArgs) ToEventConnectionAuthParametersPtrOutput ¶ added in v4.7.0
func (i EventConnectionAuthParametersArgs) ToEventConnectionAuthParametersPtrOutput() EventConnectionAuthParametersPtrOutput
func (EventConnectionAuthParametersArgs) ToEventConnectionAuthParametersPtrOutputWithContext ¶ added in v4.7.0
func (i EventConnectionAuthParametersArgs) ToEventConnectionAuthParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersPtrOutput
type EventConnectionAuthParametersBasic ¶ added in v4.7.0
type EventConnectionAuthParametersBasicArgs ¶ added in v4.7.0
type EventConnectionAuthParametersBasicArgs struct { // A password for the authorization. Created and stored in AWS Secrets Manager. Password pulumi.StringInput `pulumi:"password"` // A username for the authorization. Username pulumi.StringInput `pulumi:"username"` }
func (EventConnectionAuthParametersBasicArgs) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersBasicArgs) ElementType() reflect.Type
func (EventConnectionAuthParametersBasicArgs) ToEventConnectionAuthParametersBasicOutput ¶ added in v4.7.0
func (i EventConnectionAuthParametersBasicArgs) ToEventConnectionAuthParametersBasicOutput() EventConnectionAuthParametersBasicOutput
func (EventConnectionAuthParametersBasicArgs) ToEventConnectionAuthParametersBasicOutputWithContext ¶ added in v4.7.0
func (i EventConnectionAuthParametersBasicArgs) ToEventConnectionAuthParametersBasicOutputWithContext(ctx context.Context) EventConnectionAuthParametersBasicOutput
func (EventConnectionAuthParametersBasicArgs) ToEventConnectionAuthParametersBasicPtrOutput ¶ added in v4.7.0
func (i EventConnectionAuthParametersBasicArgs) ToEventConnectionAuthParametersBasicPtrOutput() EventConnectionAuthParametersBasicPtrOutput
func (EventConnectionAuthParametersBasicArgs) ToEventConnectionAuthParametersBasicPtrOutputWithContext ¶ added in v4.7.0
func (i EventConnectionAuthParametersBasicArgs) ToEventConnectionAuthParametersBasicPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersBasicPtrOutput
type EventConnectionAuthParametersBasicInput ¶ added in v4.7.0
type EventConnectionAuthParametersBasicInput interface { pulumi.Input ToEventConnectionAuthParametersBasicOutput() EventConnectionAuthParametersBasicOutput ToEventConnectionAuthParametersBasicOutputWithContext(context.Context) EventConnectionAuthParametersBasicOutput }
EventConnectionAuthParametersBasicInput is an input type that accepts EventConnectionAuthParametersBasicArgs and EventConnectionAuthParametersBasicOutput values. You can construct a concrete instance of `EventConnectionAuthParametersBasicInput` via:
EventConnectionAuthParametersBasicArgs{...}
type EventConnectionAuthParametersBasicOutput ¶ added in v4.7.0
type EventConnectionAuthParametersBasicOutput struct{ *pulumi.OutputState }
func (EventConnectionAuthParametersBasicOutput) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersBasicOutput) ElementType() reflect.Type
func (EventConnectionAuthParametersBasicOutput) Password ¶ added in v4.7.0
func (o EventConnectionAuthParametersBasicOutput) Password() pulumi.StringOutput
A password for the authorization. Created and stored in AWS Secrets Manager.
func (EventConnectionAuthParametersBasicOutput) ToEventConnectionAuthParametersBasicOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersBasicOutput) ToEventConnectionAuthParametersBasicOutput() EventConnectionAuthParametersBasicOutput
func (EventConnectionAuthParametersBasicOutput) ToEventConnectionAuthParametersBasicOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersBasicOutput) ToEventConnectionAuthParametersBasicOutputWithContext(ctx context.Context) EventConnectionAuthParametersBasicOutput
func (EventConnectionAuthParametersBasicOutput) ToEventConnectionAuthParametersBasicPtrOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersBasicOutput) ToEventConnectionAuthParametersBasicPtrOutput() EventConnectionAuthParametersBasicPtrOutput
func (EventConnectionAuthParametersBasicOutput) ToEventConnectionAuthParametersBasicPtrOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersBasicOutput) ToEventConnectionAuthParametersBasicPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersBasicPtrOutput
func (EventConnectionAuthParametersBasicOutput) Username ¶ added in v4.7.0
func (o EventConnectionAuthParametersBasicOutput) Username() pulumi.StringOutput
A username for the authorization.
type EventConnectionAuthParametersBasicPtrInput ¶ added in v4.7.0
type EventConnectionAuthParametersBasicPtrInput interface { pulumi.Input ToEventConnectionAuthParametersBasicPtrOutput() EventConnectionAuthParametersBasicPtrOutput ToEventConnectionAuthParametersBasicPtrOutputWithContext(context.Context) EventConnectionAuthParametersBasicPtrOutput }
EventConnectionAuthParametersBasicPtrInput is an input type that accepts EventConnectionAuthParametersBasicArgs, EventConnectionAuthParametersBasicPtr and EventConnectionAuthParametersBasicPtrOutput values. You can construct a concrete instance of `EventConnectionAuthParametersBasicPtrInput` via:
EventConnectionAuthParametersBasicArgs{...} or: nil
func EventConnectionAuthParametersBasicPtr ¶ added in v4.7.0
func EventConnectionAuthParametersBasicPtr(v *EventConnectionAuthParametersBasicArgs) EventConnectionAuthParametersBasicPtrInput
type EventConnectionAuthParametersBasicPtrOutput ¶ added in v4.7.0
type EventConnectionAuthParametersBasicPtrOutput struct{ *pulumi.OutputState }
func (EventConnectionAuthParametersBasicPtrOutput) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersBasicPtrOutput) ElementType() reflect.Type
func (EventConnectionAuthParametersBasicPtrOutput) Password ¶ added in v4.7.0
func (o EventConnectionAuthParametersBasicPtrOutput) Password() pulumi.StringPtrOutput
A password for the authorization. Created and stored in AWS Secrets Manager.
func (EventConnectionAuthParametersBasicPtrOutput) ToEventConnectionAuthParametersBasicPtrOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersBasicPtrOutput) ToEventConnectionAuthParametersBasicPtrOutput() EventConnectionAuthParametersBasicPtrOutput
func (EventConnectionAuthParametersBasicPtrOutput) ToEventConnectionAuthParametersBasicPtrOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersBasicPtrOutput) ToEventConnectionAuthParametersBasicPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersBasicPtrOutput
func (EventConnectionAuthParametersBasicPtrOutput) Username ¶ added in v4.7.0
func (o EventConnectionAuthParametersBasicPtrOutput) Username() pulumi.StringPtrOutput
A username for the authorization.
type EventConnectionAuthParametersInput ¶ added in v4.7.0
type EventConnectionAuthParametersInput interface { pulumi.Input ToEventConnectionAuthParametersOutput() EventConnectionAuthParametersOutput ToEventConnectionAuthParametersOutputWithContext(context.Context) EventConnectionAuthParametersOutput }
EventConnectionAuthParametersInput is an input type that accepts EventConnectionAuthParametersArgs and EventConnectionAuthParametersOutput values. You can construct a concrete instance of `EventConnectionAuthParametersInput` via:
EventConnectionAuthParametersArgs{...}
type EventConnectionAuthParametersInvocationHttpParameters ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParameters struct { // Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following: Bodies []EventConnectionAuthParametersInvocationHttpParametersBody `pulumi:"bodies"` // Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following: Headers []EventConnectionAuthParametersInvocationHttpParametersHeader `pulumi:"headers"` // Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following: QueryStrings []EventConnectionAuthParametersInvocationHttpParametersQueryString `pulumi:"queryStrings"` }
type EventConnectionAuthParametersInvocationHttpParametersArgs ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParametersArgs struct { // Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following: Bodies EventConnectionAuthParametersInvocationHttpParametersBodyArrayInput `pulumi:"bodies"` // Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following: Headers EventConnectionAuthParametersInvocationHttpParametersHeaderArrayInput `pulumi:"headers"` // Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following: QueryStrings EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayInput `pulumi:"queryStrings"` }
func (EventConnectionAuthParametersInvocationHttpParametersArgs) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersInvocationHttpParametersArgs) ElementType() reflect.Type
func (EventConnectionAuthParametersInvocationHttpParametersArgs) ToEventConnectionAuthParametersInvocationHttpParametersOutput ¶ added in v4.7.0
func (i EventConnectionAuthParametersInvocationHttpParametersArgs) ToEventConnectionAuthParametersInvocationHttpParametersOutput() EventConnectionAuthParametersInvocationHttpParametersOutput
func (EventConnectionAuthParametersInvocationHttpParametersArgs) ToEventConnectionAuthParametersInvocationHttpParametersOutputWithContext ¶ added in v4.7.0
func (i EventConnectionAuthParametersInvocationHttpParametersArgs) ToEventConnectionAuthParametersInvocationHttpParametersOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersOutput
func (EventConnectionAuthParametersInvocationHttpParametersArgs) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutput ¶ added in v4.7.0
func (i EventConnectionAuthParametersInvocationHttpParametersArgs) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutput() EventConnectionAuthParametersInvocationHttpParametersPtrOutput
func (EventConnectionAuthParametersInvocationHttpParametersArgs) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutputWithContext ¶ added in v4.7.0
func (i EventConnectionAuthParametersInvocationHttpParametersArgs) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersPtrOutput
type EventConnectionAuthParametersInvocationHttpParametersBody ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParametersBodyArgs ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParametersBodyArgs struct { // Specified whether the value is secret. IsValueSecret pulumi.BoolPtrInput `pulumi:"isValueSecret"` // Header Name. Key pulumi.StringPtrInput `pulumi:"key"` // Header Value. Created and stored in AWS Secrets Manager. Value pulumi.StringPtrInput `pulumi:"value"` }
func (EventConnectionAuthParametersInvocationHttpParametersBodyArgs) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersInvocationHttpParametersBodyArgs) ElementType() reflect.Type
func (EventConnectionAuthParametersInvocationHttpParametersBodyArgs) ToEventConnectionAuthParametersInvocationHttpParametersBodyOutput ¶ added in v4.7.0
func (i EventConnectionAuthParametersInvocationHttpParametersBodyArgs) ToEventConnectionAuthParametersInvocationHttpParametersBodyOutput() EventConnectionAuthParametersInvocationHttpParametersBodyOutput
func (EventConnectionAuthParametersInvocationHttpParametersBodyArgs) ToEventConnectionAuthParametersInvocationHttpParametersBodyOutputWithContext ¶ added in v4.7.0
func (i EventConnectionAuthParametersInvocationHttpParametersBodyArgs) ToEventConnectionAuthParametersInvocationHttpParametersBodyOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersBodyOutput
type EventConnectionAuthParametersInvocationHttpParametersBodyArray ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParametersBodyArray []EventConnectionAuthParametersInvocationHttpParametersBodyInput
func (EventConnectionAuthParametersInvocationHttpParametersBodyArray) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersInvocationHttpParametersBodyArray) ElementType() reflect.Type
func (EventConnectionAuthParametersInvocationHttpParametersBodyArray) ToEventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput ¶ added in v4.7.0
func (i EventConnectionAuthParametersInvocationHttpParametersBodyArray) ToEventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput() EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput
func (EventConnectionAuthParametersInvocationHttpParametersBodyArray) ToEventConnectionAuthParametersInvocationHttpParametersBodyArrayOutputWithContext ¶ added in v4.7.0
func (i EventConnectionAuthParametersInvocationHttpParametersBodyArray) ToEventConnectionAuthParametersInvocationHttpParametersBodyArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput
type EventConnectionAuthParametersInvocationHttpParametersBodyArrayInput ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParametersBodyArrayInput interface { pulumi.Input ToEventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput() EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput ToEventConnectionAuthParametersInvocationHttpParametersBodyArrayOutputWithContext(context.Context) EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput }
EventConnectionAuthParametersInvocationHttpParametersBodyArrayInput is an input type that accepts EventConnectionAuthParametersInvocationHttpParametersBodyArray and EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput values. You can construct a concrete instance of `EventConnectionAuthParametersInvocationHttpParametersBodyArrayInput` via:
EventConnectionAuthParametersInvocationHttpParametersBodyArray{ EventConnectionAuthParametersInvocationHttpParametersBodyArgs{...} }
type EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput struct{ *pulumi.OutputState }
func (EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput) ElementType() reflect.Type
func (EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput) ToEventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput) ToEventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput() EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput
func (EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput) ToEventConnectionAuthParametersInvocationHttpParametersBodyArrayOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput) ToEventConnectionAuthParametersInvocationHttpParametersBodyArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput
type EventConnectionAuthParametersInvocationHttpParametersBodyInput ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParametersBodyInput interface { pulumi.Input ToEventConnectionAuthParametersInvocationHttpParametersBodyOutput() EventConnectionAuthParametersInvocationHttpParametersBodyOutput ToEventConnectionAuthParametersInvocationHttpParametersBodyOutputWithContext(context.Context) EventConnectionAuthParametersInvocationHttpParametersBodyOutput }
EventConnectionAuthParametersInvocationHttpParametersBodyInput is an input type that accepts EventConnectionAuthParametersInvocationHttpParametersBodyArgs and EventConnectionAuthParametersInvocationHttpParametersBodyOutput values. You can construct a concrete instance of `EventConnectionAuthParametersInvocationHttpParametersBodyInput` via:
EventConnectionAuthParametersInvocationHttpParametersBodyArgs{...}
type EventConnectionAuthParametersInvocationHttpParametersBodyOutput ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParametersBodyOutput struct{ *pulumi.OutputState }
func (EventConnectionAuthParametersInvocationHttpParametersBodyOutput) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersInvocationHttpParametersBodyOutput) ElementType() reflect.Type
func (EventConnectionAuthParametersInvocationHttpParametersBodyOutput) IsValueSecret ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersBodyOutput) IsValueSecret() pulumi.BoolPtrOutput
Specified whether the value is secret.
func (EventConnectionAuthParametersInvocationHttpParametersBodyOutput) Key ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersBodyOutput) Key() pulumi.StringPtrOutput
Header Name.
func (EventConnectionAuthParametersInvocationHttpParametersBodyOutput) ToEventConnectionAuthParametersInvocationHttpParametersBodyOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersBodyOutput) ToEventConnectionAuthParametersInvocationHttpParametersBodyOutput() EventConnectionAuthParametersInvocationHttpParametersBodyOutput
func (EventConnectionAuthParametersInvocationHttpParametersBodyOutput) ToEventConnectionAuthParametersInvocationHttpParametersBodyOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersBodyOutput) ToEventConnectionAuthParametersInvocationHttpParametersBodyOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersBodyOutput
func (EventConnectionAuthParametersInvocationHttpParametersBodyOutput) Value ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersBodyOutput) Value() pulumi.StringPtrOutput
Header Value. Created and stored in AWS Secrets Manager.
type EventConnectionAuthParametersInvocationHttpParametersHeader ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParametersHeaderArgs ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParametersHeaderArgs struct { // Specified whether the value is secret. IsValueSecret pulumi.BoolPtrInput `pulumi:"isValueSecret"` // Header Name. Key pulumi.StringPtrInput `pulumi:"key"` // Header Value. Created and stored in AWS Secrets Manager. Value pulumi.StringPtrInput `pulumi:"value"` }
func (EventConnectionAuthParametersInvocationHttpParametersHeaderArgs) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersInvocationHttpParametersHeaderArgs) ElementType() reflect.Type
func (EventConnectionAuthParametersInvocationHttpParametersHeaderArgs) ToEventConnectionAuthParametersInvocationHttpParametersHeaderOutput ¶ added in v4.7.0
func (i EventConnectionAuthParametersInvocationHttpParametersHeaderArgs) ToEventConnectionAuthParametersInvocationHttpParametersHeaderOutput() EventConnectionAuthParametersInvocationHttpParametersHeaderOutput
func (EventConnectionAuthParametersInvocationHttpParametersHeaderArgs) ToEventConnectionAuthParametersInvocationHttpParametersHeaderOutputWithContext ¶ added in v4.7.0
func (i EventConnectionAuthParametersInvocationHttpParametersHeaderArgs) ToEventConnectionAuthParametersInvocationHttpParametersHeaderOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersHeaderOutput
type EventConnectionAuthParametersInvocationHttpParametersHeaderArray ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParametersHeaderArray []EventConnectionAuthParametersInvocationHttpParametersHeaderInput
func (EventConnectionAuthParametersInvocationHttpParametersHeaderArray) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersInvocationHttpParametersHeaderArray) ElementType() reflect.Type
func (EventConnectionAuthParametersInvocationHttpParametersHeaderArray) ToEventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput ¶ added in v4.7.0
func (i EventConnectionAuthParametersInvocationHttpParametersHeaderArray) ToEventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput() EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput
func (EventConnectionAuthParametersInvocationHttpParametersHeaderArray) ToEventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutputWithContext ¶ added in v4.7.0
func (i EventConnectionAuthParametersInvocationHttpParametersHeaderArray) ToEventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput
type EventConnectionAuthParametersInvocationHttpParametersHeaderArrayInput ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParametersHeaderArrayInput interface { pulumi.Input ToEventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput() EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput ToEventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutputWithContext(context.Context) EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput }
EventConnectionAuthParametersInvocationHttpParametersHeaderArrayInput is an input type that accepts EventConnectionAuthParametersInvocationHttpParametersHeaderArray and EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput values. You can construct a concrete instance of `EventConnectionAuthParametersInvocationHttpParametersHeaderArrayInput` via:
EventConnectionAuthParametersInvocationHttpParametersHeaderArray{ EventConnectionAuthParametersInvocationHttpParametersHeaderArgs{...} }
type EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput struct{ *pulumi.OutputState }
func (EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput) ElementType() reflect.Type
func (EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput) Index ¶ added in v4.7.0
func (EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput) ToEventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput) ToEventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput() EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput
func (EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput) ToEventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput) ToEventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput
type EventConnectionAuthParametersInvocationHttpParametersHeaderInput ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParametersHeaderInput interface { pulumi.Input ToEventConnectionAuthParametersInvocationHttpParametersHeaderOutput() EventConnectionAuthParametersInvocationHttpParametersHeaderOutput ToEventConnectionAuthParametersInvocationHttpParametersHeaderOutputWithContext(context.Context) EventConnectionAuthParametersInvocationHttpParametersHeaderOutput }
EventConnectionAuthParametersInvocationHttpParametersHeaderInput is an input type that accepts EventConnectionAuthParametersInvocationHttpParametersHeaderArgs and EventConnectionAuthParametersInvocationHttpParametersHeaderOutput values. You can construct a concrete instance of `EventConnectionAuthParametersInvocationHttpParametersHeaderInput` via:
EventConnectionAuthParametersInvocationHttpParametersHeaderArgs{...}
type EventConnectionAuthParametersInvocationHttpParametersHeaderOutput ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParametersHeaderOutput struct{ *pulumi.OutputState }
func (EventConnectionAuthParametersInvocationHttpParametersHeaderOutput) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersInvocationHttpParametersHeaderOutput) ElementType() reflect.Type
func (EventConnectionAuthParametersInvocationHttpParametersHeaderOutput) IsValueSecret ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersHeaderOutput) IsValueSecret() pulumi.BoolPtrOutput
Specified whether the value is secret.
func (EventConnectionAuthParametersInvocationHttpParametersHeaderOutput) Key ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersHeaderOutput) Key() pulumi.StringPtrOutput
Header Name.
func (EventConnectionAuthParametersInvocationHttpParametersHeaderOutput) ToEventConnectionAuthParametersInvocationHttpParametersHeaderOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersHeaderOutput) ToEventConnectionAuthParametersInvocationHttpParametersHeaderOutput() EventConnectionAuthParametersInvocationHttpParametersHeaderOutput
func (EventConnectionAuthParametersInvocationHttpParametersHeaderOutput) ToEventConnectionAuthParametersInvocationHttpParametersHeaderOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersHeaderOutput) ToEventConnectionAuthParametersInvocationHttpParametersHeaderOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersHeaderOutput
func (EventConnectionAuthParametersInvocationHttpParametersHeaderOutput) Value ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersHeaderOutput) Value() pulumi.StringPtrOutput
Header Value. Created and stored in AWS Secrets Manager.
type EventConnectionAuthParametersInvocationHttpParametersInput ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParametersInput interface { pulumi.Input ToEventConnectionAuthParametersInvocationHttpParametersOutput() EventConnectionAuthParametersInvocationHttpParametersOutput ToEventConnectionAuthParametersInvocationHttpParametersOutputWithContext(context.Context) EventConnectionAuthParametersInvocationHttpParametersOutput }
EventConnectionAuthParametersInvocationHttpParametersInput is an input type that accepts EventConnectionAuthParametersInvocationHttpParametersArgs and EventConnectionAuthParametersInvocationHttpParametersOutput values. You can construct a concrete instance of `EventConnectionAuthParametersInvocationHttpParametersInput` via:
EventConnectionAuthParametersInvocationHttpParametersArgs{...}
type EventConnectionAuthParametersInvocationHttpParametersOutput ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParametersOutput struct{ *pulumi.OutputState }
func (EventConnectionAuthParametersInvocationHttpParametersOutput) Bodies ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersOutput) Bodies() EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput
Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
func (EventConnectionAuthParametersInvocationHttpParametersOutput) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersInvocationHttpParametersOutput) ElementType() reflect.Type
func (EventConnectionAuthParametersInvocationHttpParametersOutput) Headers ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersOutput) Headers() EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput
Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
func (EventConnectionAuthParametersInvocationHttpParametersOutput) QueryStrings ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersOutput) QueryStrings() EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput
Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
func (EventConnectionAuthParametersInvocationHttpParametersOutput) ToEventConnectionAuthParametersInvocationHttpParametersOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersOutput) ToEventConnectionAuthParametersInvocationHttpParametersOutput() EventConnectionAuthParametersInvocationHttpParametersOutput
func (EventConnectionAuthParametersInvocationHttpParametersOutput) ToEventConnectionAuthParametersInvocationHttpParametersOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersOutput) ToEventConnectionAuthParametersInvocationHttpParametersOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersOutput
func (EventConnectionAuthParametersInvocationHttpParametersOutput) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersOutput) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutput() EventConnectionAuthParametersInvocationHttpParametersPtrOutput
func (EventConnectionAuthParametersInvocationHttpParametersOutput) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersOutput) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersPtrOutput
type EventConnectionAuthParametersInvocationHttpParametersPtrInput ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParametersPtrInput interface { pulumi.Input ToEventConnectionAuthParametersInvocationHttpParametersPtrOutput() EventConnectionAuthParametersInvocationHttpParametersPtrOutput ToEventConnectionAuthParametersInvocationHttpParametersPtrOutputWithContext(context.Context) EventConnectionAuthParametersInvocationHttpParametersPtrOutput }
EventConnectionAuthParametersInvocationHttpParametersPtrInput is an input type that accepts EventConnectionAuthParametersInvocationHttpParametersArgs, EventConnectionAuthParametersInvocationHttpParametersPtr and EventConnectionAuthParametersInvocationHttpParametersPtrOutput values. You can construct a concrete instance of `EventConnectionAuthParametersInvocationHttpParametersPtrInput` via:
EventConnectionAuthParametersInvocationHttpParametersArgs{...} or: nil
func EventConnectionAuthParametersInvocationHttpParametersPtr ¶ added in v4.7.0
func EventConnectionAuthParametersInvocationHttpParametersPtr(v *EventConnectionAuthParametersInvocationHttpParametersArgs) EventConnectionAuthParametersInvocationHttpParametersPtrInput
type EventConnectionAuthParametersInvocationHttpParametersPtrOutput ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParametersPtrOutput struct{ *pulumi.OutputState }
func (EventConnectionAuthParametersInvocationHttpParametersPtrOutput) Bodies ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersPtrOutput) Bodies() EventConnectionAuthParametersInvocationHttpParametersBodyArrayOutput
Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
func (EventConnectionAuthParametersInvocationHttpParametersPtrOutput) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersInvocationHttpParametersPtrOutput) ElementType() reflect.Type
func (EventConnectionAuthParametersInvocationHttpParametersPtrOutput) Headers ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersPtrOutput) Headers() EventConnectionAuthParametersInvocationHttpParametersHeaderArrayOutput
Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
func (EventConnectionAuthParametersInvocationHttpParametersPtrOutput) QueryStrings ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersPtrOutput) QueryStrings() EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput
Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
func (EventConnectionAuthParametersInvocationHttpParametersPtrOutput) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersPtrOutput) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutput() EventConnectionAuthParametersInvocationHttpParametersPtrOutput
func (EventConnectionAuthParametersInvocationHttpParametersPtrOutput) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersPtrOutput) ToEventConnectionAuthParametersInvocationHttpParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersPtrOutput
type EventConnectionAuthParametersInvocationHttpParametersQueryString ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParametersQueryString struct { // Specified whether the value is secret. IsValueSecret *bool `pulumi:"isValueSecret"` // Header Name. Key *string `pulumi:"key"` // Header Value. Created and stored in AWS Secrets Manager. Value *string `pulumi:"value"` }
type EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs struct { // Specified whether the value is secret. IsValueSecret pulumi.BoolPtrInput `pulumi:"isValueSecret"` // Header Name. Key pulumi.StringPtrInput `pulumi:"key"` // Header Value. Created and stored in AWS Secrets Manager. Value pulumi.StringPtrInput `pulumi:"value"` }
func (EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs) ElementType() reflect.Type
func (EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringOutput ¶ added in v4.7.0
func (i EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringOutput() EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput
func (EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringOutputWithContext ¶ added in v4.7.0
func (i EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput
type EventConnectionAuthParametersInvocationHttpParametersQueryStringArray ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParametersQueryStringArray []EventConnectionAuthParametersInvocationHttpParametersQueryStringInput
func (EventConnectionAuthParametersInvocationHttpParametersQueryStringArray) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersInvocationHttpParametersQueryStringArray) ElementType() reflect.Type
func (EventConnectionAuthParametersInvocationHttpParametersQueryStringArray) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput ¶ added in v4.7.0
func (i EventConnectionAuthParametersInvocationHttpParametersQueryStringArray) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput() EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput
func (EventConnectionAuthParametersInvocationHttpParametersQueryStringArray) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutputWithContext ¶ added in v4.7.0
func (i EventConnectionAuthParametersInvocationHttpParametersQueryStringArray) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput
type EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayInput ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayInput interface { pulumi.Input ToEventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput() EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput ToEventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutputWithContext(context.Context) EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput }
EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayInput is an input type that accepts EventConnectionAuthParametersInvocationHttpParametersQueryStringArray and EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput values. You can construct a concrete instance of `EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayInput` via:
EventConnectionAuthParametersInvocationHttpParametersQueryStringArray{ EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs{...} }
type EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput struct{ *pulumi.OutputState }
func (EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput) ElementType() reflect.Type
func (EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput) Index ¶ added in v4.7.0
func (EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput() EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput
func (EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersQueryStringArrayOutput
type EventConnectionAuthParametersInvocationHttpParametersQueryStringInput ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParametersQueryStringInput interface { pulumi.Input ToEventConnectionAuthParametersInvocationHttpParametersQueryStringOutput() EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput ToEventConnectionAuthParametersInvocationHttpParametersQueryStringOutputWithContext(context.Context) EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput }
EventConnectionAuthParametersInvocationHttpParametersQueryStringInput is an input type that accepts EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs and EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput values. You can construct a concrete instance of `EventConnectionAuthParametersInvocationHttpParametersQueryStringInput` via:
EventConnectionAuthParametersInvocationHttpParametersQueryStringArgs{...}
type EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput ¶ added in v4.7.0
type EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput struct{ *pulumi.OutputState }
func (EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput) ElementType() reflect.Type
func (EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput) IsValueSecret ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput) IsValueSecret() pulumi.BoolPtrOutput
Specified whether the value is secret.
func (EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput) Key ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput) Key() pulumi.StringPtrOutput
Header Name.
func (EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringOutput() EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput
func (EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput) ToEventConnectionAuthParametersInvocationHttpParametersQueryStringOutputWithContext(ctx context.Context) EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput
func (EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput) Value ¶ added in v4.7.0
func (o EventConnectionAuthParametersInvocationHttpParametersQueryStringOutput) Value() pulumi.StringPtrOutput
Header Value. Created and stored in AWS Secrets Manager.
type EventConnectionAuthParametersOauth ¶ added in v4.7.0
type EventConnectionAuthParametersOauth struct { // The URL to the authorization endpoint. AuthorizationEndpoint string `pulumi:"authorizationEndpoint"` // Contains the client parameters for OAuth authorization. Contains the following two parameters. ClientParameters *EventConnectionAuthParametersOauthClientParameters `pulumi:"clientParameters"` // A password for the authorization. Created and stored in AWS Secrets Manager. HttpMethod string `pulumi:"httpMethod"` // OAuth Http Parameters are additional credentials used to sign the request to the authorization endpoint to exchange the OAuth Client information for an access token. Secret values are stored and managed by AWS Secrets Manager. A maximum of 1 are allowed. Documented below. OauthHttpParameters EventConnectionAuthParametersOauthOauthHttpParameters `pulumi:"oauthHttpParameters"` }
type EventConnectionAuthParametersOauthArgs ¶ added in v4.7.0
type EventConnectionAuthParametersOauthArgs struct { // The URL to the authorization endpoint. AuthorizationEndpoint pulumi.StringInput `pulumi:"authorizationEndpoint"` // Contains the client parameters for OAuth authorization. Contains the following two parameters. ClientParameters EventConnectionAuthParametersOauthClientParametersPtrInput `pulumi:"clientParameters"` // A password for the authorization. Created and stored in AWS Secrets Manager. HttpMethod pulumi.StringInput `pulumi:"httpMethod"` // OAuth Http Parameters are additional credentials used to sign the request to the authorization endpoint to exchange the OAuth Client information for an access token. Secret values are stored and managed by AWS Secrets Manager. A maximum of 1 are allowed. Documented below. OauthHttpParameters EventConnectionAuthParametersOauthOauthHttpParametersInput `pulumi:"oauthHttpParameters"` }
func (EventConnectionAuthParametersOauthArgs) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersOauthArgs) ElementType() reflect.Type
func (EventConnectionAuthParametersOauthArgs) ToEventConnectionAuthParametersOauthOutput ¶ added in v4.7.0
func (i EventConnectionAuthParametersOauthArgs) ToEventConnectionAuthParametersOauthOutput() EventConnectionAuthParametersOauthOutput
func (EventConnectionAuthParametersOauthArgs) ToEventConnectionAuthParametersOauthOutputWithContext ¶ added in v4.7.0
func (i EventConnectionAuthParametersOauthArgs) ToEventConnectionAuthParametersOauthOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOutput
func (EventConnectionAuthParametersOauthArgs) ToEventConnectionAuthParametersOauthPtrOutput ¶ added in v4.7.0
func (i EventConnectionAuthParametersOauthArgs) ToEventConnectionAuthParametersOauthPtrOutput() EventConnectionAuthParametersOauthPtrOutput
func (EventConnectionAuthParametersOauthArgs) ToEventConnectionAuthParametersOauthPtrOutputWithContext ¶ added in v4.7.0
func (i EventConnectionAuthParametersOauthArgs) ToEventConnectionAuthParametersOauthPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthPtrOutput
type EventConnectionAuthParametersOauthClientParameters ¶ added in v4.7.0
type EventConnectionAuthParametersOauthClientParameters struct { // The client ID for the credentials to use for authorization. Created and stored in AWS Secrets Manager. ClientId string `pulumi:"clientId"` // The client secret for the credentials to use for authorization. Created and stored in AWS Secrets Manager. ClientSecret string `pulumi:"clientSecret"` }
type EventConnectionAuthParametersOauthClientParametersArgs ¶ added in v4.7.0
type EventConnectionAuthParametersOauthClientParametersArgs struct { // The client ID for the credentials to use for authorization. Created and stored in AWS Secrets Manager. ClientId pulumi.StringInput `pulumi:"clientId"` // The client secret for the credentials to use for authorization. Created and stored in AWS Secrets Manager. ClientSecret pulumi.StringInput `pulumi:"clientSecret"` }
func (EventConnectionAuthParametersOauthClientParametersArgs) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersOauthClientParametersArgs) ElementType() reflect.Type
func (EventConnectionAuthParametersOauthClientParametersArgs) ToEventConnectionAuthParametersOauthClientParametersOutput ¶ added in v4.7.0
func (i EventConnectionAuthParametersOauthClientParametersArgs) ToEventConnectionAuthParametersOauthClientParametersOutput() EventConnectionAuthParametersOauthClientParametersOutput
func (EventConnectionAuthParametersOauthClientParametersArgs) ToEventConnectionAuthParametersOauthClientParametersOutputWithContext ¶ added in v4.7.0
func (i EventConnectionAuthParametersOauthClientParametersArgs) ToEventConnectionAuthParametersOauthClientParametersOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthClientParametersOutput
func (EventConnectionAuthParametersOauthClientParametersArgs) ToEventConnectionAuthParametersOauthClientParametersPtrOutput ¶ added in v4.7.0
func (i EventConnectionAuthParametersOauthClientParametersArgs) ToEventConnectionAuthParametersOauthClientParametersPtrOutput() EventConnectionAuthParametersOauthClientParametersPtrOutput
func (EventConnectionAuthParametersOauthClientParametersArgs) ToEventConnectionAuthParametersOauthClientParametersPtrOutputWithContext ¶ added in v4.7.0
func (i EventConnectionAuthParametersOauthClientParametersArgs) ToEventConnectionAuthParametersOauthClientParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthClientParametersPtrOutput
type EventConnectionAuthParametersOauthClientParametersInput ¶ added in v4.7.0
type EventConnectionAuthParametersOauthClientParametersInput interface { pulumi.Input ToEventConnectionAuthParametersOauthClientParametersOutput() EventConnectionAuthParametersOauthClientParametersOutput ToEventConnectionAuthParametersOauthClientParametersOutputWithContext(context.Context) EventConnectionAuthParametersOauthClientParametersOutput }
EventConnectionAuthParametersOauthClientParametersInput is an input type that accepts EventConnectionAuthParametersOauthClientParametersArgs and EventConnectionAuthParametersOauthClientParametersOutput values. You can construct a concrete instance of `EventConnectionAuthParametersOauthClientParametersInput` via:
EventConnectionAuthParametersOauthClientParametersArgs{...}
type EventConnectionAuthParametersOauthClientParametersOutput ¶ added in v4.7.0
type EventConnectionAuthParametersOauthClientParametersOutput struct{ *pulumi.OutputState }
func (EventConnectionAuthParametersOauthClientParametersOutput) ClientId ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthClientParametersOutput) ClientId() pulumi.StringOutput
The client ID for the credentials to use for authorization. Created and stored in AWS Secrets Manager.
func (EventConnectionAuthParametersOauthClientParametersOutput) ClientSecret ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthClientParametersOutput) ClientSecret() pulumi.StringOutput
The client secret for the credentials to use for authorization. Created and stored in AWS Secrets Manager.
func (EventConnectionAuthParametersOauthClientParametersOutput) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersOauthClientParametersOutput) ElementType() reflect.Type
func (EventConnectionAuthParametersOauthClientParametersOutput) ToEventConnectionAuthParametersOauthClientParametersOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthClientParametersOutput) ToEventConnectionAuthParametersOauthClientParametersOutput() EventConnectionAuthParametersOauthClientParametersOutput
func (EventConnectionAuthParametersOauthClientParametersOutput) ToEventConnectionAuthParametersOauthClientParametersOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthClientParametersOutput) ToEventConnectionAuthParametersOauthClientParametersOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthClientParametersOutput
func (EventConnectionAuthParametersOauthClientParametersOutput) ToEventConnectionAuthParametersOauthClientParametersPtrOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthClientParametersOutput) ToEventConnectionAuthParametersOauthClientParametersPtrOutput() EventConnectionAuthParametersOauthClientParametersPtrOutput
func (EventConnectionAuthParametersOauthClientParametersOutput) ToEventConnectionAuthParametersOauthClientParametersPtrOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthClientParametersOutput) ToEventConnectionAuthParametersOauthClientParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthClientParametersPtrOutput
type EventConnectionAuthParametersOauthClientParametersPtrInput ¶ added in v4.7.0
type EventConnectionAuthParametersOauthClientParametersPtrInput interface { pulumi.Input ToEventConnectionAuthParametersOauthClientParametersPtrOutput() EventConnectionAuthParametersOauthClientParametersPtrOutput ToEventConnectionAuthParametersOauthClientParametersPtrOutputWithContext(context.Context) EventConnectionAuthParametersOauthClientParametersPtrOutput }
EventConnectionAuthParametersOauthClientParametersPtrInput is an input type that accepts EventConnectionAuthParametersOauthClientParametersArgs, EventConnectionAuthParametersOauthClientParametersPtr and EventConnectionAuthParametersOauthClientParametersPtrOutput values. You can construct a concrete instance of `EventConnectionAuthParametersOauthClientParametersPtrInput` via:
EventConnectionAuthParametersOauthClientParametersArgs{...} or: nil
func EventConnectionAuthParametersOauthClientParametersPtr ¶ added in v4.7.0
func EventConnectionAuthParametersOauthClientParametersPtr(v *EventConnectionAuthParametersOauthClientParametersArgs) EventConnectionAuthParametersOauthClientParametersPtrInput
type EventConnectionAuthParametersOauthClientParametersPtrOutput ¶ added in v4.7.0
type EventConnectionAuthParametersOauthClientParametersPtrOutput struct{ *pulumi.OutputState }
func (EventConnectionAuthParametersOauthClientParametersPtrOutput) ClientId ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthClientParametersPtrOutput) ClientId() pulumi.StringPtrOutput
The client ID for the credentials to use for authorization. Created and stored in AWS Secrets Manager.
func (EventConnectionAuthParametersOauthClientParametersPtrOutput) ClientSecret ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthClientParametersPtrOutput) ClientSecret() pulumi.StringPtrOutput
The client secret for the credentials to use for authorization. Created and stored in AWS Secrets Manager.
func (EventConnectionAuthParametersOauthClientParametersPtrOutput) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersOauthClientParametersPtrOutput) ElementType() reflect.Type
func (EventConnectionAuthParametersOauthClientParametersPtrOutput) ToEventConnectionAuthParametersOauthClientParametersPtrOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthClientParametersPtrOutput) ToEventConnectionAuthParametersOauthClientParametersPtrOutput() EventConnectionAuthParametersOauthClientParametersPtrOutput
func (EventConnectionAuthParametersOauthClientParametersPtrOutput) ToEventConnectionAuthParametersOauthClientParametersPtrOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthClientParametersPtrOutput) ToEventConnectionAuthParametersOauthClientParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthClientParametersPtrOutput
type EventConnectionAuthParametersOauthInput ¶ added in v4.7.0
type EventConnectionAuthParametersOauthInput interface { pulumi.Input ToEventConnectionAuthParametersOauthOutput() EventConnectionAuthParametersOauthOutput ToEventConnectionAuthParametersOauthOutputWithContext(context.Context) EventConnectionAuthParametersOauthOutput }
EventConnectionAuthParametersOauthInput is an input type that accepts EventConnectionAuthParametersOauthArgs and EventConnectionAuthParametersOauthOutput values. You can construct a concrete instance of `EventConnectionAuthParametersOauthInput` via:
EventConnectionAuthParametersOauthArgs{...}
type EventConnectionAuthParametersOauthOauthHttpParameters ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParameters struct { // Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following: Bodies []EventConnectionAuthParametersOauthOauthHttpParametersBody `pulumi:"bodies"` // Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following: Headers []EventConnectionAuthParametersOauthOauthHttpParametersHeader `pulumi:"headers"` // Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following: QueryStrings []EventConnectionAuthParametersOauthOauthHttpParametersQueryString `pulumi:"queryStrings"` }
type EventConnectionAuthParametersOauthOauthHttpParametersArgs ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParametersArgs struct { // Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following: Bodies EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayInput `pulumi:"bodies"` // Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following: Headers EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayInput `pulumi:"headers"` // Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following: QueryStrings EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayInput `pulumi:"queryStrings"` }
func (EventConnectionAuthParametersOauthOauthHttpParametersArgs) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersOauthOauthHttpParametersArgs) ElementType() reflect.Type
func (EventConnectionAuthParametersOauthOauthHttpParametersArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersOutput ¶ added in v4.7.0
func (i EventConnectionAuthParametersOauthOauthHttpParametersArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersOutput() EventConnectionAuthParametersOauthOauthHttpParametersOutput
func (EventConnectionAuthParametersOauthOauthHttpParametersArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersOutputWithContext ¶ added in v4.7.0
func (i EventConnectionAuthParametersOauthOauthHttpParametersArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersOutput
func (EventConnectionAuthParametersOauthOauthHttpParametersArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutput ¶ added in v4.7.0
func (i EventConnectionAuthParametersOauthOauthHttpParametersArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutput() EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput
func (EventConnectionAuthParametersOauthOauthHttpParametersArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutputWithContext ¶ added in v4.7.0
func (i EventConnectionAuthParametersOauthOauthHttpParametersArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput
type EventConnectionAuthParametersOauthOauthHttpParametersBody ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs struct { // Specified whether the value is secret. IsValueSecret pulumi.BoolPtrInput `pulumi:"isValueSecret"` // Header Name. Key pulumi.StringPtrInput `pulumi:"key"` // Header Value. Created and stored in AWS Secrets Manager. Value pulumi.StringPtrInput `pulumi:"value"` }
func (EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs) ElementType() reflect.Type
func (EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyOutput ¶ added in v4.7.0
func (i EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyOutput() EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput
func (EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyOutputWithContext ¶ added in v4.7.0
func (i EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput
type EventConnectionAuthParametersOauthOauthHttpParametersBodyArray ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParametersBodyArray []EventConnectionAuthParametersOauthOauthHttpParametersBodyInput
func (EventConnectionAuthParametersOauthOauthHttpParametersBodyArray) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersOauthOauthHttpParametersBodyArray) ElementType() reflect.Type
func (EventConnectionAuthParametersOauthOauthHttpParametersBodyArray) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput ¶ added in v4.7.0
func (i EventConnectionAuthParametersOauthOauthHttpParametersBodyArray) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput() EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput
func (EventConnectionAuthParametersOauthOauthHttpParametersBodyArray) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutputWithContext ¶ added in v4.7.0
func (i EventConnectionAuthParametersOauthOauthHttpParametersBodyArray) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput
type EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayInput ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayInput interface { pulumi.Input ToEventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput() EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput ToEventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutputWithContext(context.Context) EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput }
EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayInput is an input type that accepts EventConnectionAuthParametersOauthOauthHttpParametersBodyArray and EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput values. You can construct a concrete instance of `EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayInput` via:
EventConnectionAuthParametersOauthOauthHttpParametersBodyArray{ EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs{...} }
type EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput struct{ *pulumi.OutputState }
func (EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput) ElementType() reflect.Type
func (EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput() EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput
func (EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput
type EventConnectionAuthParametersOauthOauthHttpParametersBodyInput ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParametersBodyInput interface { pulumi.Input ToEventConnectionAuthParametersOauthOauthHttpParametersBodyOutput() EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput ToEventConnectionAuthParametersOauthOauthHttpParametersBodyOutputWithContext(context.Context) EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput }
EventConnectionAuthParametersOauthOauthHttpParametersBodyInput is an input type that accepts EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs and EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput values. You can construct a concrete instance of `EventConnectionAuthParametersOauthOauthHttpParametersBodyInput` via:
EventConnectionAuthParametersOauthOauthHttpParametersBodyArgs{...}
type EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput struct{ *pulumi.OutputState }
func (EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput) ElementType() reflect.Type
func (EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput) IsValueSecret ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput) IsValueSecret() pulumi.BoolPtrOutput
Specified whether the value is secret.
func (EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput) Key ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput) Key() pulumi.StringPtrOutput
Header Name.
func (EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyOutput() EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput
func (EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersBodyOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput
func (EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput) Value ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersBodyOutput) Value() pulumi.StringPtrOutput
Header Value. Created and stored in AWS Secrets Manager.
type EventConnectionAuthParametersOauthOauthHttpParametersHeader ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs struct { // Specified whether the value is secret. IsValueSecret pulumi.BoolPtrInput `pulumi:"isValueSecret"` // Header Name. Key pulumi.StringPtrInput `pulumi:"key"` // Header Value. Created and stored in AWS Secrets Manager. Value pulumi.StringPtrInput `pulumi:"value"` }
func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs) ElementType() reflect.Type
func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput ¶ added in v4.7.0
func (i EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput() EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput
func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderOutputWithContext ¶ added in v4.7.0
func (i EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput
type EventConnectionAuthParametersOauthOauthHttpParametersHeaderArray ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParametersHeaderArray []EventConnectionAuthParametersOauthOauthHttpParametersHeaderInput
func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderArray) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderArray) ElementType() reflect.Type
func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderArray) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput ¶ added in v4.7.0
func (i EventConnectionAuthParametersOauthOauthHttpParametersHeaderArray) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput() EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput
func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderArray) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutputWithContext ¶ added in v4.7.0
func (i EventConnectionAuthParametersOauthOauthHttpParametersHeaderArray) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput
type EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayInput ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayInput interface { pulumi.Input ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput() EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutputWithContext(context.Context) EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput }
EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayInput is an input type that accepts EventConnectionAuthParametersOauthOauthHttpParametersHeaderArray and EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput values. You can construct a concrete instance of `EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayInput` via:
EventConnectionAuthParametersOauthOauthHttpParametersHeaderArray{ EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs{...} }
type EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput struct{ *pulumi.OutputState }
func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput) ElementType() reflect.Type
func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput) Index ¶ added in v4.7.0
func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput() EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput
func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput
type EventConnectionAuthParametersOauthOauthHttpParametersHeaderInput ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParametersHeaderInput interface { pulumi.Input ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput() EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderOutputWithContext(context.Context) EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput }
EventConnectionAuthParametersOauthOauthHttpParametersHeaderInput is an input type that accepts EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs and EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput values. You can construct a concrete instance of `EventConnectionAuthParametersOauthOauthHttpParametersHeaderInput` via:
EventConnectionAuthParametersOauthOauthHttpParametersHeaderArgs{...}
type EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput struct{ *pulumi.OutputState }
func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput) ElementType() reflect.Type
func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput) IsValueSecret ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput) IsValueSecret() pulumi.BoolPtrOutput
Specified whether the value is secret.
func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput) Key ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput) Key() pulumi.StringPtrOutput
Header Name.
func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput() EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput
func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersHeaderOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput
func (EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput) Value ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersHeaderOutput) Value() pulumi.StringPtrOutput
Header Value. Created and stored in AWS Secrets Manager.
type EventConnectionAuthParametersOauthOauthHttpParametersInput ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParametersInput interface { pulumi.Input ToEventConnectionAuthParametersOauthOauthHttpParametersOutput() EventConnectionAuthParametersOauthOauthHttpParametersOutput ToEventConnectionAuthParametersOauthOauthHttpParametersOutputWithContext(context.Context) EventConnectionAuthParametersOauthOauthHttpParametersOutput }
EventConnectionAuthParametersOauthOauthHttpParametersInput is an input type that accepts EventConnectionAuthParametersOauthOauthHttpParametersArgs and EventConnectionAuthParametersOauthOauthHttpParametersOutput values. You can construct a concrete instance of `EventConnectionAuthParametersOauthOauthHttpParametersInput` via:
EventConnectionAuthParametersOauthOauthHttpParametersArgs{...}
type EventConnectionAuthParametersOauthOauthHttpParametersOutput ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParametersOutput struct{ *pulumi.OutputState }
func (EventConnectionAuthParametersOauthOauthHttpParametersOutput) Bodies ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersOutput) Bodies() EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput
Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
func (EventConnectionAuthParametersOauthOauthHttpParametersOutput) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersOauthOauthHttpParametersOutput) ElementType() reflect.Type
func (EventConnectionAuthParametersOauthOauthHttpParametersOutput) Headers ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersOutput) Headers() EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput
Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
func (EventConnectionAuthParametersOauthOauthHttpParametersOutput) QueryStrings ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersOutput) QueryStrings() EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput
Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
func (EventConnectionAuthParametersOauthOauthHttpParametersOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersOutput() EventConnectionAuthParametersOauthOauthHttpParametersOutput
func (EventConnectionAuthParametersOauthOauthHttpParametersOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersOutput
func (EventConnectionAuthParametersOauthOauthHttpParametersOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutput() EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput
func (EventConnectionAuthParametersOauthOauthHttpParametersOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput
type EventConnectionAuthParametersOauthOauthHttpParametersPtrInput ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParametersPtrInput interface { pulumi.Input ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutput() EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutputWithContext(context.Context) EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput }
EventConnectionAuthParametersOauthOauthHttpParametersPtrInput is an input type that accepts EventConnectionAuthParametersOauthOauthHttpParametersArgs, EventConnectionAuthParametersOauthOauthHttpParametersPtr and EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput values. You can construct a concrete instance of `EventConnectionAuthParametersOauthOauthHttpParametersPtrInput` via:
EventConnectionAuthParametersOauthOauthHttpParametersArgs{...} or: nil
func EventConnectionAuthParametersOauthOauthHttpParametersPtr ¶ added in v4.7.0
func EventConnectionAuthParametersOauthOauthHttpParametersPtr(v *EventConnectionAuthParametersOauthOauthHttpParametersArgs) EventConnectionAuthParametersOauthOauthHttpParametersPtrInput
type EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput struct{ *pulumi.OutputState }
func (EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) Bodies ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) Bodies() EventConnectionAuthParametersOauthOauthHttpParametersBodyArrayOutput
Contains additional body string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
func (EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) ElementType() reflect.Type
func (EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) Headers ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) Headers() EventConnectionAuthParametersOauthOauthHttpParametersHeaderArrayOutput
Contains additional header parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
func (EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) QueryStrings ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) QueryStrings() EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput
Contains additional query string parameters for the connection. You can include up to 100 additional body string parameters per request. Each additional parameter counts towards the event payload size, which cannot exceed 64 KB. Each parameter can contain the following:
func (EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutput() EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput
func (EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput
type EventConnectionAuthParametersOauthOauthHttpParametersQueryString ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParametersQueryString struct { // Specified whether the value is secret. IsValueSecret *bool `pulumi:"isValueSecret"` // Header Name. Key *string `pulumi:"key"` // Header Value. Created and stored in AWS Secrets Manager. Value *string `pulumi:"value"` }
type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs struct { // Specified whether the value is secret. IsValueSecret pulumi.BoolPtrInput `pulumi:"isValueSecret"` // Header Name. Key pulumi.StringPtrInput `pulumi:"key"` // Header Value. Created and stored in AWS Secrets Manager. Value pulumi.StringPtrInput `pulumi:"value"` }
func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs) ElementType() reflect.Type
func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput ¶ added in v4.7.0
func (i EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput() EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput
func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutputWithContext ¶ added in v4.7.0
func (i EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput
type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArray ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArray []EventConnectionAuthParametersOauthOauthHttpParametersQueryStringInput
func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArray) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArray) ElementType() reflect.Type
func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArray) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput ¶ added in v4.7.0
func (i EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArray) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput() EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput
func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArray) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutputWithContext ¶ added in v4.7.0
func (i EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArray) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput
type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayInput ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayInput interface { pulumi.Input ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput() EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutputWithContext(context.Context) EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput }
EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayInput is an input type that accepts EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArray and EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput values. You can construct a concrete instance of `EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayInput` via:
EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArray{ EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs{...} }
type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput struct{ *pulumi.OutputState }
func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput) ElementType() reflect.Type
func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput) Index ¶ added in v4.7.0
func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput() EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput
func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArrayOutput
type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringInput ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringInput interface { pulumi.Input ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput() EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutputWithContext(context.Context) EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput }
EventConnectionAuthParametersOauthOauthHttpParametersQueryStringInput is an input type that accepts EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs and EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput values. You can construct a concrete instance of `EventConnectionAuthParametersOauthOauthHttpParametersQueryStringInput` via:
EventConnectionAuthParametersOauthOauthHttpParametersQueryStringArgs{...}
type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput struct{ *pulumi.OutputState }
func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput) ElementType() reflect.Type
func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput) IsValueSecret ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput) IsValueSecret() pulumi.BoolPtrOutput
Specified whether the value is secret.
func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput) Key ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput) Key() pulumi.StringPtrOutput
Header Name.
func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput() EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput
func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput) ToEventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput
func (EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput) Value ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOauthHttpParametersQueryStringOutput) Value() pulumi.StringPtrOutput
Header Value. Created and stored in AWS Secrets Manager.
type EventConnectionAuthParametersOauthOutput ¶ added in v4.7.0
type EventConnectionAuthParametersOauthOutput struct{ *pulumi.OutputState }
func (EventConnectionAuthParametersOauthOutput) AuthorizationEndpoint ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOutput) AuthorizationEndpoint() pulumi.StringOutput
The URL to the authorization endpoint.
func (EventConnectionAuthParametersOauthOutput) ClientParameters ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOutput) ClientParameters() EventConnectionAuthParametersOauthClientParametersPtrOutput
Contains the client parameters for OAuth authorization. Contains the following two parameters.
func (EventConnectionAuthParametersOauthOutput) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersOauthOutput) ElementType() reflect.Type
func (EventConnectionAuthParametersOauthOutput) HttpMethod ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOutput) HttpMethod() pulumi.StringOutput
A password for the authorization. Created and stored in AWS Secrets Manager.
func (EventConnectionAuthParametersOauthOutput) OauthHttpParameters ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOutput) OauthHttpParameters() EventConnectionAuthParametersOauthOauthHttpParametersOutput
OAuth Http Parameters are additional credentials used to sign the request to the authorization endpoint to exchange the OAuth Client information for an access token. Secret values are stored and managed by AWS Secrets Manager. A maximum of 1 are allowed. Documented below.
func (EventConnectionAuthParametersOauthOutput) ToEventConnectionAuthParametersOauthOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOutput) ToEventConnectionAuthParametersOauthOutput() EventConnectionAuthParametersOauthOutput
func (EventConnectionAuthParametersOauthOutput) ToEventConnectionAuthParametersOauthOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOutput) ToEventConnectionAuthParametersOauthOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthOutput
func (EventConnectionAuthParametersOauthOutput) ToEventConnectionAuthParametersOauthPtrOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOutput) ToEventConnectionAuthParametersOauthPtrOutput() EventConnectionAuthParametersOauthPtrOutput
func (EventConnectionAuthParametersOauthOutput) ToEventConnectionAuthParametersOauthPtrOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthOutput) ToEventConnectionAuthParametersOauthPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthPtrOutput
type EventConnectionAuthParametersOauthPtrInput ¶ added in v4.7.0
type EventConnectionAuthParametersOauthPtrInput interface { pulumi.Input ToEventConnectionAuthParametersOauthPtrOutput() EventConnectionAuthParametersOauthPtrOutput ToEventConnectionAuthParametersOauthPtrOutputWithContext(context.Context) EventConnectionAuthParametersOauthPtrOutput }
EventConnectionAuthParametersOauthPtrInput is an input type that accepts EventConnectionAuthParametersOauthArgs, EventConnectionAuthParametersOauthPtr and EventConnectionAuthParametersOauthPtrOutput values. You can construct a concrete instance of `EventConnectionAuthParametersOauthPtrInput` via:
EventConnectionAuthParametersOauthArgs{...} or: nil
func EventConnectionAuthParametersOauthPtr ¶ added in v4.7.0
func EventConnectionAuthParametersOauthPtr(v *EventConnectionAuthParametersOauthArgs) EventConnectionAuthParametersOauthPtrInput
type EventConnectionAuthParametersOauthPtrOutput ¶ added in v4.7.0
type EventConnectionAuthParametersOauthPtrOutput struct{ *pulumi.OutputState }
func (EventConnectionAuthParametersOauthPtrOutput) AuthorizationEndpoint ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthPtrOutput) AuthorizationEndpoint() pulumi.StringPtrOutput
The URL to the authorization endpoint.
func (EventConnectionAuthParametersOauthPtrOutput) ClientParameters ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthPtrOutput) ClientParameters() EventConnectionAuthParametersOauthClientParametersPtrOutput
Contains the client parameters for OAuth authorization. Contains the following two parameters.
func (EventConnectionAuthParametersOauthPtrOutput) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersOauthPtrOutput) ElementType() reflect.Type
func (EventConnectionAuthParametersOauthPtrOutput) HttpMethod ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthPtrOutput) HttpMethod() pulumi.StringPtrOutput
A password for the authorization. Created and stored in AWS Secrets Manager.
func (EventConnectionAuthParametersOauthPtrOutput) OauthHttpParameters ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthPtrOutput) OauthHttpParameters() EventConnectionAuthParametersOauthOauthHttpParametersPtrOutput
OAuth Http Parameters are additional credentials used to sign the request to the authorization endpoint to exchange the OAuth Client information for an access token. Secret values are stored and managed by AWS Secrets Manager. A maximum of 1 are allowed. Documented below.
func (EventConnectionAuthParametersOauthPtrOutput) ToEventConnectionAuthParametersOauthPtrOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthPtrOutput) ToEventConnectionAuthParametersOauthPtrOutput() EventConnectionAuthParametersOauthPtrOutput
func (EventConnectionAuthParametersOauthPtrOutput) ToEventConnectionAuthParametersOauthPtrOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersOauthPtrOutput) ToEventConnectionAuthParametersOauthPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersOauthPtrOutput
type EventConnectionAuthParametersOutput ¶ added in v4.7.0
type EventConnectionAuthParametersOutput struct{ *pulumi.OutputState }
func (EventConnectionAuthParametersOutput) ApiKey ¶ added in v4.7.0
Parameters used for API_KEY authorization. An API key to include in the header for each authentication request. A maximum of 1 are allowed. Conflicts with `basic` and `oauth`. Documented below.
func (EventConnectionAuthParametersOutput) Basic ¶ added in v4.7.0
Parameters used for BASIC authorization. A maximum of 1 are allowed. Conflicts with `apiKey` and `oauth`. Documented below.
func (EventConnectionAuthParametersOutput) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersOutput) ElementType() reflect.Type
func (EventConnectionAuthParametersOutput) InvocationHttpParameters ¶ added in v4.7.0
func (o EventConnectionAuthParametersOutput) InvocationHttpParameters() EventConnectionAuthParametersInvocationHttpParametersPtrOutput
Invocation Http Parameters are additional credentials used to sign each Invocation of the ApiDestination created from this Connection. If the ApiDestination Rule Target has additional HttpParameters, the values will be merged together, with the Connection Invocation Http Parameters taking precedence. Secret values are stored and managed by AWS Secrets Manager. A maximum of 1 are allowed. Documented below.
func (EventConnectionAuthParametersOutput) Oauth ¶ added in v4.7.0
Parameters used for OAUTH_CLIENT_CREDENTIALS authorization. A maximum of 1 are allowed. Conflicts with `basic` and `apiKey`. Documented below.
func (EventConnectionAuthParametersOutput) ToEventConnectionAuthParametersOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersOutput) ToEventConnectionAuthParametersOutput() EventConnectionAuthParametersOutput
func (EventConnectionAuthParametersOutput) ToEventConnectionAuthParametersOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersOutput) ToEventConnectionAuthParametersOutputWithContext(ctx context.Context) EventConnectionAuthParametersOutput
func (EventConnectionAuthParametersOutput) ToEventConnectionAuthParametersPtrOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersOutput) ToEventConnectionAuthParametersPtrOutput() EventConnectionAuthParametersPtrOutput
func (EventConnectionAuthParametersOutput) ToEventConnectionAuthParametersPtrOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersOutput) ToEventConnectionAuthParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersPtrOutput
type EventConnectionAuthParametersPtrInput ¶ added in v4.7.0
type EventConnectionAuthParametersPtrInput interface { pulumi.Input ToEventConnectionAuthParametersPtrOutput() EventConnectionAuthParametersPtrOutput ToEventConnectionAuthParametersPtrOutputWithContext(context.Context) EventConnectionAuthParametersPtrOutput }
EventConnectionAuthParametersPtrInput is an input type that accepts EventConnectionAuthParametersArgs, EventConnectionAuthParametersPtr and EventConnectionAuthParametersPtrOutput values. You can construct a concrete instance of `EventConnectionAuthParametersPtrInput` via:
EventConnectionAuthParametersArgs{...} or: nil
func EventConnectionAuthParametersPtr ¶ added in v4.7.0
func EventConnectionAuthParametersPtr(v *EventConnectionAuthParametersArgs) EventConnectionAuthParametersPtrInput
type EventConnectionAuthParametersPtrOutput ¶ added in v4.7.0
type EventConnectionAuthParametersPtrOutput struct{ *pulumi.OutputState }
func (EventConnectionAuthParametersPtrOutput) ApiKey ¶ added in v4.7.0
func (o EventConnectionAuthParametersPtrOutput) ApiKey() EventConnectionAuthParametersApiKeyPtrOutput
Parameters used for API_KEY authorization. An API key to include in the header for each authentication request. A maximum of 1 are allowed. Conflicts with `basic` and `oauth`. Documented below.
func (EventConnectionAuthParametersPtrOutput) Basic ¶ added in v4.7.0
Parameters used for BASIC authorization. A maximum of 1 are allowed. Conflicts with `apiKey` and `oauth`. Documented below.
func (EventConnectionAuthParametersPtrOutput) ElementType ¶ added in v4.7.0
func (EventConnectionAuthParametersPtrOutput) ElementType() reflect.Type
func (EventConnectionAuthParametersPtrOutput) InvocationHttpParameters ¶ added in v4.7.0
func (o EventConnectionAuthParametersPtrOutput) InvocationHttpParameters() EventConnectionAuthParametersInvocationHttpParametersPtrOutput
Invocation Http Parameters are additional credentials used to sign each Invocation of the ApiDestination created from this Connection. If the ApiDestination Rule Target has additional HttpParameters, the values will be merged together, with the Connection Invocation Http Parameters taking precedence. Secret values are stored and managed by AWS Secrets Manager. A maximum of 1 are allowed. Documented below.
func (EventConnectionAuthParametersPtrOutput) Oauth ¶ added in v4.7.0
Parameters used for OAUTH_CLIENT_CREDENTIALS authorization. A maximum of 1 are allowed. Conflicts with `basic` and `apiKey`. Documented below.
func (EventConnectionAuthParametersPtrOutput) ToEventConnectionAuthParametersPtrOutput ¶ added in v4.7.0
func (o EventConnectionAuthParametersPtrOutput) ToEventConnectionAuthParametersPtrOutput() EventConnectionAuthParametersPtrOutput
func (EventConnectionAuthParametersPtrOutput) ToEventConnectionAuthParametersPtrOutputWithContext ¶ added in v4.7.0
func (o EventConnectionAuthParametersPtrOutput) ToEventConnectionAuthParametersPtrOutputWithContext(ctx context.Context) EventConnectionAuthParametersPtrOutput
type EventConnectionInput ¶ added in v4.7.0
type EventConnectionInput interface { pulumi.Input ToEventConnectionOutput() EventConnectionOutput ToEventConnectionOutputWithContext(ctx context.Context) EventConnectionOutput }
type EventConnectionMap ¶ added in v4.7.0
type EventConnectionMap map[string]EventConnectionInput
func (EventConnectionMap) ElementType ¶ added in v4.7.0
func (EventConnectionMap) ElementType() reflect.Type
func (EventConnectionMap) ToEventConnectionMapOutput ¶ added in v4.7.0
func (i EventConnectionMap) ToEventConnectionMapOutput() EventConnectionMapOutput
func (EventConnectionMap) ToEventConnectionMapOutputWithContext ¶ added in v4.7.0
func (i EventConnectionMap) ToEventConnectionMapOutputWithContext(ctx context.Context) EventConnectionMapOutput
type EventConnectionMapInput ¶ added in v4.7.0
type EventConnectionMapInput interface { pulumi.Input ToEventConnectionMapOutput() EventConnectionMapOutput ToEventConnectionMapOutputWithContext(context.Context) EventConnectionMapOutput }
EventConnectionMapInput is an input type that accepts EventConnectionMap and EventConnectionMapOutput values. You can construct a concrete instance of `EventConnectionMapInput` via:
EventConnectionMap{ "key": EventConnectionArgs{...} }
type EventConnectionMapOutput ¶ added in v4.7.0
type EventConnectionMapOutput struct{ *pulumi.OutputState }
func (EventConnectionMapOutput) ElementType ¶ added in v4.7.0
func (EventConnectionMapOutput) ElementType() reflect.Type
func (EventConnectionMapOutput) MapIndex ¶ added in v4.7.0
func (o EventConnectionMapOutput) MapIndex(k pulumi.StringInput) EventConnectionOutput
func (EventConnectionMapOutput) ToEventConnectionMapOutput ¶ added in v4.7.0
func (o EventConnectionMapOutput) ToEventConnectionMapOutput() EventConnectionMapOutput
func (EventConnectionMapOutput) ToEventConnectionMapOutputWithContext ¶ added in v4.7.0
func (o EventConnectionMapOutput) ToEventConnectionMapOutputWithContext(ctx context.Context) EventConnectionMapOutput
type EventConnectionOutput ¶ added in v4.7.0
type EventConnectionOutput struct{ *pulumi.OutputState }
func (EventConnectionOutput) ElementType ¶ added in v4.7.0
func (EventConnectionOutput) ElementType() reflect.Type
func (EventConnectionOutput) ToEventConnectionOutput ¶ added in v4.7.0
func (o EventConnectionOutput) ToEventConnectionOutput() EventConnectionOutput
func (EventConnectionOutput) ToEventConnectionOutputWithContext ¶ added in v4.7.0
func (o EventConnectionOutput) ToEventConnectionOutputWithContext(ctx context.Context) EventConnectionOutput
type EventConnectionState ¶ added in v4.7.0
type EventConnectionState struct { // The Amazon Resource Name (ARN) of the connection. Arn pulumi.StringPtrInput // Parameters used for authorization. A maximum of 1 are allowed. Documented below. AuthParameters EventConnectionAuthParametersPtrInput // Choose the type of authorization to use for the connection. One of `API_KEY`,`BASIC`,`OAUTH_CLIENT_CREDENTIALS`. AuthorizationType pulumi.StringPtrInput // Enter a description for the connection. Maximum of 512 characters. Description pulumi.StringPtrInput // The name of the new connection. Maximum of 64 characters consisting of numbers, lower/upper case letters, .,-,_. Name pulumi.StringPtrInput // The Amazon Resource Name (ARN) of the secret created from the authorization parameters specified for the connection. SecretArn pulumi.StringPtrInput }
func (EventConnectionState) ElementType ¶ added in v4.7.0
func (EventConnectionState) ElementType() reflect.Type
type EventPermission ¶
type EventPermission struct { pulumi.CustomResourceState // The action that you are enabling the other account to perform. Defaults to `events:PutEvents`. Action pulumi.StringPtrOutput `pulumi:"action"` // Configuration block to limit the event bus permissions you are granting to only accounts that fulfill the condition. Specified below. Condition EventPermissionConditionPtrOutput `pulumi:"condition"` // The event bus to set the permissions on. If you omit this, the permissions are set on the `default` event bus. EventBusName pulumi.StringPtrOutput `pulumi:"eventBusName"` // The 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify `*` to permit any account to put events to your default event bus, optionally limited by `condition`. Principal pulumi.StringOutput `pulumi:"principal"` // An identifier string for the external account that you are granting permissions to. StatementId pulumi.StringOutput `pulumi:"statementId"` }
Provides a resource to create an EventBridge permission to support cross-account events in the current account default event bus.
> **Note:** EventBridge was formerly known as CloudWatch Events. The functionality is identical.
> **Note:** The EventBridge bus policy resource (`cloudwatch.EventBusPolicy`) is incompatible with the EventBridge permission resource (`cloudwatch.EventPermission`) and will overwrite permissions.
## Example Usage ### Account Access
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudwatch.NewEventPermission(ctx, "devAccountAccess", &cloudwatch.EventPermissionArgs{ Principal: pulumi.String("123456789012"), StatementId: pulumi.String("DevAccountAccess"), }) if err != nil { return err } return nil }) }
``` ### Organization Access
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudwatch.NewEventPermission(ctx, "organizationAccess", &cloudwatch.EventPermissionArgs{ Principal: pulumi.String("*"), StatementId: pulumi.String("OrganizationAccess"), Condition: &cloudwatch.EventPermissionConditionArgs{ Key: pulumi.String("aws:PrincipalOrgID"), Type: pulumi.String("StringEquals"), Value: pulumi.Any(aws_organizations_organization.Example.Id), }, }) if err != nil { return err } return nil }) }
```
## Import
EventBridge permissions can be imported using the `event_bus_name/statement_id` (if you omit `event_bus_name`, the `default` event bus will be used), e.g.,
```sh
$ pulumi import aws:cloudwatch/eventPermission:EventPermission DevAccountAccess example-event-bus/DevAccountAccess
```
func GetEventPermission ¶
func GetEventPermission(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EventPermissionState, opts ...pulumi.ResourceOption) (*EventPermission, error)
GetEventPermission gets an existing EventPermission 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 NewEventPermission ¶
func NewEventPermission(ctx *pulumi.Context, name string, args *EventPermissionArgs, opts ...pulumi.ResourceOption) (*EventPermission, error)
NewEventPermission registers a new resource with the given unique name, arguments, and options.
func (*EventPermission) ElementType ¶
func (*EventPermission) ElementType() reflect.Type
func (*EventPermission) ToEventPermissionOutput ¶
func (i *EventPermission) ToEventPermissionOutput() EventPermissionOutput
func (*EventPermission) ToEventPermissionOutputWithContext ¶
func (i *EventPermission) ToEventPermissionOutputWithContext(ctx context.Context) EventPermissionOutput
type EventPermissionArgs ¶
type EventPermissionArgs struct { // The action that you are enabling the other account to perform. Defaults to `events:PutEvents`. Action pulumi.StringPtrInput // Configuration block to limit the event bus permissions you are granting to only accounts that fulfill the condition. Specified below. Condition EventPermissionConditionPtrInput // The event bus to set the permissions on. If you omit this, the permissions are set on the `default` event bus. EventBusName pulumi.StringPtrInput // The 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify `*` to permit any account to put events to your default event bus, optionally limited by `condition`. Principal pulumi.StringInput // An identifier string for the external account that you are granting permissions to. StatementId pulumi.StringInput }
The set of arguments for constructing a EventPermission resource.
func (EventPermissionArgs) ElementType ¶
func (EventPermissionArgs) ElementType() reflect.Type
type EventPermissionArray ¶
type EventPermissionArray []EventPermissionInput
func (EventPermissionArray) ElementType ¶
func (EventPermissionArray) ElementType() reflect.Type
func (EventPermissionArray) ToEventPermissionArrayOutput ¶
func (i EventPermissionArray) ToEventPermissionArrayOutput() EventPermissionArrayOutput
func (EventPermissionArray) ToEventPermissionArrayOutputWithContext ¶
func (i EventPermissionArray) ToEventPermissionArrayOutputWithContext(ctx context.Context) EventPermissionArrayOutput
type EventPermissionArrayInput ¶
type EventPermissionArrayInput interface { pulumi.Input ToEventPermissionArrayOutput() EventPermissionArrayOutput ToEventPermissionArrayOutputWithContext(context.Context) EventPermissionArrayOutput }
EventPermissionArrayInput is an input type that accepts EventPermissionArray and EventPermissionArrayOutput values. You can construct a concrete instance of `EventPermissionArrayInput` via:
EventPermissionArray{ EventPermissionArgs{...} }
type EventPermissionArrayOutput ¶
type EventPermissionArrayOutput struct{ *pulumi.OutputState }
func (EventPermissionArrayOutput) ElementType ¶
func (EventPermissionArrayOutput) ElementType() reflect.Type
func (EventPermissionArrayOutput) Index ¶
func (o EventPermissionArrayOutput) Index(i pulumi.IntInput) EventPermissionOutput
func (EventPermissionArrayOutput) ToEventPermissionArrayOutput ¶
func (o EventPermissionArrayOutput) ToEventPermissionArrayOutput() EventPermissionArrayOutput
func (EventPermissionArrayOutput) ToEventPermissionArrayOutputWithContext ¶
func (o EventPermissionArrayOutput) ToEventPermissionArrayOutputWithContext(ctx context.Context) EventPermissionArrayOutput
type EventPermissionConditionArgs ¶
type EventPermissionConditionArgs struct { // Key for the condition. Valid values: `aws:PrincipalOrgID`. Key pulumi.StringInput `pulumi:"key"` // Type of condition. Value values: `StringEquals`. Type pulumi.StringInput `pulumi:"type"` // Value for the key. Value pulumi.StringInput `pulumi:"value"` }
func (EventPermissionConditionArgs) ElementType ¶
func (EventPermissionConditionArgs) ElementType() reflect.Type
func (EventPermissionConditionArgs) ToEventPermissionConditionOutput ¶
func (i EventPermissionConditionArgs) ToEventPermissionConditionOutput() EventPermissionConditionOutput
func (EventPermissionConditionArgs) ToEventPermissionConditionOutputWithContext ¶
func (i EventPermissionConditionArgs) ToEventPermissionConditionOutputWithContext(ctx context.Context) EventPermissionConditionOutput
func (EventPermissionConditionArgs) ToEventPermissionConditionPtrOutput ¶
func (i EventPermissionConditionArgs) ToEventPermissionConditionPtrOutput() EventPermissionConditionPtrOutput
func (EventPermissionConditionArgs) ToEventPermissionConditionPtrOutputWithContext ¶
func (i EventPermissionConditionArgs) ToEventPermissionConditionPtrOutputWithContext(ctx context.Context) EventPermissionConditionPtrOutput
type EventPermissionConditionInput ¶
type EventPermissionConditionInput interface { pulumi.Input ToEventPermissionConditionOutput() EventPermissionConditionOutput ToEventPermissionConditionOutputWithContext(context.Context) EventPermissionConditionOutput }
EventPermissionConditionInput is an input type that accepts EventPermissionConditionArgs and EventPermissionConditionOutput values. You can construct a concrete instance of `EventPermissionConditionInput` via:
EventPermissionConditionArgs{...}
type EventPermissionConditionOutput ¶
type EventPermissionConditionOutput struct{ *pulumi.OutputState }
func (EventPermissionConditionOutput) ElementType ¶
func (EventPermissionConditionOutput) ElementType() reflect.Type
func (EventPermissionConditionOutput) Key ¶
func (o EventPermissionConditionOutput) Key() pulumi.StringOutput
Key for the condition. Valid values: `aws:PrincipalOrgID`.
func (EventPermissionConditionOutput) ToEventPermissionConditionOutput ¶
func (o EventPermissionConditionOutput) ToEventPermissionConditionOutput() EventPermissionConditionOutput
func (EventPermissionConditionOutput) ToEventPermissionConditionOutputWithContext ¶
func (o EventPermissionConditionOutput) ToEventPermissionConditionOutputWithContext(ctx context.Context) EventPermissionConditionOutput
func (EventPermissionConditionOutput) ToEventPermissionConditionPtrOutput ¶
func (o EventPermissionConditionOutput) ToEventPermissionConditionPtrOutput() EventPermissionConditionPtrOutput
func (EventPermissionConditionOutput) ToEventPermissionConditionPtrOutputWithContext ¶
func (o EventPermissionConditionOutput) ToEventPermissionConditionPtrOutputWithContext(ctx context.Context) EventPermissionConditionPtrOutput
func (EventPermissionConditionOutput) Type ¶
func (o EventPermissionConditionOutput) Type() pulumi.StringOutput
Type of condition. Value values: `StringEquals`.
func (EventPermissionConditionOutput) Value ¶
func (o EventPermissionConditionOutput) Value() pulumi.StringOutput
Value for the key.
type EventPermissionConditionPtrInput ¶
type EventPermissionConditionPtrInput interface { pulumi.Input ToEventPermissionConditionPtrOutput() EventPermissionConditionPtrOutput ToEventPermissionConditionPtrOutputWithContext(context.Context) EventPermissionConditionPtrOutput }
EventPermissionConditionPtrInput is an input type that accepts EventPermissionConditionArgs, EventPermissionConditionPtr and EventPermissionConditionPtrOutput values. You can construct a concrete instance of `EventPermissionConditionPtrInput` via:
EventPermissionConditionArgs{...} or: nil
func EventPermissionConditionPtr ¶
func EventPermissionConditionPtr(v *EventPermissionConditionArgs) EventPermissionConditionPtrInput
type EventPermissionConditionPtrOutput ¶
type EventPermissionConditionPtrOutput struct{ *pulumi.OutputState }
func (EventPermissionConditionPtrOutput) Elem ¶
func (o EventPermissionConditionPtrOutput) Elem() EventPermissionConditionOutput
func (EventPermissionConditionPtrOutput) ElementType ¶
func (EventPermissionConditionPtrOutput) ElementType() reflect.Type
func (EventPermissionConditionPtrOutput) Key ¶
func (o EventPermissionConditionPtrOutput) Key() pulumi.StringPtrOutput
Key for the condition. Valid values: `aws:PrincipalOrgID`.
func (EventPermissionConditionPtrOutput) ToEventPermissionConditionPtrOutput ¶
func (o EventPermissionConditionPtrOutput) ToEventPermissionConditionPtrOutput() EventPermissionConditionPtrOutput
func (EventPermissionConditionPtrOutput) ToEventPermissionConditionPtrOutputWithContext ¶
func (o EventPermissionConditionPtrOutput) ToEventPermissionConditionPtrOutputWithContext(ctx context.Context) EventPermissionConditionPtrOutput
func (EventPermissionConditionPtrOutput) Type ¶
func (o EventPermissionConditionPtrOutput) Type() pulumi.StringPtrOutput
Type of condition. Value values: `StringEquals`.
func (EventPermissionConditionPtrOutput) Value ¶
func (o EventPermissionConditionPtrOutput) Value() pulumi.StringPtrOutput
Value for the key.
type EventPermissionInput ¶
type EventPermissionInput interface { pulumi.Input ToEventPermissionOutput() EventPermissionOutput ToEventPermissionOutputWithContext(ctx context.Context) EventPermissionOutput }
type EventPermissionMap ¶
type EventPermissionMap map[string]EventPermissionInput
func (EventPermissionMap) ElementType ¶
func (EventPermissionMap) ElementType() reflect.Type
func (EventPermissionMap) ToEventPermissionMapOutput ¶
func (i EventPermissionMap) ToEventPermissionMapOutput() EventPermissionMapOutput
func (EventPermissionMap) ToEventPermissionMapOutputWithContext ¶
func (i EventPermissionMap) ToEventPermissionMapOutputWithContext(ctx context.Context) EventPermissionMapOutput
type EventPermissionMapInput ¶
type EventPermissionMapInput interface { pulumi.Input ToEventPermissionMapOutput() EventPermissionMapOutput ToEventPermissionMapOutputWithContext(context.Context) EventPermissionMapOutput }
EventPermissionMapInput is an input type that accepts EventPermissionMap and EventPermissionMapOutput values. You can construct a concrete instance of `EventPermissionMapInput` via:
EventPermissionMap{ "key": EventPermissionArgs{...} }
type EventPermissionMapOutput ¶
type EventPermissionMapOutput struct{ *pulumi.OutputState }
func (EventPermissionMapOutput) ElementType ¶
func (EventPermissionMapOutput) ElementType() reflect.Type
func (EventPermissionMapOutput) MapIndex ¶
func (o EventPermissionMapOutput) MapIndex(k pulumi.StringInput) EventPermissionOutput
func (EventPermissionMapOutput) ToEventPermissionMapOutput ¶
func (o EventPermissionMapOutput) ToEventPermissionMapOutput() EventPermissionMapOutput
func (EventPermissionMapOutput) ToEventPermissionMapOutputWithContext ¶
func (o EventPermissionMapOutput) ToEventPermissionMapOutputWithContext(ctx context.Context) EventPermissionMapOutput
type EventPermissionOutput ¶
type EventPermissionOutput struct{ *pulumi.OutputState }
func (EventPermissionOutput) ElementType ¶
func (EventPermissionOutput) ElementType() reflect.Type
func (EventPermissionOutput) ToEventPermissionOutput ¶
func (o EventPermissionOutput) ToEventPermissionOutput() EventPermissionOutput
func (EventPermissionOutput) ToEventPermissionOutputWithContext ¶
func (o EventPermissionOutput) ToEventPermissionOutputWithContext(ctx context.Context) EventPermissionOutput
type EventPermissionState ¶
type EventPermissionState struct { // The action that you are enabling the other account to perform. Defaults to `events:PutEvents`. Action pulumi.StringPtrInput // Configuration block to limit the event bus permissions you are granting to only accounts that fulfill the condition. Specified below. Condition EventPermissionConditionPtrInput // The event bus to set the permissions on. If you omit this, the permissions are set on the `default` event bus. EventBusName pulumi.StringPtrInput // The 12-digit AWS account ID that you are permitting to put events to your default event bus. Specify `*` to permit any account to put events to your default event bus, optionally limited by `condition`. Principal pulumi.StringPtrInput // An identifier string for the external account that you are granting permissions to. StatementId pulumi.StringPtrInput }
func (EventPermissionState) ElementType ¶
func (EventPermissionState) ElementType() reflect.Type
type EventRule ¶
type EventRule struct { pulumi.CustomResourceState // The Amazon Resource Name (ARN) of the rule. Arn pulumi.StringOutput `pulumi:"arn"` // The description of the rule. Description pulumi.StringPtrOutput `pulumi:"description"` // The event bus to associate with this rule. If you omit this, the `default` event bus is used. EventBusName pulumi.StringPtrOutput `pulumi:"eventBusName"` // The event pattern described a JSON object. At least one of `scheduleExpression` or `eventPattern` is required. See full documentation of [Events and Event Patterns in EventBridge](https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html) for details. EventPattern pulumi.StringPtrOutput `pulumi:"eventPattern"` // Whether the rule should be enabled (defaults to `true`). IsEnabled pulumi.BoolPtrOutput `pulumi:"isEnabled"` // The name of the rule. If omitted, this 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 Amazon Resource Name (ARN) associated with the role that is used for target invocation. RoleArn pulumi.StringPtrOutput `pulumi:"roleArn"` // The scheduling expression. For example, `cron(0 20 * * ? *)` or `rate(5 minutes)`. At least one of `scheduleExpression` or `eventPattern` is required. Can only be used on the default event bus. For more information, refer to the AWS documentation [Schedule Expressions for Rules](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html). ScheduleExpression pulumi.StringPtrOutput `pulumi:"scheduleExpression"` // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides an EventBridge Rule resource.
> **Note:** EventBridge was formerly known as CloudWatch Events. The functionality is identical.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/iam" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/sns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { console, err := cloudwatch.NewEventRule(ctx, "console", &cloudwatch.EventRuleArgs{ Description: pulumi.String("Capture each AWS Console Sign In"), EventPattern: pulumi.String(fmt.Sprintf("%v%v%v%v%v", "{\n", " \"detail-type\": [\n", " \"AWS Console Sign In via CloudTrail\"\n", " ]\n", "}\n")), }) if err != nil { return err } awsLogins, err := sns.NewTopic(ctx, "awsLogins", nil) if err != nil { return err } _, err = cloudwatch.NewEventTarget(ctx, "sns", &cloudwatch.EventTargetArgs{ Rule: console.Name, Arn: awsLogins.Arn, }) if err != nil { return err } _, err = sns.NewTopicPolicy(ctx, "default", &sns.TopicPolicyArgs{ Arn: awsLogins.Arn, Policy: snsTopicPolicy.ApplyT(func(snsTopicPolicy iam.GetPolicyDocumentResult) (string, error) { return snsTopicPolicy.Json, nil }).(pulumi.StringOutput), }) if err != nil { return err } return nil }) }
```
## Import
EventBridge Rules can be imported using the `event_bus_name/rule_name` (if you omit `event_bus_name`, the `default` event bus will be used), e.g.,
```sh
$ pulumi import aws:cloudwatch/eventRule:EventRule console example-event-bus/capture-console-sign-in
```
func GetEventRule ¶
func GetEventRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EventRuleState, opts ...pulumi.ResourceOption) (*EventRule, error)
GetEventRule gets an existing EventRule 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 NewEventRule ¶
func NewEventRule(ctx *pulumi.Context, name string, args *EventRuleArgs, opts ...pulumi.ResourceOption) (*EventRule, error)
NewEventRule registers a new resource with the given unique name, arguments, and options.
func (*EventRule) ElementType ¶
func (*EventRule) ToEventRuleOutput ¶
func (i *EventRule) ToEventRuleOutput() EventRuleOutput
func (*EventRule) ToEventRuleOutputWithContext ¶
func (i *EventRule) ToEventRuleOutputWithContext(ctx context.Context) EventRuleOutput
type EventRuleArgs ¶
type EventRuleArgs struct { // The description of the rule. Description pulumi.StringPtrInput // The event bus to associate with this rule. If you omit this, the `default` event bus is used. EventBusName pulumi.StringPtrInput // The event pattern described a JSON object. At least one of `scheduleExpression` or `eventPattern` is required. See full documentation of [Events and Event Patterns in EventBridge](https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html) for details. EventPattern pulumi.StringPtrInput // Whether the rule should be enabled (defaults to `true`). IsEnabled pulumi.BoolPtrInput // The name of the rule. If omitted, this 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 Amazon Resource Name (ARN) associated with the role that is used for target invocation. RoleArn pulumi.StringPtrInput // The scheduling expression. For example, `cron(0 20 * * ? *)` or `rate(5 minutes)`. At least one of `scheduleExpression` or `eventPattern` is required. Can only be used on the default event bus. For more information, refer to the AWS documentation [Schedule Expressions for Rules](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html). ScheduleExpression 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 EventRule resource.
func (EventRuleArgs) ElementType ¶
func (EventRuleArgs) ElementType() reflect.Type
type EventRuleArray ¶
type EventRuleArray []EventRuleInput
func (EventRuleArray) ElementType ¶
func (EventRuleArray) ElementType() reflect.Type
func (EventRuleArray) ToEventRuleArrayOutput ¶
func (i EventRuleArray) ToEventRuleArrayOutput() EventRuleArrayOutput
func (EventRuleArray) ToEventRuleArrayOutputWithContext ¶
func (i EventRuleArray) ToEventRuleArrayOutputWithContext(ctx context.Context) EventRuleArrayOutput
type EventRuleArrayInput ¶
type EventRuleArrayInput interface { pulumi.Input ToEventRuleArrayOutput() EventRuleArrayOutput ToEventRuleArrayOutputWithContext(context.Context) EventRuleArrayOutput }
EventRuleArrayInput is an input type that accepts EventRuleArray and EventRuleArrayOutput values. You can construct a concrete instance of `EventRuleArrayInput` via:
EventRuleArray{ EventRuleArgs{...} }
type EventRuleArrayOutput ¶
type EventRuleArrayOutput struct{ *pulumi.OutputState }
func (EventRuleArrayOutput) ElementType ¶
func (EventRuleArrayOutput) ElementType() reflect.Type
func (EventRuleArrayOutput) Index ¶
func (o EventRuleArrayOutput) Index(i pulumi.IntInput) EventRuleOutput
func (EventRuleArrayOutput) ToEventRuleArrayOutput ¶
func (o EventRuleArrayOutput) ToEventRuleArrayOutput() EventRuleArrayOutput
func (EventRuleArrayOutput) ToEventRuleArrayOutputWithContext ¶
func (o EventRuleArrayOutput) ToEventRuleArrayOutputWithContext(ctx context.Context) EventRuleArrayOutput
type EventRuleInput ¶
type EventRuleInput interface { pulumi.Input ToEventRuleOutput() EventRuleOutput ToEventRuleOutputWithContext(ctx context.Context) EventRuleOutput }
type EventRuleMap ¶
type EventRuleMap map[string]EventRuleInput
func (EventRuleMap) ElementType ¶
func (EventRuleMap) ElementType() reflect.Type
func (EventRuleMap) ToEventRuleMapOutput ¶
func (i EventRuleMap) ToEventRuleMapOutput() EventRuleMapOutput
func (EventRuleMap) ToEventRuleMapOutputWithContext ¶
func (i EventRuleMap) ToEventRuleMapOutputWithContext(ctx context.Context) EventRuleMapOutput
type EventRuleMapInput ¶
type EventRuleMapInput interface { pulumi.Input ToEventRuleMapOutput() EventRuleMapOutput ToEventRuleMapOutputWithContext(context.Context) EventRuleMapOutput }
EventRuleMapInput is an input type that accepts EventRuleMap and EventRuleMapOutput values. You can construct a concrete instance of `EventRuleMapInput` via:
EventRuleMap{ "key": EventRuleArgs{...} }
type EventRuleMapOutput ¶
type EventRuleMapOutput struct{ *pulumi.OutputState }
func (EventRuleMapOutput) ElementType ¶
func (EventRuleMapOutput) ElementType() reflect.Type
func (EventRuleMapOutput) MapIndex ¶
func (o EventRuleMapOutput) MapIndex(k pulumi.StringInput) EventRuleOutput
func (EventRuleMapOutput) ToEventRuleMapOutput ¶
func (o EventRuleMapOutput) ToEventRuleMapOutput() EventRuleMapOutput
func (EventRuleMapOutput) ToEventRuleMapOutputWithContext ¶
func (o EventRuleMapOutput) ToEventRuleMapOutputWithContext(ctx context.Context) EventRuleMapOutput
type EventRuleOutput ¶
type EventRuleOutput struct{ *pulumi.OutputState }
func (EventRuleOutput) ElementType ¶
func (EventRuleOutput) ElementType() reflect.Type
func (EventRuleOutput) ToEventRuleOutput ¶
func (o EventRuleOutput) ToEventRuleOutput() EventRuleOutput
func (EventRuleOutput) ToEventRuleOutputWithContext ¶
func (o EventRuleOutput) ToEventRuleOutputWithContext(ctx context.Context) EventRuleOutput
type EventRuleState ¶
type EventRuleState struct { // The Amazon Resource Name (ARN) of the rule. Arn pulumi.StringPtrInput // The description of the rule. Description pulumi.StringPtrInput // The event bus to associate with this rule. If you omit this, the `default` event bus is used. EventBusName pulumi.StringPtrInput // The event pattern described a JSON object. At least one of `scheduleExpression` or `eventPattern` is required. See full documentation of [Events and Event Patterns in EventBridge](https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html) for details. EventPattern pulumi.StringPtrInput // Whether the rule should be enabled (defaults to `true`). IsEnabled pulumi.BoolPtrInput // The name of the rule. If omitted, this 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 Amazon Resource Name (ARN) associated with the role that is used for target invocation. RoleArn pulumi.StringPtrInput // The scheduling expression. For example, `cron(0 20 * * ? *)` or `rate(5 minutes)`. At least one of `scheduleExpression` or `eventPattern` is required. Can only be used on the default event bus. For more information, refer to the AWS documentation [Schedule Expressions for Rules](https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html). ScheduleExpression pulumi.StringPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapInput }
func (EventRuleState) ElementType ¶
func (EventRuleState) ElementType() reflect.Type
type EventTarget ¶
type EventTarget struct { pulumi.CustomResourceState // - ARN of the SQS queue specified as the target for the dead-letter queue. Arn pulumi.StringOutput `pulumi:"arn"` // Parameters used when you are using the rule to invoke an Amazon Batch Job. Documented below. A maximum of 1 are allowed. BatchTarget EventTargetBatchTargetPtrOutput `pulumi:"batchTarget"` // Parameters used when you are providing a dead letter config. Documented below. A maximum of 1 are allowed. DeadLetterConfig EventTargetDeadLetterConfigPtrOutput `pulumi:"deadLetterConfig"` // Parameters used when you are using the rule to invoke Amazon ECS Task. Documented below. A maximum of 1 are allowed. EcsTarget EventTargetEcsTargetPtrOutput `pulumi:"ecsTarget"` // The event bus to associate with the rule. If you omit this, the `default` event bus is used. EventBusName pulumi.StringPtrOutput `pulumi:"eventBusName"` // Parameters used when you are using the rule to invoke an API Gateway REST endpoint. Documented below. A maximum of 1 is allowed. HttpTarget EventTargetHttpTargetPtrOutput `pulumi:"httpTarget"` // Valid JSON text passed to the target. Conflicts with `inputPath` and `inputTransformer`. Input pulumi.StringPtrOutput `pulumi:"input"` // The value of the [JSONPath](http://goessner.net/articles/JsonPath/) that is used for extracting part of the matched event when passing it to the target. Conflicts with `input` and `inputTransformer`. InputPath pulumi.StringPtrOutput `pulumi:"inputPath"` // Parameters used when you are providing a custom input to a target based on certain event data. Conflicts with `input` and `inputPath`. InputTransformer EventTargetInputTransformerPtrOutput `pulumi:"inputTransformer"` // Parameters used when you are using the rule to invoke an Amazon Kinesis Stream. Documented below. A maximum of 1 are allowed. KinesisTarget EventTargetKinesisTargetPtrOutput `pulumi:"kinesisTarget"` // Parameters used when you are using the rule to invoke an Amazon Redshift Statement. Documented below. A maximum of 1 are allowed. RedshiftTarget EventTargetRedshiftTargetPtrOutput `pulumi:"redshiftTarget"` // Parameters used when you are providing retry policies. Documented below. A maximum of 1 are allowed. RetryPolicy EventTargetRetryPolicyPtrOutput `pulumi:"retryPolicy"` // The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. Required if `ecsTarget` is used or target in `arn` is EC2 instance, Kinesis data stream, Step Functions state machine, or Event Bus in different account or region. RoleArn pulumi.StringPtrOutput `pulumi:"roleArn"` // The name of the rule you want to add targets to. Rule pulumi.StringOutput `pulumi:"rule"` // Parameters used when you are using the rule to invoke Amazon EC2 Run Command. Documented below. A maximum of 5 are allowed. RunCommandTargets EventTargetRunCommandTargetArrayOutput `pulumi:"runCommandTargets"` // Parameters used when you are using the rule to invoke an Amazon SQS Queue. Documented below. A maximum of 1 are allowed. SqsTarget EventTargetSqsTargetPtrOutput `pulumi:"sqsTarget"` // The unique target assignment ID. If missing, will generate a random, unique id. TargetId pulumi.StringOutput `pulumi:"targetId"` }
Provides an EventBridge Target resource.
> **Note:** EventBridge was formerly known as CloudWatch Events. The functionality is identical.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/kinesis" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { console, err := cloudwatch.NewEventRule(ctx, "console", &cloudwatch.EventRuleArgs{ Description: pulumi.String("Capture all EC2 scaling events"), EventPattern: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"source\": [\n", " \"aws.autoscaling\"\n", " ],\n", " \"detail-type\": [\n", " \"EC2 Instance Launch Successful\",\n", " \"EC2 Instance Terminate Successful\",\n", " \"EC2 Instance Launch Unsuccessful\",\n", " \"EC2 Instance Terminate Unsuccessful\"\n", " ]\n", "}\n")), }) if err != nil { return err } testStream, err := kinesis.NewStream(ctx, "testStream", &kinesis.StreamArgs{ ShardCount: pulumi.Int(1), }) if err != nil { return err } _, err = cloudwatch.NewEventTarget(ctx, "yada", &cloudwatch.EventTargetArgs{ Rule: console.Name, Arn: testStream.Arn, RunCommandTargets: cloudwatch.EventTargetRunCommandTargetArray{ &cloudwatch.EventTargetRunCommandTargetArgs{ Key: pulumi.String("tag:Name"), Values: pulumi.StringArray{ pulumi.String("FooBar"), }, }, &cloudwatch.EventTargetRunCommandTargetArgs{ Key: pulumi.String("InstanceIds"), Values: pulumi.StringArray{ pulumi.String("i-162058cd308bffec2"), }, }, }, }) if err != nil { return err } return nil }) }
``` ## Example SSM Document Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/iam" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ssm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ssmLifecycleTrust, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ iam.GetPolicyDocumentStatement{ Actions: []string{ "sts:AssumeRole", }, Principals: []iam.GetPolicyDocumentStatementPrincipal{ iam.GetPolicyDocumentStatementPrincipal{ Type: "Service", Identifiers: []string{ "events.amazonaws.com", }, }, }, }, }, }, nil) if err != nil { return err } stopInstance, err := ssm.NewDocument(ctx, "stopInstance", &ssm.DocumentArgs{ DocumentType: pulumi.String("Command"), Content: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", " {\n", " \"schemaVersion\": \"1.2\",\n", " \"description\": \"Stop an instance\",\n", " \"parameters\": {\n", "\n", " },\n", " \"runtimeConfig\": {\n", " \"aws:runShellScript\": {\n", " \"properties\": [\n", " {\n", " \"id\": \"0.aws:runShellScript\",\n", " \"runCommand\": [\"halt\"]\n", " }\n", " ]\n", " }\n", " }\n", " }\n")), }) if err != nil { return err } ssmLifecyclePolicyDocument := iam.GetPolicyDocumentOutput(ctx, iam.GetPolicyDocumentOutputArgs{ Statements: iam.GetPolicyDocumentStatementArray{ &iam.GetPolicyDocumentStatementArgs{ Effect: pulumi.String("Allow"), Actions: pulumi.StringArray{ pulumi.String("ssm:SendCommand"), }, Resources: pulumi.StringArray{ pulumi.String("arn:aws:ec2:eu-west-1:1234567890:instance/*"), }, Conditions: iam.GetPolicyDocumentStatementConditionArray{ &iam.GetPolicyDocumentStatementConditionArgs{ Test: pulumi.String("StringEquals"), Variable: pulumi.String("ec2:ResourceTag/Terminate"), Values: pulumi.StringArray{ pulumi.String("*"), }, }, }, }, &iam.GetPolicyDocumentStatementArgs{ Effect: pulumi.String("Allow"), Actions: pulumi.StringArray{ pulumi.String("ssm:SendCommand"), }, Resources: pulumi.StringArray{ stopInstance.Arn, }, }, }, }, nil) ssmLifecycleRole, err := iam.NewRole(ctx, "ssmLifecycleRole", &iam.RoleArgs{ AssumeRolePolicy: pulumi.String(ssmLifecycleTrust.Json), }) if err != nil { return err } ssmLifecyclePolicy, err := iam.NewPolicy(ctx, "ssmLifecyclePolicy", &iam.PolicyArgs{ Policy: ssmLifecyclePolicyDocument.ApplyT(func(ssmLifecyclePolicyDocument iam.GetPolicyDocumentResult) (string, error) { return ssmLifecyclePolicyDocument.Json, nil }).(pulumi.StringOutput), }) if err != nil { return err } _, err = iam.NewRolePolicyAttachment(ctx, "ssmLifecycleRolePolicyAttachment", &iam.RolePolicyAttachmentArgs{ PolicyArn: ssmLifecyclePolicy.Arn, Role: ssmLifecycleRole.Name, }) if err != nil { return err } stopInstancesEventRule, err := cloudwatch.NewEventRule(ctx, "stopInstancesEventRule", &cloudwatch.EventRuleArgs{ Description: pulumi.String("Stop instances nightly"), ScheduleExpression: pulumi.String("cron(0 0 * * ? *)"), }) if err != nil { return err } _, err = cloudwatch.NewEventTarget(ctx, "stopInstancesEventTarget", &cloudwatch.EventTargetArgs{ Arn: stopInstance.Arn, Rule: stopInstancesEventRule.Name, RoleArn: ssmLifecycleRole.Arn, RunCommandTargets: cloudwatch.EventTargetRunCommandTargetArray{ &cloudwatch.EventTargetRunCommandTargetArgs{ Key: pulumi.String("tag:Terminate"), Values: pulumi.StringArray{ pulumi.String("midnight"), }, }, }, }) if err != nil { return err } return nil }) }
```
## Example RunCommand Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { stopInstancesEventRule, err := cloudwatch.NewEventRule(ctx, "stopInstancesEventRule", &cloudwatch.EventRuleArgs{ Description: pulumi.String("Stop instances nightly"), ScheduleExpression: pulumi.String("cron(0 0 * * ? *)"), }) if err != nil { return err } _, err = cloudwatch.NewEventTarget(ctx, "stopInstancesEventTarget", &cloudwatch.EventTargetArgs{ Arn: pulumi.String(fmt.Sprintf("%v%v%v", "arn:aws:ssm:", _var.Aws_region, "::document/AWS-RunShellScript")), Input: pulumi.String("{\"commands\":[\"halt\"]}"), Rule: stopInstancesEventRule.Name, RoleArn: pulumi.Any(aws_iam_role.Ssm_lifecycle.Arn), RunCommandTargets: cloudwatch.EventTargetRunCommandTargetArray{ &cloudwatch.EventTargetRunCommandTargetArgs{ Key: pulumi.String("tag:Terminate"), Values: pulumi.StringArray{ pulumi.String("midnight"), }, }, }, }) if err != nil { return err } return nil }) }
```
## Example API Gateway target
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/apigateway" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleEventRule, err := cloudwatch.NewEventRule(ctx, "exampleEventRule", nil) if err != nil { return err } exampleDeployment, err := apigateway.NewDeployment(ctx, "exampleDeployment", &apigateway.DeploymentArgs{ RestApi: pulumi.Any(aws_api_gateway_rest_api.Example.Id), }) if err != nil { return err } exampleStage, err := apigateway.NewStage(ctx, "exampleStage", &apigateway.StageArgs{ RestApi: pulumi.Any(aws_api_gateway_rest_api.Example.Id), Deployment: exampleDeployment.ID(), }) if err != nil { return err } _, err = cloudwatch.NewEventTarget(ctx, "exampleEventTarget", &cloudwatch.EventTargetArgs{ Arn: exampleStage.ExecutionArn.ApplyT(func(executionArn string) (string, error) { return fmt.Sprintf("%v%v", executionArn, "/GET"), nil }).(pulumi.StringOutput), Rule: exampleEventRule.ID(), HttpTarget: &cloudwatch.EventTargetHttpTargetArgs{ QueryStringParameters: pulumi.StringMap{ "Body": pulumi.String(fmt.Sprintf("%v%v", "$", ".detail.body")), }, HeaderParameters: pulumi.StringMap{ "Env": pulumi.String("Test"), }, }, }) if err != nil { return err } return nil }) }
```
## Example Cross-Account Event Bus target
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/iam" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { eventBusInvokeRemoteEventBusRole, err := iam.NewRole(ctx, "eventBusInvokeRemoteEventBusRole", &iam.RoleArgs{ AssumeRolePolicy: pulumi.Any(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": [\n", " {\n", " \"Action\": \"sts:AssumeRole\",\n", " \"Principal\": {\n", " \"Service\": \"events.amazonaws.com\"\n", " },\n", " \"Effect\": \"Allow\"\n", " }\n", " ]\n", "}\n")), }) if err != nil { return err } eventBusInvokeRemoteEventBusPolicyDocument, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ iam.GetPolicyDocumentStatement{ Effect: "Allow", Actions: []string{ "events.PutEvents", }, Resources: []string{ "arn:aws:events:eu-west-1:1234567890:event-bus/My-Event-Bus", }, }, }, }, nil) if err != nil { return err } eventBusInvokeRemoteEventBusPolicy, err := iam.NewPolicy(ctx, "eventBusInvokeRemoteEventBusPolicy", &iam.PolicyArgs{ Policy: pulumi.String(eventBusInvokeRemoteEventBusPolicyDocument.Json), }) if err != nil { return err } _, err = iam.NewRolePolicyAttachment(ctx, "eventBusInvokeRemoteEventBusRolePolicyAttachment", &iam.RolePolicyAttachmentArgs{ Role: eventBusInvokeRemoteEventBusRole.Name, PolicyArn: eventBusInvokeRemoteEventBusPolicy.Arn, }) if err != nil { return err } stopInstancesEventRule, err := cloudwatch.NewEventRule(ctx, "stopInstancesEventRule", &cloudwatch.EventRuleArgs{ Description: pulumi.String("Stop instances nightly"), ScheduleExpression: pulumi.String("cron(0 0 * * ? *)"), }) if err != nil { return err } _, err = cloudwatch.NewEventTarget(ctx, "stopInstancesEventTarget", &cloudwatch.EventTargetArgs{ Arn: pulumi.String("arn:aws:events:eu-west-1:1234567890:event-bus/My-Event-Bus"), Rule: stopInstancesEventRule.Name, RoleArn: eventBusInvokeRemoteEventBusRole.Arn, }) if err != nil { return err } return nil }) }
```
## Example Input Transformer Usage - JSON Object
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleEventRule, err := cloudwatch.NewEventRule(ctx, "exampleEventRule", nil) if err != nil { return err } _, err = cloudwatch.NewEventTarget(ctx, "exampleEventTarget", &cloudwatch.EventTargetArgs{ Arn: pulumi.Any(aws_lambda_function.Example.Arn), Rule: exampleEventRule.ID(), InputTransformer: &cloudwatch.EventTargetInputTransformerArgs{ InputPaths: pulumi.StringMap{ "instance": pulumi.String(fmt.Sprintf("%v%v", "$", ".detail.instance")), "status": pulumi.String(fmt.Sprintf("%v%v", "$", ".detail.status")), }, InputTemplate: pulumi.String(fmt.Sprintf("%v%v%v%v", "{\n", " \"instance_id\": <instance>,\n", " \"instance_status\": <status>\n", "}\n")), }, }) if err != nil { return err } return nil }) }
```
## Example Input Transformer Usage - Simple String
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleEventRule, err := cloudwatch.NewEventRule(ctx, "exampleEventRule", nil) if err != nil { return err } _, err = cloudwatch.NewEventTarget(ctx, "exampleEventTarget", &cloudwatch.EventTargetArgs{ Arn: pulumi.Any(aws_lambda_function.Example.Arn), Rule: exampleEventRule.ID(), InputTransformer: &cloudwatch.EventTargetInputTransformerArgs{ InputPaths: pulumi.StringMap{ "instance": pulumi.String(fmt.Sprintf("%v%v", "$", ".detail.instance")), "status": pulumi.String(fmt.Sprintf("%v%v", "$", ".detail.status")), }, InputTemplate: pulumi.String("\"<instance> is in state <status>\""), }, }) if err != nil { return err } return nil }) }
```
## Import
EventBridge Targets can be imported using `event_bus_name/rule-name/target-id` (if you omit `event_bus_name`, the `default` event bus will be used).
```sh
$ pulumi import aws:cloudwatch/eventTarget:EventTarget test-event-target rule-name/target-id
```
func GetEventTarget ¶
func GetEventTarget(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EventTargetState, opts ...pulumi.ResourceOption) (*EventTarget, error)
GetEventTarget gets an existing EventTarget 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 NewEventTarget ¶
func NewEventTarget(ctx *pulumi.Context, name string, args *EventTargetArgs, opts ...pulumi.ResourceOption) (*EventTarget, error)
NewEventTarget registers a new resource with the given unique name, arguments, and options.
func (*EventTarget) ElementType ¶
func (*EventTarget) ElementType() reflect.Type
func (*EventTarget) ToEventTargetOutput ¶
func (i *EventTarget) ToEventTargetOutput() EventTargetOutput
func (*EventTarget) ToEventTargetOutputWithContext ¶
func (i *EventTarget) ToEventTargetOutputWithContext(ctx context.Context) EventTargetOutput
type EventTargetArgs ¶
type EventTargetArgs struct { // - ARN of the SQS queue specified as the target for the dead-letter queue. Arn pulumi.StringInput // Parameters used when you are using the rule to invoke an Amazon Batch Job. Documented below. A maximum of 1 are allowed. BatchTarget EventTargetBatchTargetPtrInput // Parameters used when you are providing a dead letter config. Documented below. A maximum of 1 are allowed. DeadLetterConfig EventTargetDeadLetterConfigPtrInput // Parameters used when you are using the rule to invoke Amazon ECS Task. Documented below. A maximum of 1 are allowed. EcsTarget EventTargetEcsTargetPtrInput // The event bus to associate with the rule. If you omit this, the `default` event bus is used. EventBusName pulumi.StringPtrInput // Parameters used when you are using the rule to invoke an API Gateway REST endpoint. Documented below. A maximum of 1 is allowed. HttpTarget EventTargetHttpTargetPtrInput // Valid JSON text passed to the target. Conflicts with `inputPath` and `inputTransformer`. Input pulumi.StringPtrInput // The value of the [JSONPath](http://goessner.net/articles/JsonPath/) that is used for extracting part of the matched event when passing it to the target. Conflicts with `input` and `inputTransformer`. InputPath pulumi.StringPtrInput // Parameters used when you are providing a custom input to a target based on certain event data. Conflicts with `input` and `inputPath`. InputTransformer EventTargetInputTransformerPtrInput // Parameters used when you are using the rule to invoke an Amazon Kinesis Stream. Documented below. A maximum of 1 are allowed. KinesisTarget EventTargetKinesisTargetPtrInput // Parameters used when you are using the rule to invoke an Amazon Redshift Statement. Documented below. A maximum of 1 are allowed. RedshiftTarget EventTargetRedshiftTargetPtrInput // Parameters used when you are providing retry policies. Documented below. A maximum of 1 are allowed. RetryPolicy EventTargetRetryPolicyPtrInput // The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. Required if `ecsTarget` is used or target in `arn` is EC2 instance, Kinesis data stream, Step Functions state machine, or Event Bus in different account or region. RoleArn pulumi.StringPtrInput // The name of the rule you want to add targets to. Rule pulumi.StringInput // Parameters used when you are using the rule to invoke Amazon EC2 Run Command. Documented below. A maximum of 5 are allowed. RunCommandTargets EventTargetRunCommandTargetArrayInput // Parameters used when you are using the rule to invoke an Amazon SQS Queue. Documented below. A maximum of 1 are allowed. SqsTarget EventTargetSqsTargetPtrInput // The unique target assignment ID. If missing, will generate a random, unique id. TargetId pulumi.StringPtrInput }
The set of arguments for constructing a EventTarget resource.
func (EventTargetArgs) ElementType ¶
func (EventTargetArgs) ElementType() reflect.Type
type EventTargetArray ¶
type EventTargetArray []EventTargetInput
func (EventTargetArray) ElementType ¶
func (EventTargetArray) ElementType() reflect.Type
func (EventTargetArray) ToEventTargetArrayOutput ¶
func (i EventTargetArray) ToEventTargetArrayOutput() EventTargetArrayOutput
func (EventTargetArray) ToEventTargetArrayOutputWithContext ¶
func (i EventTargetArray) ToEventTargetArrayOutputWithContext(ctx context.Context) EventTargetArrayOutput
type EventTargetArrayInput ¶
type EventTargetArrayInput interface { pulumi.Input ToEventTargetArrayOutput() EventTargetArrayOutput ToEventTargetArrayOutputWithContext(context.Context) EventTargetArrayOutput }
EventTargetArrayInput is an input type that accepts EventTargetArray and EventTargetArrayOutput values. You can construct a concrete instance of `EventTargetArrayInput` via:
EventTargetArray{ EventTargetArgs{...} }
type EventTargetArrayOutput ¶
type EventTargetArrayOutput struct{ *pulumi.OutputState }
func (EventTargetArrayOutput) ElementType ¶
func (EventTargetArrayOutput) ElementType() reflect.Type
func (EventTargetArrayOutput) Index ¶
func (o EventTargetArrayOutput) Index(i pulumi.IntInput) EventTargetOutput
func (EventTargetArrayOutput) ToEventTargetArrayOutput ¶
func (o EventTargetArrayOutput) ToEventTargetArrayOutput() EventTargetArrayOutput
func (EventTargetArrayOutput) ToEventTargetArrayOutputWithContext ¶
func (o EventTargetArrayOutput) ToEventTargetArrayOutputWithContext(ctx context.Context) EventTargetArrayOutput
type EventTargetBatchTarget ¶
type EventTargetBatchTarget struct { // The size of the array, if this is an array batch job. Valid values are integers between 2 and 10,000. ArraySize *int `pulumi:"arraySize"` // The number of times to attempt to retry, if the job fails. Valid values are 1 to 10. JobAttempts *int `pulumi:"jobAttempts"` // The ARN or name of the job definition to use if the event target is an AWS Batch job. This job definition must already exist. JobDefinition string `pulumi:"jobDefinition"` // The name to use for this execution of the job, if the target is an AWS Batch job. JobName string `pulumi:"jobName"` }
type EventTargetBatchTargetArgs ¶
type EventTargetBatchTargetArgs struct { // The size of the array, if this is an array batch job. Valid values are integers between 2 and 10,000. ArraySize pulumi.IntPtrInput `pulumi:"arraySize"` // The number of times to attempt to retry, if the job fails. Valid values are 1 to 10. JobAttempts pulumi.IntPtrInput `pulumi:"jobAttempts"` // The ARN or name of the job definition to use if the event target is an AWS Batch job. This job definition must already exist. JobDefinition pulumi.StringInput `pulumi:"jobDefinition"` // The name to use for this execution of the job, if the target is an AWS Batch job. JobName pulumi.StringInput `pulumi:"jobName"` }
func (EventTargetBatchTargetArgs) ElementType ¶
func (EventTargetBatchTargetArgs) ElementType() reflect.Type
func (EventTargetBatchTargetArgs) ToEventTargetBatchTargetOutput ¶
func (i EventTargetBatchTargetArgs) ToEventTargetBatchTargetOutput() EventTargetBatchTargetOutput
func (EventTargetBatchTargetArgs) ToEventTargetBatchTargetOutputWithContext ¶
func (i EventTargetBatchTargetArgs) ToEventTargetBatchTargetOutputWithContext(ctx context.Context) EventTargetBatchTargetOutput
func (EventTargetBatchTargetArgs) ToEventTargetBatchTargetPtrOutput ¶
func (i EventTargetBatchTargetArgs) ToEventTargetBatchTargetPtrOutput() EventTargetBatchTargetPtrOutput
func (EventTargetBatchTargetArgs) ToEventTargetBatchTargetPtrOutputWithContext ¶
func (i EventTargetBatchTargetArgs) ToEventTargetBatchTargetPtrOutputWithContext(ctx context.Context) EventTargetBatchTargetPtrOutput
type EventTargetBatchTargetInput ¶
type EventTargetBatchTargetInput interface { pulumi.Input ToEventTargetBatchTargetOutput() EventTargetBatchTargetOutput ToEventTargetBatchTargetOutputWithContext(context.Context) EventTargetBatchTargetOutput }
EventTargetBatchTargetInput is an input type that accepts EventTargetBatchTargetArgs and EventTargetBatchTargetOutput values. You can construct a concrete instance of `EventTargetBatchTargetInput` via:
EventTargetBatchTargetArgs{...}
type EventTargetBatchTargetOutput ¶
type EventTargetBatchTargetOutput struct{ *pulumi.OutputState }
func (EventTargetBatchTargetOutput) ArraySize ¶
func (o EventTargetBatchTargetOutput) ArraySize() pulumi.IntPtrOutput
The size of the array, if this is an array batch job. Valid values are integers between 2 and 10,000.
func (EventTargetBatchTargetOutput) ElementType ¶
func (EventTargetBatchTargetOutput) ElementType() reflect.Type
func (EventTargetBatchTargetOutput) JobAttempts ¶
func (o EventTargetBatchTargetOutput) JobAttempts() pulumi.IntPtrOutput
The number of times to attempt to retry, if the job fails. Valid values are 1 to 10.
func (EventTargetBatchTargetOutput) JobDefinition ¶
func (o EventTargetBatchTargetOutput) JobDefinition() pulumi.StringOutput
The ARN or name of the job definition to use if the event target is an AWS Batch job. This job definition must already exist.
func (EventTargetBatchTargetOutput) JobName ¶
func (o EventTargetBatchTargetOutput) JobName() pulumi.StringOutput
The name to use for this execution of the job, if the target is an AWS Batch job.
func (EventTargetBatchTargetOutput) ToEventTargetBatchTargetOutput ¶
func (o EventTargetBatchTargetOutput) ToEventTargetBatchTargetOutput() EventTargetBatchTargetOutput
func (EventTargetBatchTargetOutput) ToEventTargetBatchTargetOutputWithContext ¶
func (o EventTargetBatchTargetOutput) ToEventTargetBatchTargetOutputWithContext(ctx context.Context) EventTargetBatchTargetOutput
func (EventTargetBatchTargetOutput) ToEventTargetBatchTargetPtrOutput ¶
func (o EventTargetBatchTargetOutput) ToEventTargetBatchTargetPtrOutput() EventTargetBatchTargetPtrOutput
func (EventTargetBatchTargetOutput) ToEventTargetBatchTargetPtrOutputWithContext ¶
func (o EventTargetBatchTargetOutput) ToEventTargetBatchTargetPtrOutputWithContext(ctx context.Context) EventTargetBatchTargetPtrOutput
type EventTargetBatchTargetPtrInput ¶
type EventTargetBatchTargetPtrInput interface { pulumi.Input ToEventTargetBatchTargetPtrOutput() EventTargetBatchTargetPtrOutput ToEventTargetBatchTargetPtrOutputWithContext(context.Context) EventTargetBatchTargetPtrOutput }
EventTargetBatchTargetPtrInput is an input type that accepts EventTargetBatchTargetArgs, EventTargetBatchTargetPtr and EventTargetBatchTargetPtrOutput values. You can construct a concrete instance of `EventTargetBatchTargetPtrInput` via:
EventTargetBatchTargetArgs{...} or: nil
func EventTargetBatchTargetPtr ¶
func EventTargetBatchTargetPtr(v *EventTargetBatchTargetArgs) EventTargetBatchTargetPtrInput
type EventTargetBatchTargetPtrOutput ¶
type EventTargetBatchTargetPtrOutput struct{ *pulumi.OutputState }
func (EventTargetBatchTargetPtrOutput) ArraySize ¶
func (o EventTargetBatchTargetPtrOutput) ArraySize() pulumi.IntPtrOutput
The size of the array, if this is an array batch job. Valid values are integers between 2 and 10,000.
func (EventTargetBatchTargetPtrOutput) Elem ¶
func (o EventTargetBatchTargetPtrOutput) Elem() EventTargetBatchTargetOutput
func (EventTargetBatchTargetPtrOutput) ElementType ¶
func (EventTargetBatchTargetPtrOutput) ElementType() reflect.Type
func (EventTargetBatchTargetPtrOutput) JobAttempts ¶
func (o EventTargetBatchTargetPtrOutput) JobAttempts() pulumi.IntPtrOutput
The number of times to attempt to retry, if the job fails. Valid values are 1 to 10.
func (EventTargetBatchTargetPtrOutput) JobDefinition ¶
func (o EventTargetBatchTargetPtrOutput) JobDefinition() pulumi.StringPtrOutput
The ARN or name of the job definition to use if the event target is an AWS Batch job. This job definition must already exist.
func (EventTargetBatchTargetPtrOutput) JobName ¶
func (o EventTargetBatchTargetPtrOutput) JobName() pulumi.StringPtrOutput
The name to use for this execution of the job, if the target is an AWS Batch job.
func (EventTargetBatchTargetPtrOutput) ToEventTargetBatchTargetPtrOutput ¶
func (o EventTargetBatchTargetPtrOutput) ToEventTargetBatchTargetPtrOutput() EventTargetBatchTargetPtrOutput
func (EventTargetBatchTargetPtrOutput) ToEventTargetBatchTargetPtrOutputWithContext ¶
func (o EventTargetBatchTargetPtrOutput) ToEventTargetBatchTargetPtrOutputWithContext(ctx context.Context) EventTargetBatchTargetPtrOutput
type EventTargetDeadLetterConfig ¶
type EventTargetDeadLetterConfig struct { // - ARN of the SQS queue specified as the target for the dead-letter queue. Arn *string `pulumi:"arn"` }
type EventTargetDeadLetterConfigArgs ¶
type EventTargetDeadLetterConfigArgs struct { // - ARN of the SQS queue specified as the target for the dead-letter queue. Arn pulumi.StringPtrInput `pulumi:"arn"` }
func (EventTargetDeadLetterConfigArgs) ElementType ¶
func (EventTargetDeadLetterConfigArgs) ElementType() reflect.Type
func (EventTargetDeadLetterConfigArgs) ToEventTargetDeadLetterConfigOutput ¶
func (i EventTargetDeadLetterConfigArgs) ToEventTargetDeadLetterConfigOutput() EventTargetDeadLetterConfigOutput
func (EventTargetDeadLetterConfigArgs) ToEventTargetDeadLetterConfigOutputWithContext ¶
func (i EventTargetDeadLetterConfigArgs) ToEventTargetDeadLetterConfigOutputWithContext(ctx context.Context) EventTargetDeadLetterConfigOutput
func (EventTargetDeadLetterConfigArgs) ToEventTargetDeadLetterConfigPtrOutput ¶
func (i EventTargetDeadLetterConfigArgs) ToEventTargetDeadLetterConfigPtrOutput() EventTargetDeadLetterConfigPtrOutput
func (EventTargetDeadLetterConfigArgs) ToEventTargetDeadLetterConfigPtrOutputWithContext ¶
func (i EventTargetDeadLetterConfigArgs) ToEventTargetDeadLetterConfigPtrOutputWithContext(ctx context.Context) EventTargetDeadLetterConfigPtrOutput
type EventTargetDeadLetterConfigInput ¶
type EventTargetDeadLetterConfigInput interface { pulumi.Input ToEventTargetDeadLetterConfigOutput() EventTargetDeadLetterConfigOutput ToEventTargetDeadLetterConfigOutputWithContext(context.Context) EventTargetDeadLetterConfigOutput }
EventTargetDeadLetterConfigInput is an input type that accepts EventTargetDeadLetterConfigArgs and EventTargetDeadLetterConfigOutput values. You can construct a concrete instance of `EventTargetDeadLetterConfigInput` via:
EventTargetDeadLetterConfigArgs{...}
type EventTargetDeadLetterConfigOutput ¶
type EventTargetDeadLetterConfigOutput struct{ *pulumi.OutputState }
func (EventTargetDeadLetterConfigOutput) Arn ¶
func (o EventTargetDeadLetterConfigOutput) Arn() pulumi.StringPtrOutput
- ARN of the SQS queue specified as the target for the dead-letter queue.
func (EventTargetDeadLetterConfigOutput) ElementType ¶
func (EventTargetDeadLetterConfigOutput) ElementType() reflect.Type
func (EventTargetDeadLetterConfigOutput) ToEventTargetDeadLetterConfigOutput ¶
func (o EventTargetDeadLetterConfigOutput) ToEventTargetDeadLetterConfigOutput() EventTargetDeadLetterConfigOutput
func (EventTargetDeadLetterConfigOutput) ToEventTargetDeadLetterConfigOutputWithContext ¶
func (o EventTargetDeadLetterConfigOutput) ToEventTargetDeadLetterConfigOutputWithContext(ctx context.Context) EventTargetDeadLetterConfigOutput
func (EventTargetDeadLetterConfigOutput) ToEventTargetDeadLetterConfigPtrOutput ¶
func (o EventTargetDeadLetterConfigOutput) ToEventTargetDeadLetterConfigPtrOutput() EventTargetDeadLetterConfigPtrOutput
func (EventTargetDeadLetterConfigOutput) ToEventTargetDeadLetterConfigPtrOutputWithContext ¶
func (o EventTargetDeadLetterConfigOutput) ToEventTargetDeadLetterConfigPtrOutputWithContext(ctx context.Context) EventTargetDeadLetterConfigPtrOutput
type EventTargetDeadLetterConfigPtrInput ¶
type EventTargetDeadLetterConfigPtrInput interface { pulumi.Input ToEventTargetDeadLetterConfigPtrOutput() EventTargetDeadLetterConfigPtrOutput ToEventTargetDeadLetterConfigPtrOutputWithContext(context.Context) EventTargetDeadLetterConfigPtrOutput }
EventTargetDeadLetterConfigPtrInput is an input type that accepts EventTargetDeadLetterConfigArgs, EventTargetDeadLetterConfigPtr and EventTargetDeadLetterConfigPtrOutput values. You can construct a concrete instance of `EventTargetDeadLetterConfigPtrInput` via:
EventTargetDeadLetterConfigArgs{...} or: nil
func EventTargetDeadLetterConfigPtr ¶
func EventTargetDeadLetterConfigPtr(v *EventTargetDeadLetterConfigArgs) EventTargetDeadLetterConfigPtrInput
type EventTargetDeadLetterConfigPtrOutput ¶
type EventTargetDeadLetterConfigPtrOutput struct{ *pulumi.OutputState }
func (EventTargetDeadLetterConfigPtrOutput) Arn ¶
func (o EventTargetDeadLetterConfigPtrOutput) Arn() pulumi.StringPtrOutput
- ARN of the SQS queue specified as the target for the dead-letter queue.
func (EventTargetDeadLetterConfigPtrOutput) ElementType ¶
func (EventTargetDeadLetterConfigPtrOutput) ElementType() reflect.Type
func (EventTargetDeadLetterConfigPtrOutput) ToEventTargetDeadLetterConfigPtrOutput ¶
func (o EventTargetDeadLetterConfigPtrOutput) ToEventTargetDeadLetterConfigPtrOutput() EventTargetDeadLetterConfigPtrOutput
func (EventTargetDeadLetterConfigPtrOutput) ToEventTargetDeadLetterConfigPtrOutputWithContext ¶
func (o EventTargetDeadLetterConfigPtrOutput) ToEventTargetDeadLetterConfigPtrOutputWithContext(ctx context.Context) EventTargetDeadLetterConfigPtrOutput
type EventTargetEcsTarget ¶
type EventTargetEcsTarget struct { // Specifies whether to enable Amazon ECS managed tags for the task. EnableEcsManagedTags *bool `pulumi:"enableEcsManagedTags"` // Whether or not to enable the execute command functionality for the containers in this task. If true, this enables execute command functionality on all containers in the task. EnableExecuteCommand *bool `pulumi:"enableExecuteCommand"` // Specifies an ECS task group for the task. The maximum length is 255 characters. Group *string `pulumi:"group"` // Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. Valid values include: an empty string `""` (to specify no launch type), `EC2`, or `FARGATE`. LaunchType *string `pulumi:"launchType"` // Use this if the ECS task uses the awsvpc network mode. This specifies the VPC subnets and security groups associated with the task, and whether a public IP address is to be used. Required if launchType is FARGATE because the awsvpc mode is required for Fargate tasks. NetworkConfiguration *EventTargetEcsTargetNetworkConfiguration `pulumi:"networkConfiguration"` // An array of placement constraint objects to use for the task. You can specify up to 10 constraints per task (including constraints in the task definition and those specified at runtime). See Below. PlacementConstraints []EventTargetEcsTargetPlacementConstraint `pulumi:"placementConstraints"` // Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as 1.1.0. This is used only if LaunchType is FARGATE. For more information about valid platform versions, see [AWS Fargate Platform Versions](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html). PlatformVersion *string `pulumi:"platformVersion"` // Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags are not propagated. Tags can only be propagated to the task during task creation. PropagateTags *string `pulumi:"propagateTags"` // A map of tags to assign to ecs resources. Tags map[string]string `pulumi:"tags"` // The number of tasks to create based on the TaskDefinition. The default is 1. TaskCount *int `pulumi:"taskCount"` // The ARN of the task definition to use if the event target is an Amazon ECS cluster. TaskDefinitionArn string `pulumi:"taskDefinitionArn"` }
type EventTargetEcsTargetArgs ¶
type EventTargetEcsTargetArgs struct { // Specifies whether to enable Amazon ECS managed tags for the task. EnableEcsManagedTags pulumi.BoolPtrInput `pulumi:"enableEcsManagedTags"` // Whether or not to enable the execute command functionality for the containers in this task. If true, this enables execute command functionality on all containers in the task. EnableExecuteCommand pulumi.BoolPtrInput `pulumi:"enableExecuteCommand"` // Specifies an ECS task group for the task. The maximum length is 255 characters. Group pulumi.StringPtrInput `pulumi:"group"` // Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. Valid values include: an empty string `""` (to specify no launch type), `EC2`, or `FARGATE`. LaunchType pulumi.StringPtrInput `pulumi:"launchType"` // Use this if the ECS task uses the awsvpc network mode. This specifies the VPC subnets and security groups associated with the task, and whether a public IP address is to be used. Required if launchType is FARGATE because the awsvpc mode is required for Fargate tasks. NetworkConfiguration EventTargetEcsTargetNetworkConfigurationPtrInput `pulumi:"networkConfiguration"` // An array of placement constraint objects to use for the task. You can specify up to 10 constraints per task (including constraints in the task definition and those specified at runtime). See Below. PlacementConstraints EventTargetEcsTargetPlacementConstraintArrayInput `pulumi:"placementConstraints"` // Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as 1.1.0. This is used only if LaunchType is FARGATE. For more information about valid platform versions, see [AWS Fargate Platform Versions](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html). PlatformVersion pulumi.StringPtrInput `pulumi:"platformVersion"` // Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags are not propagated. Tags can only be propagated to the task during task creation. PropagateTags pulumi.StringPtrInput `pulumi:"propagateTags"` // A map of tags to assign to ecs resources. Tags pulumi.StringMapInput `pulumi:"tags"` // The number of tasks to create based on the TaskDefinition. The default is 1. TaskCount pulumi.IntPtrInput `pulumi:"taskCount"` // The ARN of the task definition to use if the event target is an Amazon ECS cluster. TaskDefinitionArn pulumi.StringInput `pulumi:"taskDefinitionArn"` }
func (EventTargetEcsTargetArgs) ElementType ¶
func (EventTargetEcsTargetArgs) ElementType() reflect.Type
func (EventTargetEcsTargetArgs) ToEventTargetEcsTargetOutput ¶
func (i EventTargetEcsTargetArgs) ToEventTargetEcsTargetOutput() EventTargetEcsTargetOutput
func (EventTargetEcsTargetArgs) ToEventTargetEcsTargetOutputWithContext ¶
func (i EventTargetEcsTargetArgs) ToEventTargetEcsTargetOutputWithContext(ctx context.Context) EventTargetEcsTargetOutput
func (EventTargetEcsTargetArgs) ToEventTargetEcsTargetPtrOutput ¶
func (i EventTargetEcsTargetArgs) ToEventTargetEcsTargetPtrOutput() EventTargetEcsTargetPtrOutput
func (EventTargetEcsTargetArgs) ToEventTargetEcsTargetPtrOutputWithContext ¶
func (i EventTargetEcsTargetArgs) ToEventTargetEcsTargetPtrOutputWithContext(ctx context.Context) EventTargetEcsTargetPtrOutput
type EventTargetEcsTargetInput ¶
type EventTargetEcsTargetInput interface { pulumi.Input ToEventTargetEcsTargetOutput() EventTargetEcsTargetOutput ToEventTargetEcsTargetOutputWithContext(context.Context) EventTargetEcsTargetOutput }
EventTargetEcsTargetInput is an input type that accepts EventTargetEcsTargetArgs and EventTargetEcsTargetOutput values. You can construct a concrete instance of `EventTargetEcsTargetInput` via:
EventTargetEcsTargetArgs{...}
type EventTargetEcsTargetNetworkConfiguration ¶
type EventTargetEcsTargetNetworkConfiguration struct { // Assign a public IP address to the ENI (Fargate launch type only). Valid values are `true` or `false`. Default `false`. AssignPublicIp *bool `pulumi:"assignPublicIp"` // The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. SecurityGroups []string `pulumi:"securityGroups"` // The subnets associated with the task or service. Subnets []string `pulumi:"subnets"` }
type EventTargetEcsTargetNetworkConfigurationArgs ¶
type EventTargetEcsTargetNetworkConfigurationArgs struct { // Assign a public IP address to the ENI (Fargate launch type only). Valid values are `true` or `false`. Default `false`. AssignPublicIp pulumi.BoolPtrInput `pulumi:"assignPublicIp"` // The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used. SecurityGroups pulumi.StringArrayInput `pulumi:"securityGroups"` // The subnets associated with the task or service. Subnets pulumi.StringArrayInput `pulumi:"subnets"` }
func (EventTargetEcsTargetNetworkConfigurationArgs) ElementType ¶
func (EventTargetEcsTargetNetworkConfigurationArgs) ElementType() reflect.Type
func (EventTargetEcsTargetNetworkConfigurationArgs) ToEventTargetEcsTargetNetworkConfigurationOutput ¶
func (i EventTargetEcsTargetNetworkConfigurationArgs) ToEventTargetEcsTargetNetworkConfigurationOutput() EventTargetEcsTargetNetworkConfigurationOutput
func (EventTargetEcsTargetNetworkConfigurationArgs) ToEventTargetEcsTargetNetworkConfigurationOutputWithContext ¶
func (i EventTargetEcsTargetNetworkConfigurationArgs) ToEventTargetEcsTargetNetworkConfigurationOutputWithContext(ctx context.Context) EventTargetEcsTargetNetworkConfigurationOutput
func (EventTargetEcsTargetNetworkConfigurationArgs) ToEventTargetEcsTargetNetworkConfigurationPtrOutput ¶
func (i EventTargetEcsTargetNetworkConfigurationArgs) ToEventTargetEcsTargetNetworkConfigurationPtrOutput() EventTargetEcsTargetNetworkConfigurationPtrOutput
func (EventTargetEcsTargetNetworkConfigurationArgs) ToEventTargetEcsTargetNetworkConfigurationPtrOutputWithContext ¶
func (i EventTargetEcsTargetNetworkConfigurationArgs) ToEventTargetEcsTargetNetworkConfigurationPtrOutputWithContext(ctx context.Context) EventTargetEcsTargetNetworkConfigurationPtrOutput
type EventTargetEcsTargetNetworkConfigurationInput ¶
type EventTargetEcsTargetNetworkConfigurationInput interface { pulumi.Input ToEventTargetEcsTargetNetworkConfigurationOutput() EventTargetEcsTargetNetworkConfigurationOutput ToEventTargetEcsTargetNetworkConfigurationOutputWithContext(context.Context) EventTargetEcsTargetNetworkConfigurationOutput }
EventTargetEcsTargetNetworkConfigurationInput is an input type that accepts EventTargetEcsTargetNetworkConfigurationArgs and EventTargetEcsTargetNetworkConfigurationOutput values. You can construct a concrete instance of `EventTargetEcsTargetNetworkConfigurationInput` via:
EventTargetEcsTargetNetworkConfigurationArgs{...}
type EventTargetEcsTargetNetworkConfigurationOutput ¶
type EventTargetEcsTargetNetworkConfigurationOutput struct{ *pulumi.OutputState }
func (EventTargetEcsTargetNetworkConfigurationOutput) AssignPublicIp ¶
func (o EventTargetEcsTargetNetworkConfigurationOutput) AssignPublicIp() pulumi.BoolPtrOutput
Assign a public IP address to the ENI (Fargate launch type only). Valid values are `true` or `false`. Default `false`.
func (EventTargetEcsTargetNetworkConfigurationOutput) ElementType ¶
func (EventTargetEcsTargetNetworkConfigurationOutput) ElementType() reflect.Type
func (EventTargetEcsTargetNetworkConfigurationOutput) SecurityGroups ¶
func (o EventTargetEcsTargetNetworkConfigurationOutput) SecurityGroups() pulumi.StringArrayOutput
The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used.
func (EventTargetEcsTargetNetworkConfigurationOutput) Subnets ¶
func (o EventTargetEcsTargetNetworkConfigurationOutput) Subnets() pulumi.StringArrayOutput
The subnets associated with the task or service.
func (EventTargetEcsTargetNetworkConfigurationOutput) ToEventTargetEcsTargetNetworkConfigurationOutput ¶
func (o EventTargetEcsTargetNetworkConfigurationOutput) ToEventTargetEcsTargetNetworkConfigurationOutput() EventTargetEcsTargetNetworkConfigurationOutput
func (EventTargetEcsTargetNetworkConfigurationOutput) ToEventTargetEcsTargetNetworkConfigurationOutputWithContext ¶
func (o EventTargetEcsTargetNetworkConfigurationOutput) ToEventTargetEcsTargetNetworkConfigurationOutputWithContext(ctx context.Context) EventTargetEcsTargetNetworkConfigurationOutput
func (EventTargetEcsTargetNetworkConfigurationOutput) ToEventTargetEcsTargetNetworkConfigurationPtrOutput ¶
func (o EventTargetEcsTargetNetworkConfigurationOutput) ToEventTargetEcsTargetNetworkConfigurationPtrOutput() EventTargetEcsTargetNetworkConfigurationPtrOutput
func (EventTargetEcsTargetNetworkConfigurationOutput) ToEventTargetEcsTargetNetworkConfigurationPtrOutputWithContext ¶
func (o EventTargetEcsTargetNetworkConfigurationOutput) ToEventTargetEcsTargetNetworkConfigurationPtrOutputWithContext(ctx context.Context) EventTargetEcsTargetNetworkConfigurationPtrOutput
type EventTargetEcsTargetNetworkConfigurationPtrInput ¶
type EventTargetEcsTargetNetworkConfigurationPtrInput interface { pulumi.Input ToEventTargetEcsTargetNetworkConfigurationPtrOutput() EventTargetEcsTargetNetworkConfigurationPtrOutput ToEventTargetEcsTargetNetworkConfigurationPtrOutputWithContext(context.Context) EventTargetEcsTargetNetworkConfigurationPtrOutput }
EventTargetEcsTargetNetworkConfigurationPtrInput is an input type that accepts EventTargetEcsTargetNetworkConfigurationArgs, EventTargetEcsTargetNetworkConfigurationPtr and EventTargetEcsTargetNetworkConfigurationPtrOutput values. You can construct a concrete instance of `EventTargetEcsTargetNetworkConfigurationPtrInput` via:
EventTargetEcsTargetNetworkConfigurationArgs{...} or: nil
func EventTargetEcsTargetNetworkConfigurationPtr ¶
func EventTargetEcsTargetNetworkConfigurationPtr(v *EventTargetEcsTargetNetworkConfigurationArgs) EventTargetEcsTargetNetworkConfigurationPtrInput
type EventTargetEcsTargetNetworkConfigurationPtrOutput ¶
type EventTargetEcsTargetNetworkConfigurationPtrOutput struct{ *pulumi.OutputState }
func (EventTargetEcsTargetNetworkConfigurationPtrOutput) AssignPublicIp ¶
func (o EventTargetEcsTargetNetworkConfigurationPtrOutput) AssignPublicIp() pulumi.BoolPtrOutput
Assign a public IP address to the ENI (Fargate launch type only). Valid values are `true` or `false`. Default `false`.
func (EventTargetEcsTargetNetworkConfigurationPtrOutput) ElementType ¶
func (EventTargetEcsTargetNetworkConfigurationPtrOutput) ElementType() reflect.Type
func (EventTargetEcsTargetNetworkConfigurationPtrOutput) SecurityGroups ¶
func (o EventTargetEcsTargetNetworkConfigurationPtrOutput) SecurityGroups() pulumi.StringArrayOutput
The security groups associated with the task or service. If you do not specify a security group, the default security group for the VPC is used.
func (EventTargetEcsTargetNetworkConfigurationPtrOutput) Subnets ¶
func (o EventTargetEcsTargetNetworkConfigurationPtrOutput) Subnets() pulumi.StringArrayOutput
The subnets associated with the task or service.
func (EventTargetEcsTargetNetworkConfigurationPtrOutput) ToEventTargetEcsTargetNetworkConfigurationPtrOutput ¶
func (o EventTargetEcsTargetNetworkConfigurationPtrOutput) ToEventTargetEcsTargetNetworkConfigurationPtrOutput() EventTargetEcsTargetNetworkConfigurationPtrOutput
func (EventTargetEcsTargetNetworkConfigurationPtrOutput) ToEventTargetEcsTargetNetworkConfigurationPtrOutputWithContext ¶
func (o EventTargetEcsTargetNetworkConfigurationPtrOutput) ToEventTargetEcsTargetNetworkConfigurationPtrOutputWithContext(ctx context.Context) EventTargetEcsTargetNetworkConfigurationPtrOutput
type EventTargetEcsTargetOutput ¶
type EventTargetEcsTargetOutput struct{ *pulumi.OutputState }
func (EventTargetEcsTargetOutput) ElementType ¶
func (EventTargetEcsTargetOutput) ElementType() reflect.Type
func (EventTargetEcsTargetOutput) EnableEcsManagedTags ¶ added in v4.13.0
func (o EventTargetEcsTargetOutput) EnableEcsManagedTags() pulumi.BoolPtrOutput
Specifies whether to enable Amazon ECS managed tags for the task.
func (EventTargetEcsTargetOutput) EnableExecuteCommand ¶ added in v4.13.0
func (o EventTargetEcsTargetOutput) EnableExecuteCommand() pulumi.BoolPtrOutput
Whether or not to enable the execute command functionality for the containers in this task. If true, this enables execute command functionality on all containers in the task.
func (EventTargetEcsTargetOutput) Group ¶
func (o EventTargetEcsTargetOutput) Group() pulumi.StringPtrOutput
Specifies an ECS task group for the task. The maximum length is 255 characters.
func (EventTargetEcsTargetOutput) LaunchType ¶
func (o EventTargetEcsTargetOutput) LaunchType() pulumi.StringPtrOutput
Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. Valid values include: an empty string `""` (to specify no launch type), `EC2`, or `FARGATE`.
func (EventTargetEcsTargetOutput) NetworkConfiguration ¶
func (o EventTargetEcsTargetOutput) NetworkConfiguration() EventTargetEcsTargetNetworkConfigurationPtrOutput
Use this if the ECS task uses the awsvpc network mode. This specifies the VPC subnets and security groups associated with the task, and whether a public IP address is to be used. Required if launchType is FARGATE because the awsvpc mode is required for Fargate tasks.
func (EventTargetEcsTargetOutput) PlacementConstraints ¶ added in v4.13.0
func (o EventTargetEcsTargetOutput) PlacementConstraints() EventTargetEcsTargetPlacementConstraintArrayOutput
An array of placement constraint objects to use for the task. You can specify up to 10 constraints per task (including constraints in the task definition and those specified at runtime). See Below.
func (EventTargetEcsTargetOutput) PlatformVersion ¶
func (o EventTargetEcsTargetOutput) PlatformVersion() pulumi.StringPtrOutput
Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as 1.1.0. This is used only if LaunchType is FARGATE. For more information about valid platform versions, see [AWS Fargate Platform Versions](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html).
func (EventTargetEcsTargetOutput) PropagateTags ¶ added in v4.13.0
func (o EventTargetEcsTargetOutput) PropagateTags() pulumi.StringPtrOutput
Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags are not propagated. Tags can only be propagated to the task during task creation.
func (EventTargetEcsTargetOutput) Tags ¶ added in v4.13.0
func (o EventTargetEcsTargetOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to ecs resources.
func (EventTargetEcsTargetOutput) TaskCount ¶
func (o EventTargetEcsTargetOutput) TaskCount() pulumi.IntPtrOutput
The number of tasks to create based on the TaskDefinition. The default is 1.
func (EventTargetEcsTargetOutput) TaskDefinitionArn ¶
func (o EventTargetEcsTargetOutput) TaskDefinitionArn() pulumi.StringOutput
The ARN of the task definition to use if the event target is an Amazon ECS cluster.
func (EventTargetEcsTargetOutput) ToEventTargetEcsTargetOutput ¶
func (o EventTargetEcsTargetOutput) ToEventTargetEcsTargetOutput() EventTargetEcsTargetOutput
func (EventTargetEcsTargetOutput) ToEventTargetEcsTargetOutputWithContext ¶
func (o EventTargetEcsTargetOutput) ToEventTargetEcsTargetOutputWithContext(ctx context.Context) EventTargetEcsTargetOutput
func (EventTargetEcsTargetOutput) ToEventTargetEcsTargetPtrOutput ¶
func (o EventTargetEcsTargetOutput) ToEventTargetEcsTargetPtrOutput() EventTargetEcsTargetPtrOutput
func (EventTargetEcsTargetOutput) ToEventTargetEcsTargetPtrOutputWithContext ¶
func (o EventTargetEcsTargetOutput) ToEventTargetEcsTargetPtrOutputWithContext(ctx context.Context) EventTargetEcsTargetPtrOutput
type EventTargetEcsTargetPlacementConstraint ¶ added in v4.13.0
type EventTargetEcsTargetPlacementConstraint struct { // Cluster Query Language expression to apply to the constraint. Does not need to be specified for the `distinctInstance` type. For more information, see [Cluster Query Language in the Amazon EC2 Container Service Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html). Expression *string `pulumi:"expression"` // Type of constraint. The only valid values at this time are `memberOf` and `distinctInstance`. Type string `pulumi:"type"` }
type EventTargetEcsTargetPlacementConstraintArgs ¶ added in v4.13.0
type EventTargetEcsTargetPlacementConstraintArgs struct { // Cluster Query Language expression to apply to the constraint. Does not need to be specified for the `distinctInstance` type. For more information, see [Cluster Query Language in the Amazon EC2 Container Service Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html). Expression pulumi.StringPtrInput `pulumi:"expression"` // Type of constraint. The only valid values at this time are `memberOf` and `distinctInstance`. Type pulumi.StringInput `pulumi:"type"` }
func (EventTargetEcsTargetPlacementConstraintArgs) ElementType ¶ added in v4.13.0
func (EventTargetEcsTargetPlacementConstraintArgs) ElementType() reflect.Type
func (EventTargetEcsTargetPlacementConstraintArgs) ToEventTargetEcsTargetPlacementConstraintOutput ¶ added in v4.13.0
func (i EventTargetEcsTargetPlacementConstraintArgs) ToEventTargetEcsTargetPlacementConstraintOutput() EventTargetEcsTargetPlacementConstraintOutput
func (EventTargetEcsTargetPlacementConstraintArgs) ToEventTargetEcsTargetPlacementConstraintOutputWithContext ¶ added in v4.13.0
func (i EventTargetEcsTargetPlacementConstraintArgs) ToEventTargetEcsTargetPlacementConstraintOutputWithContext(ctx context.Context) EventTargetEcsTargetPlacementConstraintOutput
type EventTargetEcsTargetPlacementConstraintArray ¶ added in v4.13.0
type EventTargetEcsTargetPlacementConstraintArray []EventTargetEcsTargetPlacementConstraintInput
func (EventTargetEcsTargetPlacementConstraintArray) ElementType ¶ added in v4.13.0
func (EventTargetEcsTargetPlacementConstraintArray) ElementType() reflect.Type
func (EventTargetEcsTargetPlacementConstraintArray) ToEventTargetEcsTargetPlacementConstraintArrayOutput ¶ added in v4.13.0
func (i EventTargetEcsTargetPlacementConstraintArray) ToEventTargetEcsTargetPlacementConstraintArrayOutput() EventTargetEcsTargetPlacementConstraintArrayOutput
func (EventTargetEcsTargetPlacementConstraintArray) ToEventTargetEcsTargetPlacementConstraintArrayOutputWithContext ¶ added in v4.13.0
func (i EventTargetEcsTargetPlacementConstraintArray) ToEventTargetEcsTargetPlacementConstraintArrayOutputWithContext(ctx context.Context) EventTargetEcsTargetPlacementConstraintArrayOutput
type EventTargetEcsTargetPlacementConstraintArrayInput ¶ added in v4.13.0
type EventTargetEcsTargetPlacementConstraintArrayInput interface { pulumi.Input ToEventTargetEcsTargetPlacementConstraintArrayOutput() EventTargetEcsTargetPlacementConstraintArrayOutput ToEventTargetEcsTargetPlacementConstraintArrayOutputWithContext(context.Context) EventTargetEcsTargetPlacementConstraintArrayOutput }
EventTargetEcsTargetPlacementConstraintArrayInput is an input type that accepts EventTargetEcsTargetPlacementConstraintArray and EventTargetEcsTargetPlacementConstraintArrayOutput values. You can construct a concrete instance of `EventTargetEcsTargetPlacementConstraintArrayInput` via:
EventTargetEcsTargetPlacementConstraintArray{ EventTargetEcsTargetPlacementConstraintArgs{...} }
type EventTargetEcsTargetPlacementConstraintArrayOutput ¶ added in v4.13.0
type EventTargetEcsTargetPlacementConstraintArrayOutput struct{ *pulumi.OutputState }
func (EventTargetEcsTargetPlacementConstraintArrayOutput) ElementType ¶ added in v4.13.0
func (EventTargetEcsTargetPlacementConstraintArrayOutput) ElementType() reflect.Type
func (EventTargetEcsTargetPlacementConstraintArrayOutput) ToEventTargetEcsTargetPlacementConstraintArrayOutput ¶ added in v4.13.0
func (o EventTargetEcsTargetPlacementConstraintArrayOutput) ToEventTargetEcsTargetPlacementConstraintArrayOutput() EventTargetEcsTargetPlacementConstraintArrayOutput
func (EventTargetEcsTargetPlacementConstraintArrayOutput) ToEventTargetEcsTargetPlacementConstraintArrayOutputWithContext ¶ added in v4.13.0
func (o EventTargetEcsTargetPlacementConstraintArrayOutput) ToEventTargetEcsTargetPlacementConstraintArrayOutputWithContext(ctx context.Context) EventTargetEcsTargetPlacementConstraintArrayOutput
type EventTargetEcsTargetPlacementConstraintInput ¶ added in v4.13.0
type EventTargetEcsTargetPlacementConstraintInput interface { pulumi.Input ToEventTargetEcsTargetPlacementConstraintOutput() EventTargetEcsTargetPlacementConstraintOutput ToEventTargetEcsTargetPlacementConstraintOutputWithContext(context.Context) EventTargetEcsTargetPlacementConstraintOutput }
EventTargetEcsTargetPlacementConstraintInput is an input type that accepts EventTargetEcsTargetPlacementConstraintArgs and EventTargetEcsTargetPlacementConstraintOutput values. You can construct a concrete instance of `EventTargetEcsTargetPlacementConstraintInput` via:
EventTargetEcsTargetPlacementConstraintArgs{...}
type EventTargetEcsTargetPlacementConstraintOutput ¶ added in v4.13.0
type EventTargetEcsTargetPlacementConstraintOutput struct{ *pulumi.OutputState }
func (EventTargetEcsTargetPlacementConstraintOutput) ElementType ¶ added in v4.13.0
func (EventTargetEcsTargetPlacementConstraintOutput) ElementType() reflect.Type
func (EventTargetEcsTargetPlacementConstraintOutput) Expression ¶ added in v4.13.0
func (o EventTargetEcsTargetPlacementConstraintOutput) Expression() pulumi.StringPtrOutput
Cluster Query Language expression to apply to the constraint. Does not need to be specified for the `distinctInstance` type. For more information, see [Cluster Query Language in the Amazon EC2 Container Service Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html).
func (EventTargetEcsTargetPlacementConstraintOutput) ToEventTargetEcsTargetPlacementConstraintOutput ¶ added in v4.13.0
func (o EventTargetEcsTargetPlacementConstraintOutput) ToEventTargetEcsTargetPlacementConstraintOutput() EventTargetEcsTargetPlacementConstraintOutput
func (EventTargetEcsTargetPlacementConstraintOutput) ToEventTargetEcsTargetPlacementConstraintOutputWithContext ¶ added in v4.13.0
func (o EventTargetEcsTargetPlacementConstraintOutput) ToEventTargetEcsTargetPlacementConstraintOutputWithContext(ctx context.Context) EventTargetEcsTargetPlacementConstraintOutput
func (EventTargetEcsTargetPlacementConstraintOutput) Type ¶ added in v4.13.0
func (o EventTargetEcsTargetPlacementConstraintOutput) Type() pulumi.StringOutput
Type of constraint. The only valid values at this time are `memberOf` and `distinctInstance`.
type EventTargetEcsTargetPtrInput ¶
type EventTargetEcsTargetPtrInput interface { pulumi.Input ToEventTargetEcsTargetPtrOutput() EventTargetEcsTargetPtrOutput ToEventTargetEcsTargetPtrOutputWithContext(context.Context) EventTargetEcsTargetPtrOutput }
EventTargetEcsTargetPtrInput is an input type that accepts EventTargetEcsTargetArgs, EventTargetEcsTargetPtr and EventTargetEcsTargetPtrOutput values. You can construct a concrete instance of `EventTargetEcsTargetPtrInput` via:
EventTargetEcsTargetArgs{...} or: nil
func EventTargetEcsTargetPtr ¶
func EventTargetEcsTargetPtr(v *EventTargetEcsTargetArgs) EventTargetEcsTargetPtrInput
type EventTargetEcsTargetPtrOutput ¶
type EventTargetEcsTargetPtrOutput struct{ *pulumi.OutputState }
func (EventTargetEcsTargetPtrOutput) Elem ¶
func (o EventTargetEcsTargetPtrOutput) Elem() EventTargetEcsTargetOutput
func (EventTargetEcsTargetPtrOutput) ElementType ¶
func (EventTargetEcsTargetPtrOutput) ElementType() reflect.Type
func (EventTargetEcsTargetPtrOutput) EnableEcsManagedTags ¶ added in v4.13.0
func (o EventTargetEcsTargetPtrOutput) EnableEcsManagedTags() pulumi.BoolPtrOutput
Specifies whether to enable Amazon ECS managed tags for the task.
func (EventTargetEcsTargetPtrOutput) EnableExecuteCommand ¶ added in v4.13.0
func (o EventTargetEcsTargetPtrOutput) EnableExecuteCommand() pulumi.BoolPtrOutput
Whether or not to enable the execute command functionality for the containers in this task. If true, this enables execute command functionality on all containers in the task.
func (EventTargetEcsTargetPtrOutput) Group ¶
func (o EventTargetEcsTargetPtrOutput) Group() pulumi.StringPtrOutput
Specifies an ECS task group for the task. The maximum length is 255 characters.
func (EventTargetEcsTargetPtrOutput) LaunchType ¶
func (o EventTargetEcsTargetPtrOutput) LaunchType() pulumi.StringPtrOutput
Specifies the launch type on which your task is running. The launch type that you specify here must match one of the launch type (compatibilities) of the target task. Valid values include: an empty string `""` (to specify no launch type), `EC2`, or `FARGATE`.
func (EventTargetEcsTargetPtrOutput) NetworkConfiguration ¶
func (o EventTargetEcsTargetPtrOutput) NetworkConfiguration() EventTargetEcsTargetNetworkConfigurationPtrOutput
Use this if the ECS task uses the awsvpc network mode. This specifies the VPC subnets and security groups associated with the task, and whether a public IP address is to be used. Required if launchType is FARGATE because the awsvpc mode is required for Fargate tasks.
func (EventTargetEcsTargetPtrOutput) PlacementConstraints ¶ added in v4.13.0
func (o EventTargetEcsTargetPtrOutput) PlacementConstraints() EventTargetEcsTargetPlacementConstraintArrayOutput
An array of placement constraint objects to use for the task. You can specify up to 10 constraints per task (including constraints in the task definition and those specified at runtime). See Below.
func (EventTargetEcsTargetPtrOutput) PlatformVersion ¶
func (o EventTargetEcsTargetPtrOutput) PlatformVersion() pulumi.StringPtrOutput
Specifies the platform version for the task. Specify only the numeric portion of the platform version, such as 1.1.0. This is used only if LaunchType is FARGATE. For more information about valid platform versions, see [AWS Fargate Platform Versions](http://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html).
func (EventTargetEcsTargetPtrOutput) PropagateTags ¶ added in v4.13.0
func (o EventTargetEcsTargetPtrOutput) PropagateTags() pulumi.StringPtrOutput
Specifies whether to propagate the tags from the task definition to the task. If no value is specified, the tags are not propagated. Tags can only be propagated to the task during task creation.
func (EventTargetEcsTargetPtrOutput) Tags ¶ added in v4.13.0
func (o EventTargetEcsTargetPtrOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to ecs resources.
func (EventTargetEcsTargetPtrOutput) TaskCount ¶
func (o EventTargetEcsTargetPtrOutput) TaskCount() pulumi.IntPtrOutput
The number of tasks to create based on the TaskDefinition. The default is 1.
func (EventTargetEcsTargetPtrOutput) TaskDefinitionArn ¶
func (o EventTargetEcsTargetPtrOutput) TaskDefinitionArn() pulumi.StringPtrOutput
The ARN of the task definition to use if the event target is an Amazon ECS cluster.
func (EventTargetEcsTargetPtrOutput) ToEventTargetEcsTargetPtrOutput ¶
func (o EventTargetEcsTargetPtrOutput) ToEventTargetEcsTargetPtrOutput() EventTargetEcsTargetPtrOutput
func (EventTargetEcsTargetPtrOutput) ToEventTargetEcsTargetPtrOutputWithContext ¶
func (o EventTargetEcsTargetPtrOutput) ToEventTargetEcsTargetPtrOutputWithContext(ctx context.Context) EventTargetEcsTargetPtrOutput
type EventTargetHttpTarget ¶ added in v4.4.0
type EventTargetHttpTarget struct { // Enables you to specify HTTP headers to add to the request. HeaderParameters map[string]string `pulumi:"headerParameters"` // The list of values that correspond sequentially to any path variables in your endpoint ARN (for example `arn:aws:execute-api:us-east-1:123456:myapi/*/POST/pets/*`). PathParameterValues []string `pulumi:"pathParameterValues"` // Represents keys/values of query string parameters that are appended to the invoked endpoint. QueryStringParameters map[string]string `pulumi:"queryStringParameters"` }
type EventTargetHttpTargetArgs ¶ added in v4.4.0
type EventTargetHttpTargetArgs struct { // Enables you to specify HTTP headers to add to the request. HeaderParameters pulumi.StringMapInput `pulumi:"headerParameters"` // The list of values that correspond sequentially to any path variables in your endpoint ARN (for example `arn:aws:execute-api:us-east-1:123456:myapi/*/POST/pets/*`). PathParameterValues pulumi.StringArrayInput `pulumi:"pathParameterValues"` // Represents keys/values of query string parameters that are appended to the invoked endpoint. QueryStringParameters pulumi.StringMapInput `pulumi:"queryStringParameters"` }
func (EventTargetHttpTargetArgs) ElementType ¶ added in v4.4.0
func (EventTargetHttpTargetArgs) ElementType() reflect.Type
func (EventTargetHttpTargetArgs) ToEventTargetHttpTargetOutput ¶ added in v4.4.0
func (i EventTargetHttpTargetArgs) ToEventTargetHttpTargetOutput() EventTargetHttpTargetOutput
func (EventTargetHttpTargetArgs) ToEventTargetHttpTargetOutputWithContext ¶ added in v4.4.0
func (i EventTargetHttpTargetArgs) ToEventTargetHttpTargetOutputWithContext(ctx context.Context) EventTargetHttpTargetOutput
func (EventTargetHttpTargetArgs) ToEventTargetHttpTargetPtrOutput ¶ added in v4.4.0
func (i EventTargetHttpTargetArgs) ToEventTargetHttpTargetPtrOutput() EventTargetHttpTargetPtrOutput
func (EventTargetHttpTargetArgs) ToEventTargetHttpTargetPtrOutputWithContext ¶ added in v4.4.0
func (i EventTargetHttpTargetArgs) ToEventTargetHttpTargetPtrOutputWithContext(ctx context.Context) EventTargetHttpTargetPtrOutput
type EventTargetHttpTargetInput ¶ added in v4.4.0
type EventTargetHttpTargetInput interface { pulumi.Input ToEventTargetHttpTargetOutput() EventTargetHttpTargetOutput ToEventTargetHttpTargetOutputWithContext(context.Context) EventTargetHttpTargetOutput }
EventTargetHttpTargetInput is an input type that accepts EventTargetHttpTargetArgs and EventTargetHttpTargetOutput values. You can construct a concrete instance of `EventTargetHttpTargetInput` via:
EventTargetHttpTargetArgs{...}
type EventTargetHttpTargetOutput ¶ added in v4.4.0
type EventTargetHttpTargetOutput struct{ *pulumi.OutputState }
func (EventTargetHttpTargetOutput) ElementType ¶ added in v4.4.0
func (EventTargetHttpTargetOutput) ElementType() reflect.Type
func (EventTargetHttpTargetOutput) HeaderParameters ¶ added in v4.4.0
func (o EventTargetHttpTargetOutput) HeaderParameters() pulumi.StringMapOutput
Enables you to specify HTTP headers to add to the request.
func (EventTargetHttpTargetOutput) PathParameterValues ¶ added in v4.4.0
func (o EventTargetHttpTargetOutput) PathParameterValues() pulumi.StringArrayOutput
The list of values that correspond sequentially to any path variables in your endpoint ARN (for example `arn:aws:execute-api:us-east-1:123456:myapi/*/POST/pets/*`).
func (EventTargetHttpTargetOutput) QueryStringParameters ¶ added in v4.4.0
func (o EventTargetHttpTargetOutput) QueryStringParameters() pulumi.StringMapOutput
Represents keys/values of query string parameters that are appended to the invoked endpoint.
func (EventTargetHttpTargetOutput) ToEventTargetHttpTargetOutput ¶ added in v4.4.0
func (o EventTargetHttpTargetOutput) ToEventTargetHttpTargetOutput() EventTargetHttpTargetOutput
func (EventTargetHttpTargetOutput) ToEventTargetHttpTargetOutputWithContext ¶ added in v4.4.0
func (o EventTargetHttpTargetOutput) ToEventTargetHttpTargetOutputWithContext(ctx context.Context) EventTargetHttpTargetOutput
func (EventTargetHttpTargetOutput) ToEventTargetHttpTargetPtrOutput ¶ added in v4.4.0
func (o EventTargetHttpTargetOutput) ToEventTargetHttpTargetPtrOutput() EventTargetHttpTargetPtrOutput
func (EventTargetHttpTargetOutput) ToEventTargetHttpTargetPtrOutputWithContext ¶ added in v4.4.0
func (o EventTargetHttpTargetOutput) ToEventTargetHttpTargetPtrOutputWithContext(ctx context.Context) EventTargetHttpTargetPtrOutput
type EventTargetHttpTargetPtrInput ¶ added in v4.4.0
type EventTargetHttpTargetPtrInput interface { pulumi.Input ToEventTargetHttpTargetPtrOutput() EventTargetHttpTargetPtrOutput ToEventTargetHttpTargetPtrOutputWithContext(context.Context) EventTargetHttpTargetPtrOutput }
EventTargetHttpTargetPtrInput is an input type that accepts EventTargetHttpTargetArgs, EventTargetHttpTargetPtr and EventTargetHttpTargetPtrOutput values. You can construct a concrete instance of `EventTargetHttpTargetPtrInput` via:
EventTargetHttpTargetArgs{...} or: nil
func EventTargetHttpTargetPtr ¶ added in v4.4.0
func EventTargetHttpTargetPtr(v *EventTargetHttpTargetArgs) EventTargetHttpTargetPtrInput
type EventTargetHttpTargetPtrOutput ¶ added in v4.4.0
type EventTargetHttpTargetPtrOutput struct{ *pulumi.OutputState }
func (EventTargetHttpTargetPtrOutput) Elem ¶ added in v4.4.0
func (o EventTargetHttpTargetPtrOutput) Elem() EventTargetHttpTargetOutput
func (EventTargetHttpTargetPtrOutput) ElementType ¶ added in v4.4.0
func (EventTargetHttpTargetPtrOutput) ElementType() reflect.Type
func (EventTargetHttpTargetPtrOutput) HeaderParameters ¶ added in v4.4.0
func (o EventTargetHttpTargetPtrOutput) HeaderParameters() pulumi.StringMapOutput
Enables you to specify HTTP headers to add to the request.
func (EventTargetHttpTargetPtrOutput) PathParameterValues ¶ added in v4.4.0
func (o EventTargetHttpTargetPtrOutput) PathParameterValues() pulumi.StringArrayOutput
The list of values that correspond sequentially to any path variables in your endpoint ARN (for example `arn:aws:execute-api:us-east-1:123456:myapi/*/POST/pets/*`).
func (EventTargetHttpTargetPtrOutput) QueryStringParameters ¶ added in v4.4.0
func (o EventTargetHttpTargetPtrOutput) QueryStringParameters() pulumi.StringMapOutput
Represents keys/values of query string parameters that are appended to the invoked endpoint.
func (EventTargetHttpTargetPtrOutput) ToEventTargetHttpTargetPtrOutput ¶ added in v4.4.0
func (o EventTargetHttpTargetPtrOutput) ToEventTargetHttpTargetPtrOutput() EventTargetHttpTargetPtrOutput
func (EventTargetHttpTargetPtrOutput) ToEventTargetHttpTargetPtrOutputWithContext ¶ added in v4.4.0
func (o EventTargetHttpTargetPtrOutput) ToEventTargetHttpTargetPtrOutputWithContext(ctx context.Context) EventTargetHttpTargetPtrOutput
type EventTargetInput ¶
type EventTargetInput interface { pulumi.Input ToEventTargetOutput() EventTargetOutput ToEventTargetOutputWithContext(ctx context.Context) EventTargetOutput }
type EventTargetInputTransformer ¶
type EventTargetInputTransformer struct { // Key value pairs specified in the form of JSONPath (for example, time = $.time) // * You can have as many as 100 key-value pairs. // * You must use JSON dot notation, not bracket notation. // * The keys can't start with "AWS". InputPaths map[string]string `pulumi:"inputPaths"` // Template to customize data sent to the target. Must be valid JSON. To send a string value, the string value must include double quotes. Values must be escaped for both JSON and the provider, e.g., `"\"Your string goes here.\\nA new line.\""` InputTemplate string `pulumi:"inputTemplate"` }
type EventTargetInputTransformerArgs ¶
type EventTargetInputTransformerArgs struct { // Key value pairs specified in the form of JSONPath (for example, time = $.time) // * You can have as many as 100 key-value pairs. // * You must use JSON dot notation, not bracket notation. // * The keys can't start with "AWS". InputPaths pulumi.StringMapInput `pulumi:"inputPaths"` // Template to customize data sent to the target. Must be valid JSON. To send a string value, the string value must include double quotes. Values must be escaped for both JSON and the provider, e.g., `"\"Your string goes here.\\nA new line.\""` InputTemplate pulumi.StringInput `pulumi:"inputTemplate"` }
func (EventTargetInputTransformerArgs) ElementType ¶
func (EventTargetInputTransformerArgs) ElementType() reflect.Type
func (EventTargetInputTransformerArgs) ToEventTargetInputTransformerOutput ¶
func (i EventTargetInputTransformerArgs) ToEventTargetInputTransformerOutput() EventTargetInputTransformerOutput
func (EventTargetInputTransformerArgs) ToEventTargetInputTransformerOutputWithContext ¶
func (i EventTargetInputTransformerArgs) ToEventTargetInputTransformerOutputWithContext(ctx context.Context) EventTargetInputTransformerOutput
func (EventTargetInputTransformerArgs) ToEventTargetInputTransformerPtrOutput ¶
func (i EventTargetInputTransformerArgs) ToEventTargetInputTransformerPtrOutput() EventTargetInputTransformerPtrOutput
func (EventTargetInputTransformerArgs) ToEventTargetInputTransformerPtrOutputWithContext ¶
func (i EventTargetInputTransformerArgs) ToEventTargetInputTransformerPtrOutputWithContext(ctx context.Context) EventTargetInputTransformerPtrOutput
type EventTargetInputTransformerInput ¶
type EventTargetInputTransformerInput interface { pulumi.Input ToEventTargetInputTransformerOutput() EventTargetInputTransformerOutput ToEventTargetInputTransformerOutputWithContext(context.Context) EventTargetInputTransformerOutput }
EventTargetInputTransformerInput is an input type that accepts EventTargetInputTransformerArgs and EventTargetInputTransformerOutput values. You can construct a concrete instance of `EventTargetInputTransformerInput` via:
EventTargetInputTransformerArgs{...}
type EventTargetInputTransformerOutput ¶
type EventTargetInputTransformerOutput struct{ *pulumi.OutputState }
func (EventTargetInputTransformerOutput) ElementType ¶
func (EventTargetInputTransformerOutput) ElementType() reflect.Type
func (EventTargetInputTransformerOutput) InputPaths ¶
func (o EventTargetInputTransformerOutput) InputPaths() pulumi.StringMapOutput
Key value pairs specified in the form of JSONPath (for example, time = $.time) * You can have as many as 100 key-value pairs. * You must use JSON dot notation, not bracket notation. * The keys can't start with "AWS".
func (EventTargetInputTransformerOutput) InputTemplate ¶
func (o EventTargetInputTransformerOutput) InputTemplate() pulumi.StringOutput
Template to customize data sent to the target. Must be valid JSON. To send a string value, the string value must include double quotes. Values must be escaped for both JSON and the provider, e.g., `"\"Your string goes here.\\nA new line.\""`
func (EventTargetInputTransformerOutput) ToEventTargetInputTransformerOutput ¶
func (o EventTargetInputTransformerOutput) ToEventTargetInputTransformerOutput() EventTargetInputTransformerOutput
func (EventTargetInputTransformerOutput) ToEventTargetInputTransformerOutputWithContext ¶
func (o EventTargetInputTransformerOutput) ToEventTargetInputTransformerOutputWithContext(ctx context.Context) EventTargetInputTransformerOutput
func (EventTargetInputTransformerOutput) ToEventTargetInputTransformerPtrOutput ¶
func (o EventTargetInputTransformerOutput) ToEventTargetInputTransformerPtrOutput() EventTargetInputTransformerPtrOutput
func (EventTargetInputTransformerOutput) ToEventTargetInputTransformerPtrOutputWithContext ¶
func (o EventTargetInputTransformerOutput) ToEventTargetInputTransformerPtrOutputWithContext(ctx context.Context) EventTargetInputTransformerPtrOutput
type EventTargetInputTransformerPtrInput ¶
type EventTargetInputTransformerPtrInput interface { pulumi.Input ToEventTargetInputTransformerPtrOutput() EventTargetInputTransformerPtrOutput ToEventTargetInputTransformerPtrOutputWithContext(context.Context) EventTargetInputTransformerPtrOutput }
EventTargetInputTransformerPtrInput is an input type that accepts EventTargetInputTransformerArgs, EventTargetInputTransformerPtr and EventTargetInputTransformerPtrOutput values. You can construct a concrete instance of `EventTargetInputTransformerPtrInput` via:
EventTargetInputTransformerArgs{...} or: nil
func EventTargetInputTransformerPtr ¶
func EventTargetInputTransformerPtr(v *EventTargetInputTransformerArgs) EventTargetInputTransformerPtrInput
type EventTargetInputTransformerPtrOutput ¶
type EventTargetInputTransformerPtrOutput struct{ *pulumi.OutputState }
func (EventTargetInputTransformerPtrOutput) ElementType ¶
func (EventTargetInputTransformerPtrOutput) ElementType() reflect.Type
func (EventTargetInputTransformerPtrOutput) InputPaths ¶
func (o EventTargetInputTransformerPtrOutput) InputPaths() pulumi.StringMapOutput
Key value pairs specified in the form of JSONPath (for example, time = $.time) * You can have as many as 100 key-value pairs. * You must use JSON dot notation, not bracket notation. * The keys can't start with "AWS".
func (EventTargetInputTransformerPtrOutput) InputTemplate ¶
func (o EventTargetInputTransformerPtrOutput) InputTemplate() pulumi.StringPtrOutput
Template to customize data sent to the target. Must be valid JSON. To send a string value, the string value must include double quotes. Values must be escaped for both JSON and the provider, e.g., `"\"Your string goes here.\\nA new line.\""`
func (EventTargetInputTransformerPtrOutput) ToEventTargetInputTransformerPtrOutput ¶
func (o EventTargetInputTransformerPtrOutput) ToEventTargetInputTransformerPtrOutput() EventTargetInputTransformerPtrOutput
func (EventTargetInputTransformerPtrOutput) ToEventTargetInputTransformerPtrOutputWithContext ¶
func (o EventTargetInputTransformerPtrOutput) ToEventTargetInputTransformerPtrOutputWithContext(ctx context.Context) EventTargetInputTransformerPtrOutput
type EventTargetKinesisTarget ¶
type EventTargetKinesisTarget struct { // The JSON path to be extracted from the event and used as the partition key. PartitionKeyPath *string `pulumi:"partitionKeyPath"` }
type EventTargetKinesisTargetArgs ¶
type EventTargetKinesisTargetArgs struct { // The JSON path to be extracted from the event and used as the partition key. PartitionKeyPath pulumi.StringPtrInput `pulumi:"partitionKeyPath"` }
func (EventTargetKinesisTargetArgs) ElementType ¶
func (EventTargetKinesisTargetArgs) ElementType() reflect.Type
func (EventTargetKinesisTargetArgs) ToEventTargetKinesisTargetOutput ¶
func (i EventTargetKinesisTargetArgs) ToEventTargetKinesisTargetOutput() EventTargetKinesisTargetOutput
func (EventTargetKinesisTargetArgs) ToEventTargetKinesisTargetOutputWithContext ¶
func (i EventTargetKinesisTargetArgs) ToEventTargetKinesisTargetOutputWithContext(ctx context.Context) EventTargetKinesisTargetOutput
func (EventTargetKinesisTargetArgs) ToEventTargetKinesisTargetPtrOutput ¶
func (i EventTargetKinesisTargetArgs) ToEventTargetKinesisTargetPtrOutput() EventTargetKinesisTargetPtrOutput
func (EventTargetKinesisTargetArgs) ToEventTargetKinesisTargetPtrOutputWithContext ¶
func (i EventTargetKinesisTargetArgs) ToEventTargetKinesisTargetPtrOutputWithContext(ctx context.Context) EventTargetKinesisTargetPtrOutput
type EventTargetKinesisTargetInput ¶
type EventTargetKinesisTargetInput interface { pulumi.Input ToEventTargetKinesisTargetOutput() EventTargetKinesisTargetOutput ToEventTargetKinesisTargetOutputWithContext(context.Context) EventTargetKinesisTargetOutput }
EventTargetKinesisTargetInput is an input type that accepts EventTargetKinesisTargetArgs and EventTargetKinesisTargetOutput values. You can construct a concrete instance of `EventTargetKinesisTargetInput` via:
EventTargetKinesisTargetArgs{...}
type EventTargetKinesisTargetOutput ¶
type EventTargetKinesisTargetOutput struct{ *pulumi.OutputState }
func (EventTargetKinesisTargetOutput) ElementType ¶
func (EventTargetKinesisTargetOutput) ElementType() reflect.Type
func (EventTargetKinesisTargetOutput) PartitionKeyPath ¶
func (o EventTargetKinesisTargetOutput) PartitionKeyPath() pulumi.StringPtrOutput
The JSON path to be extracted from the event and used as the partition key.
func (EventTargetKinesisTargetOutput) ToEventTargetKinesisTargetOutput ¶
func (o EventTargetKinesisTargetOutput) ToEventTargetKinesisTargetOutput() EventTargetKinesisTargetOutput
func (EventTargetKinesisTargetOutput) ToEventTargetKinesisTargetOutputWithContext ¶
func (o EventTargetKinesisTargetOutput) ToEventTargetKinesisTargetOutputWithContext(ctx context.Context) EventTargetKinesisTargetOutput
func (EventTargetKinesisTargetOutput) ToEventTargetKinesisTargetPtrOutput ¶
func (o EventTargetKinesisTargetOutput) ToEventTargetKinesisTargetPtrOutput() EventTargetKinesisTargetPtrOutput
func (EventTargetKinesisTargetOutput) ToEventTargetKinesisTargetPtrOutputWithContext ¶
func (o EventTargetKinesisTargetOutput) ToEventTargetKinesisTargetPtrOutputWithContext(ctx context.Context) EventTargetKinesisTargetPtrOutput
type EventTargetKinesisTargetPtrInput ¶
type EventTargetKinesisTargetPtrInput interface { pulumi.Input ToEventTargetKinesisTargetPtrOutput() EventTargetKinesisTargetPtrOutput ToEventTargetKinesisTargetPtrOutputWithContext(context.Context) EventTargetKinesisTargetPtrOutput }
EventTargetKinesisTargetPtrInput is an input type that accepts EventTargetKinesisTargetArgs, EventTargetKinesisTargetPtr and EventTargetKinesisTargetPtrOutput values. You can construct a concrete instance of `EventTargetKinesisTargetPtrInput` via:
EventTargetKinesisTargetArgs{...} or: nil
func EventTargetKinesisTargetPtr ¶
func EventTargetKinesisTargetPtr(v *EventTargetKinesisTargetArgs) EventTargetKinesisTargetPtrInput
type EventTargetKinesisTargetPtrOutput ¶
type EventTargetKinesisTargetPtrOutput struct{ *pulumi.OutputState }
func (EventTargetKinesisTargetPtrOutput) Elem ¶
func (o EventTargetKinesisTargetPtrOutput) Elem() EventTargetKinesisTargetOutput
func (EventTargetKinesisTargetPtrOutput) ElementType ¶
func (EventTargetKinesisTargetPtrOutput) ElementType() reflect.Type
func (EventTargetKinesisTargetPtrOutput) PartitionKeyPath ¶
func (o EventTargetKinesisTargetPtrOutput) PartitionKeyPath() pulumi.StringPtrOutput
The JSON path to be extracted from the event and used as the partition key.
func (EventTargetKinesisTargetPtrOutput) ToEventTargetKinesisTargetPtrOutput ¶
func (o EventTargetKinesisTargetPtrOutput) ToEventTargetKinesisTargetPtrOutput() EventTargetKinesisTargetPtrOutput
func (EventTargetKinesisTargetPtrOutput) ToEventTargetKinesisTargetPtrOutputWithContext ¶
func (o EventTargetKinesisTargetPtrOutput) ToEventTargetKinesisTargetPtrOutputWithContext(ctx context.Context) EventTargetKinesisTargetPtrOutput
type EventTargetMap ¶
type EventTargetMap map[string]EventTargetInput
func (EventTargetMap) ElementType ¶
func (EventTargetMap) ElementType() reflect.Type
func (EventTargetMap) ToEventTargetMapOutput ¶
func (i EventTargetMap) ToEventTargetMapOutput() EventTargetMapOutput
func (EventTargetMap) ToEventTargetMapOutputWithContext ¶
func (i EventTargetMap) ToEventTargetMapOutputWithContext(ctx context.Context) EventTargetMapOutput
type EventTargetMapInput ¶
type EventTargetMapInput interface { pulumi.Input ToEventTargetMapOutput() EventTargetMapOutput ToEventTargetMapOutputWithContext(context.Context) EventTargetMapOutput }
EventTargetMapInput is an input type that accepts EventTargetMap and EventTargetMapOutput values. You can construct a concrete instance of `EventTargetMapInput` via:
EventTargetMap{ "key": EventTargetArgs{...} }
type EventTargetMapOutput ¶
type EventTargetMapOutput struct{ *pulumi.OutputState }
func (EventTargetMapOutput) ElementType ¶
func (EventTargetMapOutput) ElementType() reflect.Type
func (EventTargetMapOutput) MapIndex ¶
func (o EventTargetMapOutput) MapIndex(k pulumi.StringInput) EventTargetOutput
func (EventTargetMapOutput) ToEventTargetMapOutput ¶
func (o EventTargetMapOutput) ToEventTargetMapOutput() EventTargetMapOutput
func (EventTargetMapOutput) ToEventTargetMapOutputWithContext ¶
func (o EventTargetMapOutput) ToEventTargetMapOutputWithContext(ctx context.Context) EventTargetMapOutput
type EventTargetOutput ¶
type EventTargetOutput struct{ *pulumi.OutputState }
func (EventTargetOutput) ElementType ¶
func (EventTargetOutput) ElementType() reflect.Type
func (EventTargetOutput) ToEventTargetOutput ¶
func (o EventTargetOutput) ToEventTargetOutput() EventTargetOutput
func (EventTargetOutput) ToEventTargetOutputWithContext ¶
func (o EventTargetOutput) ToEventTargetOutputWithContext(ctx context.Context) EventTargetOutput
type EventTargetRedshiftTarget ¶ added in v4.14.0
type EventTargetRedshiftTarget struct { // The name of the database. Database string `pulumi:"database"` // The database user name. DbUser *string `pulumi:"dbUser"` // The name or ARN of the secret that enables access to the database. SecretsManagerArn *string `pulumi:"secretsManagerArn"` // The SQL statement text to run. Sql *string `pulumi:"sql"` // The name of the SQL statement. StatementName *string `pulumi:"statementName"` // Indicates whether to send an event back to EventBridge after the SQL statement runs. WithEvent *bool `pulumi:"withEvent"` }
type EventTargetRedshiftTargetArgs ¶ added in v4.14.0
type EventTargetRedshiftTargetArgs struct { // The name of the database. Database pulumi.StringInput `pulumi:"database"` // The database user name. DbUser pulumi.StringPtrInput `pulumi:"dbUser"` // The name or ARN of the secret that enables access to the database. SecretsManagerArn pulumi.StringPtrInput `pulumi:"secretsManagerArn"` // The SQL statement text to run. Sql pulumi.StringPtrInput `pulumi:"sql"` // The name of the SQL statement. StatementName pulumi.StringPtrInput `pulumi:"statementName"` // Indicates whether to send an event back to EventBridge after the SQL statement runs. WithEvent pulumi.BoolPtrInput `pulumi:"withEvent"` }
func (EventTargetRedshiftTargetArgs) ElementType ¶ added in v4.14.0
func (EventTargetRedshiftTargetArgs) ElementType() reflect.Type
func (EventTargetRedshiftTargetArgs) ToEventTargetRedshiftTargetOutput ¶ added in v4.14.0
func (i EventTargetRedshiftTargetArgs) ToEventTargetRedshiftTargetOutput() EventTargetRedshiftTargetOutput
func (EventTargetRedshiftTargetArgs) ToEventTargetRedshiftTargetOutputWithContext ¶ added in v4.14.0
func (i EventTargetRedshiftTargetArgs) ToEventTargetRedshiftTargetOutputWithContext(ctx context.Context) EventTargetRedshiftTargetOutput
func (EventTargetRedshiftTargetArgs) ToEventTargetRedshiftTargetPtrOutput ¶ added in v4.14.0
func (i EventTargetRedshiftTargetArgs) ToEventTargetRedshiftTargetPtrOutput() EventTargetRedshiftTargetPtrOutput
func (EventTargetRedshiftTargetArgs) ToEventTargetRedshiftTargetPtrOutputWithContext ¶ added in v4.14.0
func (i EventTargetRedshiftTargetArgs) ToEventTargetRedshiftTargetPtrOutputWithContext(ctx context.Context) EventTargetRedshiftTargetPtrOutput
type EventTargetRedshiftTargetInput ¶ added in v4.14.0
type EventTargetRedshiftTargetInput interface { pulumi.Input ToEventTargetRedshiftTargetOutput() EventTargetRedshiftTargetOutput ToEventTargetRedshiftTargetOutputWithContext(context.Context) EventTargetRedshiftTargetOutput }
EventTargetRedshiftTargetInput is an input type that accepts EventTargetRedshiftTargetArgs and EventTargetRedshiftTargetOutput values. You can construct a concrete instance of `EventTargetRedshiftTargetInput` via:
EventTargetRedshiftTargetArgs{...}
type EventTargetRedshiftTargetOutput ¶ added in v4.14.0
type EventTargetRedshiftTargetOutput struct{ *pulumi.OutputState }
func (EventTargetRedshiftTargetOutput) Database ¶ added in v4.14.0
func (o EventTargetRedshiftTargetOutput) Database() pulumi.StringOutput
The name of the database.
func (EventTargetRedshiftTargetOutput) DbUser ¶ added in v4.14.0
func (o EventTargetRedshiftTargetOutput) DbUser() pulumi.StringPtrOutput
The database user name.
func (EventTargetRedshiftTargetOutput) ElementType ¶ added in v4.14.0
func (EventTargetRedshiftTargetOutput) ElementType() reflect.Type
func (EventTargetRedshiftTargetOutput) SecretsManagerArn ¶ added in v4.14.0
func (o EventTargetRedshiftTargetOutput) SecretsManagerArn() pulumi.StringPtrOutput
The name or ARN of the secret that enables access to the database.
func (EventTargetRedshiftTargetOutput) Sql ¶ added in v4.14.0
func (o EventTargetRedshiftTargetOutput) Sql() pulumi.StringPtrOutput
The SQL statement text to run.
func (EventTargetRedshiftTargetOutput) StatementName ¶ added in v4.14.0
func (o EventTargetRedshiftTargetOutput) StatementName() pulumi.StringPtrOutput
The name of the SQL statement.
func (EventTargetRedshiftTargetOutput) ToEventTargetRedshiftTargetOutput ¶ added in v4.14.0
func (o EventTargetRedshiftTargetOutput) ToEventTargetRedshiftTargetOutput() EventTargetRedshiftTargetOutput
func (EventTargetRedshiftTargetOutput) ToEventTargetRedshiftTargetOutputWithContext ¶ added in v4.14.0
func (o EventTargetRedshiftTargetOutput) ToEventTargetRedshiftTargetOutputWithContext(ctx context.Context) EventTargetRedshiftTargetOutput
func (EventTargetRedshiftTargetOutput) ToEventTargetRedshiftTargetPtrOutput ¶ added in v4.14.0
func (o EventTargetRedshiftTargetOutput) ToEventTargetRedshiftTargetPtrOutput() EventTargetRedshiftTargetPtrOutput
func (EventTargetRedshiftTargetOutput) ToEventTargetRedshiftTargetPtrOutputWithContext ¶ added in v4.14.0
func (o EventTargetRedshiftTargetOutput) ToEventTargetRedshiftTargetPtrOutputWithContext(ctx context.Context) EventTargetRedshiftTargetPtrOutput
func (EventTargetRedshiftTargetOutput) WithEvent ¶ added in v4.14.0
func (o EventTargetRedshiftTargetOutput) WithEvent() pulumi.BoolPtrOutput
Indicates whether to send an event back to EventBridge after the SQL statement runs.
type EventTargetRedshiftTargetPtrInput ¶ added in v4.14.0
type EventTargetRedshiftTargetPtrInput interface { pulumi.Input ToEventTargetRedshiftTargetPtrOutput() EventTargetRedshiftTargetPtrOutput ToEventTargetRedshiftTargetPtrOutputWithContext(context.Context) EventTargetRedshiftTargetPtrOutput }
EventTargetRedshiftTargetPtrInput is an input type that accepts EventTargetRedshiftTargetArgs, EventTargetRedshiftTargetPtr and EventTargetRedshiftTargetPtrOutput values. You can construct a concrete instance of `EventTargetRedshiftTargetPtrInput` via:
EventTargetRedshiftTargetArgs{...} or: nil
func EventTargetRedshiftTargetPtr ¶ added in v4.14.0
func EventTargetRedshiftTargetPtr(v *EventTargetRedshiftTargetArgs) EventTargetRedshiftTargetPtrInput
type EventTargetRedshiftTargetPtrOutput ¶ added in v4.14.0
type EventTargetRedshiftTargetPtrOutput struct{ *pulumi.OutputState }
func (EventTargetRedshiftTargetPtrOutput) Database ¶ added in v4.14.0
func (o EventTargetRedshiftTargetPtrOutput) Database() pulumi.StringPtrOutput
The name of the database.
func (EventTargetRedshiftTargetPtrOutput) DbUser ¶ added in v4.14.0
func (o EventTargetRedshiftTargetPtrOutput) DbUser() pulumi.StringPtrOutput
The database user name.
func (EventTargetRedshiftTargetPtrOutput) Elem ¶ added in v4.14.0
func (o EventTargetRedshiftTargetPtrOutput) Elem() EventTargetRedshiftTargetOutput
func (EventTargetRedshiftTargetPtrOutput) ElementType ¶ added in v4.14.0
func (EventTargetRedshiftTargetPtrOutput) ElementType() reflect.Type
func (EventTargetRedshiftTargetPtrOutput) SecretsManagerArn ¶ added in v4.14.0
func (o EventTargetRedshiftTargetPtrOutput) SecretsManagerArn() pulumi.StringPtrOutput
The name or ARN of the secret that enables access to the database.
func (EventTargetRedshiftTargetPtrOutput) Sql ¶ added in v4.14.0
func (o EventTargetRedshiftTargetPtrOutput) Sql() pulumi.StringPtrOutput
The SQL statement text to run.
func (EventTargetRedshiftTargetPtrOutput) StatementName ¶ added in v4.14.0
func (o EventTargetRedshiftTargetPtrOutput) StatementName() pulumi.StringPtrOutput
The name of the SQL statement.
func (EventTargetRedshiftTargetPtrOutput) ToEventTargetRedshiftTargetPtrOutput ¶ added in v4.14.0
func (o EventTargetRedshiftTargetPtrOutput) ToEventTargetRedshiftTargetPtrOutput() EventTargetRedshiftTargetPtrOutput
func (EventTargetRedshiftTargetPtrOutput) ToEventTargetRedshiftTargetPtrOutputWithContext ¶ added in v4.14.0
func (o EventTargetRedshiftTargetPtrOutput) ToEventTargetRedshiftTargetPtrOutputWithContext(ctx context.Context) EventTargetRedshiftTargetPtrOutput
func (EventTargetRedshiftTargetPtrOutput) WithEvent ¶ added in v4.14.0
func (o EventTargetRedshiftTargetPtrOutput) WithEvent() pulumi.BoolPtrOutput
Indicates whether to send an event back to EventBridge after the SQL statement runs.
type EventTargetRetryPolicy ¶
type EventTargetRetryPolicyArgs ¶
type EventTargetRetryPolicyArgs struct { // The age in seconds to continue to make retry attempts. MaximumEventAgeInSeconds pulumi.IntPtrInput `pulumi:"maximumEventAgeInSeconds"` // maximum number of retry attempts to make before the request fails MaximumRetryAttempts pulumi.IntPtrInput `pulumi:"maximumRetryAttempts"` }
func (EventTargetRetryPolicyArgs) ElementType ¶
func (EventTargetRetryPolicyArgs) ElementType() reflect.Type
func (EventTargetRetryPolicyArgs) ToEventTargetRetryPolicyOutput ¶
func (i EventTargetRetryPolicyArgs) ToEventTargetRetryPolicyOutput() EventTargetRetryPolicyOutput
func (EventTargetRetryPolicyArgs) ToEventTargetRetryPolicyOutputWithContext ¶
func (i EventTargetRetryPolicyArgs) ToEventTargetRetryPolicyOutputWithContext(ctx context.Context) EventTargetRetryPolicyOutput
func (EventTargetRetryPolicyArgs) ToEventTargetRetryPolicyPtrOutput ¶
func (i EventTargetRetryPolicyArgs) ToEventTargetRetryPolicyPtrOutput() EventTargetRetryPolicyPtrOutput
func (EventTargetRetryPolicyArgs) ToEventTargetRetryPolicyPtrOutputWithContext ¶
func (i EventTargetRetryPolicyArgs) ToEventTargetRetryPolicyPtrOutputWithContext(ctx context.Context) EventTargetRetryPolicyPtrOutput
type EventTargetRetryPolicyInput ¶
type EventTargetRetryPolicyInput interface { pulumi.Input ToEventTargetRetryPolicyOutput() EventTargetRetryPolicyOutput ToEventTargetRetryPolicyOutputWithContext(context.Context) EventTargetRetryPolicyOutput }
EventTargetRetryPolicyInput is an input type that accepts EventTargetRetryPolicyArgs and EventTargetRetryPolicyOutput values. You can construct a concrete instance of `EventTargetRetryPolicyInput` via:
EventTargetRetryPolicyArgs{...}
type EventTargetRetryPolicyOutput ¶
type EventTargetRetryPolicyOutput struct{ *pulumi.OutputState }
func (EventTargetRetryPolicyOutput) ElementType ¶
func (EventTargetRetryPolicyOutput) ElementType() reflect.Type
func (EventTargetRetryPolicyOutput) MaximumEventAgeInSeconds ¶
func (o EventTargetRetryPolicyOutput) MaximumEventAgeInSeconds() pulumi.IntPtrOutput
The age in seconds to continue to make retry attempts.
func (EventTargetRetryPolicyOutput) MaximumRetryAttempts ¶
func (o EventTargetRetryPolicyOutput) MaximumRetryAttempts() pulumi.IntPtrOutput
maximum number of retry attempts to make before the request fails
func (EventTargetRetryPolicyOutput) ToEventTargetRetryPolicyOutput ¶
func (o EventTargetRetryPolicyOutput) ToEventTargetRetryPolicyOutput() EventTargetRetryPolicyOutput
func (EventTargetRetryPolicyOutput) ToEventTargetRetryPolicyOutputWithContext ¶
func (o EventTargetRetryPolicyOutput) ToEventTargetRetryPolicyOutputWithContext(ctx context.Context) EventTargetRetryPolicyOutput
func (EventTargetRetryPolicyOutput) ToEventTargetRetryPolicyPtrOutput ¶
func (o EventTargetRetryPolicyOutput) ToEventTargetRetryPolicyPtrOutput() EventTargetRetryPolicyPtrOutput
func (EventTargetRetryPolicyOutput) ToEventTargetRetryPolicyPtrOutputWithContext ¶
func (o EventTargetRetryPolicyOutput) ToEventTargetRetryPolicyPtrOutputWithContext(ctx context.Context) EventTargetRetryPolicyPtrOutput
type EventTargetRetryPolicyPtrInput ¶
type EventTargetRetryPolicyPtrInput interface { pulumi.Input ToEventTargetRetryPolicyPtrOutput() EventTargetRetryPolicyPtrOutput ToEventTargetRetryPolicyPtrOutputWithContext(context.Context) EventTargetRetryPolicyPtrOutput }
EventTargetRetryPolicyPtrInput is an input type that accepts EventTargetRetryPolicyArgs, EventTargetRetryPolicyPtr and EventTargetRetryPolicyPtrOutput values. You can construct a concrete instance of `EventTargetRetryPolicyPtrInput` via:
EventTargetRetryPolicyArgs{...} or: nil
func EventTargetRetryPolicyPtr ¶
func EventTargetRetryPolicyPtr(v *EventTargetRetryPolicyArgs) EventTargetRetryPolicyPtrInput
type EventTargetRetryPolicyPtrOutput ¶
type EventTargetRetryPolicyPtrOutput struct{ *pulumi.OutputState }
func (EventTargetRetryPolicyPtrOutput) Elem ¶
func (o EventTargetRetryPolicyPtrOutput) Elem() EventTargetRetryPolicyOutput
func (EventTargetRetryPolicyPtrOutput) ElementType ¶
func (EventTargetRetryPolicyPtrOutput) ElementType() reflect.Type
func (EventTargetRetryPolicyPtrOutput) MaximumEventAgeInSeconds ¶
func (o EventTargetRetryPolicyPtrOutput) MaximumEventAgeInSeconds() pulumi.IntPtrOutput
The age in seconds to continue to make retry attempts.
func (EventTargetRetryPolicyPtrOutput) MaximumRetryAttempts ¶
func (o EventTargetRetryPolicyPtrOutput) MaximumRetryAttempts() pulumi.IntPtrOutput
maximum number of retry attempts to make before the request fails
func (EventTargetRetryPolicyPtrOutput) ToEventTargetRetryPolicyPtrOutput ¶
func (o EventTargetRetryPolicyPtrOutput) ToEventTargetRetryPolicyPtrOutput() EventTargetRetryPolicyPtrOutput
func (EventTargetRetryPolicyPtrOutput) ToEventTargetRetryPolicyPtrOutputWithContext ¶
func (o EventTargetRetryPolicyPtrOutput) ToEventTargetRetryPolicyPtrOutputWithContext(ctx context.Context) EventTargetRetryPolicyPtrOutput
type EventTargetRunCommandTargetArgs ¶
type EventTargetRunCommandTargetArgs struct { // Can be either `tag:tag-key` or `InstanceIds`. Key pulumi.StringInput `pulumi:"key"` // If Key is `tag:tag-key`, Values is a list of tag values. If Key is `InstanceIds`, Values is a list of Amazon EC2 instance IDs. Values pulumi.StringArrayInput `pulumi:"values"` }
func (EventTargetRunCommandTargetArgs) ElementType ¶
func (EventTargetRunCommandTargetArgs) ElementType() reflect.Type
func (EventTargetRunCommandTargetArgs) ToEventTargetRunCommandTargetOutput ¶
func (i EventTargetRunCommandTargetArgs) ToEventTargetRunCommandTargetOutput() EventTargetRunCommandTargetOutput
func (EventTargetRunCommandTargetArgs) ToEventTargetRunCommandTargetOutputWithContext ¶
func (i EventTargetRunCommandTargetArgs) ToEventTargetRunCommandTargetOutputWithContext(ctx context.Context) EventTargetRunCommandTargetOutput
type EventTargetRunCommandTargetArray ¶
type EventTargetRunCommandTargetArray []EventTargetRunCommandTargetInput
func (EventTargetRunCommandTargetArray) ElementType ¶
func (EventTargetRunCommandTargetArray) ElementType() reflect.Type
func (EventTargetRunCommandTargetArray) ToEventTargetRunCommandTargetArrayOutput ¶
func (i EventTargetRunCommandTargetArray) ToEventTargetRunCommandTargetArrayOutput() EventTargetRunCommandTargetArrayOutput
func (EventTargetRunCommandTargetArray) ToEventTargetRunCommandTargetArrayOutputWithContext ¶
func (i EventTargetRunCommandTargetArray) ToEventTargetRunCommandTargetArrayOutputWithContext(ctx context.Context) EventTargetRunCommandTargetArrayOutput
type EventTargetRunCommandTargetArrayInput ¶
type EventTargetRunCommandTargetArrayInput interface { pulumi.Input ToEventTargetRunCommandTargetArrayOutput() EventTargetRunCommandTargetArrayOutput ToEventTargetRunCommandTargetArrayOutputWithContext(context.Context) EventTargetRunCommandTargetArrayOutput }
EventTargetRunCommandTargetArrayInput is an input type that accepts EventTargetRunCommandTargetArray and EventTargetRunCommandTargetArrayOutput values. You can construct a concrete instance of `EventTargetRunCommandTargetArrayInput` via:
EventTargetRunCommandTargetArray{ EventTargetRunCommandTargetArgs{...} }
type EventTargetRunCommandTargetArrayOutput ¶
type EventTargetRunCommandTargetArrayOutput struct{ *pulumi.OutputState }
func (EventTargetRunCommandTargetArrayOutput) ElementType ¶
func (EventTargetRunCommandTargetArrayOutput) ElementType() reflect.Type
func (EventTargetRunCommandTargetArrayOutput) ToEventTargetRunCommandTargetArrayOutput ¶
func (o EventTargetRunCommandTargetArrayOutput) ToEventTargetRunCommandTargetArrayOutput() EventTargetRunCommandTargetArrayOutput
func (EventTargetRunCommandTargetArrayOutput) ToEventTargetRunCommandTargetArrayOutputWithContext ¶
func (o EventTargetRunCommandTargetArrayOutput) ToEventTargetRunCommandTargetArrayOutputWithContext(ctx context.Context) EventTargetRunCommandTargetArrayOutput
type EventTargetRunCommandTargetInput ¶
type EventTargetRunCommandTargetInput interface { pulumi.Input ToEventTargetRunCommandTargetOutput() EventTargetRunCommandTargetOutput ToEventTargetRunCommandTargetOutputWithContext(context.Context) EventTargetRunCommandTargetOutput }
EventTargetRunCommandTargetInput is an input type that accepts EventTargetRunCommandTargetArgs and EventTargetRunCommandTargetOutput values. You can construct a concrete instance of `EventTargetRunCommandTargetInput` via:
EventTargetRunCommandTargetArgs{...}
type EventTargetRunCommandTargetOutput ¶
type EventTargetRunCommandTargetOutput struct{ *pulumi.OutputState }
func (EventTargetRunCommandTargetOutput) ElementType ¶
func (EventTargetRunCommandTargetOutput) ElementType() reflect.Type
func (EventTargetRunCommandTargetOutput) Key ¶
func (o EventTargetRunCommandTargetOutput) Key() pulumi.StringOutput
Can be either `tag:tag-key` or `InstanceIds`.
func (EventTargetRunCommandTargetOutput) ToEventTargetRunCommandTargetOutput ¶
func (o EventTargetRunCommandTargetOutput) ToEventTargetRunCommandTargetOutput() EventTargetRunCommandTargetOutput
func (EventTargetRunCommandTargetOutput) ToEventTargetRunCommandTargetOutputWithContext ¶
func (o EventTargetRunCommandTargetOutput) ToEventTargetRunCommandTargetOutputWithContext(ctx context.Context) EventTargetRunCommandTargetOutput
func (EventTargetRunCommandTargetOutput) Values ¶
func (o EventTargetRunCommandTargetOutput) Values() pulumi.StringArrayOutput
If Key is `tag:tag-key`, Values is a list of tag values. If Key is `InstanceIds`, Values is a list of Amazon EC2 instance IDs.
type EventTargetSqsTarget ¶
type EventTargetSqsTarget struct { // The FIFO message group ID to use as the target. MessageGroupId *string `pulumi:"messageGroupId"` }
type EventTargetSqsTargetArgs ¶
type EventTargetSqsTargetArgs struct { // The FIFO message group ID to use as the target. MessageGroupId pulumi.StringPtrInput `pulumi:"messageGroupId"` }
func (EventTargetSqsTargetArgs) ElementType ¶
func (EventTargetSqsTargetArgs) ElementType() reflect.Type
func (EventTargetSqsTargetArgs) ToEventTargetSqsTargetOutput ¶
func (i EventTargetSqsTargetArgs) ToEventTargetSqsTargetOutput() EventTargetSqsTargetOutput
func (EventTargetSqsTargetArgs) ToEventTargetSqsTargetOutputWithContext ¶
func (i EventTargetSqsTargetArgs) ToEventTargetSqsTargetOutputWithContext(ctx context.Context) EventTargetSqsTargetOutput
func (EventTargetSqsTargetArgs) ToEventTargetSqsTargetPtrOutput ¶
func (i EventTargetSqsTargetArgs) ToEventTargetSqsTargetPtrOutput() EventTargetSqsTargetPtrOutput
func (EventTargetSqsTargetArgs) ToEventTargetSqsTargetPtrOutputWithContext ¶
func (i EventTargetSqsTargetArgs) ToEventTargetSqsTargetPtrOutputWithContext(ctx context.Context) EventTargetSqsTargetPtrOutput
type EventTargetSqsTargetInput ¶
type EventTargetSqsTargetInput interface { pulumi.Input ToEventTargetSqsTargetOutput() EventTargetSqsTargetOutput ToEventTargetSqsTargetOutputWithContext(context.Context) EventTargetSqsTargetOutput }
EventTargetSqsTargetInput is an input type that accepts EventTargetSqsTargetArgs and EventTargetSqsTargetOutput values. You can construct a concrete instance of `EventTargetSqsTargetInput` via:
EventTargetSqsTargetArgs{...}
type EventTargetSqsTargetOutput ¶
type EventTargetSqsTargetOutput struct{ *pulumi.OutputState }
func (EventTargetSqsTargetOutput) ElementType ¶
func (EventTargetSqsTargetOutput) ElementType() reflect.Type
func (EventTargetSqsTargetOutput) MessageGroupId ¶
func (o EventTargetSqsTargetOutput) MessageGroupId() pulumi.StringPtrOutput
The FIFO message group ID to use as the target.
func (EventTargetSqsTargetOutput) ToEventTargetSqsTargetOutput ¶
func (o EventTargetSqsTargetOutput) ToEventTargetSqsTargetOutput() EventTargetSqsTargetOutput
func (EventTargetSqsTargetOutput) ToEventTargetSqsTargetOutputWithContext ¶
func (o EventTargetSqsTargetOutput) ToEventTargetSqsTargetOutputWithContext(ctx context.Context) EventTargetSqsTargetOutput
func (EventTargetSqsTargetOutput) ToEventTargetSqsTargetPtrOutput ¶
func (o EventTargetSqsTargetOutput) ToEventTargetSqsTargetPtrOutput() EventTargetSqsTargetPtrOutput
func (EventTargetSqsTargetOutput) ToEventTargetSqsTargetPtrOutputWithContext ¶
func (o EventTargetSqsTargetOutput) ToEventTargetSqsTargetPtrOutputWithContext(ctx context.Context) EventTargetSqsTargetPtrOutput
type EventTargetSqsTargetPtrInput ¶
type EventTargetSqsTargetPtrInput interface { pulumi.Input ToEventTargetSqsTargetPtrOutput() EventTargetSqsTargetPtrOutput ToEventTargetSqsTargetPtrOutputWithContext(context.Context) EventTargetSqsTargetPtrOutput }
EventTargetSqsTargetPtrInput is an input type that accepts EventTargetSqsTargetArgs, EventTargetSqsTargetPtr and EventTargetSqsTargetPtrOutput values. You can construct a concrete instance of `EventTargetSqsTargetPtrInput` via:
EventTargetSqsTargetArgs{...} or: nil
func EventTargetSqsTargetPtr ¶
func EventTargetSqsTargetPtr(v *EventTargetSqsTargetArgs) EventTargetSqsTargetPtrInput
type EventTargetSqsTargetPtrOutput ¶
type EventTargetSqsTargetPtrOutput struct{ *pulumi.OutputState }
func (EventTargetSqsTargetPtrOutput) Elem ¶
func (o EventTargetSqsTargetPtrOutput) Elem() EventTargetSqsTargetOutput
func (EventTargetSqsTargetPtrOutput) ElementType ¶
func (EventTargetSqsTargetPtrOutput) ElementType() reflect.Type
func (EventTargetSqsTargetPtrOutput) MessageGroupId ¶
func (o EventTargetSqsTargetPtrOutput) MessageGroupId() pulumi.StringPtrOutput
The FIFO message group ID to use as the target.
func (EventTargetSqsTargetPtrOutput) ToEventTargetSqsTargetPtrOutput ¶
func (o EventTargetSqsTargetPtrOutput) ToEventTargetSqsTargetPtrOutput() EventTargetSqsTargetPtrOutput
func (EventTargetSqsTargetPtrOutput) ToEventTargetSqsTargetPtrOutputWithContext ¶
func (o EventTargetSqsTargetPtrOutput) ToEventTargetSqsTargetPtrOutputWithContext(ctx context.Context) EventTargetSqsTargetPtrOutput
type EventTargetState ¶
type EventTargetState struct { // - ARN of the SQS queue specified as the target for the dead-letter queue. Arn pulumi.StringPtrInput // Parameters used when you are using the rule to invoke an Amazon Batch Job. Documented below. A maximum of 1 are allowed. BatchTarget EventTargetBatchTargetPtrInput // Parameters used when you are providing a dead letter config. Documented below. A maximum of 1 are allowed. DeadLetterConfig EventTargetDeadLetterConfigPtrInput // Parameters used when you are using the rule to invoke Amazon ECS Task. Documented below. A maximum of 1 are allowed. EcsTarget EventTargetEcsTargetPtrInput // The event bus to associate with the rule. If you omit this, the `default` event bus is used. EventBusName pulumi.StringPtrInput // Parameters used when you are using the rule to invoke an API Gateway REST endpoint. Documented below. A maximum of 1 is allowed. HttpTarget EventTargetHttpTargetPtrInput // Valid JSON text passed to the target. Conflicts with `inputPath` and `inputTransformer`. Input pulumi.StringPtrInput // The value of the [JSONPath](http://goessner.net/articles/JsonPath/) that is used for extracting part of the matched event when passing it to the target. Conflicts with `input` and `inputTransformer`. InputPath pulumi.StringPtrInput // Parameters used when you are providing a custom input to a target based on certain event data. Conflicts with `input` and `inputPath`. InputTransformer EventTargetInputTransformerPtrInput // Parameters used when you are using the rule to invoke an Amazon Kinesis Stream. Documented below. A maximum of 1 are allowed. KinesisTarget EventTargetKinesisTargetPtrInput // Parameters used when you are using the rule to invoke an Amazon Redshift Statement. Documented below. A maximum of 1 are allowed. RedshiftTarget EventTargetRedshiftTargetPtrInput // Parameters used when you are providing retry policies. Documented below. A maximum of 1 are allowed. RetryPolicy EventTargetRetryPolicyPtrInput // The Amazon Resource Name (ARN) of the IAM role to be used for this target when the rule is triggered. Required if `ecsTarget` is used or target in `arn` is EC2 instance, Kinesis data stream, Step Functions state machine, or Event Bus in different account or region. RoleArn pulumi.StringPtrInput // The name of the rule you want to add targets to. Rule pulumi.StringPtrInput // Parameters used when you are using the rule to invoke Amazon EC2 Run Command. Documented below. A maximum of 5 are allowed. RunCommandTargets EventTargetRunCommandTargetArrayInput // Parameters used when you are using the rule to invoke an Amazon SQS Queue. Documented below. A maximum of 1 are allowed. SqsTarget EventTargetSqsTargetPtrInput // The unique target assignment ID. If missing, will generate a random, unique id. TargetId pulumi.StringPtrInput }
func (EventTargetState) ElementType ¶
func (EventTargetState) ElementType() reflect.Type
type GetEventSourceArgs ¶ added in v4.3.0
type GetEventSourceArgs struct { // Specifying this limits the results to only those partner event sources with names that start with the specified prefix NamePrefix *string `pulumi:"namePrefix"` }
A collection of arguments for invoking getEventSource.
type GetEventSourceOutputArgs ¶ added in v4.21.0
type GetEventSourceOutputArgs struct { // Specifying this limits the results to only those partner event sources with names that start with the specified prefix NamePrefix pulumi.StringPtrInput `pulumi:"namePrefix"` }
A collection of arguments for invoking getEventSource.
func (GetEventSourceOutputArgs) ElementType ¶ added in v4.21.0
func (GetEventSourceOutputArgs) ElementType() reflect.Type
type GetEventSourceResult ¶ added in v4.3.0
type GetEventSourceResult struct { // The ARN of the partner event source Arn string `pulumi:"arn"` // The name of the SaaS partner that created the event source CreatedBy string `pulumi:"createdBy"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The name of the event source Name string `pulumi:"name"` NamePrefix *string `pulumi:"namePrefix"` // The state of the event source (`ACTIVE` or `PENDING`) State string `pulumi:"state"` }
A collection of values returned by getEventSource.
func GetEventSource ¶ added in v4.3.0
func GetEventSource(ctx *pulumi.Context, args *GetEventSourceArgs, opts ...pulumi.InvokeOption) (*GetEventSourceResult, error)
Use this data source to get information about an EventBridge Partner Event Source. This data source will only return one partner event source. An error will be returned if multiple sources match the same name prefix.
> **Note:** EventBridge was formerly known as CloudWatch Events. The functionality is identical.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { opt0 := "aws.partner/examplepartner.com" _, err := cloudwatch.GetEventSource(ctx, &cloudwatch.GetEventSourceArgs{ NamePrefix: &opt0, }, nil) if err != nil { return err } return nil }) }
```
type GetEventSourceResultOutput ¶ added in v4.21.0
type GetEventSourceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEventSource.
func GetEventSourceOutput ¶ added in v4.21.0
func GetEventSourceOutput(ctx *pulumi.Context, args GetEventSourceOutputArgs, opts ...pulumi.InvokeOption) GetEventSourceResultOutput
func (GetEventSourceResultOutput) Arn ¶ added in v4.21.0
func (o GetEventSourceResultOutput) Arn() pulumi.StringOutput
The ARN of the partner event source
func (GetEventSourceResultOutput) CreatedBy ¶ added in v4.21.0
func (o GetEventSourceResultOutput) CreatedBy() pulumi.StringOutput
The name of the SaaS partner that created the event source
func (GetEventSourceResultOutput) ElementType ¶ added in v4.21.0
func (GetEventSourceResultOutput) ElementType() reflect.Type
func (GetEventSourceResultOutput) Id ¶ added in v4.21.0
func (o GetEventSourceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetEventSourceResultOutput) Name ¶ added in v4.21.0
func (o GetEventSourceResultOutput) Name() pulumi.StringOutput
The name of the event source
func (GetEventSourceResultOutput) NamePrefix ¶ added in v4.21.0
func (o GetEventSourceResultOutput) NamePrefix() pulumi.StringPtrOutput
func (GetEventSourceResultOutput) State ¶ added in v4.21.0
func (o GetEventSourceResultOutput) State() pulumi.StringOutput
The state of the event source (`ACTIVE` or `PENDING`)
func (GetEventSourceResultOutput) ToGetEventSourceResultOutput ¶ added in v4.21.0
func (o GetEventSourceResultOutput) ToGetEventSourceResultOutput() GetEventSourceResultOutput
func (GetEventSourceResultOutput) ToGetEventSourceResultOutputWithContext ¶ added in v4.21.0
func (o GetEventSourceResultOutput) ToGetEventSourceResultOutputWithContext(ctx context.Context) GetEventSourceResultOutput
type GetLogGroupsArgs ¶ added in v4.22.0
type GetLogGroupsArgs struct { // The group prefix of the Cloudwatch log groups to list LogGroupNamePrefix string `pulumi:"logGroupNamePrefix"` }
A collection of arguments for invoking getLogGroups.
type GetLogGroupsOutputArgs ¶ added in v4.22.0
type GetLogGroupsOutputArgs struct { // The group prefix of the Cloudwatch log groups to list LogGroupNamePrefix pulumi.StringInput `pulumi:"logGroupNamePrefix"` }
A collection of arguments for invoking getLogGroups.
func (GetLogGroupsOutputArgs) ElementType ¶ added in v4.22.0
func (GetLogGroupsOutputArgs) ElementType() reflect.Type
type GetLogGroupsResult ¶ added in v4.22.0
type GetLogGroupsResult struct { // Set of ARNs of the Cloudwatch log groups Arns []string `pulumi:"arns"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` LogGroupNamePrefix string `pulumi:"logGroupNamePrefix"` // Set of names of the Cloudwatch log groups LogGroupNames []string `pulumi:"logGroupNames"` }
A collection of values returned by getLogGroups.
func GetLogGroups ¶ added in v4.22.0
func GetLogGroups(ctx *pulumi.Context, args *GetLogGroupsArgs, opts ...pulumi.InvokeOption) (*GetLogGroupsResult, error)
Use this data source to get a list of AWS Cloudwatch Log Groups
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudwatch.GetLogGroups(ctx, &cloudwatch.GetLogGroupsArgs{ LogGroupNamePrefix: "/MyImportantLogs", }, nil) if err != nil { return err } return nil }) }
```
type GetLogGroupsResultOutput ¶ added in v4.22.0
type GetLogGroupsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLogGroups.
func GetLogGroupsOutput ¶ added in v4.22.0
func GetLogGroupsOutput(ctx *pulumi.Context, args GetLogGroupsOutputArgs, opts ...pulumi.InvokeOption) GetLogGroupsResultOutput
func (GetLogGroupsResultOutput) Arns ¶ added in v4.22.0
func (o GetLogGroupsResultOutput) Arns() pulumi.StringArrayOutput
Set of ARNs of the Cloudwatch log groups
func (GetLogGroupsResultOutput) ElementType ¶ added in v4.22.0
func (GetLogGroupsResultOutput) ElementType() reflect.Type
func (GetLogGroupsResultOutput) Id ¶ added in v4.22.0
func (o GetLogGroupsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetLogGroupsResultOutput) LogGroupNamePrefix ¶ added in v4.22.0
func (o GetLogGroupsResultOutput) LogGroupNamePrefix() pulumi.StringOutput
func (GetLogGroupsResultOutput) LogGroupNames ¶ added in v4.22.0
func (o GetLogGroupsResultOutput) LogGroupNames() pulumi.StringArrayOutput
Set of names of the Cloudwatch log groups
func (GetLogGroupsResultOutput) ToGetLogGroupsResultOutput ¶ added in v4.22.0
func (o GetLogGroupsResultOutput) ToGetLogGroupsResultOutput() GetLogGroupsResultOutput
func (GetLogGroupsResultOutput) ToGetLogGroupsResultOutputWithContext ¶ added in v4.22.0
func (o GetLogGroupsResultOutput) ToGetLogGroupsResultOutputWithContext(ctx context.Context) GetLogGroupsResultOutput
type LogDestination ¶
type LogDestination struct { pulumi.CustomResourceState // The Amazon Resource Name (ARN) specifying the log destination. Arn pulumi.StringOutput `pulumi:"arn"` // A name for the log destination Name pulumi.StringOutput `pulumi:"name"` // The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to put data into the target RoleArn pulumi.StringOutput `pulumi:"roleArn"` // The ARN of the target Amazon Kinesis stream resource for the destination TargetArn pulumi.StringOutput `pulumi:"targetArn"` }
Provides a CloudWatch Logs destination resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudwatch.NewLogDestination(ctx, "testDestination", &cloudwatch.LogDestinationArgs{ RoleArn: pulumi.Any(aws_iam_role.Iam_for_cloudwatch.Arn), TargetArn: pulumi.Any(aws_kinesis_stream.Kinesis_for_cloudwatch.Arn), }) if err != nil { return err } return nil }) }
```
## Import
CloudWatch Logs destinations can be imported using the `name`, e.g.,
```sh
$ pulumi import aws:cloudwatch/logDestination:LogDestination test_destination test_destination
```
func GetLogDestination ¶
func GetLogDestination(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LogDestinationState, opts ...pulumi.ResourceOption) (*LogDestination, error)
GetLogDestination gets an existing LogDestination 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 NewLogDestination ¶
func NewLogDestination(ctx *pulumi.Context, name string, args *LogDestinationArgs, opts ...pulumi.ResourceOption) (*LogDestination, error)
NewLogDestination registers a new resource with the given unique name, arguments, and options.
func (*LogDestination) ElementType ¶
func (*LogDestination) ElementType() reflect.Type
func (*LogDestination) ToLogDestinationOutput ¶
func (i *LogDestination) ToLogDestinationOutput() LogDestinationOutput
func (*LogDestination) ToLogDestinationOutputWithContext ¶
func (i *LogDestination) ToLogDestinationOutputWithContext(ctx context.Context) LogDestinationOutput
type LogDestinationArgs ¶
type LogDestinationArgs struct { // A name for the log destination Name pulumi.StringPtrInput // The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to put data into the target RoleArn pulumi.StringInput // The ARN of the target Amazon Kinesis stream resource for the destination TargetArn pulumi.StringInput }
The set of arguments for constructing a LogDestination resource.
func (LogDestinationArgs) ElementType ¶
func (LogDestinationArgs) ElementType() reflect.Type
type LogDestinationArray ¶
type LogDestinationArray []LogDestinationInput
func (LogDestinationArray) ElementType ¶
func (LogDestinationArray) ElementType() reflect.Type
func (LogDestinationArray) ToLogDestinationArrayOutput ¶
func (i LogDestinationArray) ToLogDestinationArrayOutput() LogDestinationArrayOutput
func (LogDestinationArray) ToLogDestinationArrayOutputWithContext ¶
func (i LogDestinationArray) ToLogDestinationArrayOutputWithContext(ctx context.Context) LogDestinationArrayOutput
type LogDestinationArrayInput ¶
type LogDestinationArrayInput interface { pulumi.Input ToLogDestinationArrayOutput() LogDestinationArrayOutput ToLogDestinationArrayOutputWithContext(context.Context) LogDestinationArrayOutput }
LogDestinationArrayInput is an input type that accepts LogDestinationArray and LogDestinationArrayOutput values. You can construct a concrete instance of `LogDestinationArrayInput` via:
LogDestinationArray{ LogDestinationArgs{...} }
type LogDestinationArrayOutput ¶
type LogDestinationArrayOutput struct{ *pulumi.OutputState }
func (LogDestinationArrayOutput) ElementType ¶
func (LogDestinationArrayOutput) ElementType() reflect.Type
func (LogDestinationArrayOutput) Index ¶
func (o LogDestinationArrayOutput) Index(i pulumi.IntInput) LogDestinationOutput
func (LogDestinationArrayOutput) ToLogDestinationArrayOutput ¶
func (o LogDestinationArrayOutput) ToLogDestinationArrayOutput() LogDestinationArrayOutput
func (LogDestinationArrayOutput) ToLogDestinationArrayOutputWithContext ¶
func (o LogDestinationArrayOutput) ToLogDestinationArrayOutputWithContext(ctx context.Context) LogDestinationArrayOutput
type LogDestinationInput ¶
type LogDestinationInput interface { pulumi.Input ToLogDestinationOutput() LogDestinationOutput ToLogDestinationOutputWithContext(ctx context.Context) LogDestinationOutput }
type LogDestinationMap ¶
type LogDestinationMap map[string]LogDestinationInput
func (LogDestinationMap) ElementType ¶
func (LogDestinationMap) ElementType() reflect.Type
func (LogDestinationMap) ToLogDestinationMapOutput ¶
func (i LogDestinationMap) ToLogDestinationMapOutput() LogDestinationMapOutput
func (LogDestinationMap) ToLogDestinationMapOutputWithContext ¶
func (i LogDestinationMap) ToLogDestinationMapOutputWithContext(ctx context.Context) LogDestinationMapOutput
type LogDestinationMapInput ¶
type LogDestinationMapInput interface { pulumi.Input ToLogDestinationMapOutput() LogDestinationMapOutput ToLogDestinationMapOutputWithContext(context.Context) LogDestinationMapOutput }
LogDestinationMapInput is an input type that accepts LogDestinationMap and LogDestinationMapOutput values. You can construct a concrete instance of `LogDestinationMapInput` via:
LogDestinationMap{ "key": LogDestinationArgs{...} }
type LogDestinationMapOutput ¶
type LogDestinationMapOutput struct{ *pulumi.OutputState }
func (LogDestinationMapOutput) ElementType ¶
func (LogDestinationMapOutput) ElementType() reflect.Type
func (LogDestinationMapOutput) MapIndex ¶
func (o LogDestinationMapOutput) MapIndex(k pulumi.StringInput) LogDestinationOutput
func (LogDestinationMapOutput) ToLogDestinationMapOutput ¶
func (o LogDestinationMapOutput) ToLogDestinationMapOutput() LogDestinationMapOutput
func (LogDestinationMapOutput) ToLogDestinationMapOutputWithContext ¶
func (o LogDestinationMapOutput) ToLogDestinationMapOutputWithContext(ctx context.Context) LogDestinationMapOutput
type LogDestinationOutput ¶
type LogDestinationOutput struct{ *pulumi.OutputState }
func (LogDestinationOutput) ElementType ¶
func (LogDestinationOutput) ElementType() reflect.Type
func (LogDestinationOutput) ToLogDestinationOutput ¶
func (o LogDestinationOutput) ToLogDestinationOutput() LogDestinationOutput
func (LogDestinationOutput) ToLogDestinationOutputWithContext ¶
func (o LogDestinationOutput) ToLogDestinationOutputWithContext(ctx context.Context) LogDestinationOutput
type LogDestinationPolicy ¶
type LogDestinationPolicy struct { pulumi.CustomResourceState // The policy document. This is a JSON formatted string. AccessPolicy pulumi.StringOutput `pulumi:"accessPolicy"` // A name for the subscription filter DestinationName pulumi.StringOutput `pulumi:"destinationName"` // Specify true if you are updating an existing destination policy to grant permission to an organization ID instead of granting permission to individual AWS accounts. ForceUpdate pulumi.BoolPtrOutput `pulumi:"forceUpdate"` }
Provides a CloudWatch Logs destination policy resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/iam" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { testDestination, err := cloudwatch.NewLogDestination(ctx, "testDestination", &cloudwatch.LogDestinationArgs{ RoleArn: pulumi.Any(aws_iam_role.Iam_for_cloudwatch.Arn), TargetArn: pulumi.Any(aws_kinesis_stream.Kinesis_for_cloudwatch.Arn), }) if err != nil { return err } testDestinationPolicyPolicyDocument := iam.GetPolicyDocumentOutput(ctx, iam.GetPolicyDocumentOutputArgs{ Statements: iam.GetPolicyDocumentStatementArray{ &iam.GetPolicyDocumentStatementArgs{ Effect: pulumi.String("Allow"), Principals: iam.GetPolicyDocumentStatementPrincipalArray{ &iam.GetPolicyDocumentStatementPrincipalArgs{ Type: pulumi.String("AWS"), Identifiers: pulumi.StringArray{ pulumi.String("123456789012"), }, }, }, Actions: pulumi.StringArray{ pulumi.String("logs:PutSubscriptionFilter"), }, Resources: pulumi.StringArray{ testDestination.Arn, }, }, }, }, nil) _, err = cloudwatch.NewLogDestinationPolicy(ctx, "testDestinationPolicyLogDestinationPolicy", &cloudwatch.LogDestinationPolicyArgs{ DestinationName: testDestination.Name, AccessPolicy: testDestinationPolicyPolicyDocument.ApplyT(func(testDestinationPolicyPolicyDocument iam.GetPolicyDocumentResult) (string, error) { return testDestinationPolicyPolicyDocument.Json, nil }).(pulumi.StringOutput), }) if err != nil { return err } return nil }) }
```
## Import
CloudWatch Logs destination policies can be imported using the `destination_name`, e.g.,
```sh
$ pulumi import aws:cloudwatch/logDestinationPolicy:LogDestinationPolicy test_destination_policy test_destination
```
func GetLogDestinationPolicy ¶
func GetLogDestinationPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LogDestinationPolicyState, opts ...pulumi.ResourceOption) (*LogDestinationPolicy, error)
GetLogDestinationPolicy gets an existing LogDestinationPolicy 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 NewLogDestinationPolicy ¶
func NewLogDestinationPolicy(ctx *pulumi.Context, name string, args *LogDestinationPolicyArgs, opts ...pulumi.ResourceOption) (*LogDestinationPolicy, error)
NewLogDestinationPolicy registers a new resource with the given unique name, arguments, and options.
func (*LogDestinationPolicy) ElementType ¶
func (*LogDestinationPolicy) ElementType() reflect.Type
func (*LogDestinationPolicy) ToLogDestinationPolicyOutput ¶
func (i *LogDestinationPolicy) ToLogDestinationPolicyOutput() LogDestinationPolicyOutput
func (*LogDestinationPolicy) ToLogDestinationPolicyOutputWithContext ¶
func (i *LogDestinationPolicy) ToLogDestinationPolicyOutputWithContext(ctx context.Context) LogDestinationPolicyOutput
type LogDestinationPolicyArgs ¶
type LogDestinationPolicyArgs struct { // The policy document. This is a JSON formatted string. AccessPolicy pulumi.StringInput // A name for the subscription filter DestinationName pulumi.StringInput // Specify true if you are updating an existing destination policy to grant permission to an organization ID instead of granting permission to individual AWS accounts. ForceUpdate pulumi.BoolPtrInput }
The set of arguments for constructing a LogDestinationPolicy resource.
func (LogDestinationPolicyArgs) ElementType ¶
func (LogDestinationPolicyArgs) ElementType() reflect.Type
type LogDestinationPolicyArray ¶
type LogDestinationPolicyArray []LogDestinationPolicyInput
func (LogDestinationPolicyArray) ElementType ¶
func (LogDestinationPolicyArray) ElementType() reflect.Type
func (LogDestinationPolicyArray) ToLogDestinationPolicyArrayOutput ¶
func (i LogDestinationPolicyArray) ToLogDestinationPolicyArrayOutput() LogDestinationPolicyArrayOutput
func (LogDestinationPolicyArray) ToLogDestinationPolicyArrayOutputWithContext ¶
func (i LogDestinationPolicyArray) ToLogDestinationPolicyArrayOutputWithContext(ctx context.Context) LogDestinationPolicyArrayOutput
type LogDestinationPolicyArrayInput ¶
type LogDestinationPolicyArrayInput interface { pulumi.Input ToLogDestinationPolicyArrayOutput() LogDestinationPolicyArrayOutput ToLogDestinationPolicyArrayOutputWithContext(context.Context) LogDestinationPolicyArrayOutput }
LogDestinationPolicyArrayInput is an input type that accepts LogDestinationPolicyArray and LogDestinationPolicyArrayOutput values. You can construct a concrete instance of `LogDestinationPolicyArrayInput` via:
LogDestinationPolicyArray{ LogDestinationPolicyArgs{...} }
type LogDestinationPolicyArrayOutput ¶
type LogDestinationPolicyArrayOutput struct{ *pulumi.OutputState }
func (LogDestinationPolicyArrayOutput) ElementType ¶
func (LogDestinationPolicyArrayOutput) ElementType() reflect.Type
func (LogDestinationPolicyArrayOutput) Index ¶
func (o LogDestinationPolicyArrayOutput) Index(i pulumi.IntInput) LogDestinationPolicyOutput
func (LogDestinationPolicyArrayOutput) ToLogDestinationPolicyArrayOutput ¶
func (o LogDestinationPolicyArrayOutput) ToLogDestinationPolicyArrayOutput() LogDestinationPolicyArrayOutput
func (LogDestinationPolicyArrayOutput) ToLogDestinationPolicyArrayOutputWithContext ¶
func (o LogDestinationPolicyArrayOutput) ToLogDestinationPolicyArrayOutputWithContext(ctx context.Context) LogDestinationPolicyArrayOutput
type LogDestinationPolicyInput ¶
type LogDestinationPolicyInput interface { pulumi.Input ToLogDestinationPolicyOutput() LogDestinationPolicyOutput ToLogDestinationPolicyOutputWithContext(ctx context.Context) LogDestinationPolicyOutput }
type LogDestinationPolicyMap ¶
type LogDestinationPolicyMap map[string]LogDestinationPolicyInput
func (LogDestinationPolicyMap) ElementType ¶
func (LogDestinationPolicyMap) ElementType() reflect.Type
func (LogDestinationPolicyMap) ToLogDestinationPolicyMapOutput ¶
func (i LogDestinationPolicyMap) ToLogDestinationPolicyMapOutput() LogDestinationPolicyMapOutput
func (LogDestinationPolicyMap) ToLogDestinationPolicyMapOutputWithContext ¶
func (i LogDestinationPolicyMap) ToLogDestinationPolicyMapOutputWithContext(ctx context.Context) LogDestinationPolicyMapOutput
type LogDestinationPolicyMapInput ¶
type LogDestinationPolicyMapInput interface { pulumi.Input ToLogDestinationPolicyMapOutput() LogDestinationPolicyMapOutput ToLogDestinationPolicyMapOutputWithContext(context.Context) LogDestinationPolicyMapOutput }
LogDestinationPolicyMapInput is an input type that accepts LogDestinationPolicyMap and LogDestinationPolicyMapOutput values. You can construct a concrete instance of `LogDestinationPolicyMapInput` via:
LogDestinationPolicyMap{ "key": LogDestinationPolicyArgs{...} }
type LogDestinationPolicyMapOutput ¶
type LogDestinationPolicyMapOutput struct{ *pulumi.OutputState }
func (LogDestinationPolicyMapOutput) ElementType ¶
func (LogDestinationPolicyMapOutput) ElementType() reflect.Type
func (LogDestinationPolicyMapOutput) MapIndex ¶
func (o LogDestinationPolicyMapOutput) MapIndex(k pulumi.StringInput) LogDestinationPolicyOutput
func (LogDestinationPolicyMapOutput) ToLogDestinationPolicyMapOutput ¶
func (o LogDestinationPolicyMapOutput) ToLogDestinationPolicyMapOutput() LogDestinationPolicyMapOutput
func (LogDestinationPolicyMapOutput) ToLogDestinationPolicyMapOutputWithContext ¶
func (o LogDestinationPolicyMapOutput) ToLogDestinationPolicyMapOutputWithContext(ctx context.Context) LogDestinationPolicyMapOutput
type LogDestinationPolicyOutput ¶
type LogDestinationPolicyOutput struct{ *pulumi.OutputState }
func (LogDestinationPolicyOutput) ElementType ¶
func (LogDestinationPolicyOutput) ElementType() reflect.Type
func (LogDestinationPolicyOutput) ToLogDestinationPolicyOutput ¶
func (o LogDestinationPolicyOutput) ToLogDestinationPolicyOutput() LogDestinationPolicyOutput
func (LogDestinationPolicyOutput) ToLogDestinationPolicyOutputWithContext ¶
func (o LogDestinationPolicyOutput) ToLogDestinationPolicyOutputWithContext(ctx context.Context) LogDestinationPolicyOutput
type LogDestinationPolicyState ¶
type LogDestinationPolicyState struct { // The policy document. This is a JSON formatted string. AccessPolicy pulumi.StringPtrInput // A name for the subscription filter DestinationName pulumi.StringPtrInput // Specify true if you are updating an existing destination policy to grant permission to an organization ID instead of granting permission to individual AWS accounts. ForceUpdate pulumi.BoolPtrInput }
func (LogDestinationPolicyState) ElementType ¶
func (LogDestinationPolicyState) ElementType() reflect.Type
type LogDestinationState ¶
type LogDestinationState struct { // The Amazon Resource Name (ARN) specifying the log destination. Arn pulumi.StringPtrInput // A name for the log destination Name pulumi.StringPtrInput // The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to put data into the target RoleArn pulumi.StringPtrInput // The ARN of the target Amazon Kinesis stream resource for the destination TargetArn pulumi.StringPtrInput }
func (LogDestinationState) ElementType ¶
func (LogDestinationState) ElementType() reflect.Type
type LogGroup ¶
type LogGroup struct { pulumi.CustomResourceState // The Amazon Resource Name (ARN) specifying the log group. Any `:*` suffix added by the API, denoting all CloudWatch Log Streams under the CloudWatch Log Group, is removed for greater compatibility with other AWS services that do not accept the suffix. Arn pulumi.StringOutput `pulumi:"arn"` // The ARN of the KMS Key to use when encrypting log data. Please note, after the AWS KMS CMK is disassociated from the log group, // AWS CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and AWS CloudWatch Logs requires // permissions for the CMK whenever the encrypted data is requested. KmsKeyId pulumi.StringPtrOutput `pulumi:"kmsKeyId"` // The name of the log group. If omitted, this provider will assign a random, unique name. Name pulumi.StringOutput `pulumi:"name"` // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"` // Specifies the number of days // you want to retain log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 3653, and 0. // If you select 0, the events in the log group are always retained and never expire. RetentionInDays pulumi.IntPtrOutput `pulumi:"retentionInDays"` // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a CloudWatch Log Group resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudwatch.NewLogGroup(ctx, "yada", &cloudwatch.LogGroupArgs{ Tags: pulumi.StringMap{ "Application": pulumi.String("serviceA"), "Environment": pulumi.String("production"), }, }) if err != nil { return err } return nil }) }
```
## Import
Cloudwatch Log Groups can be imported using the `name`, e.g.,
```sh
$ pulumi import aws:cloudwatch/logGroup:LogGroup test_group yada
```
func GetLogGroup ¶
func GetLogGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LogGroupState, opts ...pulumi.ResourceOption) (*LogGroup, error)
GetLogGroup gets an existing LogGroup 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 NewLogGroup ¶
func NewLogGroup(ctx *pulumi.Context, name string, args *LogGroupArgs, opts ...pulumi.ResourceOption) (*LogGroup, error)
NewLogGroup registers a new resource with the given unique name, arguments, and options.
func (*LogGroup) ElementType ¶
func (*LogGroup) ToLogGroupOutput ¶
func (i *LogGroup) ToLogGroupOutput() LogGroupOutput
func (*LogGroup) ToLogGroupOutputWithContext ¶
func (i *LogGroup) ToLogGroupOutputWithContext(ctx context.Context) LogGroupOutput
type LogGroupArgs ¶
type LogGroupArgs struct { // The ARN of the KMS Key to use when encrypting log data. Please note, after the AWS KMS CMK is disassociated from the log group, // AWS CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and AWS CloudWatch Logs requires // permissions for the CMK whenever the encrypted data is requested. KmsKeyId pulumi.StringPtrInput // The name of the log group. If omitted, this provider will assign a random, unique name. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrInput // Specifies the number of days // you want to retain log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 3653, and 0. // If you select 0, the events in the log group are always retained and never expire. RetentionInDays pulumi.IntPtrInput // 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 LogGroup resource.
func (LogGroupArgs) ElementType ¶
func (LogGroupArgs) ElementType() reflect.Type
type LogGroupArray ¶
type LogGroupArray []LogGroupInput
func (LogGroupArray) ElementType ¶
func (LogGroupArray) ElementType() reflect.Type
func (LogGroupArray) ToLogGroupArrayOutput ¶
func (i LogGroupArray) ToLogGroupArrayOutput() LogGroupArrayOutput
func (LogGroupArray) ToLogGroupArrayOutputWithContext ¶
func (i LogGroupArray) ToLogGroupArrayOutputWithContext(ctx context.Context) LogGroupArrayOutput
type LogGroupArrayInput ¶
type LogGroupArrayInput interface { pulumi.Input ToLogGroupArrayOutput() LogGroupArrayOutput ToLogGroupArrayOutputWithContext(context.Context) LogGroupArrayOutput }
LogGroupArrayInput is an input type that accepts LogGroupArray and LogGroupArrayOutput values. You can construct a concrete instance of `LogGroupArrayInput` via:
LogGroupArray{ LogGroupArgs{...} }
type LogGroupArrayOutput ¶
type LogGroupArrayOutput struct{ *pulumi.OutputState }
func (LogGroupArrayOutput) ElementType ¶
func (LogGroupArrayOutput) ElementType() reflect.Type
func (LogGroupArrayOutput) Index ¶
func (o LogGroupArrayOutput) Index(i pulumi.IntInput) LogGroupOutput
func (LogGroupArrayOutput) ToLogGroupArrayOutput ¶
func (o LogGroupArrayOutput) ToLogGroupArrayOutput() LogGroupArrayOutput
func (LogGroupArrayOutput) ToLogGroupArrayOutputWithContext ¶
func (o LogGroupArrayOutput) ToLogGroupArrayOutputWithContext(ctx context.Context) LogGroupArrayOutput
type LogGroupInput ¶
type LogGroupInput interface { pulumi.Input ToLogGroupOutput() LogGroupOutput ToLogGroupOutputWithContext(ctx context.Context) LogGroupOutput }
type LogGroupMap ¶
type LogGroupMap map[string]LogGroupInput
func (LogGroupMap) ElementType ¶
func (LogGroupMap) ElementType() reflect.Type
func (LogGroupMap) ToLogGroupMapOutput ¶
func (i LogGroupMap) ToLogGroupMapOutput() LogGroupMapOutput
func (LogGroupMap) ToLogGroupMapOutputWithContext ¶
func (i LogGroupMap) ToLogGroupMapOutputWithContext(ctx context.Context) LogGroupMapOutput
type LogGroupMapInput ¶
type LogGroupMapInput interface { pulumi.Input ToLogGroupMapOutput() LogGroupMapOutput ToLogGroupMapOutputWithContext(context.Context) LogGroupMapOutput }
LogGroupMapInput is an input type that accepts LogGroupMap and LogGroupMapOutput values. You can construct a concrete instance of `LogGroupMapInput` via:
LogGroupMap{ "key": LogGroupArgs{...} }
type LogGroupMapOutput ¶
type LogGroupMapOutput struct{ *pulumi.OutputState }
func (LogGroupMapOutput) ElementType ¶
func (LogGroupMapOutput) ElementType() reflect.Type
func (LogGroupMapOutput) MapIndex ¶
func (o LogGroupMapOutput) MapIndex(k pulumi.StringInput) LogGroupOutput
func (LogGroupMapOutput) ToLogGroupMapOutput ¶
func (o LogGroupMapOutput) ToLogGroupMapOutput() LogGroupMapOutput
func (LogGroupMapOutput) ToLogGroupMapOutputWithContext ¶
func (o LogGroupMapOutput) ToLogGroupMapOutputWithContext(ctx context.Context) LogGroupMapOutput
type LogGroupOutput ¶
type LogGroupOutput struct{ *pulumi.OutputState }
func (LogGroupOutput) ElementType ¶
func (LogGroupOutput) ElementType() reflect.Type
func (LogGroupOutput) ToLogGroupOutput ¶
func (o LogGroupOutput) ToLogGroupOutput() LogGroupOutput
func (LogGroupOutput) ToLogGroupOutputWithContext ¶
func (o LogGroupOutput) ToLogGroupOutputWithContext(ctx context.Context) LogGroupOutput
type LogGroupState ¶
type LogGroupState struct { // The Amazon Resource Name (ARN) specifying the log group. Any `:*` suffix added by the API, denoting all CloudWatch Log Streams under the CloudWatch Log Group, is removed for greater compatibility with other AWS services that do not accept the suffix. Arn pulumi.StringPtrInput // The ARN of the KMS Key to use when encrypting log data. Please note, after the AWS KMS CMK is disassociated from the log group, // AWS CloudWatch Logs stops encrypting newly ingested data for the log group. All previously ingested data remains encrypted, and AWS CloudWatch Logs requires // permissions for the CMK whenever the encrypted data is requested. KmsKeyId pulumi.StringPtrInput // The name of the log group. If omitted, this provider will assign a random, unique name. Name pulumi.StringPtrInput // Creates a unique name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrInput // Specifies the number of days // you want to retain log events in the specified log group. Possible values are: 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, 3653, and 0. // If you select 0, the events in the log group are always retained and never expire. RetentionInDays pulumi.IntPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapInput }
func (LogGroupState) ElementType ¶
func (LogGroupState) ElementType() reflect.Type
type LogMetricFilter ¶
type LogMetricFilter struct { pulumi.CustomResourceState // The name of the log group to associate the metric filter with. LogGroupName pulumi.StringOutput `pulumi:"logGroupName"` // A block defining collection of information needed to define how metric data gets emitted. See below. MetricTransformation LogMetricFilterMetricTransformationOutput `pulumi:"metricTransformation"` // A name for the metric filter. Name pulumi.StringOutput `pulumi:"name"` // A valid [CloudWatch Logs filter pattern](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/FilterAndPatternSyntax.html) // for extracting metric data out of ingested log events. Pattern pulumi.StringOutput `pulumi:"pattern"` }
Provides a CloudWatch Log Metric Filter resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { dada, err := cloudwatch.NewLogGroup(ctx, "dada", nil) if err != nil { return err } _, err = cloudwatch.NewLogMetricFilter(ctx, "yada", &cloudwatch.LogMetricFilterArgs{ Pattern: pulumi.String(""), LogGroupName: dada.Name, MetricTransformation: &cloudwatch.LogMetricFilterMetricTransformationArgs{ Name: pulumi.String("EventCount"), Namespace: pulumi.String("YourNamespace"), Value: pulumi.String("1"), }, }) if err != nil { return err } return nil }) }
```
## Import
CloudWatch Log Metric Filter can be imported using the `log_group_name:name`, e.g.,
```sh
$ pulumi import aws:cloudwatch/logMetricFilter:LogMetricFilter test /aws/lambda/function:test
```
func GetLogMetricFilter ¶
func GetLogMetricFilter(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LogMetricFilterState, opts ...pulumi.ResourceOption) (*LogMetricFilter, error)
GetLogMetricFilter gets an existing LogMetricFilter 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 NewLogMetricFilter ¶
func NewLogMetricFilter(ctx *pulumi.Context, name string, args *LogMetricFilterArgs, opts ...pulumi.ResourceOption) (*LogMetricFilter, error)
NewLogMetricFilter registers a new resource with the given unique name, arguments, and options.
func (*LogMetricFilter) ElementType ¶
func (*LogMetricFilter) ElementType() reflect.Type
func (*LogMetricFilter) ToLogMetricFilterOutput ¶
func (i *LogMetricFilter) ToLogMetricFilterOutput() LogMetricFilterOutput
func (*LogMetricFilter) ToLogMetricFilterOutputWithContext ¶
func (i *LogMetricFilter) ToLogMetricFilterOutputWithContext(ctx context.Context) LogMetricFilterOutput
type LogMetricFilterArgs ¶
type LogMetricFilterArgs struct { // The name of the log group to associate the metric filter with. LogGroupName pulumi.StringInput // A block defining collection of information needed to define how metric data gets emitted. See below. MetricTransformation LogMetricFilterMetricTransformationInput // A name for the metric filter. Name pulumi.StringPtrInput // A valid [CloudWatch Logs filter pattern](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/FilterAndPatternSyntax.html) // for extracting metric data out of ingested log events. Pattern pulumi.StringInput }
The set of arguments for constructing a LogMetricFilter resource.
func (LogMetricFilterArgs) ElementType ¶
func (LogMetricFilterArgs) ElementType() reflect.Type
type LogMetricFilterArray ¶
type LogMetricFilterArray []LogMetricFilterInput
func (LogMetricFilterArray) ElementType ¶
func (LogMetricFilterArray) ElementType() reflect.Type
func (LogMetricFilterArray) ToLogMetricFilterArrayOutput ¶
func (i LogMetricFilterArray) ToLogMetricFilterArrayOutput() LogMetricFilterArrayOutput
func (LogMetricFilterArray) ToLogMetricFilterArrayOutputWithContext ¶
func (i LogMetricFilterArray) ToLogMetricFilterArrayOutputWithContext(ctx context.Context) LogMetricFilterArrayOutput
type LogMetricFilterArrayInput ¶
type LogMetricFilterArrayInput interface { pulumi.Input ToLogMetricFilterArrayOutput() LogMetricFilterArrayOutput ToLogMetricFilterArrayOutputWithContext(context.Context) LogMetricFilterArrayOutput }
LogMetricFilterArrayInput is an input type that accepts LogMetricFilterArray and LogMetricFilterArrayOutput values. You can construct a concrete instance of `LogMetricFilterArrayInput` via:
LogMetricFilterArray{ LogMetricFilterArgs{...} }
type LogMetricFilterArrayOutput ¶
type LogMetricFilterArrayOutput struct{ *pulumi.OutputState }
func (LogMetricFilterArrayOutput) ElementType ¶
func (LogMetricFilterArrayOutput) ElementType() reflect.Type
func (LogMetricFilterArrayOutput) Index ¶
func (o LogMetricFilterArrayOutput) Index(i pulumi.IntInput) LogMetricFilterOutput
func (LogMetricFilterArrayOutput) ToLogMetricFilterArrayOutput ¶
func (o LogMetricFilterArrayOutput) ToLogMetricFilterArrayOutput() LogMetricFilterArrayOutput
func (LogMetricFilterArrayOutput) ToLogMetricFilterArrayOutputWithContext ¶
func (o LogMetricFilterArrayOutput) ToLogMetricFilterArrayOutputWithContext(ctx context.Context) LogMetricFilterArrayOutput
type LogMetricFilterInput ¶
type LogMetricFilterInput interface { pulumi.Input ToLogMetricFilterOutput() LogMetricFilterOutput ToLogMetricFilterOutputWithContext(ctx context.Context) LogMetricFilterOutput }
type LogMetricFilterMap ¶
type LogMetricFilterMap map[string]LogMetricFilterInput
func (LogMetricFilterMap) ElementType ¶
func (LogMetricFilterMap) ElementType() reflect.Type
func (LogMetricFilterMap) ToLogMetricFilterMapOutput ¶
func (i LogMetricFilterMap) ToLogMetricFilterMapOutput() LogMetricFilterMapOutput
func (LogMetricFilterMap) ToLogMetricFilterMapOutputWithContext ¶
func (i LogMetricFilterMap) ToLogMetricFilterMapOutputWithContext(ctx context.Context) LogMetricFilterMapOutput
type LogMetricFilterMapInput ¶
type LogMetricFilterMapInput interface { pulumi.Input ToLogMetricFilterMapOutput() LogMetricFilterMapOutput ToLogMetricFilterMapOutputWithContext(context.Context) LogMetricFilterMapOutput }
LogMetricFilterMapInput is an input type that accepts LogMetricFilterMap and LogMetricFilterMapOutput values. You can construct a concrete instance of `LogMetricFilterMapInput` via:
LogMetricFilterMap{ "key": LogMetricFilterArgs{...} }
type LogMetricFilterMapOutput ¶
type LogMetricFilterMapOutput struct{ *pulumi.OutputState }
func (LogMetricFilterMapOutput) ElementType ¶
func (LogMetricFilterMapOutput) ElementType() reflect.Type
func (LogMetricFilterMapOutput) MapIndex ¶
func (o LogMetricFilterMapOutput) MapIndex(k pulumi.StringInput) LogMetricFilterOutput
func (LogMetricFilterMapOutput) ToLogMetricFilterMapOutput ¶
func (o LogMetricFilterMapOutput) ToLogMetricFilterMapOutput() LogMetricFilterMapOutput
func (LogMetricFilterMapOutput) ToLogMetricFilterMapOutputWithContext ¶
func (o LogMetricFilterMapOutput) ToLogMetricFilterMapOutputWithContext(ctx context.Context) LogMetricFilterMapOutput
type LogMetricFilterMetricTransformation ¶
type LogMetricFilterMetricTransformation struct { // The value to emit when a filter pattern does not match a log event. Conflicts with `dimensions`. DefaultValue *string `pulumi:"defaultValue"` // Map of fields to use as dimensions for the metric. Up to 3 dimensions are allowed. Conflicts with `defaultValue`. Dimensions map[string]string `pulumi:"dimensions"` // The name of the CloudWatch metric to which the monitored log information should be published (e.g., `ErrorCount`) Name string `pulumi:"name"` // The destination namespace of the CloudWatch metric. Namespace string `pulumi:"namespace"` // The unit to assign to the metric. If you omit this, the unit is set as `None`. Unit *string `pulumi:"unit"` // What to publish to the metric. For example, if you're counting the occurrences of a particular term like "Error", the value will be "1" for each occurrence. If you're counting the bytes transferred the published value will be the value in the log event. Value string `pulumi:"value"` }
type LogMetricFilterMetricTransformationArgs ¶
type LogMetricFilterMetricTransformationArgs struct { // The value to emit when a filter pattern does not match a log event. Conflicts with `dimensions`. DefaultValue pulumi.StringPtrInput `pulumi:"defaultValue"` // Map of fields to use as dimensions for the metric. Up to 3 dimensions are allowed. Conflicts with `defaultValue`. Dimensions pulumi.StringMapInput `pulumi:"dimensions"` // The name of the CloudWatch metric to which the monitored log information should be published (e.g., `ErrorCount`) Name pulumi.StringInput `pulumi:"name"` // The destination namespace of the CloudWatch metric. Namespace pulumi.StringInput `pulumi:"namespace"` // The unit to assign to the metric. If you omit this, the unit is set as `None`. Unit pulumi.StringPtrInput `pulumi:"unit"` // What to publish to the metric. For example, if you're counting the occurrences of a particular term like "Error", the value will be "1" for each occurrence. If you're counting the bytes transferred the published value will be the value in the log event. Value pulumi.StringInput `pulumi:"value"` }
func (LogMetricFilterMetricTransformationArgs) ElementType ¶
func (LogMetricFilterMetricTransformationArgs) ElementType() reflect.Type
func (LogMetricFilterMetricTransformationArgs) ToLogMetricFilterMetricTransformationOutput ¶
func (i LogMetricFilterMetricTransformationArgs) ToLogMetricFilterMetricTransformationOutput() LogMetricFilterMetricTransformationOutput
func (LogMetricFilterMetricTransformationArgs) ToLogMetricFilterMetricTransformationOutputWithContext ¶
func (i LogMetricFilterMetricTransformationArgs) ToLogMetricFilterMetricTransformationOutputWithContext(ctx context.Context) LogMetricFilterMetricTransformationOutput
func (LogMetricFilterMetricTransformationArgs) ToLogMetricFilterMetricTransformationPtrOutput ¶
func (i LogMetricFilterMetricTransformationArgs) ToLogMetricFilterMetricTransformationPtrOutput() LogMetricFilterMetricTransformationPtrOutput
func (LogMetricFilterMetricTransformationArgs) ToLogMetricFilterMetricTransformationPtrOutputWithContext ¶
func (i LogMetricFilterMetricTransformationArgs) ToLogMetricFilterMetricTransformationPtrOutputWithContext(ctx context.Context) LogMetricFilterMetricTransformationPtrOutput
type LogMetricFilterMetricTransformationInput ¶
type LogMetricFilterMetricTransformationInput interface { pulumi.Input ToLogMetricFilterMetricTransformationOutput() LogMetricFilterMetricTransformationOutput ToLogMetricFilterMetricTransformationOutputWithContext(context.Context) LogMetricFilterMetricTransformationOutput }
LogMetricFilterMetricTransformationInput is an input type that accepts LogMetricFilterMetricTransformationArgs and LogMetricFilterMetricTransformationOutput values. You can construct a concrete instance of `LogMetricFilterMetricTransformationInput` via:
LogMetricFilterMetricTransformationArgs{...}
type LogMetricFilterMetricTransformationOutput ¶
type LogMetricFilterMetricTransformationOutput struct{ *pulumi.OutputState }
func (LogMetricFilterMetricTransformationOutput) DefaultValue ¶
func (o LogMetricFilterMetricTransformationOutput) DefaultValue() pulumi.StringPtrOutput
The value to emit when a filter pattern does not match a log event. Conflicts with `dimensions`.
func (LogMetricFilterMetricTransformationOutput) Dimensions ¶ added in v4.7.0
func (o LogMetricFilterMetricTransformationOutput) Dimensions() pulumi.StringMapOutput
Map of fields to use as dimensions for the metric. Up to 3 dimensions are allowed. Conflicts with `defaultValue`.
func (LogMetricFilterMetricTransformationOutput) ElementType ¶
func (LogMetricFilterMetricTransformationOutput) ElementType() reflect.Type
func (LogMetricFilterMetricTransformationOutput) Name ¶
func (o LogMetricFilterMetricTransformationOutput) Name() pulumi.StringOutput
The name of the CloudWatch metric to which the monitored log information should be published (e.g., `ErrorCount`)
func (LogMetricFilterMetricTransformationOutput) Namespace ¶
func (o LogMetricFilterMetricTransformationOutput) Namespace() pulumi.StringOutput
The destination namespace of the CloudWatch metric.
func (LogMetricFilterMetricTransformationOutput) ToLogMetricFilterMetricTransformationOutput ¶
func (o LogMetricFilterMetricTransformationOutput) ToLogMetricFilterMetricTransformationOutput() LogMetricFilterMetricTransformationOutput
func (LogMetricFilterMetricTransformationOutput) ToLogMetricFilterMetricTransformationOutputWithContext ¶
func (o LogMetricFilterMetricTransformationOutput) ToLogMetricFilterMetricTransformationOutputWithContext(ctx context.Context) LogMetricFilterMetricTransformationOutput
func (LogMetricFilterMetricTransformationOutput) ToLogMetricFilterMetricTransformationPtrOutput ¶
func (o LogMetricFilterMetricTransformationOutput) ToLogMetricFilterMetricTransformationPtrOutput() LogMetricFilterMetricTransformationPtrOutput
func (LogMetricFilterMetricTransformationOutput) ToLogMetricFilterMetricTransformationPtrOutputWithContext ¶
func (o LogMetricFilterMetricTransformationOutput) ToLogMetricFilterMetricTransformationPtrOutputWithContext(ctx context.Context) LogMetricFilterMetricTransformationPtrOutput
func (LogMetricFilterMetricTransformationOutput) Unit ¶ added in v4.9.0
func (o LogMetricFilterMetricTransformationOutput) Unit() pulumi.StringPtrOutput
The unit to assign to the metric. If you omit this, the unit is set as `None`.
func (LogMetricFilterMetricTransformationOutput) Value ¶
func (o LogMetricFilterMetricTransformationOutput) Value() pulumi.StringOutput
What to publish to the metric. For example, if you're counting the occurrences of a particular term like "Error", the value will be "1" for each occurrence. If you're counting the bytes transferred the published value will be the value in the log event.
type LogMetricFilterMetricTransformationPtrInput ¶
type LogMetricFilterMetricTransformationPtrInput interface { pulumi.Input ToLogMetricFilterMetricTransformationPtrOutput() LogMetricFilterMetricTransformationPtrOutput ToLogMetricFilterMetricTransformationPtrOutputWithContext(context.Context) LogMetricFilterMetricTransformationPtrOutput }
LogMetricFilterMetricTransformationPtrInput is an input type that accepts LogMetricFilterMetricTransformationArgs, LogMetricFilterMetricTransformationPtr and LogMetricFilterMetricTransformationPtrOutput values. You can construct a concrete instance of `LogMetricFilterMetricTransformationPtrInput` via:
LogMetricFilterMetricTransformationArgs{...} or: nil
func LogMetricFilterMetricTransformationPtr ¶
func LogMetricFilterMetricTransformationPtr(v *LogMetricFilterMetricTransformationArgs) LogMetricFilterMetricTransformationPtrInput
type LogMetricFilterMetricTransformationPtrOutput ¶
type LogMetricFilterMetricTransformationPtrOutput struct{ *pulumi.OutputState }
func (LogMetricFilterMetricTransformationPtrOutput) DefaultValue ¶
func (o LogMetricFilterMetricTransformationPtrOutput) DefaultValue() pulumi.StringPtrOutput
The value to emit when a filter pattern does not match a log event. Conflicts with `dimensions`.
func (LogMetricFilterMetricTransformationPtrOutput) Dimensions ¶ added in v4.7.0
func (o LogMetricFilterMetricTransformationPtrOutput) Dimensions() pulumi.StringMapOutput
Map of fields to use as dimensions for the metric. Up to 3 dimensions are allowed. Conflicts with `defaultValue`.
func (LogMetricFilterMetricTransformationPtrOutput) ElementType ¶
func (LogMetricFilterMetricTransformationPtrOutput) ElementType() reflect.Type
func (LogMetricFilterMetricTransformationPtrOutput) Name ¶
func (o LogMetricFilterMetricTransformationPtrOutput) Name() pulumi.StringPtrOutput
The name of the CloudWatch metric to which the monitored log information should be published (e.g., `ErrorCount`)
func (LogMetricFilterMetricTransformationPtrOutput) Namespace ¶
func (o LogMetricFilterMetricTransformationPtrOutput) Namespace() pulumi.StringPtrOutput
The destination namespace of the CloudWatch metric.
func (LogMetricFilterMetricTransformationPtrOutput) ToLogMetricFilterMetricTransformationPtrOutput ¶
func (o LogMetricFilterMetricTransformationPtrOutput) ToLogMetricFilterMetricTransformationPtrOutput() LogMetricFilterMetricTransformationPtrOutput
func (LogMetricFilterMetricTransformationPtrOutput) ToLogMetricFilterMetricTransformationPtrOutputWithContext ¶
func (o LogMetricFilterMetricTransformationPtrOutput) ToLogMetricFilterMetricTransformationPtrOutputWithContext(ctx context.Context) LogMetricFilterMetricTransformationPtrOutput
func (LogMetricFilterMetricTransformationPtrOutput) Unit ¶ added in v4.9.0
func (o LogMetricFilterMetricTransformationPtrOutput) Unit() pulumi.StringPtrOutput
The unit to assign to the metric. If you omit this, the unit is set as `None`.
func (LogMetricFilterMetricTransformationPtrOutput) Value ¶
func (o LogMetricFilterMetricTransformationPtrOutput) Value() pulumi.StringPtrOutput
What to publish to the metric. For example, if you're counting the occurrences of a particular term like "Error", the value will be "1" for each occurrence. If you're counting the bytes transferred the published value will be the value in the log event.
type LogMetricFilterOutput ¶
type LogMetricFilterOutput struct{ *pulumi.OutputState }
func (LogMetricFilterOutput) ElementType ¶
func (LogMetricFilterOutput) ElementType() reflect.Type
func (LogMetricFilterOutput) ToLogMetricFilterOutput ¶
func (o LogMetricFilterOutput) ToLogMetricFilterOutput() LogMetricFilterOutput
func (LogMetricFilterOutput) ToLogMetricFilterOutputWithContext ¶
func (o LogMetricFilterOutput) ToLogMetricFilterOutputWithContext(ctx context.Context) LogMetricFilterOutput
type LogMetricFilterState ¶
type LogMetricFilterState struct { // The name of the log group to associate the metric filter with. LogGroupName pulumi.StringPtrInput // A block defining collection of information needed to define how metric data gets emitted. See below. MetricTransformation LogMetricFilterMetricTransformationPtrInput // A name for the metric filter. Name pulumi.StringPtrInput // A valid [CloudWatch Logs filter pattern](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/FilterAndPatternSyntax.html) // for extracting metric data out of ingested log events. Pattern pulumi.StringPtrInput }
func (LogMetricFilterState) ElementType ¶
func (LogMetricFilterState) ElementType() reflect.Type
type LogResourcePolicy ¶
type LogResourcePolicy struct { pulumi.CustomResourceState // Details of the resource policy, including the identity of the principal that is enabled to put logs to this account. This is formatted as a JSON string. Maximum length of 5120 characters. PolicyDocument pulumi.StringOutput `pulumi:"policyDocument"` // Name of the resource policy. PolicyName pulumi.StringOutput `pulumi:"policyName"` }
Provides a resource to manage a CloudWatch log resource policy.
## Example Usage ### Elasticsearch Log Publishing
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/iam" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { elasticsearch_log_publishing_policyPolicyDocument, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ iam.GetPolicyDocumentStatement{ Actions: []string{ "logs:CreateLogStream", "logs:PutLogEvents", "logs:PutLogEventsBatch", }, Resources: []string{ "arn:aws:logs:*", }, Principals: []iam.GetPolicyDocumentStatementPrincipal{ iam.GetPolicyDocumentStatementPrincipal{ Identifiers: []string{ "es.amazonaws.com", }, Type: "Service", }, }, }, }, }, nil) if err != nil { return err } _, err = cloudwatch.NewLogResourcePolicy(ctx, "elasticsearch-log-publishing-policyLogResourcePolicy", &cloudwatch.LogResourcePolicyArgs{ PolicyDocument: pulumi.String(elasticsearch_log_publishing_policyPolicyDocument.Json), PolicyName: pulumi.String("elasticsearch-log-publishing-policy"), }) if err != nil { return err } return nil }) }
``` ### Route53 Query Logging
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/iam" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { route53_query_logging_policyPolicyDocument, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ iam.GetPolicyDocumentStatement{ Actions: []string{ "logs:CreateLogStream", "logs:PutLogEvents", }, Resources: []string{ "arn:aws:logs:*:*:log-group:/aws/route53/*", }, Principals: []iam.GetPolicyDocumentStatementPrincipal{ iam.GetPolicyDocumentStatementPrincipal{ Identifiers: []string{ "route53.amazonaws.com", }, Type: "Service", }, }, }, }, }, nil) if err != nil { return err } _, err = cloudwatch.NewLogResourcePolicy(ctx, "route53-query-logging-policyLogResourcePolicy", &cloudwatch.LogResourcePolicyArgs{ PolicyDocument: pulumi.String(route53_query_logging_policyPolicyDocument.Json), PolicyName: pulumi.String("route53-query-logging-policy"), }) if err != nil { return err } return nil }) }
```
## Import
CloudWatch log resource policies can be imported using the policy name, e.g.,
```sh
$ pulumi import aws:cloudwatch/logResourcePolicy:LogResourcePolicy MyPolicy MyPolicy
```
func GetLogResourcePolicy ¶
func GetLogResourcePolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LogResourcePolicyState, opts ...pulumi.ResourceOption) (*LogResourcePolicy, error)
GetLogResourcePolicy gets an existing LogResourcePolicy 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 NewLogResourcePolicy ¶
func NewLogResourcePolicy(ctx *pulumi.Context, name string, args *LogResourcePolicyArgs, opts ...pulumi.ResourceOption) (*LogResourcePolicy, error)
NewLogResourcePolicy registers a new resource with the given unique name, arguments, and options.
func (*LogResourcePolicy) ElementType ¶
func (*LogResourcePolicy) ElementType() reflect.Type
func (*LogResourcePolicy) ToLogResourcePolicyOutput ¶
func (i *LogResourcePolicy) ToLogResourcePolicyOutput() LogResourcePolicyOutput
func (*LogResourcePolicy) ToLogResourcePolicyOutputWithContext ¶
func (i *LogResourcePolicy) ToLogResourcePolicyOutputWithContext(ctx context.Context) LogResourcePolicyOutput
type LogResourcePolicyArgs ¶
type LogResourcePolicyArgs struct { // Details of the resource policy, including the identity of the principal that is enabled to put logs to this account. This is formatted as a JSON string. Maximum length of 5120 characters. PolicyDocument pulumi.StringInput // Name of the resource policy. PolicyName pulumi.StringInput }
The set of arguments for constructing a LogResourcePolicy resource.
func (LogResourcePolicyArgs) ElementType ¶
func (LogResourcePolicyArgs) ElementType() reflect.Type
type LogResourcePolicyArray ¶
type LogResourcePolicyArray []LogResourcePolicyInput
func (LogResourcePolicyArray) ElementType ¶
func (LogResourcePolicyArray) ElementType() reflect.Type
func (LogResourcePolicyArray) ToLogResourcePolicyArrayOutput ¶
func (i LogResourcePolicyArray) ToLogResourcePolicyArrayOutput() LogResourcePolicyArrayOutput
func (LogResourcePolicyArray) ToLogResourcePolicyArrayOutputWithContext ¶
func (i LogResourcePolicyArray) ToLogResourcePolicyArrayOutputWithContext(ctx context.Context) LogResourcePolicyArrayOutput
type LogResourcePolicyArrayInput ¶
type LogResourcePolicyArrayInput interface { pulumi.Input ToLogResourcePolicyArrayOutput() LogResourcePolicyArrayOutput ToLogResourcePolicyArrayOutputWithContext(context.Context) LogResourcePolicyArrayOutput }
LogResourcePolicyArrayInput is an input type that accepts LogResourcePolicyArray and LogResourcePolicyArrayOutput values. You can construct a concrete instance of `LogResourcePolicyArrayInput` via:
LogResourcePolicyArray{ LogResourcePolicyArgs{...} }
type LogResourcePolicyArrayOutput ¶
type LogResourcePolicyArrayOutput struct{ *pulumi.OutputState }
func (LogResourcePolicyArrayOutput) ElementType ¶
func (LogResourcePolicyArrayOutput) ElementType() reflect.Type
func (LogResourcePolicyArrayOutput) Index ¶
func (o LogResourcePolicyArrayOutput) Index(i pulumi.IntInput) LogResourcePolicyOutput
func (LogResourcePolicyArrayOutput) ToLogResourcePolicyArrayOutput ¶
func (o LogResourcePolicyArrayOutput) ToLogResourcePolicyArrayOutput() LogResourcePolicyArrayOutput
func (LogResourcePolicyArrayOutput) ToLogResourcePolicyArrayOutputWithContext ¶
func (o LogResourcePolicyArrayOutput) ToLogResourcePolicyArrayOutputWithContext(ctx context.Context) LogResourcePolicyArrayOutput
type LogResourcePolicyInput ¶
type LogResourcePolicyInput interface { pulumi.Input ToLogResourcePolicyOutput() LogResourcePolicyOutput ToLogResourcePolicyOutputWithContext(ctx context.Context) LogResourcePolicyOutput }
type LogResourcePolicyMap ¶
type LogResourcePolicyMap map[string]LogResourcePolicyInput
func (LogResourcePolicyMap) ElementType ¶
func (LogResourcePolicyMap) ElementType() reflect.Type
func (LogResourcePolicyMap) ToLogResourcePolicyMapOutput ¶
func (i LogResourcePolicyMap) ToLogResourcePolicyMapOutput() LogResourcePolicyMapOutput
func (LogResourcePolicyMap) ToLogResourcePolicyMapOutputWithContext ¶
func (i LogResourcePolicyMap) ToLogResourcePolicyMapOutputWithContext(ctx context.Context) LogResourcePolicyMapOutput
type LogResourcePolicyMapInput ¶
type LogResourcePolicyMapInput interface { pulumi.Input ToLogResourcePolicyMapOutput() LogResourcePolicyMapOutput ToLogResourcePolicyMapOutputWithContext(context.Context) LogResourcePolicyMapOutput }
LogResourcePolicyMapInput is an input type that accepts LogResourcePolicyMap and LogResourcePolicyMapOutput values. You can construct a concrete instance of `LogResourcePolicyMapInput` via:
LogResourcePolicyMap{ "key": LogResourcePolicyArgs{...} }
type LogResourcePolicyMapOutput ¶
type LogResourcePolicyMapOutput struct{ *pulumi.OutputState }
func (LogResourcePolicyMapOutput) ElementType ¶
func (LogResourcePolicyMapOutput) ElementType() reflect.Type
func (LogResourcePolicyMapOutput) MapIndex ¶
func (o LogResourcePolicyMapOutput) MapIndex(k pulumi.StringInput) LogResourcePolicyOutput
func (LogResourcePolicyMapOutput) ToLogResourcePolicyMapOutput ¶
func (o LogResourcePolicyMapOutput) ToLogResourcePolicyMapOutput() LogResourcePolicyMapOutput
func (LogResourcePolicyMapOutput) ToLogResourcePolicyMapOutputWithContext ¶
func (o LogResourcePolicyMapOutput) ToLogResourcePolicyMapOutputWithContext(ctx context.Context) LogResourcePolicyMapOutput
type LogResourcePolicyOutput ¶
type LogResourcePolicyOutput struct{ *pulumi.OutputState }
func (LogResourcePolicyOutput) ElementType ¶
func (LogResourcePolicyOutput) ElementType() reflect.Type
func (LogResourcePolicyOutput) ToLogResourcePolicyOutput ¶
func (o LogResourcePolicyOutput) ToLogResourcePolicyOutput() LogResourcePolicyOutput
func (LogResourcePolicyOutput) ToLogResourcePolicyOutputWithContext ¶
func (o LogResourcePolicyOutput) ToLogResourcePolicyOutputWithContext(ctx context.Context) LogResourcePolicyOutput
type LogResourcePolicyState ¶
type LogResourcePolicyState struct { // Details of the resource policy, including the identity of the principal that is enabled to put logs to this account. This is formatted as a JSON string. Maximum length of 5120 characters. PolicyDocument pulumi.StringPtrInput // Name of the resource policy. PolicyName pulumi.StringPtrInput }
func (LogResourcePolicyState) ElementType ¶
func (LogResourcePolicyState) ElementType() reflect.Type
type LogStream ¶
type LogStream struct { pulumi.CustomResourceState // The Amazon Resource Name (ARN) specifying the log stream. Arn pulumi.StringOutput `pulumi:"arn"` // The name of the log group under which the log stream is to be created. LogGroupName pulumi.StringOutput `pulumi:"logGroupName"` // The name of the log stream. Must not be longer than 512 characters and must not contain `:` Name pulumi.StringOutput `pulumi:"name"` }
Provides a CloudWatch Log Stream resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { yada, err := cloudwatch.NewLogGroup(ctx, "yada", nil) if err != nil { return err } _, err = cloudwatch.NewLogStream(ctx, "foo", &cloudwatch.LogStreamArgs{ LogGroupName: yada.Name, }) if err != nil { return err } return nil }) }
```
## Import
Cloudwatch Log Stream can be imported using the stream's `log_group_name` and `name`, e.g.,
```sh
$ pulumi import aws:cloudwatch/logStream:LogStream foo Yada:SampleLogStream1234
```
func GetLogStream ¶
func GetLogStream(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LogStreamState, opts ...pulumi.ResourceOption) (*LogStream, error)
GetLogStream gets an existing LogStream 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 NewLogStream ¶
func NewLogStream(ctx *pulumi.Context, name string, args *LogStreamArgs, opts ...pulumi.ResourceOption) (*LogStream, error)
NewLogStream registers a new resource with the given unique name, arguments, and options.
func (*LogStream) ElementType ¶
func (*LogStream) ToLogStreamOutput ¶
func (i *LogStream) ToLogStreamOutput() LogStreamOutput
func (*LogStream) ToLogStreamOutputWithContext ¶
func (i *LogStream) ToLogStreamOutputWithContext(ctx context.Context) LogStreamOutput
type LogStreamArgs ¶
type LogStreamArgs struct { // The name of the log group under which the log stream is to be created. LogGroupName pulumi.StringInput // The name of the log stream. Must not be longer than 512 characters and must not contain `:` Name pulumi.StringPtrInput }
The set of arguments for constructing a LogStream resource.
func (LogStreamArgs) ElementType ¶
func (LogStreamArgs) ElementType() reflect.Type
type LogStreamArray ¶
type LogStreamArray []LogStreamInput
func (LogStreamArray) ElementType ¶
func (LogStreamArray) ElementType() reflect.Type
func (LogStreamArray) ToLogStreamArrayOutput ¶
func (i LogStreamArray) ToLogStreamArrayOutput() LogStreamArrayOutput
func (LogStreamArray) ToLogStreamArrayOutputWithContext ¶
func (i LogStreamArray) ToLogStreamArrayOutputWithContext(ctx context.Context) LogStreamArrayOutput
type LogStreamArrayInput ¶
type LogStreamArrayInput interface { pulumi.Input ToLogStreamArrayOutput() LogStreamArrayOutput ToLogStreamArrayOutputWithContext(context.Context) LogStreamArrayOutput }
LogStreamArrayInput is an input type that accepts LogStreamArray and LogStreamArrayOutput values. You can construct a concrete instance of `LogStreamArrayInput` via:
LogStreamArray{ LogStreamArgs{...} }
type LogStreamArrayOutput ¶
type LogStreamArrayOutput struct{ *pulumi.OutputState }
func (LogStreamArrayOutput) ElementType ¶
func (LogStreamArrayOutput) ElementType() reflect.Type
func (LogStreamArrayOutput) Index ¶
func (o LogStreamArrayOutput) Index(i pulumi.IntInput) LogStreamOutput
func (LogStreamArrayOutput) ToLogStreamArrayOutput ¶
func (o LogStreamArrayOutput) ToLogStreamArrayOutput() LogStreamArrayOutput
func (LogStreamArrayOutput) ToLogStreamArrayOutputWithContext ¶
func (o LogStreamArrayOutput) ToLogStreamArrayOutputWithContext(ctx context.Context) LogStreamArrayOutput
type LogStreamInput ¶
type LogStreamInput interface { pulumi.Input ToLogStreamOutput() LogStreamOutput ToLogStreamOutputWithContext(ctx context.Context) LogStreamOutput }
type LogStreamMap ¶
type LogStreamMap map[string]LogStreamInput
func (LogStreamMap) ElementType ¶
func (LogStreamMap) ElementType() reflect.Type
func (LogStreamMap) ToLogStreamMapOutput ¶
func (i LogStreamMap) ToLogStreamMapOutput() LogStreamMapOutput
func (LogStreamMap) ToLogStreamMapOutputWithContext ¶
func (i LogStreamMap) ToLogStreamMapOutputWithContext(ctx context.Context) LogStreamMapOutput
type LogStreamMapInput ¶
type LogStreamMapInput interface { pulumi.Input ToLogStreamMapOutput() LogStreamMapOutput ToLogStreamMapOutputWithContext(context.Context) LogStreamMapOutput }
LogStreamMapInput is an input type that accepts LogStreamMap and LogStreamMapOutput values. You can construct a concrete instance of `LogStreamMapInput` via:
LogStreamMap{ "key": LogStreamArgs{...} }
type LogStreamMapOutput ¶
type LogStreamMapOutput struct{ *pulumi.OutputState }
func (LogStreamMapOutput) ElementType ¶
func (LogStreamMapOutput) ElementType() reflect.Type
func (LogStreamMapOutput) MapIndex ¶
func (o LogStreamMapOutput) MapIndex(k pulumi.StringInput) LogStreamOutput
func (LogStreamMapOutput) ToLogStreamMapOutput ¶
func (o LogStreamMapOutput) ToLogStreamMapOutput() LogStreamMapOutput
func (LogStreamMapOutput) ToLogStreamMapOutputWithContext ¶
func (o LogStreamMapOutput) ToLogStreamMapOutputWithContext(ctx context.Context) LogStreamMapOutput
type LogStreamOutput ¶
type LogStreamOutput struct{ *pulumi.OutputState }
func (LogStreamOutput) ElementType ¶
func (LogStreamOutput) ElementType() reflect.Type
func (LogStreamOutput) ToLogStreamOutput ¶
func (o LogStreamOutput) ToLogStreamOutput() LogStreamOutput
func (LogStreamOutput) ToLogStreamOutputWithContext ¶
func (o LogStreamOutput) ToLogStreamOutputWithContext(ctx context.Context) LogStreamOutput
type LogStreamState ¶
type LogStreamState struct { // The Amazon Resource Name (ARN) specifying the log stream. Arn pulumi.StringPtrInput // The name of the log group under which the log stream is to be created. LogGroupName pulumi.StringPtrInput // The name of the log stream. Must not be longer than 512 characters and must not contain `:` Name pulumi.StringPtrInput }
func (LogStreamState) ElementType ¶
func (LogStreamState) ElementType() reflect.Type
type LogSubscriptionFilter ¶
type LogSubscriptionFilter struct { pulumi.CustomResourceState // The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN. DestinationArn pulumi.StringOutput `pulumi:"destinationArn"` // The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream". Distribution pulumi.StringPtrOutput `pulumi:"distribution"` // A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. FilterPattern pulumi.StringOutput `pulumi:"filterPattern"` // The name of the log group to associate the subscription filter with LogGroup pulumi.StringOutput `pulumi:"logGroup"` // A name for the subscription filter Name pulumi.StringOutput `pulumi:"name"` // The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to deliver ingested log events to the destination. If you use Lambda as a destination, you should skip this argument and use `lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function. RoleArn pulumi.StringOutput `pulumi:"roleArn"` }
Provides a CloudWatch Logs subscription filter resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudwatch.NewLogSubscriptionFilter(ctx, "testLambdafunctionLogfilter", &cloudwatch.LogSubscriptionFilterArgs{ RoleArn: pulumi.Any(aws_iam_role.Iam_for_lambda.Arn), LogGroup: pulumi.Any("/aws/lambda/example_lambda_name"), FilterPattern: pulumi.String("logtype test"), DestinationArn: pulumi.Any(aws_kinesis_stream.Test_logstream.Arn), Distribution: pulumi.String("Random"), }) if err != nil { return err } return nil }) }
```
## Import
CloudWatch Logs subscription filter can be imported using the log group name and subscription filter name separated by `|`.
```sh
$ pulumi import aws:cloudwatch/logSubscriptionFilter:LogSubscriptionFilter test_lambdafunction_logfilter /aws/lambda/example_lambda_name|test_lambdafunction_logfilter
```
func GetLogSubscriptionFilter ¶
func GetLogSubscriptionFilter(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LogSubscriptionFilterState, opts ...pulumi.ResourceOption) (*LogSubscriptionFilter, error)
GetLogSubscriptionFilter gets an existing LogSubscriptionFilter 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 NewLogSubscriptionFilter ¶
func NewLogSubscriptionFilter(ctx *pulumi.Context, name string, args *LogSubscriptionFilterArgs, opts ...pulumi.ResourceOption) (*LogSubscriptionFilter, error)
NewLogSubscriptionFilter registers a new resource with the given unique name, arguments, and options.
func (*LogSubscriptionFilter) ElementType ¶
func (*LogSubscriptionFilter) ElementType() reflect.Type
func (*LogSubscriptionFilter) ToLogSubscriptionFilterOutput ¶
func (i *LogSubscriptionFilter) ToLogSubscriptionFilterOutput() LogSubscriptionFilterOutput
func (*LogSubscriptionFilter) ToLogSubscriptionFilterOutputWithContext ¶
func (i *LogSubscriptionFilter) ToLogSubscriptionFilterOutputWithContext(ctx context.Context) LogSubscriptionFilterOutput
type LogSubscriptionFilterArgs ¶
type LogSubscriptionFilterArgs struct { // The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN. DestinationArn pulumi.StringInput // The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream". Distribution pulumi.StringPtrInput // A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. FilterPattern pulumi.StringInput // The name of the log group to associate the subscription filter with LogGroup pulumi.Input // A name for the subscription filter Name pulumi.StringPtrInput // The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to deliver ingested log events to the destination. If you use Lambda as a destination, you should skip this argument and use `lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function. RoleArn pulumi.StringPtrInput }
The set of arguments for constructing a LogSubscriptionFilter resource.
func (LogSubscriptionFilterArgs) ElementType ¶
func (LogSubscriptionFilterArgs) ElementType() reflect.Type
type LogSubscriptionFilterArray ¶
type LogSubscriptionFilterArray []LogSubscriptionFilterInput
func (LogSubscriptionFilterArray) ElementType ¶
func (LogSubscriptionFilterArray) ElementType() reflect.Type
func (LogSubscriptionFilterArray) ToLogSubscriptionFilterArrayOutput ¶
func (i LogSubscriptionFilterArray) ToLogSubscriptionFilterArrayOutput() LogSubscriptionFilterArrayOutput
func (LogSubscriptionFilterArray) ToLogSubscriptionFilterArrayOutputWithContext ¶
func (i LogSubscriptionFilterArray) ToLogSubscriptionFilterArrayOutputWithContext(ctx context.Context) LogSubscriptionFilterArrayOutput
type LogSubscriptionFilterArrayInput ¶
type LogSubscriptionFilterArrayInput interface { pulumi.Input ToLogSubscriptionFilterArrayOutput() LogSubscriptionFilterArrayOutput ToLogSubscriptionFilterArrayOutputWithContext(context.Context) LogSubscriptionFilterArrayOutput }
LogSubscriptionFilterArrayInput is an input type that accepts LogSubscriptionFilterArray and LogSubscriptionFilterArrayOutput values. You can construct a concrete instance of `LogSubscriptionFilterArrayInput` via:
LogSubscriptionFilterArray{ LogSubscriptionFilterArgs{...} }
type LogSubscriptionFilterArrayOutput ¶
type LogSubscriptionFilterArrayOutput struct{ *pulumi.OutputState }
func (LogSubscriptionFilterArrayOutput) ElementType ¶
func (LogSubscriptionFilterArrayOutput) ElementType() reflect.Type
func (LogSubscriptionFilterArrayOutput) Index ¶
func (o LogSubscriptionFilterArrayOutput) Index(i pulumi.IntInput) LogSubscriptionFilterOutput
func (LogSubscriptionFilterArrayOutput) ToLogSubscriptionFilterArrayOutput ¶
func (o LogSubscriptionFilterArrayOutput) ToLogSubscriptionFilterArrayOutput() LogSubscriptionFilterArrayOutput
func (LogSubscriptionFilterArrayOutput) ToLogSubscriptionFilterArrayOutputWithContext ¶
func (o LogSubscriptionFilterArrayOutput) ToLogSubscriptionFilterArrayOutputWithContext(ctx context.Context) LogSubscriptionFilterArrayOutput
type LogSubscriptionFilterInput ¶
type LogSubscriptionFilterInput interface { pulumi.Input ToLogSubscriptionFilterOutput() LogSubscriptionFilterOutput ToLogSubscriptionFilterOutputWithContext(ctx context.Context) LogSubscriptionFilterOutput }
type LogSubscriptionFilterMap ¶
type LogSubscriptionFilterMap map[string]LogSubscriptionFilterInput
func (LogSubscriptionFilterMap) ElementType ¶
func (LogSubscriptionFilterMap) ElementType() reflect.Type
func (LogSubscriptionFilterMap) ToLogSubscriptionFilterMapOutput ¶
func (i LogSubscriptionFilterMap) ToLogSubscriptionFilterMapOutput() LogSubscriptionFilterMapOutput
func (LogSubscriptionFilterMap) ToLogSubscriptionFilterMapOutputWithContext ¶
func (i LogSubscriptionFilterMap) ToLogSubscriptionFilterMapOutputWithContext(ctx context.Context) LogSubscriptionFilterMapOutput
type LogSubscriptionFilterMapInput ¶
type LogSubscriptionFilterMapInput interface { pulumi.Input ToLogSubscriptionFilterMapOutput() LogSubscriptionFilterMapOutput ToLogSubscriptionFilterMapOutputWithContext(context.Context) LogSubscriptionFilterMapOutput }
LogSubscriptionFilterMapInput is an input type that accepts LogSubscriptionFilterMap and LogSubscriptionFilterMapOutput values. You can construct a concrete instance of `LogSubscriptionFilterMapInput` via:
LogSubscriptionFilterMap{ "key": LogSubscriptionFilterArgs{...} }
type LogSubscriptionFilterMapOutput ¶
type LogSubscriptionFilterMapOutput struct{ *pulumi.OutputState }
func (LogSubscriptionFilterMapOutput) ElementType ¶
func (LogSubscriptionFilterMapOutput) ElementType() reflect.Type
func (LogSubscriptionFilterMapOutput) MapIndex ¶
func (o LogSubscriptionFilterMapOutput) MapIndex(k pulumi.StringInput) LogSubscriptionFilterOutput
func (LogSubscriptionFilterMapOutput) ToLogSubscriptionFilterMapOutput ¶
func (o LogSubscriptionFilterMapOutput) ToLogSubscriptionFilterMapOutput() LogSubscriptionFilterMapOutput
func (LogSubscriptionFilterMapOutput) ToLogSubscriptionFilterMapOutputWithContext ¶
func (o LogSubscriptionFilterMapOutput) ToLogSubscriptionFilterMapOutputWithContext(ctx context.Context) LogSubscriptionFilterMapOutput
type LogSubscriptionFilterOutput ¶
type LogSubscriptionFilterOutput struct{ *pulumi.OutputState }
func (LogSubscriptionFilterOutput) ElementType ¶
func (LogSubscriptionFilterOutput) ElementType() reflect.Type
func (LogSubscriptionFilterOutput) ToLogSubscriptionFilterOutput ¶
func (o LogSubscriptionFilterOutput) ToLogSubscriptionFilterOutput() LogSubscriptionFilterOutput
func (LogSubscriptionFilterOutput) ToLogSubscriptionFilterOutputWithContext ¶
func (o LogSubscriptionFilterOutput) ToLogSubscriptionFilterOutputWithContext(ctx context.Context) LogSubscriptionFilterOutput
type LogSubscriptionFilterState ¶
type LogSubscriptionFilterState struct { // The ARN of the destination to deliver matching log events to. Kinesis stream or Lambda function ARN. DestinationArn pulumi.StringPtrInput // The method used to distribute log data to the destination. By default log data is grouped by log stream, but the grouping can be set to random for a more even distribution. This property is only applicable when the destination is an Amazon Kinesis stream. Valid values are "Random" and "ByLogStream". Distribution pulumi.StringPtrInput // A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. FilterPattern pulumi.StringPtrInput // The name of the log group to associate the subscription filter with LogGroup pulumi.Input // A name for the subscription filter Name pulumi.StringPtrInput // The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to deliver ingested log events to the destination. If you use Lambda as a destination, you should skip this argument and use `lambda.Permission` resource for granting access from CloudWatch logs to the destination Lambda function. RoleArn pulumi.StringPtrInput }
func (LogSubscriptionFilterState) ElementType ¶
func (LogSubscriptionFilterState) ElementType() reflect.Type
type LookupEventConnectionArgs ¶ added in v4.7.0
type LookupEventConnectionArgs struct { // The name of the connection. Name string `pulumi:"name"` }
A collection of arguments for invoking getEventConnection.
type LookupEventConnectionOutputArgs ¶ added in v4.21.0
type LookupEventConnectionOutputArgs struct { // The name of the connection. Name pulumi.StringInput `pulumi:"name"` }
A collection of arguments for invoking getEventConnection.
func (LookupEventConnectionOutputArgs) ElementType ¶ added in v4.21.0
func (LookupEventConnectionOutputArgs) ElementType() reflect.Type
type LookupEventConnectionResult ¶ added in v4.7.0
type LookupEventConnectionResult struct { // The ARN (Amazon Resource Name) for the connection. Arn string `pulumi:"arn"` // The type of authorization to use to connect. One of `API_KEY`,`BASIC`,`OAUTH_CLIENT_CREDENTIALS`. AuthorizationType string `pulumi:"authorizationType"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The name of the connection. Name string `pulumi:"name"` // The ARN (Amazon Resource Name) for the secret created from the authorization parameters specified for the connection. SecretArn string `pulumi:"secretArn"` }
A collection of values returned by getEventConnection.
func LookupEventConnection ¶ added in v4.7.0
func LookupEventConnection(ctx *pulumi.Context, args *LookupEventConnectionArgs, opts ...pulumi.InvokeOption) (*LookupEventConnectionResult, error)
Use this data source to retrieve information about an EventBridge connection.
> **Note:** EventBridge was formerly known as CloudWatch Events. The functionality is identical.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudwatch.LookupEventConnection(ctx, &cloudwatch.LookupEventConnectionArgs{ Name: "test", }, nil) if err != nil { return err } return nil }) }
```
type LookupEventConnectionResultOutput ¶ added in v4.21.0
type LookupEventConnectionResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEventConnection.
func LookupEventConnectionOutput ¶ added in v4.21.0
func LookupEventConnectionOutput(ctx *pulumi.Context, args LookupEventConnectionOutputArgs, opts ...pulumi.InvokeOption) LookupEventConnectionResultOutput
func (LookupEventConnectionResultOutput) Arn ¶ added in v4.21.0
func (o LookupEventConnectionResultOutput) Arn() pulumi.StringOutput
The ARN (Amazon Resource Name) for the connection.
func (LookupEventConnectionResultOutput) AuthorizationType ¶ added in v4.21.0
func (o LookupEventConnectionResultOutput) AuthorizationType() pulumi.StringOutput
The type of authorization to use to connect. One of `API_KEY`,`BASIC`,`OAUTH_CLIENT_CREDENTIALS`.
func (LookupEventConnectionResultOutput) ElementType ¶ added in v4.21.0
func (LookupEventConnectionResultOutput) ElementType() reflect.Type
func (LookupEventConnectionResultOutput) Id ¶ added in v4.21.0
func (o LookupEventConnectionResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupEventConnectionResultOutput) Name ¶ added in v4.21.0
func (o LookupEventConnectionResultOutput) Name() pulumi.StringOutput
The name of the connection.
func (LookupEventConnectionResultOutput) SecretArn ¶ added in v4.21.0
func (o LookupEventConnectionResultOutput) SecretArn() pulumi.StringOutput
The ARN (Amazon Resource Name) for the secret created from the authorization parameters specified for the connection.
func (LookupEventConnectionResultOutput) ToLookupEventConnectionResultOutput ¶ added in v4.21.0
func (o LookupEventConnectionResultOutput) ToLookupEventConnectionResultOutput() LookupEventConnectionResultOutput
func (LookupEventConnectionResultOutput) ToLookupEventConnectionResultOutputWithContext ¶ added in v4.21.0
func (o LookupEventConnectionResultOutput) ToLookupEventConnectionResultOutputWithContext(ctx context.Context) LookupEventConnectionResultOutput
type LookupLogGroupArgs ¶
type LookupLogGroupArgs struct { // The name of the Cloudwatch log group Name string `pulumi:"name"` // A map of tags to assign to the resource. Tags map[string]string `pulumi:"tags"` }
A collection of arguments for invoking getLogGroup.
type LookupLogGroupOutputArgs ¶ added in v4.21.0
type LookupLogGroupOutputArgs struct { // The name of the Cloudwatch log group Name pulumi.StringInput `pulumi:"name"` // A map of tags to assign to the resource. Tags pulumi.StringMapInput `pulumi:"tags"` }
A collection of arguments for invoking getLogGroup.
func (LookupLogGroupOutputArgs) ElementType ¶ added in v4.21.0
func (LookupLogGroupOutputArgs) ElementType() reflect.Type
type LookupLogGroupResult ¶
type LookupLogGroupResult struct { // The ARN of the Cloudwatch log group Arn string `pulumi:"arn"` // The creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. CreationTime int `pulumi:"creationTime"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The ARN of the KMS Key to use when encrypting log data. KmsKeyId string `pulumi:"kmsKeyId"` Name string `pulumi:"name"` // The number of days log events retained in the specified log group. RetentionInDays int `pulumi:"retentionInDays"` // A map of tags to assign to the resource. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getLogGroup.
func LookupLogGroup ¶
func LookupLogGroup(ctx *pulumi.Context, args *LookupLogGroupArgs, opts ...pulumi.InvokeOption) (*LookupLogGroupResult, error)
Use this data source to get information about an AWS Cloudwatch Log Group
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudwatch.LookupLogGroup(ctx, &cloudwatch.LookupLogGroupArgs{ Name: "MyImportantLogs", }, nil) if err != nil { return err } return nil }) }
```
type LookupLogGroupResultOutput ¶ added in v4.21.0
type LookupLogGroupResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getLogGroup.
func LookupLogGroupOutput ¶ added in v4.21.0
func LookupLogGroupOutput(ctx *pulumi.Context, args LookupLogGroupOutputArgs, opts ...pulumi.InvokeOption) LookupLogGroupResultOutput
func (LookupLogGroupResultOutput) Arn ¶ added in v4.21.0
func (o LookupLogGroupResultOutput) Arn() pulumi.StringOutput
The ARN of the Cloudwatch log group
func (LookupLogGroupResultOutput) CreationTime ¶ added in v4.21.0
func (o LookupLogGroupResultOutput) CreationTime() pulumi.IntOutput
The creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
func (LookupLogGroupResultOutput) ElementType ¶ added in v4.21.0
func (LookupLogGroupResultOutput) ElementType() reflect.Type
func (LookupLogGroupResultOutput) Id ¶ added in v4.21.0
func (o LookupLogGroupResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupLogGroupResultOutput) KmsKeyId ¶ added in v4.21.0
func (o LookupLogGroupResultOutput) KmsKeyId() pulumi.StringOutput
The ARN of the KMS Key to use when encrypting log data.
func (LookupLogGroupResultOutput) Name ¶ added in v4.21.0
func (o LookupLogGroupResultOutput) Name() pulumi.StringOutput
func (LookupLogGroupResultOutput) RetentionInDays ¶ added in v4.21.0
func (o LookupLogGroupResultOutput) RetentionInDays() pulumi.IntOutput
The number of days log events retained in the specified log group.
func (LookupLogGroupResultOutput) Tags ¶ added in v4.21.0
func (o LookupLogGroupResultOutput) Tags() pulumi.StringMapOutput
A map of tags to assign to the resource.
func (LookupLogGroupResultOutput) ToLookupLogGroupResultOutput ¶ added in v4.21.0
func (o LookupLogGroupResultOutput) ToLookupLogGroupResultOutput() LookupLogGroupResultOutput
func (LookupLogGroupResultOutput) ToLookupLogGroupResultOutputWithContext ¶ added in v4.21.0
func (o LookupLogGroupResultOutput) ToLookupLogGroupResultOutputWithContext(ctx context.Context) LookupLogGroupResultOutput
type MetricAlarm ¶
type MetricAlarm struct { pulumi.CustomResourceState // Indicates whether or not actions should be executed during any changes to the alarm's state. Defaults to `true`. ActionsEnabled pulumi.BoolPtrOutput `pulumi:"actionsEnabled"` // The list of actions to execute when this alarm transitions into an ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN). AlarmActions pulumi.StringArrayOutput `pulumi:"alarmActions"` // The description for the alarm. AlarmDescription pulumi.StringPtrOutput `pulumi:"alarmDescription"` // The ARN of the CloudWatch Metric Alarm. Arn pulumi.StringOutput `pulumi:"arn"` // The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand. Either of the following is supported: `GreaterThanOrEqualToThreshold`, `GreaterThanThreshold`, `LessThanThreshold`, `LessThanOrEqualToThreshold`. Additionally, the values `LessThanLowerOrGreaterThanUpperThreshold`, `LessThanLowerThreshold`, and `GreaterThanUpperThreshold` are used only for alarms based on anomaly detection models. ComparisonOperator pulumi.StringOutput `pulumi:"comparisonOperator"` // The number of datapoints that must be breaching to trigger the alarm. DatapointsToAlarm pulumi.IntPtrOutput `pulumi:"datapointsToAlarm"` // The dimensions for this metric. For the list of available dimensions see the AWS documentation [here](http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html). Dimensions pulumi.StringMapOutput `pulumi:"dimensions"` // Used only for alarms // based on percentiles. If you specify `ignore`, the alarm state will not // change during periods with too few data points to be statistically significant. // If you specify `evaluate` or omit this parameter, the alarm will always be // evaluated and possibly change state no matter how many data points are available. // The following values are supported: `ignore`, and `evaluate`. EvaluateLowSampleCountPercentiles pulumi.StringOutput `pulumi:"evaluateLowSampleCountPercentiles"` // The number of periods over which data is compared to the specified threshold. EvaluationPeriods pulumi.IntOutput `pulumi:"evaluationPeriods"` // The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. ExtendedStatistic pulumi.StringPtrOutput `pulumi:"extendedStatistic"` // The list of actions to execute when this alarm transitions into an INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN). InsufficientDataActions pulumi.StringArrayOutput `pulumi:"insufficientDataActions"` // The name for this metric. // See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html). MetricName pulumi.StringPtrOutput `pulumi:"metricName"` // Enables you to create an alarm based on a metric math expression. You may specify at most 20. MetricQueries MetricAlarmMetricQueryArrayOutput `pulumi:"metricQueries"` // The descriptive name for the alarm. This name must be unique within the user's AWS account Name pulumi.StringOutput `pulumi:"name"` // The namespace for this metric. See docs for the [list of namespaces](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/aws-namespaces.html). // See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html). Namespace pulumi.StringPtrOutput `pulumi:"namespace"` // The list of actions to execute when this alarm transitions into an OK state from any other state. Each action is specified as an Amazon Resource Name (ARN). OkActions pulumi.StringArrayOutput `pulumi:"okActions"` // The period in seconds over which the specified `stat` is applied. Period pulumi.IntPtrOutput `pulumi:"period"` // The statistic to apply to the alarm's associated metric. // Either of the following is supported: `SampleCount`, `Average`, `Sum`, `Minimum`, `Maximum` Statistic pulumi.StringPtrOutput `pulumi:"statistic"` // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // The value against which the specified statistic is compared. This parameter is required for alarms based on static thresholds, but should not be used for alarms based on anomaly detection models. Threshold pulumi.Float64PtrOutput `pulumi:"threshold"` // If this is an alarm based on an anomaly detection model, make this value match the ID of the ANOMALY_DETECTION_BAND function. ThresholdMetricId pulumi.StringPtrOutput `pulumi:"thresholdMetricId"` // Sets how this alarm is to handle missing data points. The following values are supported: `missing`, `ignore`, `breaching` and `notBreaching`. Defaults to `missing`. TreatMissingData pulumi.StringPtrOutput `pulumi:"treatMissingData"` // The unit for this metric. Unit pulumi.StringPtrOutput `pulumi:"unit"` }
Provides a CloudWatch Metric Alarm resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/sns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudwatch.NewMetricAlarm(ctx, "foobar", &cloudwatch.MetricAlarmArgs{ AlarmDescription: pulumi.String("This metric monitors ec2 cpu utilization"), ComparisonOperator: pulumi.String("GreaterThanOrEqualToThreshold"), EvaluationPeriods: pulumi.Int(2), InsufficientDataActions: pulumi.AnyArray{}, MetricName: pulumi.String("CPUUtilization"), Namespace: pulumi.String("AWS/EC2"), Period: pulumi.Int(120), Statistic: pulumi.String("Average"), Threshold: pulumi.Float64(80), }) if err != nil { return err } return nil }) }
``` ## Example in Conjunction with Scaling Policies
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/autoscaling" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/sns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { batPolicy, err := autoscaling.NewPolicy(ctx, "batPolicy", &autoscaling.PolicyArgs{ ScalingAdjustment: pulumi.Int(4), AdjustmentType: pulumi.String("ChangeInCapacity"), Cooldown: pulumi.Int(300), AutoscalingGroupName: pulumi.Any(aws_autoscaling_group.Bar.Name), }) if err != nil { return err } _, err = cloudwatch.NewMetricAlarm(ctx, "batMetricAlarm", &cloudwatch.MetricAlarmArgs{ ComparisonOperator: pulumi.String("GreaterThanOrEqualToThreshold"), EvaluationPeriods: pulumi.Int(2), MetricName: pulumi.String("CPUUtilization"), Namespace: pulumi.String("AWS/EC2"), Period: pulumi.Int(120), Statistic: pulumi.String("Average"), Threshold: pulumi.Float64(80), Dimensions: pulumi.StringMap{ "AutoScalingGroupName": pulumi.Any(aws_autoscaling_group.Bar.Name), }, AlarmDescription: pulumi.String("This metric monitors ec2 cpu utilization"), AlarmActions: pulumi.AnyArray{ batPolicy.Arn, }, }) if err != nil { return err } return nil }) }
```
## Example with an Expression
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/sns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudwatch.NewMetricAlarm(ctx, "foobar", &cloudwatch.MetricAlarmArgs{ AlarmDescription: pulumi.String(fmt.Sprintf("%v%v", "Request error rate has exceeded 10", "%")), ComparisonOperator: pulumi.String("GreaterThanOrEqualToThreshold"), EvaluationPeriods: pulumi.Int(2), InsufficientDataActions: pulumi.AnyArray{}, MetricQueries: cloudwatch.MetricAlarmMetricQueryArray{ &cloudwatch.MetricAlarmMetricQueryArgs{ Expression: pulumi.String("m2/m1*100"), Id: pulumi.String("e1"), Label: pulumi.String("Error Rate"), ReturnData: pulumi.Bool(true), }, &cloudwatch.MetricAlarmMetricQueryArgs{ Id: pulumi.String("m1"), Metric: &cloudwatch.MetricAlarmMetricQueryMetricArgs{ Dimensions: pulumi.StringMap{ "LoadBalancer": pulumi.String("app/web"), }, MetricName: pulumi.String("RequestCount"), Namespace: pulumi.String("AWS/ApplicationELB"), Period: pulumi.Int(120), Stat: pulumi.String("Sum"), Unit: pulumi.String("Count"), }, }, &cloudwatch.MetricAlarmMetricQueryArgs{ Id: pulumi.String("m2"), Metric: &cloudwatch.MetricAlarmMetricQueryMetricArgs{ Dimensions: pulumi.StringMap{ "LoadBalancer": pulumi.String("app/web"), }, MetricName: pulumi.String("HTTPCode_ELB_5XX_Count"), Namespace: pulumi.String("AWS/ApplicationELB"), Period: pulumi.Int(120), Stat: pulumi.String("Sum"), Unit: pulumi.String("Count"), }, }, }, Threshold: pulumi.Float64(10), }) if err != nil { return err } return nil }) }
```
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/sns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudwatch.NewMetricAlarm(ctx, "xxAnomalyDetection", &cloudwatch.MetricAlarmArgs{ AlarmDescription: pulumi.String("This metric monitors ec2 cpu utilization"), ComparisonOperator: pulumi.String("GreaterThanUpperThreshold"), EvaluationPeriods: pulumi.Int(2), InsufficientDataActions: pulumi.AnyArray{}, MetricQueries: cloudwatch.MetricAlarmMetricQueryArray{ &cloudwatch.MetricAlarmMetricQueryArgs{ Expression: pulumi.String("ANOMALY_DETECTION_BAND(m1)"), Id: pulumi.String("e1"), Label: pulumi.String("CPUUtilization (Expected)"), ReturnData: pulumi.Bool(true), }, &cloudwatch.MetricAlarmMetricQueryArgs{ Id: pulumi.String("m1"), Metric: &cloudwatch.MetricAlarmMetricQueryMetricArgs{ Dimensions: pulumi.StringMap{ "InstanceId": pulumi.String("i-abc123"), }, MetricName: pulumi.String("CPUUtilization"), Namespace: pulumi.String("AWS/EC2"), Period: pulumi.Int(120), Stat: pulumi.String("Average"), Unit: pulumi.String("Count"), }, ReturnData: pulumi.Bool(true), }, }, ThresholdMetricId: pulumi.String("e1"), }) if err != nil { return err } return nil }) }
```
## Example of monitoring Healthy Hosts on NLB using Target Group and NLB
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/sns" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudwatch.NewMetricAlarm(ctx, "nlbHealthyhosts", &cloudwatch.MetricAlarmArgs{ ComparisonOperator: pulumi.String("LessThanThreshold"), EvaluationPeriods: pulumi.Int(1), MetricName: pulumi.String("HealthyHostCount"), Namespace: pulumi.String("AWS/NetworkELB"), Period: pulumi.Int(60), Statistic: pulumi.String("Average"), Threshold: pulumi.Any(_var.Logstash_servers_count), AlarmDescription: pulumi.String("Number of healthy nodes in Target Group"), ActionsEnabled: pulumi.Bool(true), AlarmActions: pulumi.AnyArray{ pulumi.Any(aws_sns_topic.Sns.Arn), }, OkActions: pulumi.AnyArray{ pulumi.Any(aws_sns_topic.Sns.Arn), }, Dimensions: pulumi.StringMap{ "TargetGroup": pulumi.Any(aws_lb_target_group.Lb - tg.Arn_suffix), "LoadBalancer": pulumi.Any(aws_lb.Lb.Arn_suffix), }, }) if err != nil { return err } return nil }) }
```
> **NOTE:** You cannot create a metric alarm consisting of both `statistic` and `extendedStatistic` parameters. You must choose one or the other
## Import
CloudWatch Metric Alarm can be imported using the `alarm_name`, e.g.,
```sh
$ pulumi import aws:cloudwatch/metricAlarm:MetricAlarm test alarm-12345
```
func GetMetricAlarm ¶
func GetMetricAlarm(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MetricAlarmState, opts ...pulumi.ResourceOption) (*MetricAlarm, error)
GetMetricAlarm gets an existing MetricAlarm 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 NewMetricAlarm ¶
func NewMetricAlarm(ctx *pulumi.Context, name string, args *MetricAlarmArgs, opts ...pulumi.ResourceOption) (*MetricAlarm, error)
NewMetricAlarm registers a new resource with the given unique name, arguments, and options.
func (*MetricAlarm) ElementType ¶
func (*MetricAlarm) ElementType() reflect.Type
func (*MetricAlarm) ToMetricAlarmOutput ¶
func (i *MetricAlarm) ToMetricAlarmOutput() MetricAlarmOutput
func (*MetricAlarm) ToMetricAlarmOutputWithContext ¶
func (i *MetricAlarm) ToMetricAlarmOutputWithContext(ctx context.Context) MetricAlarmOutput
type MetricAlarmArgs ¶
type MetricAlarmArgs struct { // Indicates whether or not actions should be executed during any changes to the alarm's state. Defaults to `true`. ActionsEnabled pulumi.BoolPtrInput // The list of actions to execute when this alarm transitions into an ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN). AlarmActions pulumi.ArrayInput // The description for the alarm. AlarmDescription pulumi.StringPtrInput // The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand. Either of the following is supported: `GreaterThanOrEqualToThreshold`, `GreaterThanThreshold`, `LessThanThreshold`, `LessThanOrEqualToThreshold`. Additionally, the values `LessThanLowerOrGreaterThanUpperThreshold`, `LessThanLowerThreshold`, and `GreaterThanUpperThreshold` are used only for alarms based on anomaly detection models. ComparisonOperator pulumi.StringInput // The number of datapoints that must be breaching to trigger the alarm. DatapointsToAlarm pulumi.IntPtrInput // The dimensions for this metric. For the list of available dimensions see the AWS documentation [here](http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html). Dimensions pulumi.StringMapInput // Used only for alarms // based on percentiles. If you specify `ignore`, the alarm state will not // change during periods with too few data points to be statistically significant. // If you specify `evaluate` or omit this parameter, the alarm will always be // evaluated and possibly change state no matter how many data points are available. // The following values are supported: `ignore`, and `evaluate`. EvaluateLowSampleCountPercentiles pulumi.StringPtrInput // The number of periods over which data is compared to the specified threshold. EvaluationPeriods pulumi.IntInput // The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. ExtendedStatistic pulumi.StringPtrInput // The list of actions to execute when this alarm transitions into an INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN). InsufficientDataActions pulumi.ArrayInput // The name for this metric. // See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html). MetricName pulumi.StringPtrInput // Enables you to create an alarm based on a metric math expression. You may specify at most 20. MetricQueries MetricAlarmMetricQueryArrayInput // The descriptive name for the alarm. This name must be unique within the user's AWS account Name pulumi.StringPtrInput // The namespace for this metric. See docs for the [list of namespaces](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/aws-namespaces.html). // See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html). Namespace pulumi.StringPtrInput // The list of actions to execute when this alarm transitions into an OK state from any other state. Each action is specified as an Amazon Resource Name (ARN). OkActions pulumi.ArrayInput // The period in seconds over which the specified `stat` is applied. Period pulumi.IntPtrInput // The statistic to apply to the alarm's associated metric. // Either of the following is supported: `SampleCount`, `Average`, `Sum`, `Minimum`, `Maximum` Statistic 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 value against which the specified statistic is compared. This parameter is required for alarms based on static thresholds, but should not be used for alarms based on anomaly detection models. Threshold pulumi.Float64PtrInput // If this is an alarm based on an anomaly detection model, make this value match the ID of the ANOMALY_DETECTION_BAND function. ThresholdMetricId pulumi.StringPtrInput // Sets how this alarm is to handle missing data points. The following values are supported: `missing`, `ignore`, `breaching` and `notBreaching`. Defaults to `missing`. TreatMissingData pulumi.StringPtrInput // The unit for this metric. Unit pulumi.StringPtrInput }
The set of arguments for constructing a MetricAlarm resource.
func (MetricAlarmArgs) ElementType ¶
func (MetricAlarmArgs) ElementType() reflect.Type
type MetricAlarmArray ¶
type MetricAlarmArray []MetricAlarmInput
func (MetricAlarmArray) ElementType ¶
func (MetricAlarmArray) ElementType() reflect.Type
func (MetricAlarmArray) ToMetricAlarmArrayOutput ¶
func (i MetricAlarmArray) ToMetricAlarmArrayOutput() MetricAlarmArrayOutput
func (MetricAlarmArray) ToMetricAlarmArrayOutputWithContext ¶
func (i MetricAlarmArray) ToMetricAlarmArrayOutputWithContext(ctx context.Context) MetricAlarmArrayOutput
type MetricAlarmArrayInput ¶
type MetricAlarmArrayInput interface { pulumi.Input ToMetricAlarmArrayOutput() MetricAlarmArrayOutput ToMetricAlarmArrayOutputWithContext(context.Context) MetricAlarmArrayOutput }
MetricAlarmArrayInput is an input type that accepts MetricAlarmArray and MetricAlarmArrayOutput values. You can construct a concrete instance of `MetricAlarmArrayInput` via:
MetricAlarmArray{ MetricAlarmArgs{...} }
type MetricAlarmArrayOutput ¶
type MetricAlarmArrayOutput struct{ *pulumi.OutputState }
func (MetricAlarmArrayOutput) ElementType ¶
func (MetricAlarmArrayOutput) ElementType() reflect.Type
func (MetricAlarmArrayOutput) Index ¶
func (o MetricAlarmArrayOutput) Index(i pulumi.IntInput) MetricAlarmOutput
func (MetricAlarmArrayOutput) ToMetricAlarmArrayOutput ¶
func (o MetricAlarmArrayOutput) ToMetricAlarmArrayOutput() MetricAlarmArrayOutput
func (MetricAlarmArrayOutput) ToMetricAlarmArrayOutputWithContext ¶
func (o MetricAlarmArrayOutput) ToMetricAlarmArrayOutputWithContext(ctx context.Context) MetricAlarmArrayOutput
type MetricAlarmInput ¶
type MetricAlarmInput interface { pulumi.Input ToMetricAlarmOutput() MetricAlarmOutput ToMetricAlarmOutputWithContext(ctx context.Context) MetricAlarmOutput }
type MetricAlarmMap ¶
type MetricAlarmMap map[string]MetricAlarmInput
func (MetricAlarmMap) ElementType ¶
func (MetricAlarmMap) ElementType() reflect.Type
func (MetricAlarmMap) ToMetricAlarmMapOutput ¶
func (i MetricAlarmMap) ToMetricAlarmMapOutput() MetricAlarmMapOutput
func (MetricAlarmMap) ToMetricAlarmMapOutputWithContext ¶
func (i MetricAlarmMap) ToMetricAlarmMapOutputWithContext(ctx context.Context) MetricAlarmMapOutput
type MetricAlarmMapInput ¶
type MetricAlarmMapInput interface { pulumi.Input ToMetricAlarmMapOutput() MetricAlarmMapOutput ToMetricAlarmMapOutputWithContext(context.Context) MetricAlarmMapOutput }
MetricAlarmMapInput is an input type that accepts MetricAlarmMap and MetricAlarmMapOutput values. You can construct a concrete instance of `MetricAlarmMapInput` via:
MetricAlarmMap{ "key": MetricAlarmArgs{...} }
type MetricAlarmMapOutput ¶
type MetricAlarmMapOutput struct{ *pulumi.OutputState }
func (MetricAlarmMapOutput) ElementType ¶
func (MetricAlarmMapOutput) ElementType() reflect.Type
func (MetricAlarmMapOutput) MapIndex ¶
func (o MetricAlarmMapOutput) MapIndex(k pulumi.StringInput) MetricAlarmOutput
func (MetricAlarmMapOutput) ToMetricAlarmMapOutput ¶
func (o MetricAlarmMapOutput) ToMetricAlarmMapOutput() MetricAlarmMapOutput
func (MetricAlarmMapOutput) ToMetricAlarmMapOutputWithContext ¶
func (o MetricAlarmMapOutput) ToMetricAlarmMapOutputWithContext(ctx context.Context) MetricAlarmMapOutput
type MetricAlarmMetricQuery ¶
type MetricAlarmMetricQuery struct { // The ID of the account where the metrics are located, if this is a cross-account alarm. AccountId *string `pulumi:"accountId"` // The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the id of the other metrics to refer to those metrics, and can also use the id of other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the [Amazon CloudWatch User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html#metric-math-syntax). Expression *string `pulumi:"expression"` // A short name used to tie this object to the results in the response. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Id string `pulumi:"id"` // A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. Label *string `pulumi:"label"` // The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data. Metric *MetricAlarmMetricQueryMetric `pulumi:"metric"` // Specify exactly one `metricQuery` to be `true` to use that `metricQuery` result as the alarm. ReturnData *bool `pulumi:"returnData"` }
type MetricAlarmMetricQueryArgs ¶
type MetricAlarmMetricQueryArgs struct { // The ID of the account where the metrics are located, if this is a cross-account alarm. AccountId pulumi.StringPtrInput `pulumi:"accountId"` // The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the id of the other metrics to refer to those metrics, and can also use the id of other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the [Amazon CloudWatch User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html#metric-math-syntax). Expression pulumi.StringPtrInput `pulumi:"expression"` // A short name used to tie this object to the results in the response. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter. Id pulumi.StringInput `pulumi:"id"` // A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents. Label pulumi.StringPtrInput `pulumi:"label"` // The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data. Metric MetricAlarmMetricQueryMetricPtrInput `pulumi:"metric"` // Specify exactly one `metricQuery` to be `true` to use that `metricQuery` result as the alarm. ReturnData pulumi.BoolPtrInput `pulumi:"returnData"` }
func (MetricAlarmMetricQueryArgs) ElementType ¶
func (MetricAlarmMetricQueryArgs) ElementType() reflect.Type
func (MetricAlarmMetricQueryArgs) ToMetricAlarmMetricQueryOutput ¶
func (i MetricAlarmMetricQueryArgs) ToMetricAlarmMetricQueryOutput() MetricAlarmMetricQueryOutput
func (MetricAlarmMetricQueryArgs) ToMetricAlarmMetricQueryOutputWithContext ¶
func (i MetricAlarmMetricQueryArgs) ToMetricAlarmMetricQueryOutputWithContext(ctx context.Context) MetricAlarmMetricQueryOutput
type MetricAlarmMetricQueryArray ¶
type MetricAlarmMetricQueryArray []MetricAlarmMetricQueryInput
func (MetricAlarmMetricQueryArray) ElementType ¶
func (MetricAlarmMetricQueryArray) ElementType() reflect.Type
func (MetricAlarmMetricQueryArray) ToMetricAlarmMetricQueryArrayOutput ¶
func (i MetricAlarmMetricQueryArray) ToMetricAlarmMetricQueryArrayOutput() MetricAlarmMetricQueryArrayOutput
func (MetricAlarmMetricQueryArray) ToMetricAlarmMetricQueryArrayOutputWithContext ¶
func (i MetricAlarmMetricQueryArray) ToMetricAlarmMetricQueryArrayOutputWithContext(ctx context.Context) MetricAlarmMetricQueryArrayOutput
type MetricAlarmMetricQueryArrayInput ¶
type MetricAlarmMetricQueryArrayInput interface { pulumi.Input ToMetricAlarmMetricQueryArrayOutput() MetricAlarmMetricQueryArrayOutput ToMetricAlarmMetricQueryArrayOutputWithContext(context.Context) MetricAlarmMetricQueryArrayOutput }
MetricAlarmMetricQueryArrayInput is an input type that accepts MetricAlarmMetricQueryArray and MetricAlarmMetricQueryArrayOutput values. You can construct a concrete instance of `MetricAlarmMetricQueryArrayInput` via:
MetricAlarmMetricQueryArray{ MetricAlarmMetricQueryArgs{...} }
type MetricAlarmMetricQueryArrayOutput ¶
type MetricAlarmMetricQueryArrayOutput struct{ *pulumi.OutputState }
func (MetricAlarmMetricQueryArrayOutput) ElementType ¶
func (MetricAlarmMetricQueryArrayOutput) ElementType() reflect.Type
func (MetricAlarmMetricQueryArrayOutput) Index ¶
func (o MetricAlarmMetricQueryArrayOutput) Index(i pulumi.IntInput) MetricAlarmMetricQueryOutput
func (MetricAlarmMetricQueryArrayOutput) ToMetricAlarmMetricQueryArrayOutput ¶
func (o MetricAlarmMetricQueryArrayOutput) ToMetricAlarmMetricQueryArrayOutput() MetricAlarmMetricQueryArrayOutput
func (MetricAlarmMetricQueryArrayOutput) ToMetricAlarmMetricQueryArrayOutputWithContext ¶
func (o MetricAlarmMetricQueryArrayOutput) ToMetricAlarmMetricQueryArrayOutputWithContext(ctx context.Context) MetricAlarmMetricQueryArrayOutput
type MetricAlarmMetricQueryInput ¶
type MetricAlarmMetricQueryInput interface { pulumi.Input ToMetricAlarmMetricQueryOutput() MetricAlarmMetricQueryOutput ToMetricAlarmMetricQueryOutputWithContext(context.Context) MetricAlarmMetricQueryOutput }
MetricAlarmMetricQueryInput is an input type that accepts MetricAlarmMetricQueryArgs and MetricAlarmMetricQueryOutput values. You can construct a concrete instance of `MetricAlarmMetricQueryInput` via:
MetricAlarmMetricQueryArgs{...}
type MetricAlarmMetricQueryMetric ¶
type MetricAlarmMetricQueryMetric struct { // The dimensions for this metric. For the list of available dimensions see the AWS documentation [here](http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html). Dimensions map[string]string `pulumi:"dimensions"` // The name for this metric. // See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html). MetricName string `pulumi:"metricName"` // The namespace for this metric. See docs for the [list of namespaces](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/aws-namespaces.html). // See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html). Namespace *string `pulumi:"namespace"` // The period in seconds over which the specified `stat` is applied. Period int `pulumi:"period"` // The statistic to apply to this metric. // See docs for [supported statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html). Stat string `pulumi:"stat"` // The unit for this metric. Unit *string `pulumi:"unit"` }
type MetricAlarmMetricQueryMetricArgs ¶
type MetricAlarmMetricQueryMetricArgs struct { // The dimensions for this metric. For the list of available dimensions see the AWS documentation [here](http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html). Dimensions pulumi.StringMapInput `pulumi:"dimensions"` // The name for this metric. // See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html). MetricName pulumi.StringInput `pulumi:"metricName"` // The namespace for this metric. See docs for the [list of namespaces](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/aws-namespaces.html). // See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html). Namespace pulumi.StringPtrInput `pulumi:"namespace"` // The period in seconds over which the specified `stat` is applied. Period pulumi.IntInput `pulumi:"period"` // The statistic to apply to this metric. // See docs for [supported statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html). Stat pulumi.StringInput `pulumi:"stat"` // The unit for this metric. Unit pulumi.StringPtrInput `pulumi:"unit"` }
func (MetricAlarmMetricQueryMetricArgs) ElementType ¶
func (MetricAlarmMetricQueryMetricArgs) ElementType() reflect.Type
func (MetricAlarmMetricQueryMetricArgs) ToMetricAlarmMetricQueryMetricOutput ¶
func (i MetricAlarmMetricQueryMetricArgs) ToMetricAlarmMetricQueryMetricOutput() MetricAlarmMetricQueryMetricOutput
func (MetricAlarmMetricQueryMetricArgs) ToMetricAlarmMetricQueryMetricOutputWithContext ¶
func (i MetricAlarmMetricQueryMetricArgs) ToMetricAlarmMetricQueryMetricOutputWithContext(ctx context.Context) MetricAlarmMetricQueryMetricOutput
func (MetricAlarmMetricQueryMetricArgs) ToMetricAlarmMetricQueryMetricPtrOutput ¶
func (i MetricAlarmMetricQueryMetricArgs) ToMetricAlarmMetricQueryMetricPtrOutput() MetricAlarmMetricQueryMetricPtrOutput
func (MetricAlarmMetricQueryMetricArgs) ToMetricAlarmMetricQueryMetricPtrOutputWithContext ¶
func (i MetricAlarmMetricQueryMetricArgs) ToMetricAlarmMetricQueryMetricPtrOutputWithContext(ctx context.Context) MetricAlarmMetricQueryMetricPtrOutput
type MetricAlarmMetricQueryMetricInput ¶
type MetricAlarmMetricQueryMetricInput interface { pulumi.Input ToMetricAlarmMetricQueryMetricOutput() MetricAlarmMetricQueryMetricOutput ToMetricAlarmMetricQueryMetricOutputWithContext(context.Context) MetricAlarmMetricQueryMetricOutput }
MetricAlarmMetricQueryMetricInput is an input type that accepts MetricAlarmMetricQueryMetricArgs and MetricAlarmMetricQueryMetricOutput values. You can construct a concrete instance of `MetricAlarmMetricQueryMetricInput` via:
MetricAlarmMetricQueryMetricArgs{...}
type MetricAlarmMetricQueryMetricOutput ¶
type MetricAlarmMetricQueryMetricOutput struct{ *pulumi.OutputState }
func (MetricAlarmMetricQueryMetricOutput) Dimensions ¶
func (o MetricAlarmMetricQueryMetricOutput) Dimensions() pulumi.StringMapOutput
The dimensions for this metric. For the list of available dimensions see the AWS documentation [here](http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).
func (MetricAlarmMetricQueryMetricOutput) ElementType ¶
func (MetricAlarmMetricQueryMetricOutput) ElementType() reflect.Type
func (MetricAlarmMetricQueryMetricOutput) MetricName ¶
func (o MetricAlarmMetricQueryMetricOutput) MetricName() pulumi.StringOutput
The name for this metric. See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).
func (MetricAlarmMetricQueryMetricOutput) Namespace ¶
func (o MetricAlarmMetricQueryMetricOutput) Namespace() pulumi.StringPtrOutput
The namespace for this metric. See docs for the [list of namespaces](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/aws-namespaces.html). See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).
func (MetricAlarmMetricQueryMetricOutput) Period ¶
func (o MetricAlarmMetricQueryMetricOutput) Period() pulumi.IntOutput
The period in seconds over which the specified `stat` is applied.
func (MetricAlarmMetricQueryMetricOutput) Stat ¶
func (o MetricAlarmMetricQueryMetricOutput) Stat() pulumi.StringOutput
The statistic to apply to this metric. See docs for [supported statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html).
func (MetricAlarmMetricQueryMetricOutput) ToMetricAlarmMetricQueryMetricOutput ¶
func (o MetricAlarmMetricQueryMetricOutput) ToMetricAlarmMetricQueryMetricOutput() MetricAlarmMetricQueryMetricOutput
func (MetricAlarmMetricQueryMetricOutput) ToMetricAlarmMetricQueryMetricOutputWithContext ¶
func (o MetricAlarmMetricQueryMetricOutput) ToMetricAlarmMetricQueryMetricOutputWithContext(ctx context.Context) MetricAlarmMetricQueryMetricOutput
func (MetricAlarmMetricQueryMetricOutput) ToMetricAlarmMetricQueryMetricPtrOutput ¶
func (o MetricAlarmMetricQueryMetricOutput) ToMetricAlarmMetricQueryMetricPtrOutput() MetricAlarmMetricQueryMetricPtrOutput
func (MetricAlarmMetricQueryMetricOutput) ToMetricAlarmMetricQueryMetricPtrOutputWithContext ¶
func (o MetricAlarmMetricQueryMetricOutput) ToMetricAlarmMetricQueryMetricPtrOutputWithContext(ctx context.Context) MetricAlarmMetricQueryMetricPtrOutput
func (MetricAlarmMetricQueryMetricOutput) Unit ¶
func (o MetricAlarmMetricQueryMetricOutput) Unit() pulumi.StringPtrOutput
The unit for this metric.
type MetricAlarmMetricQueryMetricPtrInput ¶
type MetricAlarmMetricQueryMetricPtrInput interface { pulumi.Input ToMetricAlarmMetricQueryMetricPtrOutput() MetricAlarmMetricQueryMetricPtrOutput ToMetricAlarmMetricQueryMetricPtrOutputWithContext(context.Context) MetricAlarmMetricQueryMetricPtrOutput }
MetricAlarmMetricQueryMetricPtrInput is an input type that accepts MetricAlarmMetricQueryMetricArgs, MetricAlarmMetricQueryMetricPtr and MetricAlarmMetricQueryMetricPtrOutput values. You can construct a concrete instance of `MetricAlarmMetricQueryMetricPtrInput` via:
MetricAlarmMetricQueryMetricArgs{...} or: nil
func MetricAlarmMetricQueryMetricPtr ¶
func MetricAlarmMetricQueryMetricPtr(v *MetricAlarmMetricQueryMetricArgs) MetricAlarmMetricQueryMetricPtrInput
type MetricAlarmMetricQueryMetricPtrOutput ¶
type MetricAlarmMetricQueryMetricPtrOutput struct{ *pulumi.OutputState }
func (MetricAlarmMetricQueryMetricPtrOutput) Dimensions ¶
func (o MetricAlarmMetricQueryMetricPtrOutput) Dimensions() pulumi.StringMapOutput
The dimensions for this metric. For the list of available dimensions see the AWS documentation [here](http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).
func (MetricAlarmMetricQueryMetricPtrOutput) ElementType ¶
func (MetricAlarmMetricQueryMetricPtrOutput) ElementType() reflect.Type
func (MetricAlarmMetricQueryMetricPtrOutput) MetricName ¶
func (o MetricAlarmMetricQueryMetricPtrOutput) MetricName() pulumi.StringPtrOutput
The name for this metric. See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).
func (MetricAlarmMetricQueryMetricPtrOutput) Namespace ¶
func (o MetricAlarmMetricQueryMetricPtrOutput) Namespace() pulumi.StringPtrOutput
The namespace for this metric. See docs for the [list of namespaces](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/aws-namespaces.html). See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html).
func (MetricAlarmMetricQueryMetricPtrOutput) Period ¶
func (o MetricAlarmMetricQueryMetricPtrOutput) Period() pulumi.IntPtrOutput
The period in seconds over which the specified `stat` is applied.
func (MetricAlarmMetricQueryMetricPtrOutput) Stat ¶
func (o MetricAlarmMetricQueryMetricPtrOutput) Stat() pulumi.StringPtrOutput
The statistic to apply to this metric. See docs for [supported statistics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html).
func (MetricAlarmMetricQueryMetricPtrOutput) ToMetricAlarmMetricQueryMetricPtrOutput ¶
func (o MetricAlarmMetricQueryMetricPtrOutput) ToMetricAlarmMetricQueryMetricPtrOutput() MetricAlarmMetricQueryMetricPtrOutput
func (MetricAlarmMetricQueryMetricPtrOutput) ToMetricAlarmMetricQueryMetricPtrOutputWithContext ¶
func (o MetricAlarmMetricQueryMetricPtrOutput) ToMetricAlarmMetricQueryMetricPtrOutputWithContext(ctx context.Context) MetricAlarmMetricQueryMetricPtrOutput
func (MetricAlarmMetricQueryMetricPtrOutput) Unit ¶
func (o MetricAlarmMetricQueryMetricPtrOutput) Unit() pulumi.StringPtrOutput
The unit for this metric.
type MetricAlarmMetricQueryOutput ¶
type MetricAlarmMetricQueryOutput struct{ *pulumi.OutputState }
func (MetricAlarmMetricQueryOutput) AccountId ¶ added in v4.16.0
func (o MetricAlarmMetricQueryOutput) AccountId() pulumi.StringPtrOutput
The ID of the account where the metrics are located, if this is a cross-account alarm.
func (MetricAlarmMetricQueryOutput) ElementType ¶
func (MetricAlarmMetricQueryOutput) ElementType() reflect.Type
func (MetricAlarmMetricQueryOutput) Expression ¶
func (o MetricAlarmMetricQueryOutput) Expression() pulumi.StringPtrOutput
The math expression to be performed on the returned data, if this object is performing a math expression. This expression can use the id of the other metrics to refer to those metrics, and can also use the id of other expressions to use the result of those expressions. For more information about metric math expressions, see Metric Math Syntax and Functions in the [Amazon CloudWatch User Guide](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/using-metric-math.html#metric-math-syntax).
func (MetricAlarmMetricQueryOutput) Id ¶
func (o MetricAlarmMetricQueryOutput) Id() pulumi.StringOutput
A short name used to tie this object to the results in the response. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscore. The first character must be a lowercase letter.
func (MetricAlarmMetricQueryOutput) Label ¶
func (o MetricAlarmMetricQueryOutput) Label() pulumi.StringPtrOutput
A human-readable label for this metric or expression. This is especially useful if this is an expression, so that you know what the value represents.
func (MetricAlarmMetricQueryOutput) Metric ¶
func (o MetricAlarmMetricQueryOutput) Metric() MetricAlarmMetricQueryMetricPtrOutput
The metric to be returned, along with statistics, period, and units. Use this parameter only if this object is retrieving a metric and not performing a math expression on returned data.
func (MetricAlarmMetricQueryOutput) ReturnData ¶
func (o MetricAlarmMetricQueryOutput) ReturnData() pulumi.BoolPtrOutput
Specify exactly one `metricQuery` to be `true` to use that `metricQuery` result as the alarm.
func (MetricAlarmMetricQueryOutput) ToMetricAlarmMetricQueryOutput ¶
func (o MetricAlarmMetricQueryOutput) ToMetricAlarmMetricQueryOutput() MetricAlarmMetricQueryOutput
func (MetricAlarmMetricQueryOutput) ToMetricAlarmMetricQueryOutputWithContext ¶
func (o MetricAlarmMetricQueryOutput) ToMetricAlarmMetricQueryOutputWithContext(ctx context.Context) MetricAlarmMetricQueryOutput
type MetricAlarmOutput ¶
type MetricAlarmOutput struct{ *pulumi.OutputState }
func (MetricAlarmOutput) ElementType ¶
func (MetricAlarmOutput) ElementType() reflect.Type
func (MetricAlarmOutput) ToMetricAlarmOutput ¶
func (o MetricAlarmOutput) ToMetricAlarmOutput() MetricAlarmOutput
func (MetricAlarmOutput) ToMetricAlarmOutputWithContext ¶
func (o MetricAlarmOutput) ToMetricAlarmOutputWithContext(ctx context.Context) MetricAlarmOutput
type MetricAlarmState ¶
type MetricAlarmState struct { // Indicates whether or not actions should be executed during any changes to the alarm's state. Defaults to `true`. ActionsEnabled pulumi.BoolPtrInput // The list of actions to execute when this alarm transitions into an ALARM state from any other state. Each action is specified as an Amazon Resource Name (ARN). AlarmActions pulumi.ArrayInput // The description for the alarm. AlarmDescription pulumi.StringPtrInput // The ARN of the CloudWatch Metric Alarm. Arn pulumi.StringPtrInput // The arithmetic operation to use when comparing the specified Statistic and Threshold. The specified Statistic value is used as the first operand. Either of the following is supported: `GreaterThanOrEqualToThreshold`, `GreaterThanThreshold`, `LessThanThreshold`, `LessThanOrEqualToThreshold`. Additionally, the values `LessThanLowerOrGreaterThanUpperThreshold`, `LessThanLowerThreshold`, and `GreaterThanUpperThreshold` are used only for alarms based on anomaly detection models. ComparisonOperator pulumi.StringPtrInput // The number of datapoints that must be breaching to trigger the alarm. DatapointsToAlarm pulumi.IntPtrInput // The dimensions for this metric. For the list of available dimensions see the AWS documentation [here](http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html). Dimensions pulumi.StringMapInput // Used only for alarms // based on percentiles. If you specify `ignore`, the alarm state will not // change during periods with too few data points to be statistically significant. // If you specify `evaluate` or omit this parameter, the alarm will always be // evaluated and possibly change state no matter how many data points are available. // The following values are supported: `ignore`, and `evaluate`. EvaluateLowSampleCountPercentiles pulumi.StringPtrInput // The number of periods over which data is compared to the specified threshold. EvaluationPeriods pulumi.IntPtrInput // The percentile statistic for the metric associated with the alarm. Specify a value between p0.0 and p100. ExtendedStatistic pulumi.StringPtrInput // The list of actions to execute when this alarm transitions into an INSUFFICIENT_DATA state from any other state. Each action is specified as an Amazon Resource Name (ARN). InsufficientDataActions pulumi.ArrayInput // The name for this metric. // See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html). MetricName pulumi.StringPtrInput // Enables you to create an alarm based on a metric math expression. You may specify at most 20. MetricQueries MetricAlarmMetricQueryArrayInput // The descriptive name for the alarm. This name must be unique within the user's AWS account Name pulumi.StringPtrInput // The namespace for this metric. See docs for the [list of namespaces](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/aws-namespaces.html). // See docs for [supported metrics](https://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/CW_Support_For_AWS.html). Namespace pulumi.StringPtrInput // The list of actions to execute when this alarm transitions into an OK state from any other state. Each action is specified as an Amazon Resource Name (ARN). OkActions pulumi.ArrayInput // The period in seconds over which the specified `stat` is applied. Period pulumi.IntPtrInput // The statistic to apply to the alarm's associated metric. // Either of the following is supported: `SampleCount`, `Average`, `Sum`, `Minimum`, `Maximum` Statistic pulumi.StringPtrInput // A map of tags to assign to the resource. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider . TagsAll pulumi.StringMapInput // The value against which the specified statistic is compared. This parameter is required for alarms based on static thresholds, but should not be used for alarms based on anomaly detection models. Threshold pulumi.Float64PtrInput // If this is an alarm based on an anomaly detection model, make this value match the ID of the ANOMALY_DETECTION_BAND function. ThresholdMetricId pulumi.StringPtrInput // Sets how this alarm is to handle missing data points. The following values are supported: `missing`, `ignore`, `breaching` and `notBreaching`. Defaults to `missing`. TreatMissingData pulumi.StringPtrInput // The unit for this metric. Unit pulumi.StringPtrInput }
func (MetricAlarmState) ElementType ¶
func (MetricAlarmState) ElementType() reflect.Type
type MetricStream ¶ added in v4.6.0
type MetricStream struct { pulumi.CustomResourceState // ARN of the metric stream. Arn pulumi.StringOutput `pulumi:"arn"` // Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) that the metric stream was created. CreationDate pulumi.StringOutput `pulumi:"creationDate"` // List of exclusive metric filters. If you specify this parameter, the stream sends metrics from all metric namespaces except for the namespaces that you specify here. Conflicts with `includeFilter`. ExcludeFilters MetricStreamExcludeFilterArrayOutput `pulumi:"excludeFilters"` // ARN of the Amazon Kinesis Firehose delivery stream to use for this metric stream. FirehoseArn pulumi.StringOutput `pulumi:"firehoseArn"` // List of inclusive metric filters. If you specify this parameter, the stream sends only the metrics from the metric namespaces that you specify here. Conflicts with `excludeFilter`. IncludeFilters MetricStreamIncludeFilterArrayOutput `pulumi:"includeFilters"` // Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) that the metric stream was last updated. LastUpdateDate pulumi.StringOutput `pulumi:"lastUpdateDate"` Name pulumi.StringOutput `pulumi:"name"` // Creates a unique friendly name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringOutput `pulumi:"namePrefix"` // Output format for the stream. Possible values are `json` and `opentelemetry0.7`. For more information about output formats, see [Metric streams output formats](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-formats.html). OutputFormat pulumi.StringOutput `pulumi:"outputFormat"` // ARN of the IAM role that this metric stream will use to access Amazon Kinesis Firehose resources. For more information about role permissions, see [Trust between CloudWatch and Kinesis Data Firehose](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-trustpolicy.html). RoleArn pulumi.StringOutput `pulumi:"roleArn"` // State of the metric stream. Possible values are `running` and `stopped`. State pulumi.StringOutput `pulumi:"state"` // Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a CloudWatch Metric Stream resource.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/iam" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/kinesis" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/s3" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { metricStreamToFirehoseRole, err := iam.NewRole(ctx, "metricStreamToFirehoseRole", &iam.RoleArgs{ AssumeRolePolicy: pulumi.Any(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": [\n", " {\n", " \"Action\": \"sts:AssumeRole\",\n", " \"Principal\": {\n", " \"Service\": \"streams.metrics.cloudwatch.amazonaws.com\"\n", " },\n", " \"Effect\": \"Allow\",\n", " \"Sid\": \"\"\n", " }\n", " ]\n", "}\n")), }) if err != nil { return err } bucket, err := s3.NewBucket(ctx, "bucket", &s3.BucketArgs{ Acl: pulumi.String("private"), }) if err != nil { return err } firehoseToS3Role, err := iam.NewRole(ctx, "firehoseToS3Role", &iam.RoleArgs{ AssumeRolePolicy: pulumi.Any(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": [\n", " {\n", " \"Action\": \"sts:AssumeRole\",\n", " \"Principal\": {\n", " \"Service\": \"firehose.amazonaws.com\"\n", " },\n", " \"Effect\": \"Allow\",\n", " \"Sid\": \"\"\n", " }\n", " ]\n", "}\n")), }) if err != nil { return err } s3Stream, err := kinesis.NewFirehoseDeliveryStream(ctx, "s3Stream", &kinesis.FirehoseDeliveryStreamArgs{ Destination: pulumi.String("s3"), S3Configuration: &kinesis.FirehoseDeliveryStreamS3ConfigurationArgs{ RoleArn: firehoseToS3Role.Arn, BucketArn: bucket.Arn, }, }) if err != nil { return err } _, err = cloudwatch.NewMetricStream(ctx, "main", &cloudwatch.MetricStreamArgs{ RoleArn: metricStreamToFirehoseRole.Arn, FirehoseArn: s3Stream.Arn, OutputFormat: pulumi.String("json"), IncludeFilters: cloudwatch.MetricStreamIncludeFilterArray{ &cloudwatch.MetricStreamIncludeFilterArgs{ Namespace: pulumi.String("AWS/EC2"), }, &cloudwatch.MetricStreamIncludeFilterArgs{ Namespace: pulumi.String("AWS/EBS"), }, }, }) if err != nil { return err } _, err = iam.NewRolePolicy(ctx, "metricStreamToFirehoseRolePolicy", &iam.RolePolicyArgs{ Role: metricStreamToFirehoseRole.ID(), Policy: s3Stream.Arn.ApplyT(func(arn string) (string, error) { return fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": [\n", " {\n", " \"Effect\": \"Allow\",\n", " \"Action\": [\n", " \"firehose:PutRecord\",\n", " \"firehose:PutRecordBatch\"\n", " ],\n", " \"Resource\": \"", arn, "\"\n", " }\n", " ]\n", "}\n"), nil }).(pulumi.StringOutput), }) if err != nil { return err } _, err = iam.NewRolePolicy(ctx, "firehoseToS3RolePolicy", &iam.RolePolicyArgs{ Role: firehoseToS3Role.ID(), Policy: pulumi.All(bucket.Arn, bucket.Arn).ApplyT(func(_args []interface{}) (string, error) { bucketArn := _args[0].(string) bucketArn1 := _args[1].(string) return fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": [\n", " {\n", " \"Effect\": \"Allow\",\n", " \"Action\": [\n", " \"s3:AbortMultipartUpload\",\n", " \"s3:GetBucketLocation\",\n", " \"s3:GetObject\",\n", " \"s3:ListBucket\",\n", " \"s3:ListBucketMultipartUploads\",\n", " \"s3:PutObject\"\n", " ],\n", " \"Resource\": [\n", " \"", bucketArn, "\",\n", " \"", bucketArn1, "/*\"\n", " ]\n", " }\n", " ]\n", "}\n"), nil }).(pulumi.StringOutput), }) if err != nil { return err } return nil }) }
```
## Import
CloudWatch metric streams can be imported using the `name`, e.g.,
```sh
$ pulumi import aws:cloudwatch/metricStream:MetricStream sample <name>
```
func GetMetricStream ¶ added in v4.6.0
func GetMetricStream(ctx *pulumi.Context, name string, id pulumi.IDInput, state *MetricStreamState, opts ...pulumi.ResourceOption) (*MetricStream, error)
GetMetricStream gets an existing MetricStream 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 NewMetricStream ¶ added in v4.6.0
func NewMetricStream(ctx *pulumi.Context, name string, args *MetricStreamArgs, opts ...pulumi.ResourceOption) (*MetricStream, error)
NewMetricStream registers a new resource with the given unique name, arguments, and options.
func (*MetricStream) ElementType ¶ added in v4.6.0
func (*MetricStream) ElementType() reflect.Type
func (*MetricStream) ToMetricStreamOutput ¶ added in v4.6.0
func (i *MetricStream) ToMetricStreamOutput() MetricStreamOutput
func (*MetricStream) ToMetricStreamOutputWithContext ¶ added in v4.6.0
func (i *MetricStream) ToMetricStreamOutputWithContext(ctx context.Context) MetricStreamOutput
type MetricStreamArgs ¶ added in v4.6.0
type MetricStreamArgs struct { // List of exclusive metric filters. If you specify this parameter, the stream sends metrics from all metric namespaces except for the namespaces that you specify here. Conflicts with `includeFilter`. ExcludeFilters MetricStreamExcludeFilterArrayInput // ARN of the Amazon Kinesis Firehose delivery stream to use for this metric stream. FirehoseArn pulumi.StringInput // List of inclusive metric filters. If you specify this parameter, the stream sends only the metrics from the metric namespaces that you specify here. Conflicts with `excludeFilter`. IncludeFilters MetricStreamIncludeFilterArrayInput Name pulumi.StringPtrInput // Creates a unique friendly name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrInput // Output format for the stream. Possible values are `json` and `opentelemetry0.7`. For more information about output formats, see [Metric streams output formats](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-formats.html). OutputFormat pulumi.StringInput // ARN of the IAM role that this metric stream will use to access Amazon Kinesis Firehose resources. For more information about role permissions, see [Trust between CloudWatch and Kinesis Data Firehose](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-trustpolicy.html). RoleArn pulumi.StringInput // 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 MetricStream resource.
func (MetricStreamArgs) ElementType ¶ added in v4.6.0
func (MetricStreamArgs) ElementType() reflect.Type
type MetricStreamArray ¶ added in v4.6.0
type MetricStreamArray []MetricStreamInput
func (MetricStreamArray) ElementType ¶ added in v4.6.0
func (MetricStreamArray) ElementType() reflect.Type
func (MetricStreamArray) ToMetricStreamArrayOutput ¶ added in v4.6.0
func (i MetricStreamArray) ToMetricStreamArrayOutput() MetricStreamArrayOutput
func (MetricStreamArray) ToMetricStreamArrayOutputWithContext ¶ added in v4.6.0
func (i MetricStreamArray) ToMetricStreamArrayOutputWithContext(ctx context.Context) MetricStreamArrayOutput
type MetricStreamArrayInput ¶ added in v4.6.0
type MetricStreamArrayInput interface { pulumi.Input ToMetricStreamArrayOutput() MetricStreamArrayOutput ToMetricStreamArrayOutputWithContext(context.Context) MetricStreamArrayOutput }
MetricStreamArrayInput is an input type that accepts MetricStreamArray and MetricStreamArrayOutput values. You can construct a concrete instance of `MetricStreamArrayInput` via:
MetricStreamArray{ MetricStreamArgs{...} }
type MetricStreamArrayOutput ¶ added in v4.6.0
type MetricStreamArrayOutput struct{ *pulumi.OutputState }
func (MetricStreamArrayOutput) ElementType ¶ added in v4.6.0
func (MetricStreamArrayOutput) ElementType() reflect.Type
func (MetricStreamArrayOutput) Index ¶ added in v4.6.0
func (o MetricStreamArrayOutput) Index(i pulumi.IntInput) MetricStreamOutput
func (MetricStreamArrayOutput) ToMetricStreamArrayOutput ¶ added in v4.6.0
func (o MetricStreamArrayOutput) ToMetricStreamArrayOutput() MetricStreamArrayOutput
func (MetricStreamArrayOutput) ToMetricStreamArrayOutputWithContext ¶ added in v4.6.0
func (o MetricStreamArrayOutput) ToMetricStreamArrayOutputWithContext(ctx context.Context) MetricStreamArrayOutput
type MetricStreamExcludeFilter ¶ added in v4.6.0
type MetricStreamExcludeFilter struct { // Name of the metric namespace in the filter. Namespace string `pulumi:"namespace"` }
type MetricStreamExcludeFilterArgs ¶ added in v4.6.0
type MetricStreamExcludeFilterArgs struct { // Name of the metric namespace in the filter. Namespace pulumi.StringInput `pulumi:"namespace"` }
func (MetricStreamExcludeFilterArgs) ElementType ¶ added in v4.6.0
func (MetricStreamExcludeFilterArgs) ElementType() reflect.Type
func (MetricStreamExcludeFilterArgs) ToMetricStreamExcludeFilterOutput ¶ added in v4.6.0
func (i MetricStreamExcludeFilterArgs) ToMetricStreamExcludeFilterOutput() MetricStreamExcludeFilterOutput
func (MetricStreamExcludeFilterArgs) ToMetricStreamExcludeFilterOutputWithContext ¶ added in v4.6.0
func (i MetricStreamExcludeFilterArgs) ToMetricStreamExcludeFilterOutputWithContext(ctx context.Context) MetricStreamExcludeFilterOutput
type MetricStreamExcludeFilterArray ¶ added in v4.6.0
type MetricStreamExcludeFilterArray []MetricStreamExcludeFilterInput
func (MetricStreamExcludeFilterArray) ElementType ¶ added in v4.6.0
func (MetricStreamExcludeFilterArray) ElementType() reflect.Type
func (MetricStreamExcludeFilterArray) ToMetricStreamExcludeFilterArrayOutput ¶ added in v4.6.0
func (i MetricStreamExcludeFilterArray) ToMetricStreamExcludeFilterArrayOutput() MetricStreamExcludeFilterArrayOutput
func (MetricStreamExcludeFilterArray) ToMetricStreamExcludeFilterArrayOutputWithContext ¶ added in v4.6.0
func (i MetricStreamExcludeFilterArray) ToMetricStreamExcludeFilterArrayOutputWithContext(ctx context.Context) MetricStreamExcludeFilterArrayOutput
type MetricStreamExcludeFilterArrayInput ¶ added in v4.6.0
type MetricStreamExcludeFilterArrayInput interface { pulumi.Input ToMetricStreamExcludeFilterArrayOutput() MetricStreamExcludeFilterArrayOutput ToMetricStreamExcludeFilterArrayOutputWithContext(context.Context) MetricStreamExcludeFilterArrayOutput }
MetricStreamExcludeFilterArrayInput is an input type that accepts MetricStreamExcludeFilterArray and MetricStreamExcludeFilterArrayOutput values. You can construct a concrete instance of `MetricStreamExcludeFilterArrayInput` via:
MetricStreamExcludeFilterArray{ MetricStreamExcludeFilterArgs{...} }
type MetricStreamExcludeFilterArrayOutput ¶ added in v4.6.0
type MetricStreamExcludeFilterArrayOutput struct{ *pulumi.OutputState }
func (MetricStreamExcludeFilterArrayOutput) ElementType ¶ added in v4.6.0
func (MetricStreamExcludeFilterArrayOutput) ElementType() reflect.Type
func (MetricStreamExcludeFilterArrayOutput) Index ¶ added in v4.6.0
func (o MetricStreamExcludeFilterArrayOutput) Index(i pulumi.IntInput) MetricStreamExcludeFilterOutput
func (MetricStreamExcludeFilterArrayOutput) ToMetricStreamExcludeFilterArrayOutput ¶ added in v4.6.0
func (o MetricStreamExcludeFilterArrayOutput) ToMetricStreamExcludeFilterArrayOutput() MetricStreamExcludeFilterArrayOutput
func (MetricStreamExcludeFilterArrayOutput) ToMetricStreamExcludeFilterArrayOutputWithContext ¶ added in v4.6.0
func (o MetricStreamExcludeFilterArrayOutput) ToMetricStreamExcludeFilterArrayOutputWithContext(ctx context.Context) MetricStreamExcludeFilterArrayOutput
type MetricStreamExcludeFilterInput ¶ added in v4.6.0
type MetricStreamExcludeFilterInput interface { pulumi.Input ToMetricStreamExcludeFilterOutput() MetricStreamExcludeFilterOutput ToMetricStreamExcludeFilterOutputWithContext(context.Context) MetricStreamExcludeFilterOutput }
MetricStreamExcludeFilterInput is an input type that accepts MetricStreamExcludeFilterArgs and MetricStreamExcludeFilterOutput values. You can construct a concrete instance of `MetricStreamExcludeFilterInput` via:
MetricStreamExcludeFilterArgs{...}
type MetricStreamExcludeFilterOutput ¶ added in v4.6.0
type MetricStreamExcludeFilterOutput struct{ *pulumi.OutputState }
func (MetricStreamExcludeFilterOutput) ElementType ¶ added in v4.6.0
func (MetricStreamExcludeFilterOutput) ElementType() reflect.Type
func (MetricStreamExcludeFilterOutput) Namespace ¶ added in v4.6.0
func (o MetricStreamExcludeFilterOutput) Namespace() pulumi.StringOutput
Name of the metric namespace in the filter.
func (MetricStreamExcludeFilterOutput) ToMetricStreamExcludeFilterOutput ¶ added in v4.6.0
func (o MetricStreamExcludeFilterOutput) ToMetricStreamExcludeFilterOutput() MetricStreamExcludeFilterOutput
func (MetricStreamExcludeFilterOutput) ToMetricStreamExcludeFilterOutputWithContext ¶ added in v4.6.0
func (o MetricStreamExcludeFilterOutput) ToMetricStreamExcludeFilterOutputWithContext(ctx context.Context) MetricStreamExcludeFilterOutput
type MetricStreamIncludeFilter ¶ added in v4.6.0
type MetricStreamIncludeFilter struct { // Name of the metric namespace in the filter. Namespace string `pulumi:"namespace"` }
type MetricStreamIncludeFilterArgs ¶ added in v4.6.0
type MetricStreamIncludeFilterArgs struct { // Name of the metric namespace in the filter. Namespace pulumi.StringInput `pulumi:"namespace"` }
func (MetricStreamIncludeFilterArgs) ElementType ¶ added in v4.6.0
func (MetricStreamIncludeFilterArgs) ElementType() reflect.Type
func (MetricStreamIncludeFilterArgs) ToMetricStreamIncludeFilterOutput ¶ added in v4.6.0
func (i MetricStreamIncludeFilterArgs) ToMetricStreamIncludeFilterOutput() MetricStreamIncludeFilterOutput
func (MetricStreamIncludeFilterArgs) ToMetricStreamIncludeFilterOutputWithContext ¶ added in v4.6.0
func (i MetricStreamIncludeFilterArgs) ToMetricStreamIncludeFilterOutputWithContext(ctx context.Context) MetricStreamIncludeFilterOutput
type MetricStreamIncludeFilterArray ¶ added in v4.6.0
type MetricStreamIncludeFilterArray []MetricStreamIncludeFilterInput
func (MetricStreamIncludeFilterArray) ElementType ¶ added in v4.6.0
func (MetricStreamIncludeFilterArray) ElementType() reflect.Type
func (MetricStreamIncludeFilterArray) ToMetricStreamIncludeFilterArrayOutput ¶ added in v4.6.0
func (i MetricStreamIncludeFilterArray) ToMetricStreamIncludeFilterArrayOutput() MetricStreamIncludeFilterArrayOutput
func (MetricStreamIncludeFilterArray) ToMetricStreamIncludeFilterArrayOutputWithContext ¶ added in v4.6.0
func (i MetricStreamIncludeFilterArray) ToMetricStreamIncludeFilterArrayOutputWithContext(ctx context.Context) MetricStreamIncludeFilterArrayOutput
type MetricStreamIncludeFilterArrayInput ¶ added in v4.6.0
type MetricStreamIncludeFilterArrayInput interface { pulumi.Input ToMetricStreamIncludeFilterArrayOutput() MetricStreamIncludeFilterArrayOutput ToMetricStreamIncludeFilterArrayOutputWithContext(context.Context) MetricStreamIncludeFilterArrayOutput }
MetricStreamIncludeFilterArrayInput is an input type that accepts MetricStreamIncludeFilterArray and MetricStreamIncludeFilterArrayOutput values. You can construct a concrete instance of `MetricStreamIncludeFilterArrayInput` via:
MetricStreamIncludeFilterArray{ MetricStreamIncludeFilterArgs{...} }
type MetricStreamIncludeFilterArrayOutput ¶ added in v4.6.0
type MetricStreamIncludeFilterArrayOutput struct{ *pulumi.OutputState }
func (MetricStreamIncludeFilterArrayOutput) ElementType ¶ added in v4.6.0
func (MetricStreamIncludeFilterArrayOutput) ElementType() reflect.Type
func (MetricStreamIncludeFilterArrayOutput) Index ¶ added in v4.6.0
func (o MetricStreamIncludeFilterArrayOutput) Index(i pulumi.IntInput) MetricStreamIncludeFilterOutput
func (MetricStreamIncludeFilterArrayOutput) ToMetricStreamIncludeFilterArrayOutput ¶ added in v4.6.0
func (o MetricStreamIncludeFilterArrayOutput) ToMetricStreamIncludeFilterArrayOutput() MetricStreamIncludeFilterArrayOutput
func (MetricStreamIncludeFilterArrayOutput) ToMetricStreamIncludeFilterArrayOutputWithContext ¶ added in v4.6.0
func (o MetricStreamIncludeFilterArrayOutput) ToMetricStreamIncludeFilterArrayOutputWithContext(ctx context.Context) MetricStreamIncludeFilterArrayOutput
type MetricStreamIncludeFilterInput ¶ added in v4.6.0
type MetricStreamIncludeFilterInput interface { pulumi.Input ToMetricStreamIncludeFilterOutput() MetricStreamIncludeFilterOutput ToMetricStreamIncludeFilterOutputWithContext(context.Context) MetricStreamIncludeFilterOutput }
MetricStreamIncludeFilterInput is an input type that accepts MetricStreamIncludeFilterArgs and MetricStreamIncludeFilterOutput values. You can construct a concrete instance of `MetricStreamIncludeFilterInput` via:
MetricStreamIncludeFilterArgs{...}
type MetricStreamIncludeFilterOutput ¶ added in v4.6.0
type MetricStreamIncludeFilterOutput struct{ *pulumi.OutputState }
func (MetricStreamIncludeFilterOutput) ElementType ¶ added in v4.6.0
func (MetricStreamIncludeFilterOutput) ElementType() reflect.Type
func (MetricStreamIncludeFilterOutput) Namespace ¶ added in v4.6.0
func (o MetricStreamIncludeFilterOutput) Namespace() pulumi.StringOutput
Name of the metric namespace in the filter.
func (MetricStreamIncludeFilterOutput) ToMetricStreamIncludeFilterOutput ¶ added in v4.6.0
func (o MetricStreamIncludeFilterOutput) ToMetricStreamIncludeFilterOutput() MetricStreamIncludeFilterOutput
func (MetricStreamIncludeFilterOutput) ToMetricStreamIncludeFilterOutputWithContext ¶ added in v4.6.0
func (o MetricStreamIncludeFilterOutput) ToMetricStreamIncludeFilterOutputWithContext(ctx context.Context) MetricStreamIncludeFilterOutput
type MetricStreamInput ¶ added in v4.6.0
type MetricStreamInput interface { pulumi.Input ToMetricStreamOutput() MetricStreamOutput ToMetricStreamOutputWithContext(ctx context.Context) MetricStreamOutput }
type MetricStreamMap ¶ added in v4.6.0
type MetricStreamMap map[string]MetricStreamInput
func (MetricStreamMap) ElementType ¶ added in v4.6.0
func (MetricStreamMap) ElementType() reflect.Type
func (MetricStreamMap) ToMetricStreamMapOutput ¶ added in v4.6.0
func (i MetricStreamMap) ToMetricStreamMapOutput() MetricStreamMapOutput
func (MetricStreamMap) ToMetricStreamMapOutputWithContext ¶ added in v4.6.0
func (i MetricStreamMap) ToMetricStreamMapOutputWithContext(ctx context.Context) MetricStreamMapOutput
type MetricStreamMapInput ¶ added in v4.6.0
type MetricStreamMapInput interface { pulumi.Input ToMetricStreamMapOutput() MetricStreamMapOutput ToMetricStreamMapOutputWithContext(context.Context) MetricStreamMapOutput }
MetricStreamMapInput is an input type that accepts MetricStreamMap and MetricStreamMapOutput values. You can construct a concrete instance of `MetricStreamMapInput` via:
MetricStreamMap{ "key": MetricStreamArgs{...} }
type MetricStreamMapOutput ¶ added in v4.6.0
type MetricStreamMapOutput struct{ *pulumi.OutputState }
func (MetricStreamMapOutput) ElementType ¶ added in v4.6.0
func (MetricStreamMapOutput) ElementType() reflect.Type
func (MetricStreamMapOutput) MapIndex ¶ added in v4.6.0
func (o MetricStreamMapOutput) MapIndex(k pulumi.StringInput) MetricStreamOutput
func (MetricStreamMapOutput) ToMetricStreamMapOutput ¶ added in v4.6.0
func (o MetricStreamMapOutput) ToMetricStreamMapOutput() MetricStreamMapOutput
func (MetricStreamMapOutput) ToMetricStreamMapOutputWithContext ¶ added in v4.6.0
func (o MetricStreamMapOutput) ToMetricStreamMapOutputWithContext(ctx context.Context) MetricStreamMapOutput
type MetricStreamOutput ¶ added in v4.6.0
type MetricStreamOutput struct{ *pulumi.OutputState }
func (MetricStreamOutput) ElementType ¶ added in v4.6.0
func (MetricStreamOutput) ElementType() reflect.Type
func (MetricStreamOutput) ToMetricStreamOutput ¶ added in v4.6.0
func (o MetricStreamOutput) ToMetricStreamOutput() MetricStreamOutput
func (MetricStreamOutput) ToMetricStreamOutputWithContext ¶ added in v4.6.0
func (o MetricStreamOutput) ToMetricStreamOutputWithContext(ctx context.Context) MetricStreamOutput
type MetricStreamState ¶ added in v4.6.0
type MetricStreamState struct { // ARN of the metric stream. Arn pulumi.StringPtrInput // Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) that the metric stream was created. CreationDate pulumi.StringPtrInput // List of exclusive metric filters. If you specify this parameter, the stream sends metrics from all metric namespaces except for the namespaces that you specify here. Conflicts with `includeFilter`. ExcludeFilters MetricStreamExcludeFilterArrayInput // ARN of the Amazon Kinesis Firehose delivery stream to use for this metric stream. FirehoseArn pulumi.StringPtrInput // List of inclusive metric filters. If you specify this parameter, the stream sends only the metrics from the metric namespaces that you specify here. Conflicts with `excludeFilter`. IncludeFilters MetricStreamIncludeFilterArrayInput // Date and time in [RFC3339 format](https://tools.ietf.org/html/rfc3339#section-5.8) that the metric stream was last updated. LastUpdateDate pulumi.StringPtrInput Name pulumi.StringPtrInput // Creates a unique friendly name beginning with the specified prefix. Conflicts with `name`. NamePrefix pulumi.StringPtrInput // Output format for the stream. Possible values are `json` and `opentelemetry0.7`. For more information about output formats, see [Metric streams output formats](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-formats.html). OutputFormat pulumi.StringPtrInput // ARN of the IAM role that this metric stream will use to access Amazon Kinesis Firehose resources. For more information about role permissions, see [Trust between CloudWatch and Kinesis Data Firehose](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-metric-streams-trustpolicy.html). RoleArn pulumi.StringPtrInput // State of the metric stream. Possible values are `running` and `stopped`. State pulumi.StringPtrInput // Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. TagsAll pulumi.StringMapInput }
func (MetricStreamState) ElementType ¶ added in v4.6.0
func (MetricStreamState) ElementType() reflect.Type
type QueryDefinition ¶
type QueryDefinition struct { pulumi.CustomResourceState // Specific log groups to use with the query. LogGroupNames pulumi.StringArrayOutput `pulumi:"logGroupNames"` // The name of the query. Name pulumi.StringOutput `pulumi:"name"` // The query definition ID. QueryDefinitionId pulumi.StringOutput `pulumi:"queryDefinitionId"` // The query to save. You can read more about CloudWatch Logs Query Syntax in the [documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html). QueryString pulumi.StringOutput `pulumi:"queryString"` }
Provides a CloudWatch Logs query definition resource.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/cloudwatch" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := cloudwatch.NewQueryDefinition(ctx, "example", &cloudwatch.QueryDefinitionArgs{ LogGroupNames: pulumi.StringArray{ pulumi.String("/aws/logGroup1"), pulumi.String("/aws/logGroup2"), }, QueryString: pulumi.String(fmt.Sprintf("%v%v%v%v", "fields @timestamp, @message\n", "| sort @timestamp desc\n", "| limit 25\n", "\n")), }) if err != nil { return err } return nil }) }
```
## Import
CloudWatch query definitions can be imported using the query definition ARN. The ARN can be found on the "Edit Query" page for the query in the AWS Console.
```sh
$ pulumi import aws:cloudwatch/queryDefinition:QueryDefinition example arn:aws:logs:us-west-2:123456789012:query-definition:269951d7-6f75-496d-9d7b-6b7a5486bdbd
```
func GetQueryDefinition ¶
func GetQueryDefinition(ctx *pulumi.Context, name string, id pulumi.IDInput, state *QueryDefinitionState, opts ...pulumi.ResourceOption) (*QueryDefinition, error)
GetQueryDefinition gets an existing QueryDefinition 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 NewQueryDefinition ¶
func NewQueryDefinition(ctx *pulumi.Context, name string, args *QueryDefinitionArgs, opts ...pulumi.ResourceOption) (*QueryDefinition, error)
NewQueryDefinition registers a new resource with the given unique name, arguments, and options.
func (*QueryDefinition) ElementType ¶
func (*QueryDefinition) ElementType() reflect.Type
func (*QueryDefinition) ToQueryDefinitionOutput ¶
func (i *QueryDefinition) ToQueryDefinitionOutput() QueryDefinitionOutput
func (*QueryDefinition) ToQueryDefinitionOutputWithContext ¶
func (i *QueryDefinition) ToQueryDefinitionOutputWithContext(ctx context.Context) QueryDefinitionOutput
type QueryDefinitionArgs ¶
type QueryDefinitionArgs struct { // Specific log groups to use with the query. LogGroupNames pulumi.StringArrayInput // The name of the query. Name pulumi.StringPtrInput // The query to save. You can read more about CloudWatch Logs Query Syntax in the [documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html). QueryString pulumi.StringInput }
The set of arguments for constructing a QueryDefinition resource.
func (QueryDefinitionArgs) ElementType ¶
func (QueryDefinitionArgs) ElementType() reflect.Type
type QueryDefinitionArray ¶
type QueryDefinitionArray []QueryDefinitionInput
func (QueryDefinitionArray) ElementType ¶
func (QueryDefinitionArray) ElementType() reflect.Type
func (QueryDefinitionArray) ToQueryDefinitionArrayOutput ¶
func (i QueryDefinitionArray) ToQueryDefinitionArrayOutput() QueryDefinitionArrayOutput
func (QueryDefinitionArray) ToQueryDefinitionArrayOutputWithContext ¶
func (i QueryDefinitionArray) ToQueryDefinitionArrayOutputWithContext(ctx context.Context) QueryDefinitionArrayOutput
type QueryDefinitionArrayInput ¶
type QueryDefinitionArrayInput interface { pulumi.Input ToQueryDefinitionArrayOutput() QueryDefinitionArrayOutput ToQueryDefinitionArrayOutputWithContext(context.Context) QueryDefinitionArrayOutput }
QueryDefinitionArrayInput is an input type that accepts QueryDefinitionArray and QueryDefinitionArrayOutput values. You can construct a concrete instance of `QueryDefinitionArrayInput` via:
QueryDefinitionArray{ QueryDefinitionArgs{...} }
type QueryDefinitionArrayOutput ¶
type QueryDefinitionArrayOutput struct{ *pulumi.OutputState }
func (QueryDefinitionArrayOutput) ElementType ¶
func (QueryDefinitionArrayOutput) ElementType() reflect.Type
func (QueryDefinitionArrayOutput) Index ¶
func (o QueryDefinitionArrayOutput) Index(i pulumi.IntInput) QueryDefinitionOutput
func (QueryDefinitionArrayOutput) ToQueryDefinitionArrayOutput ¶
func (o QueryDefinitionArrayOutput) ToQueryDefinitionArrayOutput() QueryDefinitionArrayOutput
func (QueryDefinitionArrayOutput) ToQueryDefinitionArrayOutputWithContext ¶
func (o QueryDefinitionArrayOutput) ToQueryDefinitionArrayOutputWithContext(ctx context.Context) QueryDefinitionArrayOutput
type QueryDefinitionInput ¶
type QueryDefinitionInput interface { pulumi.Input ToQueryDefinitionOutput() QueryDefinitionOutput ToQueryDefinitionOutputWithContext(ctx context.Context) QueryDefinitionOutput }
type QueryDefinitionMap ¶
type QueryDefinitionMap map[string]QueryDefinitionInput
func (QueryDefinitionMap) ElementType ¶
func (QueryDefinitionMap) ElementType() reflect.Type
func (QueryDefinitionMap) ToQueryDefinitionMapOutput ¶
func (i QueryDefinitionMap) ToQueryDefinitionMapOutput() QueryDefinitionMapOutput
func (QueryDefinitionMap) ToQueryDefinitionMapOutputWithContext ¶
func (i QueryDefinitionMap) ToQueryDefinitionMapOutputWithContext(ctx context.Context) QueryDefinitionMapOutput
type QueryDefinitionMapInput ¶
type QueryDefinitionMapInput interface { pulumi.Input ToQueryDefinitionMapOutput() QueryDefinitionMapOutput ToQueryDefinitionMapOutputWithContext(context.Context) QueryDefinitionMapOutput }
QueryDefinitionMapInput is an input type that accepts QueryDefinitionMap and QueryDefinitionMapOutput values. You can construct a concrete instance of `QueryDefinitionMapInput` via:
QueryDefinitionMap{ "key": QueryDefinitionArgs{...} }
type QueryDefinitionMapOutput ¶
type QueryDefinitionMapOutput struct{ *pulumi.OutputState }
func (QueryDefinitionMapOutput) ElementType ¶
func (QueryDefinitionMapOutput) ElementType() reflect.Type
func (QueryDefinitionMapOutput) MapIndex ¶
func (o QueryDefinitionMapOutput) MapIndex(k pulumi.StringInput) QueryDefinitionOutput
func (QueryDefinitionMapOutput) ToQueryDefinitionMapOutput ¶
func (o QueryDefinitionMapOutput) ToQueryDefinitionMapOutput() QueryDefinitionMapOutput
func (QueryDefinitionMapOutput) ToQueryDefinitionMapOutputWithContext ¶
func (o QueryDefinitionMapOutput) ToQueryDefinitionMapOutputWithContext(ctx context.Context) QueryDefinitionMapOutput
type QueryDefinitionOutput ¶
type QueryDefinitionOutput struct{ *pulumi.OutputState }
func (QueryDefinitionOutput) ElementType ¶
func (QueryDefinitionOutput) ElementType() reflect.Type
func (QueryDefinitionOutput) ToQueryDefinitionOutput ¶
func (o QueryDefinitionOutput) ToQueryDefinitionOutput() QueryDefinitionOutput
func (QueryDefinitionOutput) ToQueryDefinitionOutputWithContext ¶
func (o QueryDefinitionOutput) ToQueryDefinitionOutputWithContext(ctx context.Context) QueryDefinitionOutput
type QueryDefinitionState ¶
type QueryDefinitionState struct { // Specific log groups to use with the query. LogGroupNames pulumi.StringArrayInput // The name of the query. Name pulumi.StringPtrInput // The query definition ID. QueryDefinitionId pulumi.StringPtrInput // The query to save. You can read more about CloudWatch Logs Query Syntax in the [documentation](https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html). QueryString pulumi.StringPtrInput }
func (QueryDefinitionState) ElementType ¶
func (QueryDefinitionState) ElementType() reflect.Type
Source Files ¶
- compositeAlarm.go
- dashboard.go
- eventApiDestination.go
- eventArchive.go
- eventBus.go
- eventBusPolicy.go
- eventConnection.go
- eventPermission.go
- eventRule.go
- eventTarget.go
- getEventConnection.go
- getEventSource.go
- getLogGroup.go
- getLogGroups.go
- init.go
- logDestination.go
- logDestinationPolicy.go
- logGroup.go
- logMetricFilter.go
- logResourcePolicy.go
- logStream.go
- logSubscriptionFilter.go
- metricAlarm.go
- metricStream.go
- pulumiTypes.go
- queryDefinition.go