Documentation ¶
Index ¶
- type AdmChannel
- func (*AdmChannel) ElementType() reflect.Type
- func (i *AdmChannel) ToAdmChannelOutput() AdmChannelOutput
- func (i *AdmChannel) ToAdmChannelOutputWithContext(ctx context.Context) AdmChannelOutput
- func (i *AdmChannel) ToAdmChannelPtrOutput() AdmChannelPtrOutput
- func (i *AdmChannel) ToAdmChannelPtrOutputWithContext(ctx context.Context) AdmChannelPtrOutput
- type AdmChannelArgs
- type AdmChannelArray
- type AdmChannelArrayInput
- type AdmChannelArrayOutput
- func (AdmChannelArrayOutput) ElementType() reflect.Type
- func (o AdmChannelArrayOutput) Index(i pulumi.IntInput) AdmChannelOutput
- func (o AdmChannelArrayOutput) ToAdmChannelArrayOutput() AdmChannelArrayOutput
- func (o AdmChannelArrayOutput) ToAdmChannelArrayOutputWithContext(ctx context.Context) AdmChannelArrayOutput
- type AdmChannelInput
- type AdmChannelMap
- type AdmChannelMapInput
- type AdmChannelMapOutput
- func (AdmChannelMapOutput) ElementType() reflect.Type
- func (o AdmChannelMapOutput) MapIndex(k pulumi.StringInput) AdmChannelOutput
- func (o AdmChannelMapOutput) ToAdmChannelMapOutput() AdmChannelMapOutput
- func (o AdmChannelMapOutput) ToAdmChannelMapOutputWithContext(ctx context.Context) AdmChannelMapOutput
- type AdmChannelOutput
- func (AdmChannelOutput) ElementType() reflect.Type
- func (o AdmChannelOutput) ToAdmChannelOutput() AdmChannelOutput
- func (o AdmChannelOutput) ToAdmChannelOutputWithContext(ctx context.Context) AdmChannelOutput
- func (o AdmChannelOutput) ToAdmChannelPtrOutput() AdmChannelPtrOutput
- func (o AdmChannelOutput) ToAdmChannelPtrOutputWithContext(ctx context.Context) AdmChannelPtrOutput
- type AdmChannelPtrInput
- type AdmChannelPtrOutput
- type AdmChannelState
- type ApnsChannel
- func (*ApnsChannel) ElementType() reflect.Type
- func (i *ApnsChannel) ToApnsChannelOutput() ApnsChannelOutput
- func (i *ApnsChannel) ToApnsChannelOutputWithContext(ctx context.Context) ApnsChannelOutput
- func (i *ApnsChannel) ToApnsChannelPtrOutput() ApnsChannelPtrOutput
- func (i *ApnsChannel) ToApnsChannelPtrOutputWithContext(ctx context.Context) ApnsChannelPtrOutput
- type ApnsChannelArgs
- type ApnsChannelArray
- type ApnsChannelArrayInput
- type ApnsChannelArrayOutput
- func (ApnsChannelArrayOutput) ElementType() reflect.Type
- func (o ApnsChannelArrayOutput) Index(i pulumi.IntInput) ApnsChannelOutput
- func (o ApnsChannelArrayOutput) ToApnsChannelArrayOutput() ApnsChannelArrayOutput
- func (o ApnsChannelArrayOutput) ToApnsChannelArrayOutputWithContext(ctx context.Context) ApnsChannelArrayOutput
- type ApnsChannelInput
- type ApnsChannelMap
- type ApnsChannelMapInput
- type ApnsChannelMapOutput
- func (ApnsChannelMapOutput) ElementType() reflect.Type
- func (o ApnsChannelMapOutput) MapIndex(k pulumi.StringInput) ApnsChannelOutput
- func (o ApnsChannelMapOutput) ToApnsChannelMapOutput() ApnsChannelMapOutput
- func (o ApnsChannelMapOutput) ToApnsChannelMapOutputWithContext(ctx context.Context) ApnsChannelMapOutput
- type ApnsChannelOutput
- func (ApnsChannelOutput) ElementType() reflect.Type
- func (o ApnsChannelOutput) ToApnsChannelOutput() ApnsChannelOutput
- func (o ApnsChannelOutput) ToApnsChannelOutputWithContext(ctx context.Context) ApnsChannelOutput
- func (o ApnsChannelOutput) ToApnsChannelPtrOutput() ApnsChannelPtrOutput
- func (o ApnsChannelOutput) ToApnsChannelPtrOutputWithContext(ctx context.Context) ApnsChannelPtrOutput
- type ApnsChannelPtrInput
- type ApnsChannelPtrOutput
- type ApnsChannelState
- type ApnsSandboxChannel
- func (*ApnsSandboxChannel) ElementType() reflect.Type
- func (i *ApnsSandboxChannel) ToApnsSandboxChannelOutput() ApnsSandboxChannelOutput
- func (i *ApnsSandboxChannel) ToApnsSandboxChannelOutputWithContext(ctx context.Context) ApnsSandboxChannelOutput
- func (i *ApnsSandboxChannel) ToApnsSandboxChannelPtrOutput() ApnsSandboxChannelPtrOutput
- func (i *ApnsSandboxChannel) ToApnsSandboxChannelPtrOutputWithContext(ctx context.Context) ApnsSandboxChannelPtrOutput
- type ApnsSandboxChannelArgs
- type ApnsSandboxChannelArray
- type ApnsSandboxChannelArrayInput
- type ApnsSandboxChannelArrayOutput
- func (ApnsSandboxChannelArrayOutput) ElementType() reflect.Type
- func (o ApnsSandboxChannelArrayOutput) Index(i pulumi.IntInput) ApnsSandboxChannelOutput
- func (o ApnsSandboxChannelArrayOutput) ToApnsSandboxChannelArrayOutput() ApnsSandboxChannelArrayOutput
- func (o ApnsSandboxChannelArrayOutput) ToApnsSandboxChannelArrayOutputWithContext(ctx context.Context) ApnsSandboxChannelArrayOutput
- type ApnsSandboxChannelInput
- type ApnsSandboxChannelMap
- type ApnsSandboxChannelMapInput
- type ApnsSandboxChannelMapOutput
- func (ApnsSandboxChannelMapOutput) ElementType() reflect.Type
- func (o ApnsSandboxChannelMapOutput) MapIndex(k pulumi.StringInput) ApnsSandboxChannelOutput
- func (o ApnsSandboxChannelMapOutput) ToApnsSandboxChannelMapOutput() ApnsSandboxChannelMapOutput
- func (o ApnsSandboxChannelMapOutput) ToApnsSandboxChannelMapOutputWithContext(ctx context.Context) ApnsSandboxChannelMapOutput
- type ApnsSandboxChannelOutput
- func (ApnsSandboxChannelOutput) ElementType() reflect.Type
- func (o ApnsSandboxChannelOutput) ToApnsSandboxChannelOutput() ApnsSandboxChannelOutput
- func (o ApnsSandboxChannelOutput) ToApnsSandboxChannelOutputWithContext(ctx context.Context) ApnsSandboxChannelOutput
- func (o ApnsSandboxChannelOutput) ToApnsSandboxChannelPtrOutput() ApnsSandboxChannelPtrOutput
- func (o ApnsSandboxChannelOutput) ToApnsSandboxChannelPtrOutputWithContext(ctx context.Context) ApnsSandboxChannelPtrOutput
- type ApnsSandboxChannelPtrInput
- type ApnsSandboxChannelPtrOutput
- type ApnsSandboxChannelState
- type ApnsVoipChannel
- func (*ApnsVoipChannel) ElementType() reflect.Type
- func (i *ApnsVoipChannel) ToApnsVoipChannelOutput() ApnsVoipChannelOutput
- func (i *ApnsVoipChannel) ToApnsVoipChannelOutputWithContext(ctx context.Context) ApnsVoipChannelOutput
- func (i *ApnsVoipChannel) ToApnsVoipChannelPtrOutput() ApnsVoipChannelPtrOutput
- func (i *ApnsVoipChannel) ToApnsVoipChannelPtrOutputWithContext(ctx context.Context) ApnsVoipChannelPtrOutput
- type ApnsVoipChannelArgs
- type ApnsVoipChannelArray
- type ApnsVoipChannelArrayInput
- type ApnsVoipChannelArrayOutput
- func (ApnsVoipChannelArrayOutput) ElementType() reflect.Type
- func (o ApnsVoipChannelArrayOutput) Index(i pulumi.IntInput) ApnsVoipChannelOutput
- func (o ApnsVoipChannelArrayOutput) ToApnsVoipChannelArrayOutput() ApnsVoipChannelArrayOutput
- func (o ApnsVoipChannelArrayOutput) ToApnsVoipChannelArrayOutputWithContext(ctx context.Context) ApnsVoipChannelArrayOutput
- type ApnsVoipChannelInput
- type ApnsVoipChannelMap
- type ApnsVoipChannelMapInput
- type ApnsVoipChannelMapOutput
- func (ApnsVoipChannelMapOutput) ElementType() reflect.Type
- func (o ApnsVoipChannelMapOutput) MapIndex(k pulumi.StringInput) ApnsVoipChannelOutput
- func (o ApnsVoipChannelMapOutput) ToApnsVoipChannelMapOutput() ApnsVoipChannelMapOutput
- func (o ApnsVoipChannelMapOutput) ToApnsVoipChannelMapOutputWithContext(ctx context.Context) ApnsVoipChannelMapOutput
- type ApnsVoipChannelOutput
- func (ApnsVoipChannelOutput) ElementType() reflect.Type
- func (o ApnsVoipChannelOutput) ToApnsVoipChannelOutput() ApnsVoipChannelOutput
- func (o ApnsVoipChannelOutput) ToApnsVoipChannelOutputWithContext(ctx context.Context) ApnsVoipChannelOutput
- func (o ApnsVoipChannelOutput) ToApnsVoipChannelPtrOutput() ApnsVoipChannelPtrOutput
- func (o ApnsVoipChannelOutput) ToApnsVoipChannelPtrOutputWithContext(ctx context.Context) ApnsVoipChannelPtrOutput
- type ApnsVoipChannelPtrInput
- type ApnsVoipChannelPtrOutput
- type ApnsVoipChannelState
- type ApnsVoipSandboxChannel
- func (*ApnsVoipSandboxChannel) ElementType() reflect.Type
- func (i *ApnsVoipSandboxChannel) ToApnsVoipSandboxChannelOutput() ApnsVoipSandboxChannelOutput
- func (i *ApnsVoipSandboxChannel) ToApnsVoipSandboxChannelOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelOutput
- func (i *ApnsVoipSandboxChannel) ToApnsVoipSandboxChannelPtrOutput() ApnsVoipSandboxChannelPtrOutput
- func (i *ApnsVoipSandboxChannel) ToApnsVoipSandboxChannelPtrOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelPtrOutput
- type ApnsVoipSandboxChannelArgs
- type ApnsVoipSandboxChannelArray
- func (ApnsVoipSandboxChannelArray) ElementType() reflect.Type
- func (i ApnsVoipSandboxChannelArray) ToApnsVoipSandboxChannelArrayOutput() ApnsVoipSandboxChannelArrayOutput
- func (i ApnsVoipSandboxChannelArray) ToApnsVoipSandboxChannelArrayOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelArrayOutput
- type ApnsVoipSandboxChannelArrayInput
- type ApnsVoipSandboxChannelArrayOutput
- func (ApnsVoipSandboxChannelArrayOutput) ElementType() reflect.Type
- func (o ApnsVoipSandboxChannelArrayOutput) Index(i pulumi.IntInput) ApnsVoipSandboxChannelOutput
- func (o ApnsVoipSandboxChannelArrayOutput) ToApnsVoipSandboxChannelArrayOutput() ApnsVoipSandboxChannelArrayOutput
- func (o ApnsVoipSandboxChannelArrayOutput) ToApnsVoipSandboxChannelArrayOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelArrayOutput
- type ApnsVoipSandboxChannelInput
- type ApnsVoipSandboxChannelMap
- type ApnsVoipSandboxChannelMapInput
- type ApnsVoipSandboxChannelMapOutput
- func (ApnsVoipSandboxChannelMapOutput) ElementType() reflect.Type
- func (o ApnsVoipSandboxChannelMapOutput) MapIndex(k pulumi.StringInput) ApnsVoipSandboxChannelOutput
- func (o ApnsVoipSandboxChannelMapOutput) ToApnsVoipSandboxChannelMapOutput() ApnsVoipSandboxChannelMapOutput
- func (o ApnsVoipSandboxChannelMapOutput) ToApnsVoipSandboxChannelMapOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelMapOutput
- type ApnsVoipSandboxChannelOutput
- func (ApnsVoipSandboxChannelOutput) ElementType() reflect.Type
- func (o ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelOutput() ApnsVoipSandboxChannelOutput
- func (o ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelOutput
- func (o ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelPtrOutput() ApnsVoipSandboxChannelPtrOutput
- func (o ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelPtrOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelPtrOutput
- type ApnsVoipSandboxChannelPtrInput
- type ApnsVoipSandboxChannelPtrOutput
- func (ApnsVoipSandboxChannelPtrOutput) ElementType() reflect.Type
- func (o ApnsVoipSandboxChannelPtrOutput) ToApnsVoipSandboxChannelPtrOutput() ApnsVoipSandboxChannelPtrOutput
- func (o ApnsVoipSandboxChannelPtrOutput) ToApnsVoipSandboxChannelPtrOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelPtrOutput
- type ApnsVoipSandboxChannelState
- type App
- type AppArgs
- type AppArray
- type AppArrayInput
- type AppArrayOutput
- type AppCampaignHook
- type AppCampaignHookArgs
- func (AppCampaignHookArgs) ElementType() reflect.Type
- func (i AppCampaignHookArgs) ToAppCampaignHookOutput() AppCampaignHookOutput
- func (i AppCampaignHookArgs) ToAppCampaignHookOutputWithContext(ctx context.Context) AppCampaignHookOutput
- func (i AppCampaignHookArgs) ToAppCampaignHookPtrOutput() AppCampaignHookPtrOutput
- func (i AppCampaignHookArgs) ToAppCampaignHookPtrOutputWithContext(ctx context.Context) AppCampaignHookPtrOutput
- type AppCampaignHookInput
- type AppCampaignHookOutput
- func (AppCampaignHookOutput) ElementType() reflect.Type
- func (o AppCampaignHookOutput) LambdaFunctionName() pulumi.StringPtrOutput
- func (o AppCampaignHookOutput) Mode() pulumi.StringPtrOutput
- func (o AppCampaignHookOutput) ToAppCampaignHookOutput() AppCampaignHookOutput
- func (o AppCampaignHookOutput) ToAppCampaignHookOutputWithContext(ctx context.Context) AppCampaignHookOutput
- func (o AppCampaignHookOutput) ToAppCampaignHookPtrOutput() AppCampaignHookPtrOutput
- func (o AppCampaignHookOutput) ToAppCampaignHookPtrOutputWithContext(ctx context.Context) AppCampaignHookPtrOutput
- func (o AppCampaignHookOutput) WebUrl() pulumi.StringPtrOutput
- type AppCampaignHookPtrInput
- type AppCampaignHookPtrOutput
- func (o AppCampaignHookPtrOutput) Elem() AppCampaignHookOutput
- func (AppCampaignHookPtrOutput) ElementType() reflect.Type
- func (o AppCampaignHookPtrOutput) LambdaFunctionName() pulumi.StringPtrOutput
- func (o AppCampaignHookPtrOutput) Mode() pulumi.StringPtrOutput
- func (o AppCampaignHookPtrOutput) ToAppCampaignHookPtrOutput() AppCampaignHookPtrOutput
- func (o AppCampaignHookPtrOutput) ToAppCampaignHookPtrOutputWithContext(ctx context.Context) AppCampaignHookPtrOutput
- func (o AppCampaignHookPtrOutput) WebUrl() pulumi.StringPtrOutput
- type AppInput
- type AppLimits
- type AppLimitsArgs
- func (AppLimitsArgs) ElementType() reflect.Type
- func (i AppLimitsArgs) ToAppLimitsOutput() AppLimitsOutput
- func (i AppLimitsArgs) ToAppLimitsOutputWithContext(ctx context.Context) AppLimitsOutput
- func (i AppLimitsArgs) ToAppLimitsPtrOutput() AppLimitsPtrOutput
- func (i AppLimitsArgs) ToAppLimitsPtrOutputWithContext(ctx context.Context) AppLimitsPtrOutput
- type AppLimitsInput
- type AppLimitsOutput
- func (o AppLimitsOutput) Daily() pulumi.IntPtrOutput
- func (AppLimitsOutput) ElementType() reflect.Type
- func (o AppLimitsOutput) MaximumDuration() pulumi.IntPtrOutput
- func (o AppLimitsOutput) MessagesPerSecond() pulumi.IntPtrOutput
- func (o AppLimitsOutput) ToAppLimitsOutput() AppLimitsOutput
- func (o AppLimitsOutput) ToAppLimitsOutputWithContext(ctx context.Context) AppLimitsOutput
- func (o AppLimitsOutput) ToAppLimitsPtrOutput() AppLimitsPtrOutput
- func (o AppLimitsOutput) ToAppLimitsPtrOutputWithContext(ctx context.Context) AppLimitsPtrOutput
- func (o AppLimitsOutput) Total() pulumi.IntPtrOutput
- type AppLimitsPtrInput
- type AppLimitsPtrOutput
- func (o AppLimitsPtrOutput) Daily() pulumi.IntPtrOutput
- func (o AppLimitsPtrOutput) Elem() AppLimitsOutput
- func (AppLimitsPtrOutput) ElementType() reflect.Type
- func (o AppLimitsPtrOutput) MaximumDuration() pulumi.IntPtrOutput
- func (o AppLimitsPtrOutput) MessagesPerSecond() pulumi.IntPtrOutput
- func (o AppLimitsPtrOutput) ToAppLimitsPtrOutput() AppLimitsPtrOutput
- func (o AppLimitsPtrOutput) ToAppLimitsPtrOutputWithContext(ctx context.Context) AppLimitsPtrOutput
- func (o AppLimitsPtrOutput) Total() pulumi.IntPtrOutput
- type AppMap
- type AppMapInput
- type AppMapOutput
- type AppOutput
- type AppPtrInput
- type AppPtrOutput
- type AppQuietTime
- type AppQuietTimeArgs
- func (AppQuietTimeArgs) ElementType() reflect.Type
- func (i AppQuietTimeArgs) ToAppQuietTimeOutput() AppQuietTimeOutput
- func (i AppQuietTimeArgs) ToAppQuietTimeOutputWithContext(ctx context.Context) AppQuietTimeOutput
- func (i AppQuietTimeArgs) ToAppQuietTimePtrOutput() AppQuietTimePtrOutput
- func (i AppQuietTimeArgs) ToAppQuietTimePtrOutputWithContext(ctx context.Context) AppQuietTimePtrOutput
- type AppQuietTimeInput
- type AppQuietTimeOutput
- func (AppQuietTimeOutput) ElementType() reflect.Type
- func (o AppQuietTimeOutput) End() pulumi.StringPtrOutput
- func (o AppQuietTimeOutput) Start() pulumi.StringPtrOutput
- func (o AppQuietTimeOutput) ToAppQuietTimeOutput() AppQuietTimeOutput
- func (o AppQuietTimeOutput) ToAppQuietTimeOutputWithContext(ctx context.Context) AppQuietTimeOutput
- func (o AppQuietTimeOutput) ToAppQuietTimePtrOutput() AppQuietTimePtrOutput
- func (o AppQuietTimeOutput) ToAppQuietTimePtrOutputWithContext(ctx context.Context) AppQuietTimePtrOutput
- type AppQuietTimePtrInput
- type AppQuietTimePtrOutput
- func (o AppQuietTimePtrOutput) Elem() AppQuietTimeOutput
- func (AppQuietTimePtrOutput) ElementType() reflect.Type
- func (o AppQuietTimePtrOutput) End() pulumi.StringPtrOutput
- func (o AppQuietTimePtrOutput) Start() pulumi.StringPtrOutput
- func (o AppQuietTimePtrOutput) ToAppQuietTimePtrOutput() AppQuietTimePtrOutput
- func (o AppQuietTimePtrOutput) ToAppQuietTimePtrOutputWithContext(ctx context.Context) AppQuietTimePtrOutput
- type AppState
- type BaiduChannel
- func (*BaiduChannel) ElementType() reflect.Type
- func (i *BaiduChannel) ToBaiduChannelOutput() BaiduChannelOutput
- func (i *BaiduChannel) ToBaiduChannelOutputWithContext(ctx context.Context) BaiduChannelOutput
- func (i *BaiduChannel) ToBaiduChannelPtrOutput() BaiduChannelPtrOutput
- func (i *BaiduChannel) ToBaiduChannelPtrOutputWithContext(ctx context.Context) BaiduChannelPtrOutput
- type BaiduChannelArgs
- type BaiduChannelArray
- type BaiduChannelArrayInput
- type BaiduChannelArrayOutput
- func (BaiduChannelArrayOutput) ElementType() reflect.Type
- func (o BaiduChannelArrayOutput) Index(i pulumi.IntInput) BaiduChannelOutput
- func (o BaiduChannelArrayOutput) ToBaiduChannelArrayOutput() BaiduChannelArrayOutput
- func (o BaiduChannelArrayOutput) ToBaiduChannelArrayOutputWithContext(ctx context.Context) BaiduChannelArrayOutput
- type BaiduChannelInput
- type BaiduChannelMap
- type BaiduChannelMapInput
- type BaiduChannelMapOutput
- func (BaiduChannelMapOutput) ElementType() reflect.Type
- func (o BaiduChannelMapOutput) MapIndex(k pulumi.StringInput) BaiduChannelOutput
- func (o BaiduChannelMapOutput) ToBaiduChannelMapOutput() BaiduChannelMapOutput
- func (o BaiduChannelMapOutput) ToBaiduChannelMapOutputWithContext(ctx context.Context) BaiduChannelMapOutput
- type BaiduChannelOutput
- func (BaiduChannelOutput) ElementType() reflect.Type
- func (o BaiduChannelOutput) ToBaiduChannelOutput() BaiduChannelOutput
- func (o BaiduChannelOutput) ToBaiduChannelOutputWithContext(ctx context.Context) BaiduChannelOutput
- func (o BaiduChannelOutput) ToBaiduChannelPtrOutput() BaiduChannelPtrOutput
- func (o BaiduChannelOutput) ToBaiduChannelPtrOutputWithContext(ctx context.Context) BaiduChannelPtrOutput
- type BaiduChannelPtrInput
- type BaiduChannelPtrOutput
- type BaiduChannelState
- type EmailChannel
- func (*EmailChannel) ElementType() reflect.Type
- func (i *EmailChannel) ToEmailChannelOutput() EmailChannelOutput
- func (i *EmailChannel) ToEmailChannelOutputWithContext(ctx context.Context) EmailChannelOutput
- func (i *EmailChannel) ToEmailChannelPtrOutput() EmailChannelPtrOutput
- func (i *EmailChannel) ToEmailChannelPtrOutputWithContext(ctx context.Context) EmailChannelPtrOutput
- type EmailChannelArgs
- type EmailChannelArray
- type EmailChannelArrayInput
- type EmailChannelArrayOutput
- func (EmailChannelArrayOutput) ElementType() reflect.Type
- func (o EmailChannelArrayOutput) Index(i pulumi.IntInput) EmailChannelOutput
- func (o EmailChannelArrayOutput) ToEmailChannelArrayOutput() EmailChannelArrayOutput
- func (o EmailChannelArrayOutput) ToEmailChannelArrayOutputWithContext(ctx context.Context) EmailChannelArrayOutput
- type EmailChannelInput
- type EmailChannelMap
- type EmailChannelMapInput
- type EmailChannelMapOutput
- func (EmailChannelMapOutput) ElementType() reflect.Type
- func (o EmailChannelMapOutput) MapIndex(k pulumi.StringInput) EmailChannelOutput
- func (o EmailChannelMapOutput) ToEmailChannelMapOutput() EmailChannelMapOutput
- func (o EmailChannelMapOutput) ToEmailChannelMapOutputWithContext(ctx context.Context) EmailChannelMapOutput
- type EmailChannelOutput
- func (EmailChannelOutput) ElementType() reflect.Type
- func (o EmailChannelOutput) ToEmailChannelOutput() EmailChannelOutput
- func (o EmailChannelOutput) ToEmailChannelOutputWithContext(ctx context.Context) EmailChannelOutput
- func (o EmailChannelOutput) ToEmailChannelPtrOutput() EmailChannelPtrOutput
- func (o EmailChannelOutput) ToEmailChannelPtrOutputWithContext(ctx context.Context) EmailChannelPtrOutput
- type EmailChannelPtrInput
- type EmailChannelPtrOutput
- type EmailChannelState
- type EventStream
- func (*EventStream) ElementType() reflect.Type
- func (i *EventStream) ToEventStreamOutput() EventStreamOutput
- func (i *EventStream) ToEventStreamOutputWithContext(ctx context.Context) EventStreamOutput
- func (i *EventStream) ToEventStreamPtrOutput() EventStreamPtrOutput
- func (i *EventStream) ToEventStreamPtrOutputWithContext(ctx context.Context) EventStreamPtrOutput
- type EventStreamArgs
- type EventStreamArray
- type EventStreamArrayInput
- type EventStreamArrayOutput
- func (EventStreamArrayOutput) ElementType() reflect.Type
- func (o EventStreamArrayOutput) Index(i pulumi.IntInput) EventStreamOutput
- func (o EventStreamArrayOutput) ToEventStreamArrayOutput() EventStreamArrayOutput
- func (o EventStreamArrayOutput) ToEventStreamArrayOutputWithContext(ctx context.Context) EventStreamArrayOutput
- type EventStreamInput
- type EventStreamMap
- type EventStreamMapInput
- type EventStreamMapOutput
- func (EventStreamMapOutput) ElementType() reflect.Type
- func (o EventStreamMapOutput) MapIndex(k pulumi.StringInput) EventStreamOutput
- func (o EventStreamMapOutput) ToEventStreamMapOutput() EventStreamMapOutput
- func (o EventStreamMapOutput) ToEventStreamMapOutputWithContext(ctx context.Context) EventStreamMapOutput
- type EventStreamOutput
- func (EventStreamOutput) ElementType() reflect.Type
- func (o EventStreamOutput) ToEventStreamOutput() EventStreamOutput
- func (o EventStreamOutput) ToEventStreamOutputWithContext(ctx context.Context) EventStreamOutput
- func (o EventStreamOutput) ToEventStreamPtrOutput() EventStreamPtrOutput
- func (o EventStreamOutput) ToEventStreamPtrOutputWithContext(ctx context.Context) EventStreamPtrOutput
- type EventStreamPtrInput
- type EventStreamPtrOutput
- type EventStreamState
- type GcmChannel
- func (*GcmChannel) ElementType() reflect.Type
- func (i *GcmChannel) ToGcmChannelOutput() GcmChannelOutput
- func (i *GcmChannel) ToGcmChannelOutputWithContext(ctx context.Context) GcmChannelOutput
- func (i *GcmChannel) ToGcmChannelPtrOutput() GcmChannelPtrOutput
- func (i *GcmChannel) ToGcmChannelPtrOutputWithContext(ctx context.Context) GcmChannelPtrOutput
- type GcmChannelArgs
- type GcmChannelArray
- type GcmChannelArrayInput
- type GcmChannelArrayOutput
- func (GcmChannelArrayOutput) ElementType() reflect.Type
- func (o GcmChannelArrayOutput) Index(i pulumi.IntInput) GcmChannelOutput
- func (o GcmChannelArrayOutput) ToGcmChannelArrayOutput() GcmChannelArrayOutput
- func (o GcmChannelArrayOutput) ToGcmChannelArrayOutputWithContext(ctx context.Context) GcmChannelArrayOutput
- type GcmChannelInput
- type GcmChannelMap
- type GcmChannelMapInput
- type GcmChannelMapOutput
- func (GcmChannelMapOutput) ElementType() reflect.Type
- func (o GcmChannelMapOutput) MapIndex(k pulumi.StringInput) GcmChannelOutput
- func (o GcmChannelMapOutput) ToGcmChannelMapOutput() GcmChannelMapOutput
- func (o GcmChannelMapOutput) ToGcmChannelMapOutputWithContext(ctx context.Context) GcmChannelMapOutput
- type GcmChannelOutput
- func (GcmChannelOutput) ElementType() reflect.Type
- func (o GcmChannelOutput) ToGcmChannelOutput() GcmChannelOutput
- func (o GcmChannelOutput) ToGcmChannelOutputWithContext(ctx context.Context) GcmChannelOutput
- func (o GcmChannelOutput) ToGcmChannelPtrOutput() GcmChannelPtrOutput
- func (o GcmChannelOutput) ToGcmChannelPtrOutputWithContext(ctx context.Context) GcmChannelPtrOutput
- type GcmChannelPtrInput
- type GcmChannelPtrOutput
- type GcmChannelState
- type SmsChannel
- func (*SmsChannel) ElementType() reflect.Type
- func (i *SmsChannel) ToSmsChannelOutput() SmsChannelOutput
- func (i *SmsChannel) ToSmsChannelOutputWithContext(ctx context.Context) SmsChannelOutput
- func (i *SmsChannel) ToSmsChannelPtrOutput() SmsChannelPtrOutput
- func (i *SmsChannel) ToSmsChannelPtrOutputWithContext(ctx context.Context) SmsChannelPtrOutput
- type SmsChannelArgs
- type SmsChannelArray
- type SmsChannelArrayInput
- type SmsChannelArrayOutput
- func (SmsChannelArrayOutput) ElementType() reflect.Type
- func (o SmsChannelArrayOutput) Index(i pulumi.IntInput) SmsChannelOutput
- func (o SmsChannelArrayOutput) ToSmsChannelArrayOutput() SmsChannelArrayOutput
- func (o SmsChannelArrayOutput) ToSmsChannelArrayOutputWithContext(ctx context.Context) SmsChannelArrayOutput
- type SmsChannelInput
- type SmsChannelMap
- type SmsChannelMapInput
- type SmsChannelMapOutput
- func (SmsChannelMapOutput) ElementType() reflect.Type
- func (o SmsChannelMapOutput) MapIndex(k pulumi.StringInput) SmsChannelOutput
- func (o SmsChannelMapOutput) ToSmsChannelMapOutput() SmsChannelMapOutput
- func (o SmsChannelMapOutput) ToSmsChannelMapOutputWithContext(ctx context.Context) SmsChannelMapOutput
- type SmsChannelOutput
- func (SmsChannelOutput) ElementType() reflect.Type
- func (o SmsChannelOutput) ToSmsChannelOutput() SmsChannelOutput
- func (o SmsChannelOutput) ToSmsChannelOutputWithContext(ctx context.Context) SmsChannelOutput
- func (o SmsChannelOutput) ToSmsChannelPtrOutput() SmsChannelPtrOutput
- func (o SmsChannelOutput) ToSmsChannelPtrOutputWithContext(ctx context.Context) SmsChannelPtrOutput
- type SmsChannelPtrInput
- type SmsChannelPtrOutput
- type SmsChannelState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdmChannel ¶
type AdmChannel struct { pulumi.CustomResourceState // The application ID. ApplicationId pulumi.StringOutput `pulumi:"applicationId"` // Client ID (part of OAuth Credentials) obtained via Amazon Developer Account. ClientId pulumi.StringOutput `pulumi:"clientId"` // Client Secret (part of OAuth Credentials) obtained via Amazon Developer Account. ClientSecret pulumi.StringOutput `pulumi:"clientSecret"` // Specifies whether to enable the channel. Defaults to `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` }
Provides a Pinpoint ADM (Amazon Device Messaging) Channel resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/pinpoint" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { app, err := pinpoint.NewApp(ctx, "app", nil) if err != nil { return err } _, err = pinpoint.NewAdmChannel(ctx, "channel", &pinpoint.AdmChannelArgs{ ApplicationId: app.ApplicationId, ClientId: pulumi.String(""), ClientSecret: pulumi.String(""), Enabled: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
```
## Import
Pinpoint ADM Channel can be imported using the `application-id`, e.g.
```sh
$ pulumi import aws:pinpoint/admChannel:AdmChannel channel application-id
```
func GetAdmChannel ¶
func GetAdmChannel(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AdmChannelState, opts ...pulumi.ResourceOption) (*AdmChannel, error)
GetAdmChannel gets an existing AdmChannel 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 NewAdmChannel ¶
func NewAdmChannel(ctx *pulumi.Context, name string, args *AdmChannelArgs, opts ...pulumi.ResourceOption) (*AdmChannel, error)
NewAdmChannel registers a new resource with the given unique name, arguments, and options.
func (*AdmChannel) ElementType ¶ added in v3.13.0
func (*AdmChannel) ElementType() reflect.Type
func (*AdmChannel) ToAdmChannelOutput ¶ added in v3.13.0
func (i *AdmChannel) ToAdmChannelOutput() AdmChannelOutput
func (*AdmChannel) ToAdmChannelOutputWithContext ¶ added in v3.13.0
func (i *AdmChannel) ToAdmChannelOutputWithContext(ctx context.Context) AdmChannelOutput
func (*AdmChannel) ToAdmChannelPtrOutput ¶ added in v3.25.0
func (i *AdmChannel) ToAdmChannelPtrOutput() AdmChannelPtrOutput
func (*AdmChannel) ToAdmChannelPtrOutputWithContext ¶ added in v3.25.0
func (i *AdmChannel) ToAdmChannelPtrOutputWithContext(ctx context.Context) AdmChannelPtrOutput
type AdmChannelArgs ¶
type AdmChannelArgs struct { // The application ID. ApplicationId pulumi.StringInput // Client ID (part of OAuth Credentials) obtained via Amazon Developer Account. ClientId pulumi.StringInput // Client Secret (part of OAuth Credentials) obtained via Amazon Developer Account. ClientSecret pulumi.StringInput // Specifies whether to enable the channel. Defaults to `true`. Enabled pulumi.BoolPtrInput }
The set of arguments for constructing a AdmChannel resource.
func (AdmChannelArgs) ElementType ¶
func (AdmChannelArgs) ElementType() reflect.Type
type AdmChannelArray ¶ added in v3.25.0
type AdmChannelArray []AdmChannelInput
func (AdmChannelArray) ElementType ¶ added in v3.25.0
func (AdmChannelArray) ElementType() reflect.Type
func (AdmChannelArray) ToAdmChannelArrayOutput ¶ added in v3.25.0
func (i AdmChannelArray) ToAdmChannelArrayOutput() AdmChannelArrayOutput
func (AdmChannelArray) ToAdmChannelArrayOutputWithContext ¶ added in v3.25.0
func (i AdmChannelArray) ToAdmChannelArrayOutputWithContext(ctx context.Context) AdmChannelArrayOutput
type AdmChannelArrayInput ¶ added in v3.25.0
type AdmChannelArrayInput interface { pulumi.Input ToAdmChannelArrayOutput() AdmChannelArrayOutput ToAdmChannelArrayOutputWithContext(context.Context) AdmChannelArrayOutput }
AdmChannelArrayInput is an input type that accepts AdmChannelArray and AdmChannelArrayOutput values. You can construct a concrete instance of `AdmChannelArrayInput` via:
AdmChannelArray{ AdmChannelArgs{...} }
type AdmChannelArrayOutput ¶ added in v3.25.0
type AdmChannelArrayOutput struct{ *pulumi.OutputState }
func (AdmChannelArrayOutput) ElementType ¶ added in v3.25.0
func (AdmChannelArrayOutput) ElementType() reflect.Type
func (AdmChannelArrayOutput) Index ¶ added in v3.25.0
func (o AdmChannelArrayOutput) Index(i pulumi.IntInput) AdmChannelOutput
func (AdmChannelArrayOutput) ToAdmChannelArrayOutput ¶ added in v3.25.0
func (o AdmChannelArrayOutput) ToAdmChannelArrayOutput() AdmChannelArrayOutput
func (AdmChannelArrayOutput) ToAdmChannelArrayOutputWithContext ¶ added in v3.25.0
func (o AdmChannelArrayOutput) ToAdmChannelArrayOutputWithContext(ctx context.Context) AdmChannelArrayOutput
type AdmChannelInput ¶ added in v3.13.0
type AdmChannelInput interface { pulumi.Input ToAdmChannelOutput() AdmChannelOutput ToAdmChannelOutputWithContext(ctx context.Context) AdmChannelOutput }
type AdmChannelMap ¶ added in v3.25.0
type AdmChannelMap map[string]AdmChannelInput
func (AdmChannelMap) ElementType ¶ added in v3.25.0
func (AdmChannelMap) ElementType() reflect.Type
func (AdmChannelMap) ToAdmChannelMapOutput ¶ added in v3.25.0
func (i AdmChannelMap) ToAdmChannelMapOutput() AdmChannelMapOutput
func (AdmChannelMap) ToAdmChannelMapOutputWithContext ¶ added in v3.25.0
func (i AdmChannelMap) ToAdmChannelMapOutputWithContext(ctx context.Context) AdmChannelMapOutput
type AdmChannelMapInput ¶ added in v3.25.0
type AdmChannelMapInput interface { pulumi.Input ToAdmChannelMapOutput() AdmChannelMapOutput ToAdmChannelMapOutputWithContext(context.Context) AdmChannelMapOutput }
AdmChannelMapInput is an input type that accepts AdmChannelMap and AdmChannelMapOutput values. You can construct a concrete instance of `AdmChannelMapInput` via:
AdmChannelMap{ "key": AdmChannelArgs{...} }
type AdmChannelMapOutput ¶ added in v3.25.0
type AdmChannelMapOutput struct{ *pulumi.OutputState }
func (AdmChannelMapOutput) ElementType ¶ added in v3.25.0
func (AdmChannelMapOutput) ElementType() reflect.Type
func (AdmChannelMapOutput) MapIndex ¶ added in v3.25.0
func (o AdmChannelMapOutput) MapIndex(k pulumi.StringInput) AdmChannelOutput
func (AdmChannelMapOutput) ToAdmChannelMapOutput ¶ added in v3.25.0
func (o AdmChannelMapOutput) ToAdmChannelMapOutput() AdmChannelMapOutput
func (AdmChannelMapOutput) ToAdmChannelMapOutputWithContext ¶ added in v3.25.0
func (o AdmChannelMapOutput) ToAdmChannelMapOutputWithContext(ctx context.Context) AdmChannelMapOutput
type AdmChannelOutput ¶ added in v3.13.0
type AdmChannelOutput struct {
*pulumi.OutputState
}
func (AdmChannelOutput) ElementType ¶ added in v3.13.0
func (AdmChannelOutput) ElementType() reflect.Type
func (AdmChannelOutput) ToAdmChannelOutput ¶ added in v3.13.0
func (o AdmChannelOutput) ToAdmChannelOutput() AdmChannelOutput
func (AdmChannelOutput) ToAdmChannelOutputWithContext ¶ added in v3.13.0
func (o AdmChannelOutput) ToAdmChannelOutputWithContext(ctx context.Context) AdmChannelOutput
func (AdmChannelOutput) ToAdmChannelPtrOutput ¶ added in v3.25.0
func (o AdmChannelOutput) ToAdmChannelPtrOutput() AdmChannelPtrOutput
func (AdmChannelOutput) ToAdmChannelPtrOutputWithContext ¶ added in v3.25.0
func (o AdmChannelOutput) ToAdmChannelPtrOutputWithContext(ctx context.Context) AdmChannelPtrOutput
type AdmChannelPtrInput ¶ added in v3.25.0
type AdmChannelPtrInput interface { pulumi.Input ToAdmChannelPtrOutput() AdmChannelPtrOutput ToAdmChannelPtrOutputWithContext(ctx context.Context) AdmChannelPtrOutput }
type AdmChannelPtrOutput ¶ added in v3.25.0
type AdmChannelPtrOutput struct {
*pulumi.OutputState
}
func (AdmChannelPtrOutput) ElementType ¶ added in v3.25.0
func (AdmChannelPtrOutput) ElementType() reflect.Type
func (AdmChannelPtrOutput) ToAdmChannelPtrOutput ¶ added in v3.25.0
func (o AdmChannelPtrOutput) ToAdmChannelPtrOutput() AdmChannelPtrOutput
func (AdmChannelPtrOutput) ToAdmChannelPtrOutputWithContext ¶ added in v3.25.0
func (o AdmChannelPtrOutput) ToAdmChannelPtrOutputWithContext(ctx context.Context) AdmChannelPtrOutput
type AdmChannelState ¶
type AdmChannelState struct { // The application ID. ApplicationId pulumi.StringPtrInput // Client ID (part of OAuth Credentials) obtained via Amazon Developer Account. ClientId pulumi.StringPtrInput // Client Secret (part of OAuth Credentials) obtained via Amazon Developer Account. ClientSecret pulumi.StringPtrInput // Specifies whether to enable the channel. Defaults to `true`. Enabled pulumi.BoolPtrInput }
func (AdmChannelState) ElementType ¶
func (AdmChannelState) ElementType() reflect.Type
type ApnsChannel ¶
type ApnsChannel struct { pulumi.CustomResourceState // The application ID. ApplicationId pulumi.StringOutput `pulumi:"applicationId"` // The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app. BundleId pulumi.StringPtrOutput `pulumi:"bundleId"` // The pem encoded TLS Certificate from Apple. Certificate pulumi.StringPtrOutput `pulumi:"certificate"` // The default authentication method used for APNs. // __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console. // You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK. // If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type. DefaultAuthenticationMethod pulumi.StringPtrOutput `pulumi:"defaultAuthenticationMethod"` // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // The Certificate Private Key file (ie. `.key` file). PrivateKey pulumi.StringPtrOutput `pulumi:"privateKey"` // The ID assigned to your Apple developer account team. This value is provided on the Membership page. TeamId pulumi.StringPtrOutput `pulumi:"teamId"` // The `.p8` file that you download from your Apple developer account when you create an authentication key. TokenKey pulumi.StringPtrOutput `pulumi:"tokenKey"` // The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. TokenKeyId pulumi.StringPtrOutput `pulumi:"tokenKeyId"` }
Provides a Pinpoint APNs Channel resource.
## Import
Pinpoint APNs Channel can be imported using the `application-id`, e.g.
```sh
$ pulumi import aws:pinpoint/apnsChannel:ApnsChannel apns application-id
```
func GetApnsChannel ¶
func GetApnsChannel(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApnsChannelState, opts ...pulumi.ResourceOption) (*ApnsChannel, error)
GetApnsChannel gets an existing ApnsChannel 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 NewApnsChannel ¶
func NewApnsChannel(ctx *pulumi.Context, name string, args *ApnsChannelArgs, opts ...pulumi.ResourceOption) (*ApnsChannel, error)
NewApnsChannel registers a new resource with the given unique name, arguments, and options.
func (*ApnsChannel) ElementType ¶ added in v3.13.0
func (*ApnsChannel) ElementType() reflect.Type
func (*ApnsChannel) ToApnsChannelOutput ¶ added in v3.13.0
func (i *ApnsChannel) ToApnsChannelOutput() ApnsChannelOutput
func (*ApnsChannel) ToApnsChannelOutputWithContext ¶ added in v3.13.0
func (i *ApnsChannel) ToApnsChannelOutputWithContext(ctx context.Context) ApnsChannelOutput
func (*ApnsChannel) ToApnsChannelPtrOutput ¶ added in v3.25.0
func (i *ApnsChannel) ToApnsChannelPtrOutput() ApnsChannelPtrOutput
func (*ApnsChannel) ToApnsChannelPtrOutputWithContext ¶ added in v3.25.0
func (i *ApnsChannel) ToApnsChannelPtrOutputWithContext(ctx context.Context) ApnsChannelPtrOutput
type ApnsChannelArgs ¶
type ApnsChannelArgs struct { // The application ID. ApplicationId pulumi.StringInput // The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app. BundleId pulumi.StringPtrInput // The pem encoded TLS Certificate from Apple. Certificate pulumi.StringPtrInput // The default authentication method used for APNs. // __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console. // You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK. // If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type. DefaultAuthenticationMethod pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The Certificate Private Key file (ie. `.key` file). PrivateKey pulumi.StringPtrInput // The ID assigned to your Apple developer account team. This value is provided on the Membership page. TeamId pulumi.StringPtrInput // The `.p8` file that you download from your Apple developer account when you create an authentication key. TokenKey pulumi.StringPtrInput // The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. TokenKeyId pulumi.StringPtrInput }
The set of arguments for constructing a ApnsChannel resource.
func (ApnsChannelArgs) ElementType ¶
func (ApnsChannelArgs) ElementType() reflect.Type
type ApnsChannelArray ¶ added in v3.25.0
type ApnsChannelArray []ApnsChannelInput
func (ApnsChannelArray) ElementType ¶ added in v3.25.0
func (ApnsChannelArray) ElementType() reflect.Type
func (ApnsChannelArray) ToApnsChannelArrayOutput ¶ added in v3.25.0
func (i ApnsChannelArray) ToApnsChannelArrayOutput() ApnsChannelArrayOutput
func (ApnsChannelArray) ToApnsChannelArrayOutputWithContext ¶ added in v3.25.0
func (i ApnsChannelArray) ToApnsChannelArrayOutputWithContext(ctx context.Context) ApnsChannelArrayOutput
type ApnsChannelArrayInput ¶ added in v3.25.0
type ApnsChannelArrayInput interface { pulumi.Input ToApnsChannelArrayOutput() ApnsChannelArrayOutput ToApnsChannelArrayOutputWithContext(context.Context) ApnsChannelArrayOutput }
ApnsChannelArrayInput is an input type that accepts ApnsChannelArray and ApnsChannelArrayOutput values. You can construct a concrete instance of `ApnsChannelArrayInput` via:
ApnsChannelArray{ ApnsChannelArgs{...} }
type ApnsChannelArrayOutput ¶ added in v3.25.0
type ApnsChannelArrayOutput struct{ *pulumi.OutputState }
func (ApnsChannelArrayOutput) ElementType ¶ added in v3.25.0
func (ApnsChannelArrayOutput) ElementType() reflect.Type
func (ApnsChannelArrayOutput) Index ¶ added in v3.25.0
func (o ApnsChannelArrayOutput) Index(i pulumi.IntInput) ApnsChannelOutput
func (ApnsChannelArrayOutput) ToApnsChannelArrayOutput ¶ added in v3.25.0
func (o ApnsChannelArrayOutput) ToApnsChannelArrayOutput() ApnsChannelArrayOutput
func (ApnsChannelArrayOutput) ToApnsChannelArrayOutputWithContext ¶ added in v3.25.0
func (o ApnsChannelArrayOutput) ToApnsChannelArrayOutputWithContext(ctx context.Context) ApnsChannelArrayOutput
type ApnsChannelInput ¶ added in v3.13.0
type ApnsChannelInput interface { pulumi.Input ToApnsChannelOutput() ApnsChannelOutput ToApnsChannelOutputWithContext(ctx context.Context) ApnsChannelOutput }
type ApnsChannelMap ¶ added in v3.25.0
type ApnsChannelMap map[string]ApnsChannelInput
func (ApnsChannelMap) ElementType ¶ added in v3.25.0
func (ApnsChannelMap) ElementType() reflect.Type
func (ApnsChannelMap) ToApnsChannelMapOutput ¶ added in v3.25.0
func (i ApnsChannelMap) ToApnsChannelMapOutput() ApnsChannelMapOutput
func (ApnsChannelMap) ToApnsChannelMapOutputWithContext ¶ added in v3.25.0
func (i ApnsChannelMap) ToApnsChannelMapOutputWithContext(ctx context.Context) ApnsChannelMapOutput
type ApnsChannelMapInput ¶ added in v3.25.0
type ApnsChannelMapInput interface { pulumi.Input ToApnsChannelMapOutput() ApnsChannelMapOutput ToApnsChannelMapOutputWithContext(context.Context) ApnsChannelMapOutput }
ApnsChannelMapInput is an input type that accepts ApnsChannelMap and ApnsChannelMapOutput values. You can construct a concrete instance of `ApnsChannelMapInput` via:
ApnsChannelMap{ "key": ApnsChannelArgs{...} }
type ApnsChannelMapOutput ¶ added in v3.25.0
type ApnsChannelMapOutput struct{ *pulumi.OutputState }
func (ApnsChannelMapOutput) ElementType ¶ added in v3.25.0
func (ApnsChannelMapOutput) ElementType() reflect.Type
func (ApnsChannelMapOutput) MapIndex ¶ added in v3.25.0
func (o ApnsChannelMapOutput) MapIndex(k pulumi.StringInput) ApnsChannelOutput
func (ApnsChannelMapOutput) ToApnsChannelMapOutput ¶ added in v3.25.0
func (o ApnsChannelMapOutput) ToApnsChannelMapOutput() ApnsChannelMapOutput
func (ApnsChannelMapOutput) ToApnsChannelMapOutputWithContext ¶ added in v3.25.0
func (o ApnsChannelMapOutput) ToApnsChannelMapOutputWithContext(ctx context.Context) ApnsChannelMapOutput
type ApnsChannelOutput ¶ added in v3.13.0
type ApnsChannelOutput struct {
*pulumi.OutputState
}
func (ApnsChannelOutput) ElementType ¶ added in v3.13.0
func (ApnsChannelOutput) ElementType() reflect.Type
func (ApnsChannelOutput) ToApnsChannelOutput ¶ added in v3.13.0
func (o ApnsChannelOutput) ToApnsChannelOutput() ApnsChannelOutput
func (ApnsChannelOutput) ToApnsChannelOutputWithContext ¶ added in v3.13.0
func (o ApnsChannelOutput) ToApnsChannelOutputWithContext(ctx context.Context) ApnsChannelOutput
func (ApnsChannelOutput) ToApnsChannelPtrOutput ¶ added in v3.25.0
func (o ApnsChannelOutput) ToApnsChannelPtrOutput() ApnsChannelPtrOutput
func (ApnsChannelOutput) ToApnsChannelPtrOutputWithContext ¶ added in v3.25.0
func (o ApnsChannelOutput) ToApnsChannelPtrOutputWithContext(ctx context.Context) ApnsChannelPtrOutput
type ApnsChannelPtrInput ¶ added in v3.25.0
type ApnsChannelPtrInput interface { pulumi.Input ToApnsChannelPtrOutput() ApnsChannelPtrOutput ToApnsChannelPtrOutputWithContext(ctx context.Context) ApnsChannelPtrOutput }
type ApnsChannelPtrOutput ¶ added in v3.25.0
type ApnsChannelPtrOutput struct {
*pulumi.OutputState
}
func (ApnsChannelPtrOutput) ElementType ¶ added in v3.25.0
func (ApnsChannelPtrOutput) ElementType() reflect.Type
func (ApnsChannelPtrOutput) ToApnsChannelPtrOutput ¶ added in v3.25.0
func (o ApnsChannelPtrOutput) ToApnsChannelPtrOutput() ApnsChannelPtrOutput
func (ApnsChannelPtrOutput) ToApnsChannelPtrOutputWithContext ¶ added in v3.25.0
func (o ApnsChannelPtrOutput) ToApnsChannelPtrOutputWithContext(ctx context.Context) ApnsChannelPtrOutput
type ApnsChannelState ¶
type ApnsChannelState struct { // The application ID. ApplicationId pulumi.StringPtrInput // The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app. BundleId pulumi.StringPtrInput // The pem encoded TLS Certificate from Apple. Certificate pulumi.StringPtrInput // The default authentication method used for APNs. // __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console. // You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK. // If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type. DefaultAuthenticationMethod pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The Certificate Private Key file (ie. `.key` file). PrivateKey pulumi.StringPtrInput // The ID assigned to your Apple developer account team. This value is provided on the Membership page. TeamId pulumi.StringPtrInput // The `.p8` file that you download from your Apple developer account when you create an authentication key. TokenKey pulumi.StringPtrInput // The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. TokenKeyId pulumi.StringPtrInput }
func (ApnsChannelState) ElementType ¶
func (ApnsChannelState) ElementType() reflect.Type
type ApnsSandboxChannel ¶
type ApnsSandboxChannel struct { pulumi.CustomResourceState // The application ID. ApplicationId pulumi.StringOutput `pulumi:"applicationId"` // The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app. BundleId pulumi.StringPtrOutput `pulumi:"bundleId"` // The pem encoded TLS Certificate from Apple. Certificate pulumi.StringPtrOutput `pulumi:"certificate"` // The default authentication method used for APNs Sandbox. // __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console. // You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK. // If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type. DefaultAuthenticationMethod pulumi.StringPtrOutput `pulumi:"defaultAuthenticationMethod"` // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // The Certificate Private Key file (ie. `.key` file). PrivateKey pulumi.StringPtrOutput `pulumi:"privateKey"` // The ID assigned to your Apple developer account team. This value is provided on the Membership page. TeamId pulumi.StringPtrOutput `pulumi:"teamId"` // The `.p8` file that you download from your Apple developer account when you create an authentication key. TokenKey pulumi.StringPtrOutput `pulumi:"tokenKey"` // The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. TokenKeyId pulumi.StringPtrOutput `pulumi:"tokenKeyId"` }
Provides a Pinpoint APNs Sandbox Channel resource.
## Import
Pinpoint APNs Sandbox Channel can be imported using the `application-id`, e.g.
```sh
$ pulumi import aws:pinpoint/apnsSandboxChannel:ApnsSandboxChannel apns_sandbox application-id
```
func GetApnsSandboxChannel ¶
func GetApnsSandboxChannel(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApnsSandboxChannelState, opts ...pulumi.ResourceOption) (*ApnsSandboxChannel, error)
GetApnsSandboxChannel gets an existing ApnsSandboxChannel 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 NewApnsSandboxChannel ¶
func NewApnsSandboxChannel(ctx *pulumi.Context, name string, args *ApnsSandboxChannelArgs, opts ...pulumi.ResourceOption) (*ApnsSandboxChannel, error)
NewApnsSandboxChannel registers a new resource with the given unique name, arguments, and options.
func (*ApnsSandboxChannel) ElementType ¶ added in v3.13.0
func (*ApnsSandboxChannel) ElementType() reflect.Type
func (*ApnsSandboxChannel) ToApnsSandboxChannelOutput ¶ added in v3.13.0
func (i *ApnsSandboxChannel) ToApnsSandboxChannelOutput() ApnsSandboxChannelOutput
func (*ApnsSandboxChannel) ToApnsSandboxChannelOutputWithContext ¶ added in v3.13.0
func (i *ApnsSandboxChannel) ToApnsSandboxChannelOutputWithContext(ctx context.Context) ApnsSandboxChannelOutput
func (*ApnsSandboxChannel) ToApnsSandboxChannelPtrOutput ¶ added in v3.25.0
func (i *ApnsSandboxChannel) ToApnsSandboxChannelPtrOutput() ApnsSandboxChannelPtrOutput
func (*ApnsSandboxChannel) ToApnsSandboxChannelPtrOutputWithContext ¶ added in v3.25.0
func (i *ApnsSandboxChannel) ToApnsSandboxChannelPtrOutputWithContext(ctx context.Context) ApnsSandboxChannelPtrOutput
type ApnsSandboxChannelArgs ¶
type ApnsSandboxChannelArgs struct { // The application ID. ApplicationId pulumi.StringInput // The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app. BundleId pulumi.StringPtrInput // The pem encoded TLS Certificate from Apple. Certificate pulumi.StringPtrInput // The default authentication method used for APNs Sandbox. // __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console. // You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK. // If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type. DefaultAuthenticationMethod pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The Certificate Private Key file (ie. `.key` file). PrivateKey pulumi.StringPtrInput // The ID assigned to your Apple developer account team. This value is provided on the Membership page. TeamId pulumi.StringPtrInput // The `.p8` file that you download from your Apple developer account when you create an authentication key. TokenKey pulumi.StringPtrInput // The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. TokenKeyId pulumi.StringPtrInput }
The set of arguments for constructing a ApnsSandboxChannel resource.
func (ApnsSandboxChannelArgs) ElementType ¶
func (ApnsSandboxChannelArgs) ElementType() reflect.Type
type ApnsSandboxChannelArray ¶ added in v3.25.0
type ApnsSandboxChannelArray []ApnsSandboxChannelInput
func (ApnsSandboxChannelArray) ElementType ¶ added in v3.25.0
func (ApnsSandboxChannelArray) ElementType() reflect.Type
func (ApnsSandboxChannelArray) ToApnsSandboxChannelArrayOutput ¶ added in v3.25.0
func (i ApnsSandboxChannelArray) ToApnsSandboxChannelArrayOutput() ApnsSandboxChannelArrayOutput
func (ApnsSandboxChannelArray) ToApnsSandboxChannelArrayOutputWithContext ¶ added in v3.25.0
func (i ApnsSandboxChannelArray) ToApnsSandboxChannelArrayOutputWithContext(ctx context.Context) ApnsSandboxChannelArrayOutput
type ApnsSandboxChannelArrayInput ¶ added in v3.25.0
type ApnsSandboxChannelArrayInput interface { pulumi.Input ToApnsSandboxChannelArrayOutput() ApnsSandboxChannelArrayOutput ToApnsSandboxChannelArrayOutputWithContext(context.Context) ApnsSandboxChannelArrayOutput }
ApnsSandboxChannelArrayInput is an input type that accepts ApnsSandboxChannelArray and ApnsSandboxChannelArrayOutput values. You can construct a concrete instance of `ApnsSandboxChannelArrayInput` via:
ApnsSandboxChannelArray{ ApnsSandboxChannelArgs{...} }
type ApnsSandboxChannelArrayOutput ¶ added in v3.25.0
type ApnsSandboxChannelArrayOutput struct{ *pulumi.OutputState }
func (ApnsSandboxChannelArrayOutput) ElementType ¶ added in v3.25.0
func (ApnsSandboxChannelArrayOutput) ElementType() reflect.Type
func (ApnsSandboxChannelArrayOutput) Index ¶ added in v3.25.0
func (o ApnsSandboxChannelArrayOutput) Index(i pulumi.IntInput) ApnsSandboxChannelOutput
func (ApnsSandboxChannelArrayOutput) ToApnsSandboxChannelArrayOutput ¶ added in v3.25.0
func (o ApnsSandboxChannelArrayOutput) ToApnsSandboxChannelArrayOutput() ApnsSandboxChannelArrayOutput
func (ApnsSandboxChannelArrayOutput) ToApnsSandboxChannelArrayOutputWithContext ¶ added in v3.25.0
func (o ApnsSandboxChannelArrayOutput) ToApnsSandboxChannelArrayOutputWithContext(ctx context.Context) ApnsSandboxChannelArrayOutput
type ApnsSandboxChannelInput ¶ added in v3.13.0
type ApnsSandboxChannelInput interface { pulumi.Input ToApnsSandboxChannelOutput() ApnsSandboxChannelOutput ToApnsSandboxChannelOutputWithContext(ctx context.Context) ApnsSandboxChannelOutput }
type ApnsSandboxChannelMap ¶ added in v3.25.0
type ApnsSandboxChannelMap map[string]ApnsSandboxChannelInput
func (ApnsSandboxChannelMap) ElementType ¶ added in v3.25.0
func (ApnsSandboxChannelMap) ElementType() reflect.Type
func (ApnsSandboxChannelMap) ToApnsSandboxChannelMapOutput ¶ added in v3.25.0
func (i ApnsSandboxChannelMap) ToApnsSandboxChannelMapOutput() ApnsSandboxChannelMapOutput
func (ApnsSandboxChannelMap) ToApnsSandboxChannelMapOutputWithContext ¶ added in v3.25.0
func (i ApnsSandboxChannelMap) ToApnsSandboxChannelMapOutputWithContext(ctx context.Context) ApnsSandboxChannelMapOutput
type ApnsSandboxChannelMapInput ¶ added in v3.25.0
type ApnsSandboxChannelMapInput interface { pulumi.Input ToApnsSandboxChannelMapOutput() ApnsSandboxChannelMapOutput ToApnsSandboxChannelMapOutputWithContext(context.Context) ApnsSandboxChannelMapOutput }
ApnsSandboxChannelMapInput is an input type that accepts ApnsSandboxChannelMap and ApnsSandboxChannelMapOutput values. You can construct a concrete instance of `ApnsSandboxChannelMapInput` via:
ApnsSandboxChannelMap{ "key": ApnsSandboxChannelArgs{...} }
type ApnsSandboxChannelMapOutput ¶ added in v3.25.0
type ApnsSandboxChannelMapOutput struct{ *pulumi.OutputState }
func (ApnsSandboxChannelMapOutput) ElementType ¶ added in v3.25.0
func (ApnsSandboxChannelMapOutput) ElementType() reflect.Type
func (ApnsSandboxChannelMapOutput) MapIndex ¶ added in v3.25.0
func (o ApnsSandboxChannelMapOutput) MapIndex(k pulumi.StringInput) ApnsSandboxChannelOutput
func (ApnsSandboxChannelMapOutput) ToApnsSandboxChannelMapOutput ¶ added in v3.25.0
func (o ApnsSandboxChannelMapOutput) ToApnsSandboxChannelMapOutput() ApnsSandboxChannelMapOutput
func (ApnsSandboxChannelMapOutput) ToApnsSandboxChannelMapOutputWithContext ¶ added in v3.25.0
func (o ApnsSandboxChannelMapOutput) ToApnsSandboxChannelMapOutputWithContext(ctx context.Context) ApnsSandboxChannelMapOutput
type ApnsSandboxChannelOutput ¶ added in v3.13.0
type ApnsSandboxChannelOutput struct {
*pulumi.OutputState
}
func (ApnsSandboxChannelOutput) ElementType ¶ added in v3.13.0
func (ApnsSandboxChannelOutput) ElementType() reflect.Type
func (ApnsSandboxChannelOutput) ToApnsSandboxChannelOutput ¶ added in v3.13.0
func (o ApnsSandboxChannelOutput) ToApnsSandboxChannelOutput() ApnsSandboxChannelOutput
func (ApnsSandboxChannelOutput) ToApnsSandboxChannelOutputWithContext ¶ added in v3.13.0
func (o ApnsSandboxChannelOutput) ToApnsSandboxChannelOutputWithContext(ctx context.Context) ApnsSandboxChannelOutput
func (ApnsSandboxChannelOutput) ToApnsSandboxChannelPtrOutput ¶ added in v3.25.0
func (o ApnsSandboxChannelOutput) ToApnsSandboxChannelPtrOutput() ApnsSandboxChannelPtrOutput
func (ApnsSandboxChannelOutput) ToApnsSandboxChannelPtrOutputWithContext ¶ added in v3.25.0
func (o ApnsSandboxChannelOutput) ToApnsSandboxChannelPtrOutputWithContext(ctx context.Context) ApnsSandboxChannelPtrOutput
type ApnsSandboxChannelPtrInput ¶ added in v3.25.0
type ApnsSandboxChannelPtrInput interface { pulumi.Input ToApnsSandboxChannelPtrOutput() ApnsSandboxChannelPtrOutput ToApnsSandboxChannelPtrOutputWithContext(ctx context.Context) ApnsSandboxChannelPtrOutput }
type ApnsSandboxChannelPtrOutput ¶ added in v3.25.0
type ApnsSandboxChannelPtrOutput struct {
*pulumi.OutputState
}
func (ApnsSandboxChannelPtrOutput) ElementType ¶ added in v3.25.0
func (ApnsSandboxChannelPtrOutput) ElementType() reflect.Type
func (ApnsSandboxChannelPtrOutput) ToApnsSandboxChannelPtrOutput ¶ added in v3.25.0
func (o ApnsSandboxChannelPtrOutput) ToApnsSandboxChannelPtrOutput() ApnsSandboxChannelPtrOutput
func (ApnsSandboxChannelPtrOutput) ToApnsSandboxChannelPtrOutputWithContext ¶ added in v3.25.0
func (o ApnsSandboxChannelPtrOutput) ToApnsSandboxChannelPtrOutputWithContext(ctx context.Context) ApnsSandboxChannelPtrOutput
type ApnsSandboxChannelState ¶
type ApnsSandboxChannelState struct { // The application ID. ApplicationId pulumi.StringPtrInput // The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app. BundleId pulumi.StringPtrInput // The pem encoded TLS Certificate from Apple. Certificate pulumi.StringPtrInput // The default authentication method used for APNs Sandbox. // __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console. // You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK. // If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type. DefaultAuthenticationMethod pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The Certificate Private Key file (ie. `.key` file). PrivateKey pulumi.StringPtrInput // The ID assigned to your Apple developer account team. This value is provided on the Membership page. TeamId pulumi.StringPtrInput // The `.p8` file that you download from your Apple developer account when you create an authentication key. TokenKey pulumi.StringPtrInput // The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. TokenKeyId pulumi.StringPtrInput }
func (ApnsSandboxChannelState) ElementType ¶
func (ApnsSandboxChannelState) ElementType() reflect.Type
type ApnsVoipChannel ¶
type ApnsVoipChannel struct { pulumi.CustomResourceState // The application ID. ApplicationId pulumi.StringOutput `pulumi:"applicationId"` // The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app. BundleId pulumi.StringPtrOutput `pulumi:"bundleId"` // The pem encoded TLS Certificate from Apple. Certificate pulumi.StringPtrOutput `pulumi:"certificate"` // The default authentication method used for APNs. // __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console. // You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK. // If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type. DefaultAuthenticationMethod pulumi.StringPtrOutput `pulumi:"defaultAuthenticationMethod"` // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // The Certificate Private Key file (ie. `.key` file). PrivateKey pulumi.StringPtrOutput `pulumi:"privateKey"` // The ID assigned to your Apple developer account team. This value is provided on the Membership page. TeamId pulumi.StringPtrOutput `pulumi:"teamId"` // The `.p8` file that you download from your Apple developer account when you create an authentication key. TokenKey pulumi.StringPtrOutput `pulumi:"tokenKey"` // The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. TokenKeyId pulumi.StringPtrOutput `pulumi:"tokenKeyId"` }
Provides a Pinpoint APNs VoIP Channel resource.
## Import
Pinpoint APNs VoIP Channel can be imported using the `application-id`, e.g.
```sh
$ pulumi import aws:pinpoint/apnsVoipChannel:ApnsVoipChannel apns_voip application-id
```
func GetApnsVoipChannel ¶
func GetApnsVoipChannel(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApnsVoipChannelState, opts ...pulumi.ResourceOption) (*ApnsVoipChannel, error)
GetApnsVoipChannel gets an existing ApnsVoipChannel 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 NewApnsVoipChannel ¶
func NewApnsVoipChannel(ctx *pulumi.Context, name string, args *ApnsVoipChannelArgs, opts ...pulumi.ResourceOption) (*ApnsVoipChannel, error)
NewApnsVoipChannel registers a new resource with the given unique name, arguments, and options.
func (*ApnsVoipChannel) ElementType ¶ added in v3.13.0
func (*ApnsVoipChannel) ElementType() reflect.Type
func (*ApnsVoipChannel) ToApnsVoipChannelOutput ¶ added in v3.13.0
func (i *ApnsVoipChannel) ToApnsVoipChannelOutput() ApnsVoipChannelOutput
func (*ApnsVoipChannel) ToApnsVoipChannelOutputWithContext ¶ added in v3.13.0
func (i *ApnsVoipChannel) ToApnsVoipChannelOutputWithContext(ctx context.Context) ApnsVoipChannelOutput
func (*ApnsVoipChannel) ToApnsVoipChannelPtrOutput ¶ added in v3.25.0
func (i *ApnsVoipChannel) ToApnsVoipChannelPtrOutput() ApnsVoipChannelPtrOutput
func (*ApnsVoipChannel) ToApnsVoipChannelPtrOutputWithContext ¶ added in v3.25.0
func (i *ApnsVoipChannel) ToApnsVoipChannelPtrOutputWithContext(ctx context.Context) ApnsVoipChannelPtrOutput
type ApnsVoipChannelArgs ¶
type ApnsVoipChannelArgs struct { // The application ID. ApplicationId pulumi.StringInput // The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app. BundleId pulumi.StringPtrInput // The pem encoded TLS Certificate from Apple. Certificate pulumi.StringPtrInput // The default authentication method used for APNs. // __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console. // You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK. // If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type. DefaultAuthenticationMethod pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The Certificate Private Key file (ie. `.key` file). PrivateKey pulumi.StringPtrInput // The ID assigned to your Apple developer account team. This value is provided on the Membership page. TeamId pulumi.StringPtrInput // The `.p8` file that you download from your Apple developer account when you create an authentication key. TokenKey pulumi.StringPtrInput // The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. TokenKeyId pulumi.StringPtrInput }
The set of arguments for constructing a ApnsVoipChannel resource.
func (ApnsVoipChannelArgs) ElementType ¶
func (ApnsVoipChannelArgs) ElementType() reflect.Type
type ApnsVoipChannelArray ¶ added in v3.25.0
type ApnsVoipChannelArray []ApnsVoipChannelInput
func (ApnsVoipChannelArray) ElementType ¶ added in v3.25.0
func (ApnsVoipChannelArray) ElementType() reflect.Type
func (ApnsVoipChannelArray) ToApnsVoipChannelArrayOutput ¶ added in v3.25.0
func (i ApnsVoipChannelArray) ToApnsVoipChannelArrayOutput() ApnsVoipChannelArrayOutput
func (ApnsVoipChannelArray) ToApnsVoipChannelArrayOutputWithContext ¶ added in v3.25.0
func (i ApnsVoipChannelArray) ToApnsVoipChannelArrayOutputWithContext(ctx context.Context) ApnsVoipChannelArrayOutput
type ApnsVoipChannelArrayInput ¶ added in v3.25.0
type ApnsVoipChannelArrayInput interface { pulumi.Input ToApnsVoipChannelArrayOutput() ApnsVoipChannelArrayOutput ToApnsVoipChannelArrayOutputWithContext(context.Context) ApnsVoipChannelArrayOutput }
ApnsVoipChannelArrayInput is an input type that accepts ApnsVoipChannelArray and ApnsVoipChannelArrayOutput values. You can construct a concrete instance of `ApnsVoipChannelArrayInput` via:
ApnsVoipChannelArray{ ApnsVoipChannelArgs{...} }
type ApnsVoipChannelArrayOutput ¶ added in v3.25.0
type ApnsVoipChannelArrayOutput struct{ *pulumi.OutputState }
func (ApnsVoipChannelArrayOutput) ElementType ¶ added in v3.25.0
func (ApnsVoipChannelArrayOutput) ElementType() reflect.Type
func (ApnsVoipChannelArrayOutput) Index ¶ added in v3.25.0
func (o ApnsVoipChannelArrayOutput) Index(i pulumi.IntInput) ApnsVoipChannelOutput
func (ApnsVoipChannelArrayOutput) ToApnsVoipChannelArrayOutput ¶ added in v3.25.0
func (o ApnsVoipChannelArrayOutput) ToApnsVoipChannelArrayOutput() ApnsVoipChannelArrayOutput
func (ApnsVoipChannelArrayOutput) ToApnsVoipChannelArrayOutputWithContext ¶ added in v3.25.0
func (o ApnsVoipChannelArrayOutput) ToApnsVoipChannelArrayOutputWithContext(ctx context.Context) ApnsVoipChannelArrayOutput
type ApnsVoipChannelInput ¶ added in v3.13.0
type ApnsVoipChannelInput interface { pulumi.Input ToApnsVoipChannelOutput() ApnsVoipChannelOutput ToApnsVoipChannelOutputWithContext(ctx context.Context) ApnsVoipChannelOutput }
type ApnsVoipChannelMap ¶ added in v3.25.0
type ApnsVoipChannelMap map[string]ApnsVoipChannelInput
func (ApnsVoipChannelMap) ElementType ¶ added in v3.25.0
func (ApnsVoipChannelMap) ElementType() reflect.Type
func (ApnsVoipChannelMap) ToApnsVoipChannelMapOutput ¶ added in v3.25.0
func (i ApnsVoipChannelMap) ToApnsVoipChannelMapOutput() ApnsVoipChannelMapOutput
func (ApnsVoipChannelMap) ToApnsVoipChannelMapOutputWithContext ¶ added in v3.25.0
func (i ApnsVoipChannelMap) ToApnsVoipChannelMapOutputWithContext(ctx context.Context) ApnsVoipChannelMapOutput
type ApnsVoipChannelMapInput ¶ added in v3.25.0
type ApnsVoipChannelMapInput interface { pulumi.Input ToApnsVoipChannelMapOutput() ApnsVoipChannelMapOutput ToApnsVoipChannelMapOutputWithContext(context.Context) ApnsVoipChannelMapOutput }
ApnsVoipChannelMapInput is an input type that accepts ApnsVoipChannelMap and ApnsVoipChannelMapOutput values. You can construct a concrete instance of `ApnsVoipChannelMapInput` via:
ApnsVoipChannelMap{ "key": ApnsVoipChannelArgs{...} }
type ApnsVoipChannelMapOutput ¶ added in v3.25.0
type ApnsVoipChannelMapOutput struct{ *pulumi.OutputState }
func (ApnsVoipChannelMapOutput) ElementType ¶ added in v3.25.0
func (ApnsVoipChannelMapOutput) ElementType() reflect.Type
func (ApnsVoipChannelMapOutput) MapIndex ¶ added in v3.25.0
func (o ApnsVoipChannelMapOutput) MapIndex(k pulumi.StringInput) ApnsVoipChannelOutput
func (ApnsVoipChannelMapOutput) ToApnsVoipChannelMapOutput ¶ added in v3.25.0
func (o ApnsVoipChannelMapOutput) ToApnsVoipChannelMapOutput() ApnsVoipChannelMapOutput
func (ApnsVoipChannelMapOutput) ToApnsVoipChannelMapOutputWithContext ¶ added in v3.25.0
func (o ApnsVoipChannelMapOutput) ToApnsVoipChannelMapOutputWithContext(ctx context.Context) ApnsVoipChannelMapOutput
type ApnsVoipChannelOutput ¶ added in v3.13.0
type ApnsVoipChannelOutput struct {
*pulumi.OutputState
}
func (ApnsVoipChannelOutput) ElementType ¶ added in v3.13.0
func (ApnsVoipChannelOutput) ElementType() reflect.Type
func (ApnsVoipChannelOutput) ToApnsVoipChannelOutput ¶ added in v3.13.0
func (o ApnsVoipChannelOutput) ToApnsVoipChannelOutput() ApnsVoipChannelOutput
func (ApnsVoipChannelOutput) ToApnsVoipChannelOutputWithContext ¶ added in v3.13.0
func (o ApnsVoipChannelOutput) ToApnsVoipChannelOutputWithContext(ctx context.Context) ApnsVoipChannelOutput
func (ApnsVoipChannelOutput) ToApnsVoipChannelPtrOutput ¶ added in v3.25.0
func (o ApnsVoipChannelOutput) ToApnsVoipChannelPtrOutput() ApnsVoipChannelPtrOutput
func (ApnsVoipChannelOutput) ToApnsVoipChannelPtrOutputWithContext ¶ added in v3.25.0
func (o ApnsVoipChannelOutput) ToApnsVoipChannelPtrOutputWithContext(ctx context.Context) ApnsVoipChannelPtrOutput
type ApnsVoipChannelPtrInput ¶ added in v3.25.0
type ApnsVoipChannelPtrInput interface { pulumi.Input ToApnsVoipChannelPtrOutput() ApnsVoipChannelPtrOutput ToApnsVoipChannelPtrOutputWithContext(ctx context.Context) ApnsVoipChannelPtrOutput }
type ApnsVoipChannelPtrOutput ¶ added in v3.25.0
type ApnsVoipChannelPtrOutput struct {
*pulumi.OutputState
}
func (ApnsVoipChannelPtrOutput) ElementType ¶ added in v3.25.0
func (ApnsVoipChannelPtrOutput) ElementType() reflect.Type
func (ApnsVoipChannelPtrOutput) ToApnsVoipChannelPtrOutput ¶ added in v3.25.0
func (o ApnsVoipChannelPtrOutput) ToApnsVoipChannelPtrOutput() ApnsVoipChannelPtrOutput
func (ApnsVoipChannelPtrOutput) ToApnsVoipChannelPtrOutputWithContext ¶ added in v3.25.0
func (o ApnsVoipChannelPtrOutput) ToApnsVoipChannelPtrOutputWithContext(ctx context.Context) ApnsVoipChannelPtrOutput
type ApnsVoipChannelState ¶
type ApnsVoipChannelState struct { // The application ID. ApplicationId pulumi.StringPtrInput // The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app. BundleId pulumi.StringPtrInput // The pem encoded TLS Certificate from Apple. Certificate pulumi.StringPtrInput // The default authentication method used for APNs. // __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console. // You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK. // If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type. DefaultAuthenticationMethod pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The Certificate Private Key file (ie. `.key` file). PrivateKey pulumi.StringPtrInput // The ID assigned to your Apple developer account team. This value is provided on the Membership page. TeamId pulumi.StringPtrInput // The `.p8` file that you download from your Apple developer account when you create an authentication key. TokenKey pulumi.StringPtrInput // The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. TokenKeyId pulumi.StringPtrInput }
func (ApnsVoipChannelState) ElementType ¶
func (ApnsVoipChannelState) ElementType() reflect.Type
type ApnsVoipSandboxChannel ¶
type ApnsVoipSandboxChannel struct { pulumi.CustomResourceState // The application ID. ApplicationId pulumi.StringOutput `pulumi:"applicationId"` // The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app. BundleId pulumi.StringPtrOutput `pulumi:"bundleId"` // The pem encoded TLS Certificate from Apple. Certificate pulumi.StringPtrOutput `pulumi:"certificate"` // The default authentication method used for APNs. // __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console. // You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK. // If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type. DefaultAuthenticationMethod pulumi.StringPtrOutput `pulumi:"defaultAuthenticationMethod"` // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // The Certificate Private Key file (ie. `.key` file). PrivateKey pulumi.StringPtrOutput `pulumi:"privateKey"` // The ID assigned to your Apple developer account team. This value is provided on the Membership page. TeamId pulumi.StringPtrOutput `pulumi:"teamId"` // The `.p8` file that you download from your Apple developer account when you create an authentication key. TokenKey pulumi.StringPtrOutput `pulumi:"tokenKey"` // The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. TokenKeyId pulumi.StringPtrOutput `pulumi:"tokenKeyId"` }
Provides a Pinpoint APNs VoIP Sandbox Channel resource.
## Import
Pinpoint APNs VoIP Sandbox Channel can be imported using the `application-id`, e.g.
```sh
$ pulumi import aws:pinpoint/apnsVoipSandboxChannel:ApnsVoipSandboxChannel apns_voip_sandbox application-id
```
func GetApnsVoipSandboxChannel ¶
func GetApnsVoipSandboxChannel(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ApnsVoipSandboxChannelState, opts ...pulumi.ResourceOption) (*ApnsVoipSandboxChannel, error)
GetApnsVoipSandboxChannel gets an existing ApnsVoipSandboxChannel 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 NewApnsVoipSandboxChannel ¶
func NewApnsVoipSandboxChannel(ctx *pulumi.Context, name string, args *ApnsVoipSandboxChannelArgs, opts ...pulumi.ResourceOption) (*ApnsVoipSandboxChannel, error)
NewApnsVoipSandboxChannel registers a new resource with the given unique name, arguments, and options.
func (*ApnsVoipSandboxChannel) ElementType ¶ added in v3.13.0
func (*ApnsVoipSandboxChannel) ElementType() reflect.Type
func (*ApnsVoipSandboxChannel) ToApnsVoipSandboxChannelOutput ¶ added in v3.13.0
func (i *ApnsVoipSandboxChannel) ToApnsVoipSandboxChannelOutput() ApnsVoipSandboxChannelOutput
func (*ApnsVoipSandboxChannel) ToApnsVoipSandboxChannelOutputWithContext ¶ added in v3.13.0
func (i *ApnsVoipSandboxChannel) ToApnsVoipSandboxChannelOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelOutput
func (*ApnsVoipSandboxChannel) ToApnsVoipSandboxChannelPtrOutput ¶ added in v3.25.0
func (i *ApnsVoipSandboxChannel) ToApnsVoipSandboxChannelPtrOutput() ApnsVoipSandboxChannelPtrOutput
func (*ApnsVoipSandboxChannel) ToApnsVoipSandboxChannelPtrOutputWithContext ¶ added in v3.25.0
func (i *ApnsVoipSandboxChannel) ToApnsVoipSandboxChannelPtrOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelPtrOutput
type ApnsVoipSandboxChannelArgs ¶
type ApnsVoipSandboxChannelArgs struct { // The application ID. ApplicationId pulumi.StringInput // The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app. BundleId pulumi.StringPtrInput // The pem encoded TLS Certificate from Apple. Certificate pulumi.StringPtrInput // The default authentication method used for APNs. // __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console. // You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK. // If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type. DefaultAuthenticationMethod pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The Certificate Private Key file (ie. `.key` file). PrivateKey pulumi.StringPtrInput // The ID assigned to your Apple developer account team. This value is provided on the Membership page. TeamId pulumi.StringPtrInput // The `.p8` file that you download from your Apple developer account when you create an authentication key. TokenKey pulumi.StringPtrInput // The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. TokenKeyId pulumi.StringPtrInput }
The set of arguments for constructing a ApnsVoipSandboxChannel resource.
func (ApnsVoipSandboxChannelArgs) ElementType ¶
func (ApnsVoipSandboxChannelArgs) ElementType() reflect.Type
type ApnsVoipSandboxChannelArray ¶ added in v3.25.0
type ApnsVoipSandboxChannelArray []ApnsVoipSandboxChannelInput
func (ApnsVoipSandboxChannelArray) ElementType ¶ added in v3.25.0
func (ApnsVoipSandboxChannelArray) ElementType() reflect.Type
func (ApnsVoipSandboxChannelArray) ToApnsVoipSandboxChannelArrayOutput ¶ added in v3.25.0
func (i ApnsVoipSandboxChannelArray) ToApnsVoipSandboxChannelArrayOutput() ApnsVoipSandboxChannelArrayOutput
func (ApnsVoipSandboxChannelArray) ToApnsVoipSandboxChannelArrayOutputWithContext ¶ added in v3.25.0
func (i ApnsVoipSandboxChannelArray) ToApnsVoipSandboxChannelArrayOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelArrayOutput
type ApnsVoipSandboxChannelArrayInput ¶ added in v3.25.0
type ApnsVoipSandboxChannelArrayInput interface { pulumi.Input ToApnsVoipSandboxChannelArrayOutput() ApnsVoipSandboxChannelArrayOutput ToApnsVoipSandboxChannelArrayOutputWithContext(context.Context) ApnsVoipSandboxChannelArrayOutput }
ApnsVoipSandboxChannelArrayInput is an input type that accepts ApnsVoipSandboxChannelArray and ApnsVoipSandboxChannelArrayOutput values. You can construct a concrete instance of `ApnsVoipSandboxChannelArrayInput` via:
ApnsVoipSandboxChannelArray{ ApnsVoipSandboxChannelArgs{...} }
type ApnsVoipSandboxChannelArrayOutput ¶ added in v3.25.0
type ApnsVoipSandboxChannelArrayOutput struct{ *pulumi.OutputState }
func (ApnsVoipSandboxChannelArrayOutput) ElementType ¶ added in v3.25.0
func (ApnsVoipSandboxChannelArrayOutput) ElementType() reflect.Type
func (ApnsVoipSandboxChannelArrayOutput) Index ¶ added in v3.25.0
func (o ApnsVoipSandboxChannelArrayOutput) Index(i pulumi.IntInput) ApnsVoipSandboxChannelOutput
func (ApnsVoipSandboxChannelArrayOutput) ToApnsVoipSandboxChannelArrayOutput ¶ added in v3.25.0
func (o ApnsVoipSandboxChannelArrayOutput) ToApnsVoipSandboxChannelArrayOutput() ApnsVoipSandboxChannelArrayOutput
func (ApnsVoipSandboxChannelArrayOutput) ToApnsVoipSandboxChannelArrayOutputWithContext ¶ added in v3.25.0
func (o ApnsVoipSandboxChannelArrayOutput) ToApnsVoipSandboxChannelArrayOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelArrayOutput
type ApnsVoipSandboxChannelInput ¶ added in v3.13.0
type ApnsVoipSandboxChannelInput interface { pulumi.Input ToApnsVoipSandboxChannelOutput() ApnsVoipSandboxChannelOutput ToApnsVoipSandboxChannelOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelOutput }
type ApnsVoipSandboxChannelMap ¶ added in v3.25.0
type ApnsVoipSandboxChannelMap map[string]ApnsVoipSandboxChannelInput
func (ApnsVoipSandboxChannelMap) ElementType ¶ added in v3.25.0
func (ApnsVoipSandboxChannelMap) ElementType() reflect.Type
func (ApnsVoipSandboxChannelMap) ToApnsVoipSandboxChannelMapOutput ¶ added in v3.25.0
func (i ApnsVoipSandboxChannelMap) ToApnsVoipSandboxChannelMapOutput() ApnsVoipSandboxChannelMapOutput
func (ApnsVoipSandboxChannelMap) ToApnsVoipSandboxChannelMapOutputWithContext ¶ added in v3.25.0
func (i ApnsVoipSandboxChannelMap) ToApnsVoipSandboxChannelMapOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelMapOutput
type ApnsVoipSandboxChannelMapInput ¶ added in v3.25.0
type ApnsVoipSandboxChannelMapInput interface { pulumi.Input ToApnsVoipSandboxChannelMapOutput() ApnsVoipSandboxChannelMapOutput ToApnsVoipSandboxChannelMapOutputWithContext(context.Context) ApnsVoipSandboxChannelMapOutput }
ApnsVoipSandboxChannelMapInput is an input type that accepts ApnsVoipSandboxChannelMap and ApnsVoipSandboxChannelMapOutput values. You can construct a concrete instance of `ApnsVoipSandboxChannelMapInput` via:
ApnsVoipSandboxChannelMap{ "key": ApnsVoipSandboxChannelArgs{...} }
type ApnsVoipSandboxChannelMapOutput ¶ added in v3.25.0
type ApnsVoipSandboxChannelMapOutput struct{ *pulumi.OutputState }
func (ApnsVoipSandboxChannelMapOutput) ElementType ¶ added in v3.25.0
func (ApnsVoipSandboxChannelMapOutput) ElementType() reflect.Type
func (ApnsVoipSandboxChannelMapOutput) MapIndex ¶ added in v3.25.0
func (o ApnsVoipSandboxChannelMapOutput) MapIndex(k pulumi.StringInput) ApnsVoipSandboxChannelOutput
func (ApnsVoipSandboxChannelMapOutput) ToApnsVoipSandboxChannelMapOutput ¶ added in v3.25.0
func (o ApnsVoipSandboxChannelMapOutput) ToApnsVoipSandboxChannelMapOutput() ApnsVoipSandboxChannelMapOutput
func (ApnsVoipSandboxChannelMapOutput) ToApnsVoipSandboxChannelMapOutputWithContext ¶ added in v3.25.0
func (o ApnsVoipSandboxChannelMapOutput) ToApnsVoipSandboxChannelMapOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelMapOutput
type ApnsVoipSandboxChannelOutput ¶ added in v3.13.0
type ApnsVoipSandboxChannelOutput struct {
*pulumi.OutputState
}
func (ApnsVoipSandboxChannelOutput) ElementType ¶ added in v3.13.0
func (ApnsVoipSandboxChannelOutput) ElementType() reflect.Type
func (ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelOutput ¶ added in v3.13.0
func (o ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelOutput() ApnsVoipSandboxChannelOutput
func (ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelOutputWithContext ¶ added in v3.13.0
func (o ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelOutput
func (ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelPtrOutput ¶ added in v3.25.0
func (o ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelPtrOutput() ApnsVoipSandboxChannelPtrOutput
func (ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelPtrOutputWithContext ¶ added in v3.25.0
func (o ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelPtrOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelPtrOutput
type ApnsVoipSandboxChannelPtrInput ¶ added in v3.25.0
type ApnsVoipSandboxChannelPtrInput interface { pulumi.Input ToApnsVoipSandboxChannelPtrOutput() ApnsVoipSandboxChannelPtrOutput ToApnsVoipSandboxChannelPtrOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelPtrOutput }
type ApnsVoipSandboxChannelPtrOutput ¶ added in v3.25.0
type ApnsVoipSandboxChannelPtrOutput struct {
*pulumi.OutputState
}
func (ApnsVoipSandboxChannelPtrOutput) ElementType ¶ added in v3.25.0
func (ApnsVoipSandboxChannelPtrOutput) ElementType() reflect.Type
func (ApnsVoipSandboxChannelPtrOutput) ToApnsVoipSandboxChannelPtrOutput ¶ added in v3.25.0
func (o ApnsVoipSandboxChannelPtrOutput) ToApnsVoipSandboxChannelPtrOutput() ApnsVoipSandboxChannelPtrOutput
func (ApnsVoipSandboxChannelPtrOutput) ToApnsVoipSandboxChannelPtrOutputWithContext ¶ added in v3.25.0
func (o ApnsVoipSandboxChannelPtrOutput) ToApnsVoipSandboxChannelPtrOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelPtrOutput
type ApnsVoipSandboxChannelState ¶
type ApnsVoipSandboxChannelState struct { // The application ID. ApplicationId pulumi.StringPtrInput // The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app. BundleId pulumi.StringPtrInput // The pem encoded TLS Certificate from Apple. Certificate pulumi.StringPtrInput // The default authentication method used for APNs. // __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console. // You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK. // If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type. DefaultAuthenticationMethod pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The Certificate Private Key file (ie. `.key` file). PrivateKey pulumi.StringPtrInput // The ID assigned to your Apple developer account team. This value is provided on the Membership page. TeamId pulumi.StringPtrInput // The `.p8` file that you download from your Apple developer account when you create an authentication key. TokenKey pulumi.StringPtrInput // The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. TokenKeyId pulumi.StringPtrInput }
func (ApnsVoipSandboxChannelState) ElementType ¶
func (ApnsVoipSandboxChannelState) ElementType() reflect.Type
type App ¶
type App struct { pulumi.CustomResourceState // The Application ID of the Pinpoint App. ApplicationId pulumi.StringOutput `pulumi:"applicationId"` // Amazon Resource Name (ARN) of the PinPoint Application Arn pulumi.StringOutput `pulumi:"arn"` // The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its own CampaignHook AppCampaignHookPtrOutput `pulumi:"campaignHook"` // The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its own Limits AppLimitsPtrOutput `pulumi:"limits"` // The application name. By default generated by this provider Name pulumi.StringOutput `pulumi:"name"` // The name of the Pinpoint application. Conflicts with `name` NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"` // The default quiet time for the app. Each campaign for this app sends no messages during this time unless the campaign overrides the default with a quiet time of its own QuietTime AppQuietTimePtrOutput `pulumi:"quietTime"` // Key-value map of resource tags Tags pulumi.StringMapOutput `pulumi:"tags"` }
Provides a Pinpoint App resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/pinpoint" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := pinpoint.NewApp(ctx, "example", &pinpoint.AppArgs{ Limits: &pinpoint.AppLimitsArgs{ MaximumDuration: pulumi.Int(600), }, QuietTime: &pinpoint.AppQuietTimeArgs{ End: pulumi.String("06:00"), Start: pulumi.String("00:00"), }, }) if err != nil { return err } return nil }) }
```
## Import
Pinpoint App can be imported using the `application-id`, e.g.
```sh
$ pulumi import aws:pinpoint/app:App name application-id
```
func GetApp ¶
func GetApp(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AppState, opts ...pulumi.ResourceOption) (*App, error)
GetApp gets an existing App 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 NewApp ¶
func NewApp(ctx *pulumi.Context, name string, args *AppArgs, opts ...pulumi.ResourceOption) (*App, error)
NewApp registers a new resource with the given unique name, arguments, and options.
func (*App) ElementType ¶ added in v3.13.0
func (*App) ToAppOutput ¶ added in v3.13.0
func (*App) ToAppOutputWithContext ¶ added in v3.13.0
func (*App) ToAppPtrOutput ¶ added in v3.25.0
func (i *App) ToAppPtrOutput() AppPtrOutput
func (*App) ToAppPtrOutputWithContext ¶ added in v3.25.0
func (i *App) ToAppPtrOutputWithContext(ctx context.Context) AppPtrOutput
type AppArgs ¶
type AppArgs struct { // The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its own CampaignHook AppCampaignHookPtrInput // The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its own Limits AppLimitsPtrInput // The application name. By default generated by this provider Name pulumi.StringPtrInput // The name of the Pinpoint application. Conflicts with `name` NamePrefix pulumi.StringPtrInput // The default quiet time for the app. Each campaign for this app sends no messages during this time unless the campaign overrides the default with a quiet time of its own QuietTime AppQuietTimePtrInput // Key-value map of resource tags Tags pulumi.StringMapInput }
The set of arguments for constructing a App resource.
func (AppArgs) ElementType ¶
type AppArray ¶ added in v3.25.0
type AppArray []AppInput
func (AppArray) ElementType ¶ added in v3.25.0
func (AppArray) ToAppArrayOutput ¶ added in v3.25.0
func (i AppArray) ToAppArrayOutput() AppArrayOutput
func (AppArray) ToAppArrayOutputWithContext ¶ added in v3.25.0
func (i AppArray) ToAppArrayOutputWithContext(ctx context.Context) AppArrayOutput
type AppArrayInput ¶ added in v3.25.0
type AppArrayInput interface { pulumi.Input ToAppArrayOutput() AppArrayOutput ToAppArrayOutputWithContext(context.Context) AppArrayOutput }
AppArrayInput is an input type that accepts AppArray and AppArrayOutput values. You can construct a concrete instance of `AppArrayInput` via:
AppArray{ AppArgs{...} }
type AppArrayOutput ¶ added in v3.25.0
type AppArrayOutput struct{ *pulumi.OutputState }
func (AppArrayOutput) ElementType ¶ added in v3.25.0
func (AppArrayOutput) ElementType() reflect.Type
func (AppArrayOutput) Index ¶ added in v3.25.0
func (o AppArrayOutput) Index(i pulumi.IntInput) AppOutput
func (AppArrayOutput) ToAppArrayOutput ¶ added in v3.25.0
func (o AppArrayOutput) ToAppArrayOutput() AppArrayOutput
func (AppArrayOutput) ToAppArrayOutputWithContext ¶ added in v3.25.0
func (o AppArrayOutput) ToAppArrayOutputWithContext(ctx context.Context) AppArrayOutput
type AppCampaignHook ¶
type AppCampaignHook struct { // Lambda function name or ARN to be called for delivery. Conflicts with `webUrl` LambdaFunctionName *string `pulumi:"lambdaFunctionName"` // What mode Lambda should be invoked in. Valid values for this parameter are `DELIVERY`, `FILTER`. Mode *string `pulumi:"mode"` // Web URL to call for hook. If the URL has authentication specified it will be added as authentication to the request. Conflicts with `lambdaFunctionName` WebUrl *string `pulumi:"webUrl"` }
type AppCampaignHookArgs ¶
type AppCampaignHookArgs struct { // Lambda function name or ARN to be called for delivery. Conflicts with `webUrl` LambdaFunctionName pulumi.StringPtrInput `pulumi:"lambdaFunctionName"` // What mode Lambda should be invoked in. Valid values for this parameter are `DELIVERY`, `FILTER`. Mode pulumi.StringPtrInput `pulumi:"mode"` // Web URL to call for hook. If the URL has authentication specified it will be added as authentication to the request. Conflicts with `lambdaFunctionName` WebUrl pulumi.StringPtrInput `pulumi:"webUrl"` }
func (AppCampaignHookArgs) ElementType ¶
func (AppCampaignHookArgs) ElementType() reflect.Type
func (AppCampaignHookArgs) ToAppCampaignHookOutput ¶
func (i AppCampaignHookArgs) ToAppCampaignHookOutput() AppCampaignHookOutput
func (AppCampaignHookArgs) ToAppCampaignHookOutputWithContext ¶
func (i AppCampaignHookArgs) ToAppCampaignHookOutputWithContext(ctx context.Context) AppCampaignHookOutput
func (AppCampaignHookArgs) ToAppCampaignHookPtrOutput ¶
func (i AppCampaignHookArgs) ToAppCampaignHookPtrOutput() AppCampaignHookPtrOutput
func (AppCampaignHookArgs) ToAppCampaignHookPtrOutputWithContext ¶
func (i AppCampaignHookArgs) ToAppCampaignHookPtrOutputWithContext(ctx context.Context) AppCampaignHookPtrOutput
type AppCampaignHookInput ¶
type AppCampaignHookInput interface { pulumi.Input ToAppCampaignHookOutput() AppCampaignHookOutput ToAppCampaignHookOutputWithContext(context.Context) AppCampaignHookOutput }
AppCampaignHookInput is an input type that accepts AppCampaignHookArgs and AppCampaignHookOutput values. You can construct a concrete instance of `AppCampaignHookInput` via:
AppCampaignHookArgs{...}
type AppCampaignHookOutput ¶
type AppCampaignHookOutput struct{ *pulumi.OutputState }
func (AppCampaignHookOutput) ElementType ¶
func (AppCampaignHookOutput) ElementType() reflect.Type
func (AppCampaignHookOutput) LambdaFunctionName ¶
func (o AppCampaignHookOutput) LambdaFunctionName() pulumi.StringPtrOutput
Lambda function name or ARN to be called for delivery. Conflicts with `webUrl`
func (AppCampaignHookOutput) Mode ¶
func (o AppCampaignHookOutput) Mode() pulumi.StringPtrOutput
What mode Lambda should be invoked in. Valid values for this parameter are `DELIVERY`, `FILTER`.
func (AppCampaignHookOutput) ToAppCampaignHookOutput ¶
func (o AppCampaignHookOutput) ToAppCampaignHookOutput() AppCampaignHookOutput
func (AppCampaignHookOutput) ToAppCampaignHookOutputWithContext ¶
func (o AppCampaignHookOutput) ToAppCampaignHookOutputWithContext(ctx context.Context) AppCampaignHookOutput
func (AppCampaignHookOutput) ToAppCampaignHookPtrOutput ¶
func (o AppCampaignHookOutput) ToAppCampaignHookPtrOutput() AppCampaignHookPtrOutput
func (AppCampaignHookOutput) ToAppCampaignHookPtrOutputWithContext ¶
func (o AppCampaignHookOutput) ToAppCampaignHookPtrOutputWithContext(ctx context.Context) AppCampaignHookPtrOutput
func (AppCampaignHookOutput) WebUrl ¶
func (o AppCampaignHookOutput) WebUrl() pulumi.StringPtrOutput
Web URL to call for hook. If the URL has authentication specified it will be added as authentication to the request. Conflicts with `lambdaFunctionName`
type AppCampaignHookPtrInput ¶
type AppCampaignHookPtrInput interface { pulumi.Input ToAppCampaignHookPtrOutput() AppCampaignHookPtrOutput ToAppCampaignHookPtrOutputWithContext(context.Context) AppCampaignHookPtrOutput }
AppCampaignHookPtrInput is an input type that accepts AppCampaignHookArgs, AppCampaignHookPtr and AppCampaignHookPtrOutput values. You can construct a concrete instance of `AppCampaignHookPtrInput` via:
AppCampaignHookArgs{...} or: nil
func AppCampaignHookPtr ¶
func AppCampaignHookPtr(v *AppCampaignHookArgs) AppCampaignHookPtrInput
type AppCampaignHookPtrOutput ¶
type AppCampaignHookPtrOutput struct{ *pulumi.OutputState }
func (AppCampaignHookPtrOutput) Elem ¶
func (o AppCampaignHookPtrOutput) Elem() AppCampaignHookOutput
func (AppCampaignHookPtrOutput) ElementType ¶
func (AppCampaignHookPtrOutput) ElementType() reflect.Type
func (AppCampaignHookPtrOutput) LambdaFunctionName ¶
func (o AppCampaignHookPtrOutput) LambdaFunctionName() pulumi.StringPtrOutput
Lambda function name or ARN to be called for delivery. Conflicts with `webUrl`
func (AppCampaignHookPtrOutput) Mode ¶
func (o AppCampaignHookPtrOutput) Mode() pulumi.StringPtrOutput
What mode Lambda should be invoked in. Valid values for this parameter are `DELIVERY`, `FILTER`.
func (AppCampaignHookPtrOutput) ToAppCampaignHookPtrOutput ¶
func (o AppCampaignHookPtrOutput) ToAppCampaignHookPtrOutput() AppCampaignHookPtrOutput
func (AppCampaignHookPtrOutput) ToAppCampaignHookPtrOutputWithContext ¶
func (o AppCampaignHookPtrOutput) ToAppCampaignHookPtrOutputWithContext(ctx context.Context) AppCampaignHookPtrOutput
func (AppCampaignHookPtrOutput) WebUrl ¶
func (o AppCampaignHookPtrOutput) WebUrl() pulumi.StringPtrOutput
Web URL to call for hook. If the URL has authentication specified it will be added as authentication to the request. Conflicts with `lambdaFunctionName`
type AppLimits ¶
type AppLimits struct { // The maximum number of messages that the campaign can send daily. Daily *int `pulumi:"daily"` // The length of time (in seconds) that the campaign can run before it ends and message deliveries stop. This duration begins at the scheduled start time for the campaign. The minimum value is 60. MaximumDuration *int `pulumi:"maximumDuration"` // The number of messages that the campaign can send per second. The minimum value is 50, and the maximum is 20000. MessagesPerSecond *int `pulumi:"messagesPerSecond"` // The maximum total number of messages that the campaign can send. Total *int `pulumi:"total"` }
type AppLimitsArgs ¶
type AppLimitsArgs struct { // The maximum number of messages that the campaign can send daily. Daily pulumi.IntPtrInput `pulumi:"daily"` // The length of time (in seconds) that the campaign can run before it ends and message deliveries stop. This duration begins at the scheduled start time for the campaign. The minimum value is 60. MaximumDuration pulumi.IntPtrInput `pulumi:"maximumDuration"` // The number of messages that the campaign can send per second. The minimum value is 50, and the maximum is 20000. MessagesPerSecond pulumi.IntPtrInput `pulumi:"messagesPerSecond"` // The maximum total number of messages that the campaign can send. Total pulumi.IntPtrInput `pulumi:"total"` }
func (AppLimitsArgs) ElementType ¶
func (AppLimitsArgs) ElementType() reflect.Type
func (AppLimitsArgs) ToAppLimitsOutput ¶
func (i AppLimitsArgs) ToAppLimitsOutput() AppLimitsOutput
func (AppLimitsArgs) ToAppLimitsOutputWithContext ¶
func (i AppLimitsArgs) ToAppLimitsOutputWithContext(ctx context.Context) AppLimitsOutput
func (AppLimitsArgs) ToAppLimitsPtrOutput ¶
func (i AppLimitsArgs) ToAppLimitsPtrOutput() AppLimitsPtrOutput
func (AppLimitsArgs) ToAppLimitsPtrOutputWithContext ¶
func (i AppLimitsArgs) ToAppLimitsPtrOutputWithContext(ctx context.Context) AppLimitsPtrOutput
type AppLimitsInput ¶
type AppLimitsInput interface { pulumi.Input ToAppLimitsOutput() AppLimitsOutput ToAppLimitsOutputWithContext(context.Context) AppLimitsOutput }
AppLimitsInput is an input type that accepts AppLimitsArgs and AppLimitsOutput values. You can construct a concrete instance of `AppLimitsInput` via:
AppLimitsArgs{...}
type AppLimitsOutput ¶
type AppLimitsOutput struct{ *pulumi.OutputState }
func (AppLimitsOutput) Daily ¶
func (o AppLimitsOutput) Daily() pulumi.IntPtrOutput
The maximum number of messages that the campaign can send daily.
func (AppLimitsOutput) ElementType ¶
func (AppLimitsOutput) ElementType() reflect.Type
func (AppLimitsOutput) MaximumDuration ¶
func (o AppLimitsOutput) MaximumDuration() pulumi.IntPtrOutput
The length of time (in seconds) that the campaign can run before it ends and message deliveries stop. This duration begins at the scheduled start time for the campaign. The minimum value is 60.
func (AppLimitsOutput) MessagesPerSecond ¶
func (o AppLimitsOutput) MessagesPerSecond() pulumi.IntPtrOutput
The number of messages that the campaign can send per second. The minimum value is 50, and the maximum is 20000.
func (AppLimitsOutput) ToAppLimitsOutput ¶
func (o AppLimitsOutput) ToAppLimitsOutput() AppLimitsOutput
func (AppLimitsOutput) ToAppLimitsOutputWithContext ¶
func (o AppLimitsOutput) ToAppLimitsOutputWithContext(ctx context.Context) AppLimitsOutput
func (AppLimitsOutput) ToAppLimitsPtrOutput ¶
func (o AppLimitsOutput) ToAppLimitsPtrOutput() AppLimitsPtrOutput
func (AppLimitsOutput) ToAppLimitsPtrOutputWithContext ¶
func (o AppLimitsOutput) ToAppLimitsPtrOutputWithContext(ctx context.Context) AppLimitsPtrOutput
func (AppLimitsOutput) Total ¶
func (o AppLimitsOutput) Total() pulumi.IntPtrOutput
The maximum total number of messages that the campaign can send.
type AppLimitsPtrInput ¶
type AppLimitsPtrInput interface { pulumi.Input ToAppLimitsPtrOutput() AppLimitsPtrOutput ToAppLimitsPtrOutputWithContext(context.Context) AppLimitsPtrOutput }
AppLimitsPtrInput is an input type that accepts AppLimitsArgs, AppLimitsPtr and AppLimitsPtrOutput values. You can construct a concrete instance of `AppLimitsPtrInput` via:
AppLimitsArgs{...} or: nil
func AppLimitsPtr ¶
func AppLimitsPtr(v *AppLimitsArgs) AppLimitsPtrInput
type AppLimitsPtrOutput ¶
type AppLimitsPtrOutput struct{ *pulumi.OutputState }
func (AppLimitsPtrOutput) Daily ¶
func (o AppLimitsPtrOutput) Daily() pulumi.IntPtrOutput
The maximum number of messages that the campaign can send daily.
func (AppLimitsPtrOutput) Elem ¶
func (o AppLimitsPtrOutput) Elem() AppLimitsOutput
func (AppLimitsPtrOutput) ElementType ¶
func (AppLimitsPtrOutput) ElementType() reflect.Type
func (AppLimitsPtrOutput) MaximumDuration ¶
func (o AppLimitsPtrOutput) MaximumDuration() pulumi.IntPtrOutput
The length of time (in seconds) that the campaign can run before it ends and message deliveries stop. This duration begins at the scheduled start time for the campaign. The minimum value is 60.
func (AppLimitsPtrOutput) MessagesPerSecond ¶
func (o AppLimitsPtrOutput) MessagesPerSecond() pulumi.IntPtrOutput
The number of messages that the campaign can send per second. The minimum value is 50, and the maximum is 20000.
func (AppLimitsPtrOutput) ToAppLimitsPtrOutput ¶
func (o AppLimitsPtrOutput) ToAppLimitsPtrOutput() AppLimitsPtrOutput
func (AppLimitsPtrOutput) ToAppLimitsPtrOutputWithContext ¶
func (o AppLimitsPtrOutput) ToAppLimitsPtrOutputWithContext(ctx context.Context) AppLimitsPtrOutput
func (AppLimitsPtrOutput) Total ¶
func (o AppLimitsPtrOutput) Total() pulumi.IntPtrOutput
The maximum total number of messages that the campaign can send.
type AppMap ¶ added in v3.25.0
func (AppMap) ElementType ¶ added in v3.25.0
func (AppMap) ToAppMapOutput ¶ added in v3.25.0
func (i AppMap) ToAppMapOutput() AppMapOutput
func (AppMap) ToAppMapOutputWithContext ¶ added in v3.25.0
func (i AppMap) ToAppMapOutputWithContext(ctx context.Context) AppMapOutput
type AppMapInput ¶ added in v3.25.0
type AppMapInput interface { pulumi.Input ToAppMapOutput() AppMapOutput ToAppMapOutputWithContext(context.Context) AppMapOutput }
AppMapInput is an input type that accepts AppMap and AppMapOutput values. You can construct a concrete instance of `AppMapInput` via:
AppMap{ "key": AppArgs{...} }
type AppMapOutput ¶ added in v3.25.0
type AppMapOutput struct{ *pulumi.OutputState }
func (AppMapOutput) ElementType ¶ added in v3.25.0
func (AppMapOutput) ElementType() reflect.Type
func (AppMapOutput) MapIndex ¶ added in v3.25.0
func (o AppMapOutput) MapIndex(k pulumi.StringInput) AppOutput
func (AppMapOutput) ToAppMapOutput ¶ added in v3.25.0
func (o AppMapOutput) ToAppMapOutput() AppMapOutput
func (AppMapOutput) ToAppMapOutputWithContext ¶ added in v3.25.0
func (o AppMapOutput) ToAppMapOutputWithContext(ctx context.Context) AppMapOutput
type AppOutput ¶ added in v3.13.0
type AppOutput struct {
*pulumi.OutputState
}
func (AppOutput) ElementType ¶ added in v3.13.0
func (AppOutput) ToAppOutput ¶ added in v3.13.0
func (AppOutput) ToAppOutputWithContext ¶ added in v3.13.0
func (AppOutput) ToAppPtrOutput ¶ added in v3.25.0
func (o AppOutput) ToAppPtrOutput() AppPtrOutput
func (AppOutput) ToAppPtrOutputWithContext ¶ added in v3.25.0
func (o AppOutput) ToAppPtrOutputWithContext(ctx context.Context) AppPtrOutput
type AppPtrInput ¶ added in v3.25.0
type AppPtrInput interface { pulumi.Input ToAppPtrOutput() AppPtrOutput ToAppPtrOutputWithContext(ctx context.Context) AppPtrOutput }
type AppPtrOutput ¶ added in v3.25.0
type AppPtrOutput struct {
*pulumi.OutputState
}
func (AppPtrOutput) ElementType ¶ added in v3.25.0
func (AppPtrOutput) ElementType() reflect.Type
func (AppPtrOutput) ToAppPtrOutput ¶ added in v3.25.0
func (o AppPtrOutput) ToAppPtrOutput() AppPtrOutput
func (AppPtrOutput) ToAppPtrOutputWithContext ¶ added in v3.25.0
func (o AppPtrOutput) ToAppPtrOutputWithContext(ctx context.Context) AppPtrOutput
type AppQuietTime ¶
type AppQuietTimeArgs ¶
type AppQuietTimeArgs struct { // The default end time for quiet time in ISO 8601 format. Required if `start` is set End pulumi.StringPtrInput `pulumi:"end"` // The default start time for quiet time in ISO 8601 format. Required if `end` is set Start pulumi.StringPtrInput `pulumi:"start"` }
func (AppQuietTimeArgs) ElementType ¶
func (AppQuietTimeArgs) ElementType() reflect.Type
func (AppQuietTimeArgs) ToAppQuietTimeOutput ¶
func (i AppQuietTimeArgs) ToAppQuietTimeOutput() AppQuietTimeOutput
func (AppQuietTimeArgs) ToAppQuietTimeOutputWithContext ¶
func (i AppQuietTimeArgs) ToAppQuietTimeOutputWithContext(ctx context.Context) AppQuietTimeOutput
func (AppQuietTimeArgs) ToAppQuietTimePtrOutput ¶
func (i AppQuietTimeArgs) ToAppQuietTimePtrOutput() AppQuietTimePtrOutput
func (AppQuietTimeArgs) ToAppQuietTimePtrOutputWithContext ¶
func (i AppQuietTimeArgs) ToAppQuietTimePtrOutputWithContext(ctx context.Context) AppQuietTimePtrOutput
type AppQuietTimeInput ¶
type AppQuietTimeInput interface { pulumi.Input ToAppQuietTimeOutput() AppQuietTimeOutput ToAppQuietTimeOutputWithContext(context.Context) AppQuietTimeOutput }
AppQuietTimeInput is an input type that accepts AppQuietTimeArgs and AppQuietTimeOutput values. You can construct a concrete instance of `AppQuietTimeInput` via:
AppQuietTimeArgs{...}
type AppQuietTimeOutput ¶
type AppQuietTimeOutput struct{ *pulumi.OutputState }
func (AppQuietTimeOutput) ElementType ¶
func (AppQuietTimeOutput) ElementType() reflect.Type
func (AppQuietTimeOutput) End ¶
func (o AppQuietTimeOutput) End() pulumi.StringPtrOutput
The default end time for quiet time in ISO 8601 format. Required if `start` is set
func (AppQuietTimeOutput) Start ¶
func (o AppQuietTimeOutput) Start() pulumi.StringPtrOutput
The default start time for quiet time in ISO 8601 format. Required if `end` is set
func (AppQuietTimeOutput) ToAppQuietTimeOutput ¶
func (o AppQuietTimeOutput) ToAppQuietTimeOutput() AppQuietTimeOutput
func (AppQuietTimeOutput) ToAppQuietTimeOutputWithContext ¶
func (o AppQuietTimeOutput) ToAppQuietTimeOutputWithContext(ctx context.Context) AppQuietTimeOutput
func (AppQuietTimeOutput) ToAppQuietTimePtrOutput ¶
func (o AppQuietTimeOutput) ToAppQuietTimePtrOutput() AppQuietTimePtrOutput
func (AppQuietTimeOutput) ToAppQuietTimePtrOutputWithContext ¶
func (o AppQuietTimeOutput) ToAppQuietTimePtrOutputWithContext(ctx context.Context) AppQuietTimePtrOutput
type AppQuietTimePtrInput ¶
type AppQuietTimePtrInput interface { pulumi.Input ToAppQuietTimePtrOutput() AppQuietTimePtrOutput ToAppQuietTimePtrOutputWithContext(context.Context) AppQuietTimePtrOutput }
AppQuietTimePtrInput is an input type that accepts AppQuietTimeArgs, AppQuietTimePtr and AppQuietTimePtrOutput values. You can construct a concrete instance of `AppQuietTimePtrInput` via:
AppQuietTimeArgs{...} or: nil
func AppQuietTimePtr ¶
func AppQuietTimePtr(v *AppQuietTimeArgs) AppQuietTimePtrInput
type AppQuietTimePtrOutput ¶
type AppQuietTimePtrOutput struct{ *pulumi.OutputState }
func (AppQuietTimePtrOutput) Elem ¶
func (o AppQuietTimePtrOutput) Elem() AppQuietTimeOutput
func (AppQuietTimePtrOutput) ElementType ¶
func (AppQuietTimePtrOutput) ElementType() reflect.Type
func (AppQuietTimePtrOutput) End ¶
func (o AppQuietTimePtrOutput) End() pulumi.StringPtrOutput
The default end time for quiet time in ISO 8601 format. Required if `start` is set
func (AppQuietTimePtrOutput) Start ¶
func (o AppQuietTimePtrOutput) Start() pulumi.StringPtrOutput
The default start time for quiet time in ISO 8601 format. Required if `end` is set
func (AppQuietTimePtrOutput) ToAppQuietTimePtrOutput ¶
func (o AppQuietTimePtrOutput) ToAppQuietTimePtrOutput() AppQuietTimePtrOutput
func (AppQuietTimePtrOutput) ToAppQuietTimePtrOutputWithContext ¶
func (o AppQuietTimePtrOutput) ToAppQuietTimePtrOutputWithContext(ctx context.Context) AppQuietTimePtrOutput
type AppState ¶
type AppState struct { // The Application ID of the Pinpoint App. ApplicationId pulumi.StringPtrInput // Amazon Resource Name (ARN) of the PinPoint Application Arn pulumi.StringPtrInput // The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its own CampaignHook AppCampaignHookPtrInput // The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its own Limits AppLimitsPtrInput // The application name. By default generated by this provider Name pulumi.StringPtrInput // The name of the Pinpoint application. Conflicts with `name` NamePrefix pulumi.StringPtrInput // The default quiet time for the app. Each campaign for this app sends no messages during this time unless the campaign overrides the default with a quiet time of its own QuietTime AppQuietTimePtrInput // Key-value map of resource tags Tags pulumi.StringMapInput }
func (AppState) ElementType ¶
type BaiduChannel ¶
type BaiduChannel struct { pulumi.CustomResourceState // Platform credential API key from Baidu. ApiKey pulumi.StringOutput `pulumi:"apiKey"` // The application ID. ApplicationId pulumi.StringOutput `pulumi:"applicationId"` // Specifies whether to enable the channel. Defaults to `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // Platform credential Secret key from Baidu. SecretKey pulumi.StringOutput `pulumi:"secretKey"` }
Provides a Pinpoint Baidu Channel resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/pinpoint" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { app, err := pinpoint.NewApp(ctx, "app", nil) if err != nil { return err } _, err = pinpoint.NewBaiduChannel(ctx, "channel", &pinpoint.BaiduChannelArgs{ ApplicationId: app.ApplicationId, ApiKey: pulumi.String(""), SecretKey: pulumi.String(""), }) if err != nil { return err } return nil }) }
```
## Import
Pinpoint Baidu Channel can be imported using the `application-id`, e.g.
```sh
$ pulumi import aws:pinpoint/baiduChannel:BaiduChannel channel application-id
```
func GetBaiduChannel ¶
func GetBaiduChannel(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BaiduChannelState, opts ...pulumi.ResourceOption) (*BaiduChannel, error)
GetBaiduChannel gets an existing BaiduChannel 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 NewBaiduChannel ¶
func NewBaiduChannel(ctx *pulumi.Context, name string, args *BaiduChannelArgs, opts ...pulumi.ResourceOption) (*BaiduChannel, error)
NewBaiduChannel registers a new resource with the given unique name, arguments, and options.
func (*BaiduChannel) ElementType ¶ added in v3.13.0
func (*BaiduChannel) ElementType() reflect.Type
func (*BaiduChannel) ToBaiduChannelOutput ¶ added in v3.13.0
func (i *BaiduChannel) ToBaiduChannelOutput() BaiduChannelOutput
func (*BaiduChannel) ToBaiduChannelOutputWithContext ¶ added in v3.13.0
func (i *BaiduChannel) ToBaiduChannelOutputWithContext(ctx context.Context) BaiduChannelOutput
func (*BaiduChannel) ToBaiduChannelPtrOutput ¶ added in v3.25.0
func (i *BaiduChannel) ToBaiduChannelPtrOutput() BaiduChannelPtrOutput
func (*BaiduChannel) ToBaiduChannelPtrOutputWithContext ¶ added in v3.25.0
func (i *BaiduChannel) ToBaiduChannelPtrOutputWithContext(ctx context.Context) BaiduChannelPtrOutput
type BaiduChannelArgs ¶
type BaiduChannelArgs struct { // Platform credential API key from Baidu. ApiKey pulumi.StringInput // The application ID. ApplicationId pulumi.StringInput // Specifies whether to enable the channel. Defaults to `true`. Enabled pulumi.BoolPtrInput // Platform credential Secret key from Baidu. SecretKey pulumi.StringInput }
The set of arguments for constructing a BaiduChannel resource.
func (BaiduChannelArgs) ElementType ¶
func (BaiduChannelArgs) ElementType() reflect.Type
type BaiduChannelArray ¶ added in v3.25.0
type BaiduChannelArray []BaiduChannelInput
func (BaiduChannelArray) ElementType ¶ added in v3.25.0
func (BaiduChannelArray) ElementType() reflect.Type
func (BaiduChannelArray) ToBaiduChannelArrayOutput ¶ added in v3.25.0
func (i BaiduChannelArray) ToBaiduChannelArrayOutput() BaiduChannelArrayOutput
func (BaiduChannelArray) ToBaiduChannelArrayOutputWithContext ¶ added in v3.25.0
func (i BaiduChannelArray) ToBaiduChannelArrayOutputWithContext(ctx context.Context) BaiduChannelArrayOutput
type BaiduChannelArrayInput ¶ added in v3.25.0
type BaiduChannelArrayInput interface { pulumi.Input ToBaiduChannelArrayOutput() BaiduChannelArrayOutput ToBaiduChannelArrayOutputWithContext(context.Context) BaiduChannelArrayOutput }
BaiduChannelArrayInput is an input type that accepts BaiduChannelArray and BaiduChannelArrayOutput values. You can construct a concrete instance of `BaiduChannelArrayInput` via:
BaiduChannelArray{ BaiduChannelArgs{...} }
type BaiduChannelArrayOutput ¶ added in v3.25.0
type BaiduChannelArrayOutput struct{ *pulumi.OutputState }
func (BaiduChannelArrayOutput) ElementType ¶ added in v3.25.0
func (BaiduChannelArrayOutput) ElementType() reflect.Type
func (BaiduChannelArrayOutput) Index ¶ added in v3.25.0
func (o BaiduChannelArrayOutput) Index(i pulumi.IntInput) BaiduChannelOutput
func (BaiduChannelArrayOutput) ToBaiduChannelArrayOutput ¶ added in v3.25.0
func (o BaiduChannelArrayOutput) ToBaiduChannelArrayOutput() BaiduChannelArrayOutput
func (BaiduChannelArrayOutput) ToBaiduChannelArrayOutputWithContext ¶ added in v3.25.0
func (o BaiduChannelArrayOutput) ToBaiduChannelArrayOutputWithContext(ctx context.Context) BaiduChannelArrayOutput
type BaiduChannelInput ¶ added in v3.13.0
type BaiduChannelInput interface { pulumi.Input ToBaiduChannelOutput() BaiduChannelOutput ToBaiduChannelOutputWithContext(ctx context.Context) BaiduChannelOutput }
type BaiduChannelMap ¶ added in v3.25.0
type BaiduChannelMap map[string]BaiduChannelInput
func (BaiduChannelMap) ElementType ¶ added in v3.25.0
func (BaiduChannelMap) ElementType() reflect.Type
func (BaiduChannelMap) ToBaiduChannelMapOutput ¶ added in v3.25.0
func (i BaiduChannelMap) ToBaiduChannelMapOutput() BaiduChannelMapOutput
func (BaiduChannelMap) ToBaiduChannelMapOutputWithContext ¶ added in v3.25.0
func (i BaiduChannelMap) ToBaiduChannelMapOutputWithContext(ctx context.Context) BaiduChannelMapOutput
type BaiduChannelMapInput ¶ added in v3.25.0
type BaiduChannelMapInput interface { pulumi.Input ToBaiduChannelMapOutput() BaiduChannelMapOutput ToBaiduChannelMapOutputWithContext(context.Context) BaiduChannelMapOutput }
BaiduChannelMapInput is an input type that accepts BaiduChannelMap and BaiduChannelMapOutput values. You can construct a concrete instance of `BaiduChannelMapInput` via:
BaiduChannelMap{ "key": BaiduChannelArgs{...} }
type BaiduChannelMapOutput ¶ added in v3.25.0
type BaiduChannelMapOutput struct{ *pulumi.OutputState }
func (BaiduChannelMapOutput) ElementType ¶ added in v3.25.0
func (BaiduChannelMapOutput) ElementType() reflect.Type
func (BaiduChannelMapOutput) MapIndex ¶ added in v3.25.0
func (o BaiduChannelMapOutput) MapIndex(k pulumi.StringInput) BaiduChannelOutput
func (BaiduChannelMapOutput) ToBaiduChannelMapOutput ¶ added in v3.25.0
func (o BaiduChannelMapOutput) ToBaiduChannelMapOutput() BaiduChannelMapOutput
func (BaiduChannelMapOutput) ToBaiduChannelMapOutputWithContext ¶ added in v3.25.0
func (o BaiduChannelMapOutput) ToBaiduChannelMapOutputWithContext(ctx context.Context) BaiduChannelMapOutput
type BaiduChannelOutput ¶ added in v3.13.0
type BaiduChannelOutput struct {
*pulumi.OutputState
}
func (BaiduChannelOutput) ElementType ¶ added in v3.13.0
func (BaiduChannelOutput) ElementType() reflect.Type
func (BaiduChannelOutput) ToBaiduChannelOutput ¶ added in v3.13.0
func (o BaiduChannelOutput) ToBaiduChannelOutput() BaiduChannelOutput
func (BaiduChannelOutput) ToBaiduChannelOutputWithContext ¶ added in v3.13.0
func (o BaiduChannelOutput) ToBaiduChannelOutputWithContext(ctx context.Context) BaiduChannelOutput
func (BaiduChannelOutput) ToBaiduChannelPtrOutput ¶ added in v3.25.0
func (o BaiduChannelOutput) ToBaiduChannelPtrOutput() BaiduChannelPtrOutput
func (BaiduChannelOutput) ToBaiduChannelPtrOutputWithContext ¶ added in v3.25.0
func (o BaiduChannelOutput) ToBaiduChannelPtrOutputWithContext(ctx context.Context) BaiduChannelPtrOutput
type BaiduChannelPtrInput ¶ added in v3.25.0
type BaiduChannelPtrInput interface { pulumi.Input ToBaiduChannelPtrOutput() BaiduChannelPtrOutput ToBaiduChannelPtrOutputWithContext(ctx context.Context) BaiduChannelPtrOutput }
type BaiduChannelPtrOutput ¶ added in v3.25.0
type BaiduChannelPtrOutput struct {
*pulumi.OutputState
}
func (BaiduChannelPtrOutput) ElementType ¶ added in v3.25.0
func (BaiduChannelPtrOutput) ElementType() reflect.Type
func (BaiduChannelPtrOutput) ToBaiduChannelPtrOutput ¶ added in v3.25.0
func (o BaiduChannelPtrOutput) ToBaiduChannelPtrOutput() BaiduChannelPtrOutput
func (BaiduChannelPtrOutput) ToBaiduChannelPtrOutputWithContext ¶ added in v3.25.0
func (o BaiduChannelPtrOutput) ToBaiduChannelPtrOutputWithContext(ctx context.Context) BaiduChannelPtrOutput
type BaiduChannelState ¶
type BaiduChannelState struct { // Platform credential API key from Baidu. ApiKey pulumi.StringPtrInput // The application ID. ApplicationId pulumi.StringPtrInput // Specifies whether to enable the channel. Defaults to `true`. Enabled pulumi.BoolPtrInput // Platform credential Secret key from Baidu. SecretKey pulumi.StringPtrInput }
func (BaiduChannelState) ElementType ¶
func (BaiduChannelState) ElementType() reflect.Type
type EmailChannel ¶
type EmailChannel struct { pulumi.CustomResourceState // The application ID. ApplicationId pulumi.StringOutput `pulumi:"applicationId"` // The ARN of the Amazon SES configuration set that you want to apply to messages that you send through the channel. ConfigurationSet pulumi.StringPtrOutput `pulumi:"configurationSet"` // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // The email address used to send emails from. FromAddress pulumi.StringOutput `pulumi:"fromAddress"` // The ARN of an identity verified with SES. Identity pulumi.StringOutput `pulumi:"identity"` // Messages per second that can be sent. MessagesPerSecond pulumi.IntOutput `pulumi:"messagesPerSecond"` // The ARN of an IAM Role used to submit events to Mobile Analytics' event ingestion service. RoleArn pulumi.StringOutput `pulumi:"roleArn"` }
Provides a Pinpoint Email Channel resource.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/iam" "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/pinpoint" "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ses" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { app, err := pinpoint.NewApp(ctx, "app", nil) if err != nil { return err } identity, err := ses.NewDomainIdentity(ctx, "identity", &ses.DomainIdentityArgs{ Domain: pulumi.String("example.com"), }) if err != nil { return err } role, err := iam.NewRole(ctx, "role", &iam.RoleArgs{ AssumeRolePolicy: pulumi.String(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\": \"pinpoint.amazonaws.com\"\n", " },\n", " \"Effect\": \"Allow\",\n", " \"Sid\": \"\"\n", " }\n", " ]\n", "}\n")), }) if err != nil { return err } _, err = pinpoint.NewEmailChannel(ctx, "email", &pinpoint.EmailChannelArgs{ ApplicationId: app.ApplicationId, FromAddress: pulumi.String("user@example.com"), Identity: identity.Arn, RoleArn: role.Arn, }) if err != nil { return err } _, err = iam.NewRolePolicy(ctx, "rolePolicy", &iam.RolePolicyArgs{ Role: role.ID(), Policy: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": {\n", " \"Action\": [\n", " \"mobileanalytics:PutEvents\",\n", " \"mobileanalytics:PutItems\"\n", " ],\n", " \"Effect\": \"Allow\",\n", " \"Resource\": [\n", " \"*\"\n", " ]\n", " }\n", "}\n")), }) if err != nil { return err } return nil }) }
```
## Import
Pinpoint Email Channel can be imported using the `application-id`, e.g.
```sh
$ pulumi import aws:pinpoint/emailChannel:EmailChannel email application-id
```
func GetEmailChannel ¶
func GetEmailChannel(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EmailChannelState, opts ...pulumi.ResourceOption) (*EmailChannel, error)
GetEmailChannel gets an existing EmailChannel 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 NewEmailChannel ¶
func NewEmailChannel(ctx *pulumi.Context, name string, args *EmailChannelArgs, opts ...pulumi.ResourceOption) (*EmailChannel, error)
NewEmailChannel registers a new resource with the given unique name, arguments, and options.
func (*EmailChannel) ElementType ¶ added in v3.13.0
func (*EmailChannel) ElementType() reflect.Type
func (*EmailChannel) ToEmailChannelOutput ¶ added in v3.13.0
func (i *EmailChannel) ToEmailChannelOutput() EmailChannelOutput
func (*EmailChannel) ToEmailChannelOutputWithContext ¶ added in v3.13.0
func (i *EmailChannel) ToEmailChannelOutputWithContext(ctx context.Context) EmailChannelOutput
func (*EmailChannel) ToEmailChannelPtrOutput ¶ added in v3.25.0
func (i *EmailChannel) ToEmailChannelPtrOutput() EmailChannelPtrOutput
func (*EmailChannel) ToEmailChannelPtrOutputWithContext ¶ added in v3.25.0
func (i *EmailChannel) ToEmailChannelPtrOutputWithContext(ctx context.Context) EmailChannelPtrOutput
type EmailChannelArgs ¶
type EmailChannelArgs struct { // The application ID. ApplicationId pulumi.StringInput // The ARN of the Amazon SES configuration set that you want to apply to messages that you send through the channel. ConfigurationSet pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The email address used to send emails from. FromAddress pulumi.StringInput // The ARN of an identity verified with SES. Identity pulumi.StringInput // The ARN of an IAM Role used to submit events to Mobile Analytics' event ingestion service. RoleArn pulumi.StringInput }
The set of arguments for constructing a EmailChannel resource.
func (EmailChannelArgs) ElementType ¶
func (EmailChannelArgs) ElementType() reflect.Type
type EmailChannelArray ¶ added in v3.25.0
type EmailChannelArray []EmailChannelInput
func (EmailChannelArray) ElementType ¶ added in v3.25.0
func (EmailChannelArray) ElementType() reflect.Type
func (EmailChannelArray) ToEmailChannelArrayOutput ¶ added in v3.25.0
func (i EmailChannelArray) ToEmailChannelArrayOutput() EmailChannelArrayOutput
func (EmailChannelArray) ToEmailChannelArrayOutputWithContext ¶ added in v3.25.0
func (i EmailChannelArray) ToEmailChannelArrayOutputWithContext(ctx context.Context) EmailChannelArrayOutput
type EmailChannelArrayInput ¶ added in v3.25.0
type EmailChannelArrayInput interface { pulumi.Input ToEmailChannelArrayOutput() EmailChannelArrayOutput ToEmailChannelArrayOutputWithContext(context.Context) EmailChannelArrayOutput }
EmailChannelArrayInput is an input type that accepts EmailChannelArray and EmailChannelArrayOutput values. You can construct a concrete instance of `EmailChannelArrayInput` via:
EmailChannelArray{ EmailChannelArgs{...} }
type EmailChannelArrayOutput ¶ added in v3.25.0
type EmailChannelArrayOutput struct{ *pulumi.OutputState }
func (EmailChannelArrayOutput) ElementType ¶ added in v3.25.0
func (EmailChannelArrayOutput) ElementType() reflect.Type
func (EmailChannelArrayOutput) Index ¶ added in v3.25.0
func (o EmailChannelArrayOutput) Index(i pulumi.IntInput) EmailChannelOutput
func (EmailChannelArrayOutput) ToEmailChannelArrayOutput ¶ added in v3.25.0
func (o EmailChannelArrayOutput) ToEmailChannelArrayOutput() EmailChannelArrayOutput
func (EmailChannelArrayOutput) ToEmailChannelArrayOutputWithContext ¶ added in v3.25.0
func (o EmailChannelArrayOutput) ToEmailChannelArrayOutputWithContext(ctx context.Context) EmailChannelArrayOutput
type EmailChannelInput ¶ added in v3.13.0
type EmailChannelInput interface { pulumi.Input ToEmailChannelOutput() EmailChannelOutput ToEmailChannelOutputWithContext(ctx context.Context) EmailChannelOutput }
type EmailChannelMap ¶ added in v3.25.0
type EmailChannelMap map[string]EmailChannelInput
func (EmailChannelMap) ElementType ¶ added in v3.25.0
func (EmailChannelMap) ElementType() reflect.Type
func (EmailChannelMap) ToEmailChannelMapOutput ¶ added in v3.25.0
func (i EmailChannelMap) ToEmailChannelMapOutput() EmailChannelMapOutput
func (EmailChannelMap) ToEmailChannelMapOutputWithContext ¶ added in v3.25.0
func (i EmailChannelMap) ToEmailChannelMapOutputWithContext(ctx context.Context) EmailChannelMapOutput
type EmailChannelMapInput ¶ added in v3.25.0
type EmailChannelMapInput interface { pulumi.Input ToEmailChannelMapOutput() EmailChannelMapOutput ToEmailChannelMapOutputWithContext(context.Context) EmailChannelMapOutput }
EmailChannelMapInput is an input type that accepts EmailChannelMap and EmailChannelMapOutput values. You can construct a concrete instance of `EmailChannelMapInput` via:
EmailChannelMap{ "key": EmailChannelArgs{...} }
type EmailChannelMapOutput ¶ added in v3.25.0
type EmailChannelMapOutput struct{ *pulumi.OutputState }
func (EmailChannelMapOutput) ElementType ¶ added in v3.25.0
func (EmailChannelMapOutput) ElementType() reflect.Type
func (EmailChannelMapOutput) MapIndex ¶ added in v3.25.0
func (o EmailChannelMapOutput) MapIndex(k pulumi.StringInput) EmailChannelOutput
func (EmailChannelMapOutput) ToEmailChannelMapOutput ¶ added in v3.25.0
func (o EmailChannelMapOutput) ToEmailChannelMapOutput() EmailChannelMapOutput
func (EmailChannelMapOutput) ToEmailChannelMapOutputWithContext ¶ added in v3.25.0
func (o EmailChannelMapOutput) ToEmailChannelMapOutputWithContext(ctx context.Context) EmailChannelMapOutput
type EmailChannelOutput ¶ added in v3.13.0
type EmailChannelOutput struct {
*pulumi.OutputState
}
func (EmailChannelOutput) ElementType ¶ added in v3.13.0
func (EmailChannelOutput) ElementType() reflect.Type
func (EmailChannelOutput) ToEmailChannelOutput ¶ added in v3.13.0
func (o EmailChannelOutput) ToEmailChannelOutput() EmailChannelOutput
func (EmailChannelOutput) ToEmailChannelOutputWithContext ¶ added in v3.13.0
func (o EmailChannelOutput) ToEmailChannelOutputWithContext(ctx context.Context) EmailChannelOutput
func (EmailChannelOutput) ToEmailChannelPtrOutput ¶ added in v3.25.0
func (o EmailChannelOutput) ToEmailChannelPtrOutput() EmailChannelPtrOutput
func (EmailChannelOutput) ToEmailChannelPtrOutputWithContext ¶ added in v3.25.0
func (o EmailChannelOutput) ToEmailChannelPtrOutputWithContext(ctx context.Context) EmailChannelPtrOutput
type EmailChannelPtrInput ¶ added in v3.25.0
type EmailChannelPtrInput interface { pulumi.Input ToEmailChannelPtrOutput() EmailChannelPtrOutput ToEmailChannelPtrOutputWithContext(ctx context.Context) EmailChannelPtrOutput }
type EmailChannelPtrOutput ¶ added in v3.25.0
type EmailChannelPtrOutput struct {
*pulumi.OutputState
}
func (EmailChannelPtrOutput) ElementType ¶ added in v3.25.0
func (EmailChannelPtrOutput) ElementType() reflect.Type
func (EmailChannelPtrOutput) ToEmailChannelPtrOutput ¶ added in v3.25.0
func (o EmailChannelPtrOutput) ToEmailChannelPtrOutput() EmailChannelPtrOutput
func (EmailChannelPtrOutput) ToEmailChannelPtrOutputWithContext ¶ added in v3.25.0
func (o EmailChannelPtrOutput) ToEmailChannelPtrOutputWithContext(ctx context.Context) EmailChannelPtrOutput
type EmailChannelState ¶
type EmailChannelState struct { // The application ID. ApplicationId pulumi.StringPtrInput // The ARN of the Amazon SES configuration set that you want to apply to messages that you send through the channel. ConfigurationSet pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The email address used to send emails from. FromAddress pulumi.StringPtrInput // The ARN of an identity verified with SES. Identity pulumi.StringPtrInput // Messages per second that can be sent. MessagesPerSecond pulumi.IntPtrInput // The ARN of an IAM Role used to submit events to Mobile Analytics' event ingestion service. RoleArn pulumi.StringPtrInput }
func (EmailChannelState) ElementType ¶
func (EmailChannelState) ElementType() reflect.Type
type EventStream ¶
type EventStream struct { pulumi.CustomResourceState // The application ID. ApplicationId pulumi.StringOutput `pulumi:"applicationId"` // The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose delivery stream to which you want to publish events. DestinationStreamArn pulumi.StringOutput `pulumi:"destinationStreamArn"` // The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account. RoleArn pulumi.StringOutput `pulumi:"roleArn"` }
Provides a Pinpoint Event Stream resource.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/iam" "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/kinesis" "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/pinpoint" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { app, err := pinpoint.NewApp(ctx, "app", nil) if err != nil { return err } testStream, err := kinesis.NewStream(ctx, "testStream", &kinesis.StreamArgs{ ShardCount: pulumi.Int(1), }) if err != nil { return err } testRole, err := iam.NewRole(ctx, "testRole", &iam.RoleArgs{ AssumeRolePolicy: pulumi.String(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\": \"pinpoint.us-east-1.amazonaws.com\"\n", " },\n", " \"Effect\": \"Allow\",\n", " \"Sid\": \"\"\n", " }\n", " ]\n", "}\n")), }) if err != nil { return err } _, err = pinpoint.NewEventStream(ctx, "stream", &pinpoint.EventStreamArgs{ ApplicationId: app.ApplicationId, DestinationStreamArn: testStream.Arn, RoleArn: testRole.Arn, }) if err != nil { return err } _, err = iam.NewRolePolicy(ctx, "testRolePolicy", &iam.RolePolicyArgs{ Role: testRole.ID(), Policy: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": {\n", " \"Action\": [\n", " \"kinesis:PutRecords\",\n", " \"kinesis:DescribeStream\"\n", " ],\n", " \"Effect\": \"Allow\",\n", " \"Resource\": [\n", " \"arn:aws:kinesis:us-east-1:*:*/*\"\n", " ]\n", " }\n", "}\n")), }) if err != nil { return err } return nil }) }
```
## Import
Pinpoint Event Stream can be imported using the `application-id`, e.g.
```sh
$ pulumi import aws:pinpoint/eventStream:EventStream stream application-id
```
func GetEventStream ¶
func GetEventStream(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EventStreamState, opts ...pulumi.ResourceOption) (*EventStream, error)
GetEventStream gets an existing EventStream 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 NewEventStream ¶
func NewEventStream(ctx *pulumi.Context, name string, args *EventStreamArgs, opts ...pulumi.ResourceOption) (*EventStream, error)
NewEventStream registers a new resource with the given unique name, arguments, and options.
func (*EventStream) ElementType ¶ added in v3.13.0
func (*EventStream) ElementType() reflect.Type
func (*EventStream) ToEventStreamOutput ¶ added in v3.13.0
func (i *EventStream) ToEventStreamOutput() EventStreamOutput
func (*EventStream) ToEventStreamOutputWithContext ¶ added in v3.13.0
func (i *EventStream) ToEventStreamOutputWithContext(ctx context.Context) EventStreamOutput
func (*EventStream) ToEventStreamPtrOutput ¶ added in v3.25.0
func (i *EventStream) ToEventStreamPtrOutput() EventStreamPtrOutput
func (*EventStream) ToEventStreamPtrOutputWithContext ¶ added in v3.25.0
func (i *EventStream) ToEventStreamPtrOutputWithContext(ctx context.Context) EventStreamPtrOutput
type EventStreamArgs ¶
type EventStreamArgs struct { // The application ID. ApplicationId pulumi.StringInput // The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose delivery stream to which you want to publish events. DestinationStreamArn pulumi.StringInput // The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account. RoleArn pulumi.StringInput }
The set of arguments for constructing a EventStream resource.
func (EventStreamArgs) ElementType ¶
func (EventStreamArgs) ElementType() reflect.Type
type EventStreamArray ¶ added in v3.25.0
type EventStreamArray []EventStreamInput
func (EventStreamArray) ElementType ¶ added in v3.25.0
func (EventStreamArray) ElementType() reflect.Type
func (EventStreamArray) ToEventStreamArrayOutput ¶ added in v3.25.0
func (i EventStreamArray) ToEventStreamArrayOutput() EventStreamArrayOutput
func (EventStreamArray) ToEventStreamArrayOutputWithContext ¶ added in v3.25.0
func (i EventStreamArray) ToEventStreamArrayOutputWithContext(ctx context.Context) EventStreamArrayOutput
type EventStreamArrayInput ¶ added in v3.25.0
type EventStreamArrayInput interface { pulumi.Input ToEventStreamArrayOutput() EventStreamArrayOutput ToEventStreamArrayOutputWithContext(context.Context) EventStreamArrayOutput }
EventStreamArrayInput is an input type that accepts EventStreamArray and EventStreamArrayOutput values. You can construct a concrete instance of `EventStreamArrayInput` via:
EventStreamArray{ EventStreamArgs{...} }
type EventStreamArrayOutput ¶ added in v3.25.0
type EventStreamArrayOutput struct{ *pulumi.OutputState }
func (EventStreamArrayOutput) ElementType ¶ added in v3.25.0
func (EventStreamArrayOutput) ElementType() reflect.Type
func (EventStreamArrayOutput) Index ¶ added in v3.25.0
func (o EventStreamArrayOutput) Index(i pulumi.IntInput) EventStreamOutput
func (EventStreamArrayOutput) ToEventStreamArrayOutput ¶ added in v3.25.0
func (o EventStreamArrayOutput) ToEventStreamArrayOutput() EventStreamArrayOutput
func (EventStreamArrayOutput) ToEventStreamArrayOutputWithContext ¶ added in v3.25.0
func (o EventStreamArrayOutput) ToEventStreamArrayOutputWithContext(ctx context.Context) EventStreamArrayOutput
type EventStreamInput ¶ added in v3.13.0
type EventStreamInput interface { pulumi.Input ToEventStreamOutput() EventStreamOutput ToEventStreamOutputWithContext(ctx context.Context) EventStreamOutput }
type EventStreamMap ¶ added in v3.25.0
type EventStreamMap map[string]EventStreamInput
func (EventStreamMap) ElementType ¶ added in v3.25.0
func (EventStreamMap) ElementType() reflect.Type
func (EventStreamMap) ToEventStreamMapOutput ¶ added in v3.25.0
func (i EventStreamMap) ToEventStreamMapOutput() EventStreamMapOutput
func (EventStreamMap) ToEventStreamMapOutputWithContext ¶ added in v3.25.0
func (i EventStreamMap) ToEventStreamMapOutputWithContext(ctx context.Context) EventStreamMapOutput
type EventStreamMapInput ¶ added in v3.25.0
type EventStreamMapInput interface { pulumi.Input ToEventStreamMapOutput() EventStreamMapOutput ToEventStreamMapOutputWithContext(context.Context) EventStreamMapOutput }
EventStreamMapInput is an input type that accepts EventStreamMap and EventStreamMapOutput values. You can construct a concrete instance of `EventStreamMapInput` via:
EventStreamMap{ "key": EventStreamArgs{...} }
type EventStreamMapOutput ¶ added in v3.25.0
type EventStreamMapOutput struct{ *pulumi.OutputState }
func (EventStreamMapOutput) ElementType ¶ added in v3.25.0
func (EventStreamMapOutput) ElementType() reflect.Type
func (EventStreamMapOutput) MapIndex ¶ added in v3.25.0
func (o EventStreamMapOutput) MapIndex(k pulumi.StringInput) EventStreamOutput
func (EventStreamMapOutput) ToEventStreamMapOutput ¶ added in v3.25.0
func (o EventStreamMapOutput) ToEventStreamMapOutput() EventStreamMapOutput
func (EventStreamMapOutput) ToEventStreamMapOutputWithContext ¶ added in v3.25.0
func (o EventStreamMapOutput) ToEventStreamMapOutputWithContext(ctx context.Context) EventStreamMapOutput
type EventStreamOutput ¶ added in v3.13.0
type EventStreamOutput struct {
*pulumi.OutputState
}
func (EventStreamOutput) ElementType ¶ added in v3.13.0
func (EventStreamOutput) ElementType() reflect.Type
func (EventStreamOutput) ToEventStreamOutput ¶ added in v3.13.0
func (o EventStreamOutput) ToEventStreamOutput() EventStreamOutput
func (EventStreamOutput) ToEventStreamOutputWithContext ¶ added in v3.13.0
func (o EventStreamOutput) ToEventStreamOutputWithContext(ctx context.Context) EventStreamOutput
func (EventStreamOutput) ToEventStreamPtrOutput ¶ added in v3.25.0
func (o EventStreamOutput) ToEventStreamPtrOutput() EventStreamPtrOutput
func (EventStreamOutput) ToEventStreamPtrOutputWithContext ¶ added in v3.25.0
func (o EventStreamOutput) ToEventStreamPtrOutputWithContext(ctx context.Context) EventStreamPtrOutput
type EventStreamPtrInput ¶ added in v3.25.0
type EventStreamPtrInput interface { pulumi.Input ToEventStreamPtrOutput() EventStreamPtrOutput ToEventStreamPtrOutputWithContext(ctx context.Context) EventStreamPtrOutput }
type EventStreamPtrOutput ¶ added in v3.25.0
type EventStreamPtrOutput struct {
*pulumi.OutputState
}
func (EventStreamPtrOutput) ElementType ¶ added in v3.25.0
func (EventStreamPtrOutput) ElementType() reflect.Type
func (EventStreamPtrOutput) ToEventStreamPtrOutput ¶ added in v3.25.0
func (o EventStreamPtrOutput) ToEventStreamPtrOutput() EventStreamPtrOutput
func (EventStreamPtrOutput) ToEventStreamPtrOutputWithContext ¶ added in v3.25.0
func (o EventStreamPtrOutput) ToEventStreamPtrOutputWithContext(ctx context.Context) EventStreamPtrOutput
type EventStreamState ¶
type EventStreamState struct { // The application ID. ApplicationId pulumi.StringPtrInput // The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose delivery stream to which you want to publish events. DestinationStreamArn pulumi.StringPtrInput // The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account. RoleArn pulumi.StringPtrInput }
func (EventStreamState) ElementType ¶
func (EventStreamState) ElementType() reflect.Type
type GcmChannel ¶
type GcmChannel struct { pulumi.CustomResourceState // Platform credential API key from Google. ApiKey pulumi.StringOutput `pulumi:"apiKey"` // The application ID. ApplicationId pulumi.StringOutput `pulumi:"applicationId"` // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` }
Provides a Pinpoint GCM Channel resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/pinpoint" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { app, err := pinpoint.NewApp(ctx, "app", nil) if err != nil { return err } _, err = pinpoint.NewGcmChannel(ctx, "gcm", &pinpoint.GcmChannelArgs{ ApplicationId: app.ApplicationId, ApiKey: pulumi.String("api_key"), }) if err != nil { return err } return nil }) }
```
## Import
Pinpoint GCM Channel can be imported using the `application-id`, e.g.
```sh
$ pulumi import aws:pinpoint/gcmChannel:GcmChannel gcm application-id
```
func GetGcmChannel ¶
func GetGcmChannel(ctx *pulumi.Context, name string, id pulumi.IDInput, state *GcmChannelState, opts ...pulumi.ResourceOption) (*GcmChannel, error)
GetGcmChannel gets an existing GcmChannel 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 NewGcmChannel ¶
func NewGcmChannel(ctx *pulumi.Context, name string, args *GcmChannelArgs, opts ...pulumi.ResourceOption) (*GcmChannel, error)
NewGcmChannel registers a new resource with the given unique name, arguments, and options.
func (*GcmChannel) ElementType ¶ added in v3.13.0
func (*GcmChannel) ElementType() reflect.Type
func (*GcmChannel) ToGcmChannelOutput ¶ added in v3.13.0
func (i *GcmChannel) ToGcmChannelOutput() GcmChannelOutput
func (*GcmChannel) ToGcmChannelOutputWithContext ¶ added in v3.13.0
func (i *GcmChannel) ToGcmChannelOutputWithContext(ctx context.Context) GcmChannelOutput
func (*GcmChannel) ToGcmChannelPtrOutput ¶ added in v3.25.0
func (i *GcmChannel) ToGcmChannelPtrOutput() GcmChannelPtrOutput
func (*GcmChannel) ToGcmChannelPtrOutputWithContext ¶ added in v3.25.0
func (i *GcmChannel) ToGcmChannelPtrOutputWithContext(ctx context.Context) GcmChannelPtrOutput
type GcmChannelArgs ¶
type GcmChannelArgs struct { // Platform credential API key from Google. ApiKey pulumi.StringInput // The application ID. ApplicationId pulumi.StringInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput }
The set of arguments for constructing a GcmChannel resource.
func (GcmChannelArgs) ElementType ¶
func (GcmChannelArgs) ElementType() reflect.Type
type GcmChannelArray ¶ added in v3.25.0
type GcmChannelArray []GcmChannelInput
func (GcmChannelArray) ElementType ¶ added in v3.25.0
func (GcmChannelArray) ElementType() reflect.Type
func (GcmChannelArray) ToGcmChannelArrayOutput ¶ added in v3.25.0
func (i GcmChannelArray) ToGcmChannelArrayOutput() GcmChannelArrayOutput
func (GcmChannelArray) ToGcmChannelArrayOutputWithContext ¶ added in v3.25.0
func (i GcmChannelArray) ToGcmChannelArrayOutputWithContext(ctx context.Context) GcmChannelArrayOutput
type GcmChannelArrayInput ¶ added in v3.25.0
type GcmChannelArrayInput interface { pulumi.Input ToGcmChannelArrayOutput() GcmChannelArrayOutput ToGcmChannelArrayOutputWithContext(context.Context) GcmChannelArrayOutput }
GcmChannelArrayInput is an input type that accepts GcmChannelArray and GcmChannelArrayOutput values. You can construct a concrete instance of `GcmChannelArrayInput` via:
GcmChannelArray{ GcmChannelArgs{...} }
type GcmChannelArrayOutput ¶ added in v3.25.0
type GcmChannelArrayOutput struct{ *pulumi.OutputState }
func (GcmChannelArrayOutput) ElementType ¶ added in v3.25.0
func (GcmChannelArrayOutput) ElementType() reflect.Type
func (GcmChannelArrayOutput) Index ¶ added in v3.25.0
func (o GcmChannelArrayOutput) Index(i pulumi.IntInput) GcmChannelOutput
func (GcmChannelArrayOutput) ToGcmChannelArrayOutput ¶ added in v3.25.0
func (o GcmChannelArrayOutput) ToGcmChannelArrayOutput() GcmChannelArrayOutput
func (GcmChannelArrayOutput) ToGcmChannelArrayOutputWithContext ¶ added in v3.25.0
func (o GcmChannelArrayOutput) ToGcmChannelArrayOutputWithContext(ctx context.Context) GcmChannelArrayOutput
type GcmChannelInput ¶ added in v3.13.0
type GcmChannelInput interface { pulumi.Input ToGcmChannelOutput() GcmChannelOutput ToGcmChannelOutputWithContext(ctx context.Context) GcmChannelOutput }
type GcmChannelMap ¶ added in v3.25.0
type GcmChannelMap map[string]GcmChannelInput
func (GcmChannelMap) ElementType ¶ added in v3.25.0
func (GcmChannelMap) ElementType() reflect.Type
func (GcmChannelMap) ToGcmChannelMapOutput ¶ added in v3.25.0
func (i GcmChannelMap) ToGcmChannelMapOutput() GcmChannelMapOutput
func (GcmChannelMap) ToGcmChannelMapOutputWithContext ¶ added in v3.25.0
func (i GcmChannelMap) ToGcmChannelMapOutputWithContext(ctx context.Context) GcmChannelMapOutput
type GcmChannelMapInput ¶ added in v3.25.0
type GcmChannelMapInput interface { pulumi.Input ToGcmChannelMapOutput() GcmChannelMapOutput ToGcmChannelMapOutputWithContext(context.Context) GcmChannelMapOutput }
GcmChannelMapInput is an input type that accepts GcmChannelMap and GcmChannelMapOutput values. You can construct a concrete instance of `GcmChannelMapInput` via:
GcmChannelMap{ "key": GcmChannelArgs{...} }
type GcmChannelMapOutput ¶ added in v3.25.0
type GcmChannelMapOutput struct{ *pulumi.OutputState }
func (GcmChannelMapOutput) ElementType ¶ added in v3.25.0
func (GcmChannelMapOutput) ElementType() reflect.Type
func (GcmChannelMapOutput) MapIndex ¶ added in v3.25.0
func (o GcmChannelMapOutput) MapIndex(k pulumi.StringInput) GcmChannelOutput
func (GcmChannelMapOutput) ToGcmChannelMapOutput ¶ added in v3.25.0
func (o GcmChannelMapOutput) ToGcmChannelMapOutput() GcmChannelMapOutput
func (GcmChannelMapOutput) ToGcmChannelMapOutputWithContext ¶ added in v3.25.0
func (o GcmChannelMapOutput) ToGcmChannelMapOutputWithContext(ctx context.Context) GcmChannelMapOutput
type GcmChannelOutput ¶ added in v3.13.0
type GcmChannelOutput struct {
*pulumi.OutputState
}
func (GcmChannelOutput) ElementType ¶ added in v3.13.0
func (GcmChannelOutput) ElementType() reflect.Type
func (GcmChannelOutput) ToGcmChannelOutput ¶ added in v3.13.0
func (o GcmChannelOutput) ToGcmChannelOutput() GcmChannelOutput
func (GcmChannelOutput) ToGcmChannelOutputWithContext ¶ added in v3.13.0
func (o GcmChannelOutput) ToGcmChannelOutputWithContext(ctx context.Context) GcmChannelOutput
func (GcmChannelOutput) ToGcmChannelPtrOutput ¶ added in v3.25.0
func (o GcmChannelOutput) ToGcmChannelPtrOutput() GcmChannelPtrOutput
func (GcmChannelOutput) ToGcmChannelPtrOutputWithContext ¶ added in v3.25.0
func (o GcmChannelOutput) ToGcmChannelPtrOutputWithContext(ctx context.Context) GcmChannelPtrOutput
type GcmChannelPtrInput ¶ added in v3.25.0
type GcmChannelPtrInput interface { pulumi.Input ToGcmChannelPtrOutput() GcmChannelPtrOutput ToGcmChannelPtrOutputWithContext(ctx context.Context) GcmChannelPtrOutput }
type GcmChannelPtrOutput ¶ added in v3.25.0
type GcmChannelPtrOutput struct {
*pulumi.OutputState
}
func (GcmChannelPtrOutput) ElementType ¶ added in v3.25.0
func (GcmChannelPtrOutput) ElementType() reflect.Type
func (GcmChannelPtrOutput) ToGcmChannelPtrOutput ¶ added in v3.25.0
func (o GcmChannelPtrOutput) ToGcmChannelPtrOutput() GcmChannelPtrOutput
func (GcmChannelPtrOutput) ToGcmChannelPtrOutputWithContext ¶ added in v3.25.0
func (o GcmChannelPtrOutput) ToGcmChannelPtrOutputWithContext(ctx context.Context) GcmChannelPtrOutput
type GcmChannelState ¶
type GcmChannelState struct { // Platform credential API key from Google. ApiKey pulumi.StringPtrInput // The application ID. ApplicationId pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput }
func (GcmChannelState) ElementType ¶
func (GcmChannelState) ElementType() reflect.Type
type SmsChannel ¶
type SmsChannel struct { pulumi.CustomResourceState // The application ID. ApplicationId pulumi.StringOutput `pulumi:"applicationId"` // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // Promotional messages per second that can be sent. PromotionalMessagesPerSecond pulumi.IntOutput `pulumi:"promotionalMessagesPerSecond"` // Sender identifier of your messages. SenderId pulumi.StringPtrOutput `pulumi:"senderId"` // The Short Code registered with the phone provider. ShortCode pulumi.StringPtrOutput `pulumi:"shortCode"` // Transactional messages per second that can be sent. TransactionalMessagesPerSecond pulumi.IntOutput `pulumi:"transactionalMessagesPerSecond"` }
Provides a Pinpoint SMS Channel resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/pinpoint" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { app, err := pinpoint.NewApp(ctx, "app", nil) if err != nil { return err } _, err = pinpoint.NewSmsChannel(ctx, "sms", &pinpoint.SmsChannelArgs{ ApplicationId: app.ApplicationId, }) if err != nil { return err } return nil }) }
```
## Import
Pinpoint SMS Channel can be imported using the `application-id`, e.g.
```sh
$ pulumi import aws:pinpoint/smsChannel:SmsChannel sms application-id
```
func GetSmsChannel ¶
func GetSmsChannel(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SmsChannelState, opts ...pulumi.ResourceOption) (*SmsChannel, error)
GetSmsChannel gets an existing SmsChannel 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 NewSmsChannel ¶
func NewSmsChannel(ctx *pulumi.Context, name string, args *SmsChannelArgs, opts ...pulumi.ResourceOption) (*SmsChannel, error)
NewSmsChannel registers a new resource with the given unique name, arguments, and options.
func (*SmsChannel) ElementType ¶ added in v3.13.0
func (*SmsChannel) ElementType() reflect.Type
func (*SmsChannel) ToSmsChannelOutput ¶ added in v3.13.0
func (i *SmsChannel) ToSmsChannelOutput() SmsChannelOutput
func (*SmsChannel) ToSmsChannelOutputWithContext ¶ added in v3.13.0
func (i *SmsChannel) ToSmsChannelOutputWithContext(ctx context.Context) SmsChannelOutput
func (*SmsChannel) ToSmsChannelPtrOutput ¶ added in v3.25.0
func (i *SmsChannel) ToSmsChannelPtrOutput() SmsChannelPtrOutput
func (*SmsChannel) ToSmsChannelPtrOutputWithContext ¶ added in v3.25.0
func (i *SmsChannel) ToSmsChannelPtrOutputWithContext(ctx context.Context) SmsChannelPtrOutput
type SmsChannelArgs ¶
type SmsChannelArgs struct { // The application ID. ApplicationId pulumi.StringInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // Sender identifier of your messages. SenderId pulumi.StringPtrInput // The Short Code registered with the phone provider. ShortCode pulumi.StringPtrInput }
The set of arguments for constructing a SmsChannel resource.
func (SmsChannelArgs) ElementType ¶
func (SmsChannelArgs) ElementType() reflect.Type
type SmsChannelArray ¶ added in v3.25.0
type SmsChannelArray []SmsChannelInput
func (SmsChannelArray) ElementType ¶ added in v3.25.0
func (SmsChannelArray) ElementType() reflect.Type
func (SmsChannelArray) ToSmsChannelArrayOutput ¶ added in v3.25.0
func (i SmsChannelArray) ToSmsChannelArrayOutput() SmsChannelArrayOutput
func (SmsChannelArray) ToSmsChannelArrayOutputWithContext ¶ added in v3.25.0
func (i SmsChannelArray) ToSmsChannelArrayOutputWithContext(ctx context.Context) SmsChannelArrayOutput
type SmsChannelArrayInput ¶ added in v3.25.0
type SmsChannelArrayInput interface { pulumi.Input ToSmsChannelArrayOutput() SmsChannelArrayOutput ToSmsChannelArrayOutputWithContext(context.Context) SmsChannelArrayOutput }
SmsChannelArrayInput is an input type that accepts SmsChannelArray and SmsChannelArrayOutput values. You can construct a concrete instance of `SmsChannelArrayInput` via:
SmsChannelArray{ SmsChannelArgs{...} }
type SmsChannelArrayOutput ¶ added in v3.25.0
type SmsChannelArrayOutput struct{ *pulumi.OutputState }
func (SmsChannelArrayOutput) ElementType ¶ added in v3.25.0
func (SmsChannelArrayOutput) ElementType() reflect.Type
func (SmsChannelArrayOutput) Index ¶ added in v3.25.0
func (o SmsChannelArrayOutput) Index(i pulumi.IntInput) SmsChannelOutput
func (SmsChannelArrayOutput) ToSmsChannelArrayOutput ¶ added in v3.25.0
func (o SmsChannelArrayOutput) ToSmsChannelArrayOutput() SmsChannelArrayOutput
func (SmsChannelArrayOutput) ToSmsChannelArrayOutputWithContext ¶ added in v3.25.0
func (o SmsChannelArrayOutput) ToSmsChannelArrayOutputWithContext(ctx context.Context) SmsChannelArrayOutput
type SmsChannelInput ¶ added in v3.13.0
type SmsChannelInput interface { pulumi.Input ToSmsChannelOutput() SmsChannelOutput ToSmsChannelOutputWithContext(ctx context.Context) SmsChannelOutput }
type SmsChannelMap ¶ added in v3.25.0
type SmsChannelMap map[string]SmsChannelInput
func (SmsChannelMap) ElementType ¶ added in v3.25.0
func (SmsChannelMap) ElementType() reflect.Type
func (SmsChannelMap) ToSmsChannelMapOutput ¶ added in v3.25.0
func (i SmsChannelMap) ToSmsChannelMapOutput() SmsChannelMapOutput
func (SmsChannelMap) ToSmsChannelMapOutputWithContext ¶ added in v3.25.0
func (i SmsChannelMap) ToSmsChannelMapOutputWithContext(ctx context.Context) SmsChannelMapOutput
type SmsChannelMapInput ¶ added in v3.25.0
type SmsChannelMapInput interface { pulumi.Input ToSmsChannelMapOutput() SmsChannelMapOutput ToSmsChannelMapOutputWithContext(context.Context) SmsChannelMapOutput }
SmsChannelMapInput is an input type that accepts SmsChannelMap and SmsChannelMapOutput values. You can construct a concrete instance of `SmsChannelMapInput` via:
SmsChannelMap{ "key": SmsChannelArgs{...} }
type SmsChannelMapOutput ¶ added in v3.25.0
type SmsChannelMapOutput struct{ *pulumi.OutputState }
func (SmsChannelMapOutput) ElementType ¶ added in v3.25.0
func (SmsChannelMapOutput) ElementType() reflect.Type
func (SmsChannelMapOutput) MapIndex ¶ added in v3.25.0
func (o SmsChannelMapOutput) MapIndex(k pulumi.StringInput) SmsChannelOutput
func (SmsChannelMapOutput) ToSmsChannelMapOutput ¶ added in v3.25.0
func (o SmsChannelMapOutput) ToSmsChannelMapOutput() SmsChannelMapOutput
func (SmsChannelMapOutput) ToSmsChannelMapOutputWithContext ¶ added in v3.25.0
func (o SmsChannelMapOutput) ToSmsChannelMapOutputWithContext(ctx context.Context) SmsChannelMapOutput
type SmsChannelOutput ¶ added in v3.13.0
type SmsChannelOutput struct {
*pulumi.OutputState
}
func (SmsChannelOutput) ElementType ¶ added in v3.13.0
func (SmsChannelOutput) ElementType() reflect.Type
func (SmsChannelOutput) ToSmsChannelOutput ¶ added in v3.13.0
func (o SmsChannelOutput) ToSmsChannelOutput() SmsChannelOutput
func (SmsChannelOutput) ToSmsChannelOutputWithContext ¶ added in v3.13.0
func (o SmsChannelOutput) ToSmsChannelOutputWithContext(ctx context.Context) SmsChannelOutput
func (SmsChannelOutput) ToSmsChannelPtrOutput ¶ added in v3.25.0
func (o SmsChannelOutput) ToSmsChannelPtrOutput() SmsChannelPtrOutput
func (SmsChannelOutput) ToSmsChannelPtrOutputWithContext ¶ added in v3.25.0
func (o SmsChannelOutput) ToSmsChannelPtrOutputWithContext(ctx context.Context) SmsChannelPtrOutput
type SmsChannelPtrInput ¶ added in v3.25.0
type SmsChannelPtrInput interface { pulumi.Input ToSmsChannelPtrOutput() SmsChannelPtrOutput ToSmsChannelPtrOutputWithContext(ctx context.Context) SmsChannelPtrOutput }
type SmsChannelPtrOutput ¶ added in v3.25.0
type SmsChannelPtrOutput struct {
*pulumi.OutputState
}
func (SmsChannelPtrOutput) ElementType ¶ added in v3.25.0
func (SmsChannelPtrOutput) ElementType() reflect.Type
func (SmsChannelPtrOutput) ToSmsChannelPtrOutput ¶ added in v3.25.0
func (o SmsChannelPtrOutput) ToSmsChannelPtrOutput() SmsChannelPtrOutput
func (SmsChannelPtrOutput) ToSmsChannelPtrOutputWithContext ¶ added in v3.25.0
func (o SmsChannelPtrOutput) ToSmsChannelPtrOutputWithContext(ctx context.Context) SmsChannelPtrOutput
type SmsChannelState ¶
type SmsChannelState struct { // The application ID. ApplicationId pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // Promotional messages per second that can be sent. PromotionalMessagesPerSecond pulumi.IntPtrInput // Sender identifier of your messages. SenderId pulumi.StringPtrInput // The Short Code registered with the phone provider. ShortCode pulumi.StringPtrInput // Transactional messages per second that can be sent. TransactionalMessagesPerSecond pulumi.IntPtrInput }
func (SmsChannelState) ElementType ¶
func (SmsChannelState) ElementType() reflect.Type