Documentation ¶
Index ¶
- type AdmChannel
- 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 (o AdmChannelOutput) ApplicationId() pulumi.StringOutput
- func (o AdmChannelOutput) ClientId() pulumi.StringOutput
- func (o AdmChannelOutput) ClientSecret() pulumi.StringOutput
- func (AdmChannelOutput) ElementType() reflect.Type
- func (o AdmChannelOutput) Enabled() pulumi.BoolPtrOutput
- func (o AdmChannelOutput) ToAdmChannelOutput() AdmChannelOutput
- func (o AdmChannelOutput) ToAdmChannelOutputWithContext(ctx context.Context) AdmChannelOutput
- type AdmChannelState
- type ApnsChannel
- 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 (o ApnsChannelOutput) ApplicationId() pulumi.StringOutput
- func (o ApnsChannelOutput) BundleId() pulumi.StringPtrOutput
- func (o ApnsChannelOutput) Certificate() pulumi.StringPtrOutput
- func (o ApnsChannelOutput) DefaultAuthenticationMethod() pulumi.StringPtrOutput
- func (ApnsChannelOutput) ElementType() reflect.Type
- func (o ApnsChannelOutput) Enabled() pulumi.BoolPtrOutput
- func (o ApnsChannelOutput) PrivateKey() pulumi.StringPtrOutput
- func (o ApnsChannelOutput) TeamId() pulumi.StringPtrOutput
- func (o ApnsChannelOutput) ToApnsChannelOutput() ApnsChannelOutput
- func (o ApnsChannelOutput) ToApnsChannelOutputWithContext(ctx context.Context) ApnsChannelOutput
- func (o ApnsChannelOutput) TokenKey() pulumi.StringPtrOutput
- func (o ApnsChannelOutput) TokenKeyId() pulumi.StringPtrOutput
- type ApnsChannelState
- type ApnsSandboxChannel
- 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 (o ApnsSandboxChannelOutput) ApplicationId() pulumi.StringOutput
- func (o ApnsSandboxChannelOutput) BundleId() pulumi.StringPtrOutput
- func (o ApnsSandboxChannelOutput) Certificate() pulumi.StringPtrOutput
- func (o ApnsSandboxChannelOutput) DefaultAuthenticationMethod() pulumi.StringPtrOutput
- func (ApnsSandboxChannelOutput) ElementType() reflect.Type
- func (o ApnsSandboxChannelOutput) Enabled() pulumi.BoolPtrOutput
- func (o ApnsSandboxChannelOutput) PrivateKey() pulumi.StringPtrOutput
- func (o ApnsSandboxChannelOutput) TeamId() pulumi.StringPtrOutput
- func (o ApnsSandboxChannelOutput) ToApnsSandboxChannelOutput() ApnsSandboxChannelOutput
- func (o ApnsSandboxChannelOutput) ToApnsSandboxChannelOutputWithContext(ctx context.Context) ApnsSandboxChannelOutput
- func (o ApnsSandboxChannelOutput) TokenKey() pulumi.StringPtrOutput
- func (o ApnsSandboxChannelOutput) TokenKeyId() pulumi.StringPtrOutput
- type ApnsSandboxChannelState
- type ApnsVoipChannel
- 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 (o ApnsVoipChannelOutput) ApplicationId() pulumi.StringOutput
- func (o ApnsVoipChannelOutput) BundleId() pulumi.StringPtrOutput
- func (o ApnsVoipChannelOutput) Certificate() pulumi.StringPtrOutput
- func (o ApnsVoipChannelOutput) DefaultAuthenticationMethod() pulumi.StringPtrOutput
- func (ApnsVoipChannelOutput) ElementType() reflect.Type
- func (o ApnsVoipChannelOutput) Enabled() pulumi.BoolPtrOutput
- func (o ApnsVoipChannelOutput) PrivateKey() pulumi.StringPtrOutput
- func (o ApnsVoipChannelOutput) TeamId() pulumi.StringPtrOutput
- func (o ApnsVoipChannelOutput) ToApnsVoipChannelOutput() ApnsVoipChannelOutput
- func (o ApnsVoipChannelOutput) ToApnsVoipChannelOutputWithContext(ctx context.Context) ApnsVoipChannelOutput
- func (o ApnsVoipChannelOutput) TokenKey() pulumi.StringPtrOutput
- func (o ApnsVoipChannelOutput) TokenKeyId() pulumi.StringPtrOutput
- type ApnsVoipChannelState
- type ApnsVoipSandboxChannel
- 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 (o ApnsVoipSandboxChannelOutput) ApplicationId() pulumi.StringOutput
- func (o ApnsVoipSandboxChannelOutput) BundleId() pulumi.StringPtrOutput
- func (o ApnsVoipSandboxChannelOutput) Certificate() pulumi.StringPtrOutput
- func (o ApnsVoipSandboxChannelOutput) DefaultAuthenticationMethod() pulumi.StringPtrOutput
- func (ApnsVoipSandboxChannelOutput) ElementType() reflect.Type
- func (o ApnsVoipSandboxChannelOutput) Enabled() pulumi.BoolPtrOutput
- func (o ApnsVoipSandboxChannelOutput) PrivateKey() pulumi.StringPtrOutput
- func (o ApnsVoipSandboxChannelOutput) TeamId() pulumi.StringPtrOutput
- func (o ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelOutput() ApnsVoipSandboxChannelOutput
- func (o ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelOutput
- func (o ApnsVoipSandboxChannelOutput) TokenKey() pulumi.StringPtrOutput
- func (o ApnsVoipSandboxChannelOutput) TokenKeyId() pulumi.StringPtrOutput
- 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
- func (o AppOutput) ApplicationId() pulumi.StringOutput
- func (o AppOutput) Arn() pulumi.StringOutput
- func (o AppOutput) CampaignHook() AppCampaignHookPtrOutput
- func (AppOutput) ElementType() reflect.Type
- func (o AppOutput) Limits() AppLimitsPtrOutput
- func (o AppOutput) Name() pulumi.StringOutput
- func (o AppOutput) NamePrefix() pulumi.StringOutput
- func (o AppOutput) QuietTime() AppQuietTimePtrOutput
- func (o AppOutput) Tags() pulumi.StringMapOutput
- func (o AppOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o AppOutput) ToAppOutput() AppOutput
- func (o AppOutput) ToAppOutputWithContext(ctx context.Context) AppOutput
- 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
- 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 (o BaiduChannelOutput) ApiKey() pulumi.StringOutput
- func (o BaiduChannelOutput) ApplicationId() pulumi.StringOutput
- func (BaiduChannelOutput) ElementType() reflect.Type
- func (o BaiduChannelOutput) Enabled() pulumi.BoolPtrOutput
- func (o BaiduChannelOutput) SecretKey() pulumi.StringOutput
- func (o BaiduChannelOutput) ToBaiduChannelOutput() BaiduChannelOutput
- func (o BaiduChannelOutput) ToBaiduChannelOutputWithContext(ctx context.Context) BaiduChannelOutput
- type BaiduChannelState
- type EmailChannel
- 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 (o EmailChannelOutput) ApplicationId() pulumi.StringOutput
- func (o EmailChannelOutput) ConfigurationSet() pulumi.StringPtrOutput
- func (EmailChannelOutput) ElementType() reflect.Type
- func (o EmailChannelOutput) Enabled() pulumi.BoolPtrOutput
- func (o EmailChannelOutput) FromAddress() pulumi.StringOutput
- func (o EmailChannelOutput) Identity() pulumi.StringOutput
- func (o EmailChannelOutput) MessagesPerSecond() pulumi.IntOutput
- func (o EmailChannelOutput) RoleArn() pulumi.StringPtrOutput
- func (o EmailChannelOutput) ToEmailChannelOutput() EmailChannelOutput
- func (o EmailChannelOutput) ToEmailChannelOutputWithContext(ctx context.Context) EmailChannelOutput
- type EmailChannelState
- type EmailTemplate
- type EmailTemplateArgs
- type EmailTemplateArray
- type EmailTemplateArrayInput
- type EmailTemplateArrayOutput
- func (EmailTemplateArrayOutput) ElementType() reflect.Type
- func (o EmailTemplateArrayOutput) Index(i pulumi.IntInput) EmailTemplateOutput
- func (o EmailTemplateArrayOutput) ToEmailTemplateArrayOutput() EmailTemplateArrayOutput
- func (o EmailTemplateArrayOutput) ToEmailTemplateArrayOutputWithContext(ctx context.Context) EmailTemplateArrayOutput
- type EmailTemplateEmailTemplate
- type EmailTemplateEmailTemplateArgs
- func (EmailTemplateEmailTemplateArgs) ElementType() reflect.Type
- func (i EmailTemplateEmailTemplateArgs) ToEmailTemplateEmailTemplateOutput() EmailTemplateEmailTemplateOutput
- func (i EmailTemplateEmailTemplateArgs) ToEmailTemplateEmailTemplateOutputWithContext(ctx context.Context) EmailTemplateEmailTemplateOutput
- type EmailTemplateEmailTemplateArray
- func (EmailTemplateEmailTemplateArray) ElementType() reflect.Type
- func (i EmailTemplateEmailTemplateArray) ToEmailTemplateEmailTemplateArrayOutput() EmailTemplateEmailTemplateArrayOutput
- func (i EmailTemplateEmailTemplateArray) ToEmailTemplateEmailTemplateArrayOutputWithContext(ctx context.Context) EmailTemplateEmailTemplateArrayOutput
- type EmailTemplateEmailTemplateArrayInput
- type EmailTemplateEmailTemplateArrayOutput
- func (EmailTemplateEmailTemplateArrayOutput) ElementType() reflect.Type
- func (o EmailTemplateEmailTemplateArrayOutput) Index(i pulumi.IntInput) EmailTemplateEmailTemplateOutput
- func (o EmailTemplateEmailTemplateArrayOutput) ToEmailTemplateEmailTemplateArrayOutput() EmailTemplateEmailTemplateArrayOutput
- func (o EmailTemplateEmailTemplateArrayOutput) ToEmailTemplateEmailTemplateArrayOutputWithContext(ctx context.Context) EmailTemplateEmailTemplateArrayOutput
- type EmailTemplateEmailTemplateHeader
- type EmailTemplateEmailTemplateHeaderArgs
- func (EmailTemplateEmailTemplateHeaderArgs) ElementType() reflect.Type
- func (i EmailTemplateEmailTemplateHeaderArgs) ToEmailTemplateEmailTemplateHeaderOutput() EmailTemplateEmailTemplateHeaderOutput
- func (i EmailTemplateEmailTemplateHeaderArgs) ToEmailTemplateEmailTemplateHeaderOutputWithContext(ctx context.Context) EmailTemplateEmailTemplateHeaderOutput
- type EmailTemplateEmailTemplateHeaderArray
- func (EmailTemplateEmailTemplateHeaderArray) ElementType() reflect.Type
- func (i EmailTemplateEmailTemplateHeaderArray) ToEmailTemplateEmailTemplateHeaderArrayOutput() EmailTemplateEmailTemplateHeaderArrayOutput
- func (i EmailTemplateEmailTemplateHeaderArray) ToEmailTemplateEmailTemplateHeaderArrayOutputWithContext(ctx context.Context) EmailTemplateEmailTemplateHeaderArrayOutput
- type EmailTemplateEmailTemplateHeaderArrayInput
- type EmailTemplateEmailTemplateHeaderArrayOutput
- func (EmailTemplateEmailTemplateHeaderArrayOutput) ElementType() reflect.Type
- func (o EmailTemplateEmailTemplateHeaderArrayOutput) Index(i pulumi.IntInput) EmailTemplateEmailTemplateHeaderOutput
- func (o EmailTemplateEmailTemplateHeaderArrayOutput) ToEmailTemplateEmailTemplateHeaderArrayOutput() EmailTemplateEmailTemplateHeaderArrayOutput
- func (o EmailTemplateEmailTemplateHeaderArrayOutput) ToEmailTemplateEmailTemplateHeaderArrayOutputWithContext(ctx context.Context) EmailTemplateEmailTemplateHeaderArrayOutput
- type EmailTemplateEmailTemplateHeaderInput
- type EmailTemplateEmailTemplateHeaderOutput
- func (EmailTemplateEmailTemplateHeaderOutput) ElementType() reflect.Type
- func (o EmailTemplateEmailTemplateHeaderOutput) Name() pulumi.StringPtrOutput
- func (o EmailTemplateEmailTemplateHeaderOutput) ToEmailTemplateEmailTemplateHeaderOutput() EmailTemplateEmailTemplateHeaderOutput
- func (o EmailTemplateEmailTemplateHeaderOutput) ToEmailTemplateEmailTemplateHeaderOutputWithContext(ctx context.Context) EmailTemplateEmailTemplateHeaderOutput
- func (o EmailTemplateEmailTemplateHeaderOutput) Value() pulumi.StringPtrOutput
- type EmailTemplateEmailTemplateInput
- type EmailTemplateEmailTemplateOutput
- func (o EmailTemplateEmailTemplateOutput) DefaultSubstitutions() pulumi.StringPtrOutput
- func (o EmailTemplateEmailTemplateOutput) Description() pulumi.StringPtrOutput
- func (EmailTemplateEmailTemplateOutput) ElementType() reflect.Type
- func (o EmailTemplateEmailTemplateOutput) Headers() EmailTemplateEmailTemplateHeaderArrayOutput
- func (o EmailTemplateEmailTemplateOutput) HtmlPart() pulumi.StringPtrOutput
- func (o EmailTemplateEmailTemplateOutput) RecommenderId() pulumi.StringPtrOutput
- func (o EmailTemplateEmailTemplateOutput) Subject() pulumi.StringPtrOutput
- func (o EmailTemplateEmailTemplateOutput) TextPart() pulumi.StringPtrOutput
- func (o EmailTemplateEmailTemplateOutput) ToEmailTemplateEmailTemplateOutput() EmailTemplateEmailTemplateOutput
- func (o EmailTemplateEmailTemplateOutput) ToEmailTemplateEmailTemplateOutputWithContext(ctx context.Context) EmailTemplateEmailTemplateOutput
- type EmailTemplateInput
- type EmailTemplateMap
- type EmailTemplateMapInput
- type EmailTemplateMapOutput
- func (EmailTemplateMapOutput) ElementType() reflect.Type
- func (o EmailTemplateMapOutput) MapIndex(k pulumi.StringInput) EmailTemplateOutput
- func (o EmailTemplateMapOutput) ToEmailTemplateMapOutput() EmailTemplateMapOutput
- func (o EmailTemplateMapOutput) ToEmailTemplateMapOutputWithContext(ctx context.Context) EmailTemplateMapOutput
- type EmailTemplateOutput
- func (o EmailTemplateOutput) Arn() pulumi.StringOutput
- func (EmailTemplateOutput) ElementType() reflect.Type
- func (o EmailTemplateOutput) EmailTemplates() EmailTemplateEmailTemplateArrayOutput
- func (o EmailTemplateOutput) Tags() pulumi.StringMapOutput
- func (o EmailTemplateOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o EmailTemplateOutput) TemplateName() pulumi.StringOutput
- func (o EmailTemplateOutput) ToEmailTemplateOutput() EmailTemplateOutput
- func (o EmailTemplateOutput) ToEmailTemplateOutputWithContext(ctx context.Context) EmailTemplateOutput
- type EmailTemplateState
- type EventStream
- 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 (o EventStreamOutput) ApplicationId() pulumi.StringOutput
- func (o EventStreamOutput) DestinationStreamArn() pulumi.StringOutput
- func (EventStreamOutput) ElementType() reflect.Type
- func (o EventStreamOutput) RoleArn() pulumi.StringOutput
- func (o EventStreamOutput) ToEventStreamOutput() EventStreamOutput
- func (o EventStreamOutput) ToEventStreamOutputWithContext(ctx context.Context) EventStreamOutput
- type EventStreamState
- type GcmChannel
- 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 (o GcmChannelOutput) ApiKey() pulumi.StringPtrOutput
- func (o GcmChannelOutput) ApplicationId() pulumi.StringOutput
- func (o GcmChannelOutput) DefaultAuthenticationMethod() pulumi.StringPtrOutput
- func (GcmChannelOutput) ElementType() reflect.Type
- func (o GcmChannelOutput) Enabled() pulumi.BoolPtrOutput
- func (o GcmChannelOutput) ServiceJson() pulumi.StringPtrOutput
- func (o GcmChannelOutput) ToGcmChannelOutput() GcmChannelOutput
- func (o GcmChannelOutput) ToGcmChannelOutputWithContext(ctx context.Context) GcmChannelOutput
- type GcmChannelState
- type SmsChannel
- 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 (o SmsChannelOutput) ApplicationId() pulumi.StringOutput
- func (SmsChannelOutput) ElementType() reflect.Type
- func (o SmsChannelOutput) Enabled() pulumi.BoolPtrOutput
- func (o SmsChannelOutput) PromotionalMessagesPerSecond() pulumi.IntOutput
- func (o SmsChannelOutput) SenderId() pulumi.StringPtrOutput
- func (o SmsChannelOutput) ShortCode() pulumi.StringPtrOutput
- func (o SmsChannelOutput) ToSmsChannelOutput() SmsChannelOutput
- func (o SmsChannelOutput) ToSmsChannelOutputWithContext(ctx context.Context) SmsChannelOutput
- func (o SmsChannelOutput) TransactionalMessagesPerSecond() pulumi.IntOutput
- type SmsChannelState
- type Smsvoicev2ConfigurationSet
- func (*Smsvoicev2ConfigurationSet) ElementType() reflect.Type
- func (i *Smsvoicev2ConfigurationSet) ToSmsvoicev2ConfigurationSetOutput() Smsvoicev2ConfigurationSetOutput
- func (i *Smsvoicev2ConfigurationSet) ToSmsvoicev2ConfigurationSetOutputWithContext(ctx context.Context) Smsvoicev2ConfigurationSetOutput
- type Smsvoicev2ConfigurationSetArgs
- type Smsvoicev2ConfigurationSetArray
- func (Smsvoicev2ConfigurationSetArray) ElementType() reflect.Type
- func (i Smsvoicev2ConfigurationSetArray) ToSmsvoicev2ConfigurationSetArrayOutput() Smsvoicev2ConfigurationSetArrayOutput
- func (i Smsvoicev2ConfigurationSetArray) ToSmsvoicev2ConfigurationSetArrayOutputWithContext(ctx context.Context) Smsvoicev2ConfigurationSetArrayOutput
- type Smsvoicev2ConfigurationSetArrayInput
- type Smsvoicev2ConfigurationSetArrayOutput
- func (Smsvoicev2ConfigurationSetArrayOutput) ElementType() reflect.Type
- func (o Smsvoicev2ConfigurationSetArrayOutput) Index(i pulumi.IntInput) Smsvoicev2ConfigurationSetOutput
- func (o Smsvoicev2ConfigurationSetArrayOutput) ToSmsvoicev2ConfigurationSetArrayOutput() Smsvoicev2ConfigurationSetArrayOutput
- func (o Smsvoicev2ConfigurationSetArrayOutput) ToSmsvoicev2ConfigurationSetArrayOutputWithContext(ctx context.Context) Smsvoicev2ConfigurationSetArrayOutput
- type Smsvoicev2ConfigurationSetInput
- type Smsvoicev2ConfigurationSetMap
- func (Smsvoicev2ConfigurationSetMap) ElementType() reflect.Type
- func (i Smsvoicev2ConfigurationSetMap) ToSmsvoicev2ConfigurationSetMapOutput() Smsvoicev2ConfigurationSetMapOutput
- func (i Smsvoicev2ConfigurationSetMap) ToSmsvoicev2ConfigurationSetMapOutputWithContext(ctx context.Context) Smsvoicev2ConfigurationSetMapOutput
- type Smsvoicev2ConfigurationSetMapInput
- type Smsvoicev2ConfigurationSetMapOutput
- func (Smsvoicev2ConfigurationSetMapOutput) ElementType() reflect.Type
- func (o Smsvoicev2ConfigurationSetMapOutput) MapIndex(k pulumi.StringInput) Smsvoicev2ConfigurationSetOutput
- func (o Smsvoicev2ConfigurationSetMapOutput) ToSmsvoicev2ConfigurationSetMapOutput() Smsvoicev2ConfigurationSetMapOutput
- func (o Smsvoicev2ConfigurationSetMapOutput) ToSmsvoicev2ConfigurationSetMapOutputWithContext(ctx context.Context) Smsvoicev2ConfigurationSetMapOutput
- type Smsvoicev2ConfigurationSetOutput
- func (o Smsvoicev2ConfigurationSetOutput) Arn() pulumi.StringOutput
- func (o Smsvoicev2ConfigurationSetOutput) DefaultMessageType() pulumi.StringPtrOutput
- func (o Smsvoicev2ConfigurationSetOutput) DefaultSenderId() pulumi.StringPtrOutput
- func (Smsvoicev2ConfigurationSetOutput) ElementType() reflect.Type
- func (o Smsvoicev2ConfigurationSetOutput) Name() pulumi.StringOutput
- func (o Smsvoicev2ConfigurationSetOutput) Tags() pulumi.StringMapOutput
- func (o Smsvoicev2ConfigurationSetOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o Smsvoicev2ConfigurationSetOutput) ToSmsvoicev2ConfigurationSetOutput() Smsvoicev2ConfigurationSetOutput
- func (o Smsvoicev2ConfigurationSetOutput) ToSmsvoicev2ConfigurationSetOutputWithContext(ctx context.Context) Smsvoicev2ConfigurationSetOutput
- type Smsvoicev2ConfigurationSetState
- type Smsvoicev2OptOutList
- type Smsvoicev2OptOutListArgs
- type Smsvoicev2OptOutListArray
- type Smsvoicev2OptOutListArrayInput
- type Smsvoicev2OptOutListArrayOutput
- func (Smsvoicev2OptOutListArrayOutput) ElementType() reflect.Type
- func (o Smsvoicev2OptOutListArrayOutput) Index(i pulumi.IntInput) Smsvoicev2OptOutListOutput
- func (o Smsvoicev2OptOutListArrayOutput) ToSmsvoicev2OptOutListArrayOutput() Smsvoicev2OptOutListArrayOutput
- func (o Smsvoicev2OptOutListArrayOutput) ToSmsvoicev2OptOutListArrayOutputWithContext(ctx context.Context) Smsvoicev2OptOutListArrayOutput
- type Smsvoicev2OptOutListInput
- type Smsvoicev2OptOutListMap
- type Smsvoicev2OptOutListMapInput
- type Smsvoicev2OptOutListMapOutput
- func (Smsvoicev2OptOutListMapOutput) ElementType() reflect.Type
- func (o Smsvoicev2OptOutListMapOutput) MapIndex(k pulumi.StringInput) Smsvoicev2OptOutListOutput
- func (o Smsvoicev2OptOutListMapOutput) ToSmsvoicev2OptOutListMapOutput() Smsvoicev2OptOutListMapOutput
- func (o Smsvoicev2OptOutListMapOutput) ToSmsvoicev2OptOutListMapOutputWithContext(ctx context.Context) Smsvoicev2OptOutListMapOutput
- type Smsvoicev2OptOutListOutput
- func (o Smsvoicev2OptOutListOutput) Arn() pulumi.StringOutput
- func (Smsvoicev2OptOutListOutput) ElementType() reflect.Type
- func (o Smsvoicev2OptOutListOutput) Name() pulumi.StringOutput
- func (o Smsvoicev2OptOutListOutput) Tags() pulumi.StringMapOutput
- func (o Smsvoicev2OptOutListOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o Smsvoicev2OptOutListOutput) ToSmsvoicev2OptOutListOutput() Smsvoicev2OptOutListOutput
- func (o Smsvoicev2OptOutListOutput) ToSmsvoicev2OptOutListOutputWithContext(ctx context.Context) Smsvoicev2OptOutListOutput
- type Smsvoicev2OptOutListState
- type Smsvoicev2PhoneNumber
- type Smsvoicev2PhoneNumberArgs
- type Smsvoicev2PhoneNumberArray
- func (Smsvoicev2PhoneNumberArray) ElementType() reflect.Type
- func (i Smsvoicev2PhoneNumberArray) ToSmsvoicev2PhoneNumberArrayOutput() Smsvoicev2PhoneNumberArrayOutput
- func (i Smsvoicev2PhoneNumberArray) ToSmsvoicev2PhoneNumberArrayOutputWithContext(ctx context.Context) Smsvoicev2PhoneNumberArrayOutput
- type Smsvoicev2PhoneNumberArrayInput
- type Smsvoicev2PhoneNumberArrayOutput
- func (Smsvoicev2PhoneNumberArrayOutput) ElementType() reflect.Type
- func (o Smsvoicev2PhoneNumberArrayOutput) Index(i pulumi.IntInput) Smsvoicev2PhoneNumberOutput
- func (o Smsvoicev2PhoneNumberArrayOutput) ToSmsvoicev2PhoneNumberArrayOutput() Smsvoicev2PhoneNumberArrayOutput
- func (o Smsvoicev2PhoneNumberArrayOutput) ToSmsvoicev2PhoneNumberArrayOutputWithContext(ctx context.Context) Smsvoicev2PhoneNumberArrayOutput
- type Smsvoicev2PhoneNumberInput
- type Smsvoicev2PhoneNumberMap
- type Smsvoicev2PhoneNumberMapInput
- type Smsvoicev2PhoneNumberMapOutput
- func (Smsvoicev2PhoneNumberMapOutput) ElementType() reflect.Type
- func (o Smsvoicev2PhoneNumberMapOutput) MapIndex(k pulumi.StringInput) Smsvoicev2PhoneNumberOutput
- func (o Smsvoicev2PhoneNumberMapOutput) ToSmsvoicev2PhoneNumberMapOutput() Smsvoicev2PhoneNumberMapOutput
- func (o Smsvoicev2PhoneNumberMapOutput) ToSmsvoicev2PhoneNumberMapOutputWithContext(ctx context.Context) Smsvoicev2PhoneNumberMapOutput
- type Smsvoicev2PhoneNumberOutput
- func (o Smsvoicev2PhoneNumberOutput) Arn() pulumi.StringOutput
- func (o Smsvoicev2PhoneNumberOutput) DeletionProtectionEnabled() pulumi.BoolOutput
- func (Smsvoicev2PhoneNumberOutput) ElementType() reflect.Type
- func (o Smsvoicev2PhoneNumberOutput) IsoCountryCode() pulumi.StringOutput
- func (o Smsvoicev2PhoneNumberOutput) MessageType() pulumi.StringOutput
- func (o Smsvoicev2PhoneNumberOutput) MonthlyLeasingPrice() pulumi.StringOutput
- func (o Smsvoicev2PhoneNumberOutput) NumberCapabilities() pulumi.StringArrayOutput
- func (o Smsvoicev2PhoneNumberOutput) NumberType() pulumi.StringOutput
- func (o Smsvoicev2PhoneNumberOutput) OptOutListName() pulumi.StringOutput
- func (o Smsvoicev2PhoneNumberOutput) PhoneNumber() pulumi.StringOutput
- func (o Smsvoicev2PhoneNumberOutput) RegistrationId() pulumi.StringPtrOutput
- func (o Smsvoicev2PhoneNumberOutput) SelfManagedOptOutsEnabled() pulumi.BoolOutput
- func (o Smsvoicev2PhoneNumberOutput) Tags() pulumi.StringMapOutput
- func (o Smsvoicev2PhoneNumberOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o Smsvoicev2PhoneNumberOutput) Timeouts() Smsvoicev2PhoneNumberTimeoutsPtrOutput
- func (o Smsvoicev2PhoneNumberOutput) ToSmsvoicev2PhoneNumberOutput() Smsvoicev2PhoneNumberOutput
- func (o Smsvoicev2PhoneNumberOutput) ToSmsvoicev2PhoneNumberOutputWithContext(ctx context.Context) Smsvoicev2PhoneNumberOutput
- func (o Smsvoicev2PhoneNumberOutput) TwoWayChannelArn() pulumi.StringPtrOutput
- func (o Smsvoicev2PhoneNumberOutput) TwoWayChannelEnabled() pulumi.BoolOutput
- type Smsvoicev2PhoneNumberState
- type Smsvoicev2PhoneNumberTimeouts
- type Smsvoicev2PhoneNumberTimeoutsArgs
- func (Smsvoicev2PhoneNumberTimeoutsArgs) ElementType() reflect.Type
- func (i Smsvoicev2PhoneNumberTimeoutsArgs) ToSmsvoicev2PhoneNumberTimeoutsOutput() Smsvoicev2PhoneNumberTimeoutsOutput
- func (i Smsvoicev2PhoneNumberTimeoutsArgs) ToSmsvoicev2PhoneNumberTimeoutsOutputWithContext(ctx context.Context) Smsvoicev2PhoneNumberTimeoutsOutput
- func (i Smsvoicev2PhoneNumberTimeoutsArgs) ToSmsvoicev2PhoneNumberTimeoutsPtrOutput() Smsvoicev2PhoneNumberTimeoutsPtrOutput
- func (i Smsvoicev2PhoneNumberTimeoutsArgs) ToSmsvoicev2PhoneNumberTimeoutsPtrOutputWithContext(ctx context.Context) Smsvoicev2PhoneNumberTimeoutsPtrOutput
- type Smsvoicev2PhoneNumberTimeoutsInput
- type Smsvoicev2PhoneNumberTimeoutsOutput
- func (o Smsvoicev2PhoneNumberTimeoutsOutput) Create() pulumi.StringPtrOutput
- func (o Smsvoicev2PhoneNumberTimeoutsOutput) Delete() pulumi.StringPtrOutput
- func (Smsvoicev2PhoneNumberTimeoutsOutput) ElementType() reflect.Type
- func (o Smsvoicev2PhoneNumberTimeoutsOutput) ToSmsvoicev2PhoneNumberTimeoutsOutput() Smsvoicev2PhoneNumberTimeoutsOutput
- func (o Smsvoicev2PhoneNumberTimeoutsOutput) ToSmsvoicev2PhoneNumberTimeoutsOutputWithContext(ctx context.Context) Smsvoicev2PhoneNumberTimeoutsOutput
- func (o Smsvoicev2PhoneNumberTimeoutsOutput) ToSmsvoicev2PhoneNumberTimeoutsPtrOutput() Smsvoicev2PhoneNumberTimeoutsPtrOutput
- func (o Smsvoicev2PhoneNumberTimeoutsOutput) ToSmsvoicev2PhoneNumberTimeoutsPtrOutputWithContext(ctx context.Context) Smsvoicev2PhoneNumberTimeoutsPtrOutput
- func (o Smsvoicev2PhoneNumberTimeoutsOutput) Update() pulumi.StringPtrOutput
- type Smsvoicev2PhoneNumberTimeoutsPtrInput
- type Smsvoicev2PhoneNumberTimeoutsPtrOutput
- func (o Smsvoicev2PhoneNumberTimeoutsPtrOutput) Create() pulumi.StringPtrOutput
- func (o Smsvoicev2PhoneNumberTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput
- func (o Smsvoicev2PhoneNumberTimeoutsPtrOutput) Elem() Smsvoicev2PhoneNumberTimeoutsOutput
- func (Smsvoicev2PhoneNumberTimeoutsPtrOutput) ElementType() reflect.Type
- func (o Smsvoicev2PhoneNumberTimeoutsPtrOutput) ToSmsvoicev2PhoneNumberTimeoutsPtrOutput() Smsvoicev2PhoneNumberTimeoutsPtrOutput
- func (o Smsvoicev2PhoneNumberTimeoutsPtrOutput) ToSmsvoicev2PhoneNumberTimeoutsPtrOutputWithContext(ctx context.Context) Smsvoicev2PhoneNumberTimeoutsPtrOutput
- func (o Smsvoicev2PhoneNumberTimeoutsPtrOutput) Update() pulumi.StringPtrOutput
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.
> **Note:** All arguments including the Client ID and Client Secret will be stored in the raw state as plain-text. ## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/pinpoint" "github.com/pulumi/pulumi/sdk/v3/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
Using `pulumi import`, import Pinpoint ADM Channel using the `application-id`. For example:
```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 ¶
func (*AdmChannel) ElementType() reflect.Type
func (*AdmChannel) ToAdmChannelOutput ¶
func (i *AdmChannel) ToAdmChannelOutput() AdmChannelOutput
func (*AdmChannel) ToAdmChannelOutputWithContext ¶
func (i *AdmChannel) ToAdmChannelOutputWithContext(ctx context.Context) AdmChannelOutput
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 ¶
type AdmChannelArray []AdmChannelInput
func (AdmChannelArray) ElementType ¶
func (AdmChannelArray) ElementType() reflect.Type
func (AdmChannelArray) ToAdmChannelArrayOutput ¶
func (i AdmChannelArray) ToAdmChannelArrayOutput() AdmChannelArrayOutput
func (AdmChannelArray) ToAdmChannelArrayOutputWithContext ¶
func (i AdmChannelArray) ToAdmChannelArrayOutputWithContext(ctx context.Context) AdmChannelArrayOutput
type AdmChannelArrayInput ¶
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 ¶
type AdmChannelArrayOutput struct{ *pulumi.OutputState }
func (AdmChannelArrayOutput) ElementType ¶
func (AdmChannelArrayOutput) ElementType() reflect.Type
func (AdmChannelArrayOutput) Index ¶
func (o AdmChannelArrayOutput) Index(i pulumi.IntInput) AdmChannelOutput
func (AdmChannelArrayOutput) ToAdmChannelArrayOutput ¶
func (o AdmChannelArrayOutput) ToAdmChannelArrayOutput() AdmChannelArrayOutput
func (AdmChannelArrayOutput) ToAdmChannelArrayOutputWithContext ¶
func (o AdmChannelArrayOutput) ToAdmChannelArrayOutputWithContext(ctx context.Context) AdmChannelArrayOutput
type AdmChannelInput ¶
type AdmChannelInput interface { pulumi.Input ToAdmChannelOutput() AdmChannelOutput ToAdmChannelOutputWithContext(ctx context.Context) AdmChannelOutput }
type AdmChannelMap ¶
type AdmChannelMap map[string]AdmChannelInput
func (AdmChannelMap) ElementType ¶
func (AdmChannelMap) ElementType() reflect.Type
func (AdmChannelMap) ToAdmChannelMapOutput ¶
func (i AdmChannelMap) ToAdmChannelMapOutput() AdmChannelMapOutput
func (AdmChannelMap) ToAdmChannelMapOutputWithContext ¶
func (i AdmChannelMap) ToAdmChannelMapOutputWithContext(ctx context.Context) AdmChannelMapOutput
type AdmChannelMapInput ¶
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 ¶
type AdmChannelMapOutput struct{ *pulumi.OutputState }
func (AdmChannelMapOutput) ElementType ¶
func (AdmChannelMapOutput) ElementType() reflect.Type
func (AdmChannelMapOutput) MapIndex ¶
func (o AdmChannelMapOutput) MapIndex(k pulumi.StringInput) AdmChannelOutput
func (AdmChannelMapOutput) ToAdmChannelMapOutput ¶
func (o AdmChannelMapOutput) ToAdmChannelMapOutput() AdmChannelMapOutput
func (AdmChannelMapOutput) ToAdmChannelMapOutputWithContext ¶
func (o AdmChannelMapOutput) ToAdmChannelMapOutputWithContext(ctx context.Context) AdmChannelMapOutput
type AdmChannelOutput ¶
type AdmChannelOutput struct{ *pulumi.OutputState }
func (AdmChannelOutput) ApplicationId ¶
func (o AdmChannelOutput) ApplicationId() pulumi.StringOutput
The application ID.
func (AdmChannelOutput) ClientId ¶
func (o AdmChannelOutput) ClientId() pulumi.StringOutput
Client ID (part of OAuth Credentials) obtained via Amazon Developer Account.
func (AdmChannelOutput) ClientSecret ¶
func (o AdmChannelOutput) ClientSecret() pulumi.StringOutput
Client Secret (part of OAuth Credentials) obtained via Amazon Developer Account.
func (AdmChannelOutput) ElementType ¶
func (AdmChannelOutput) ElementType() reflect.Type
func (AdmChannelOutput) Enabled ¶
func (o AdmChannelOutput) Enabled() pulumi.BoolPtrOutput
Specifies whether to enable the channel. Defaults to `true`.
func (AdmChannelOutput) ToAdmChannelOutput ¶
func (o AdmChannelOutput) ToAdmChannelOutput() AdmChannelOutput
func (AdmChannelOutput) ToAdmChannelOutputWithContext ¶
func (o AdmChannelOutput) ToAdmChannelOutputWithContext(ctx context.Context) AdmChannelOutput
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. // // One of the following sets of credentials is also required. // // If you choose to use __Certificate credentials__ you will have to provide: 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). // // If you choose to use __Key credentials__ you will have to provide: 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.
> **Note:** All arguments, including certificates and tokens, will be stored in the raw state as plain-text. ## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/pinpoint" "github.com/pulumi/pulumi-std/sdk/go/std" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { app, err := pinpoint.NewApp(ctx, "app", nil) if err != nil { return err } invokeFile, err := std.File(ctx, &std.FileArgs{ Input: "./certificate.pem", }, nil) if err != nil { return err } invokeFile1, err := std.File(ctx, &std.FileArgs{ Input: "./private_key.key", }, nil) if err != nil { return err } _, err = pinpoint.NewApnsChannel(ctx, "apns", &pinpoint.ApnsChannelArgs{ ApplicationId: app.ApplicationId, Certificate: pulumi.String(invokeFile.Result), PrivateKey: pulumi.String(invokeFile1.Result), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Pinpoint APNs Channel using the `application-id`. For example:
```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 ¶
func (*ApnsChannel) ElementType() reflect.Type
func (*ApnsChannel) ToApnsChannelOutput ¶
func (i *ApnsChannel) ToApnsChannelOutput() ApnsChannelOutput
func (*ApnsChannel) ToApnsChannelOutputWithContext ¶
func (i *ApnsChannel) ToApnsChannelOutputWithContext(ctx context.Context) ApnsChannelOutput
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. // // One of the following sets of credentials is also required. // // If you choose to use __Certificate credentials__ you will have to provide: DefaultAuthenticationMethod pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The Certificate Private Key file (ie. `.key` file). // // If you choose to use __Key credentials__ you will have to provide: 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 ¶
type ApnsChannelArray []ApnsChannelInput
func (ApnsChannelArray) ElementType ¶
func (ApnsChannelArray) ElementType() reflect.Type
func (ApnsChannelArray) ToApnsChannelArrayOutput ¶
func (i ApnsChannelArray) ToApnsChannelArrayOutput() ApnsChannelArrayOutput
func (ApnsChannelArray) ToApnsChannelArrayOutputWithContext ¶
func (i ApnsChannelArray) ToApnsChannelArrayOutputWithContext(ctx context.Context) ApnsChannelArrayOutput
type ApnsChannelArrayInput ¶
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 ¶
type ApnsChannelArrayOutput struct{ *pulumi.OutputState }
func (ApnsChannelArrayOutput) ElementType ¶
func (ApnsChannelArrayOutput) ElementType() reflect.Type
func (ApnsChannelArrayOutput) Index ¶
func (o ApnsChannelArrayOutput) Index(i pulumi.IntInput) ApnsChannelOutput
func (ApnsChannelArrayOutput) ToApnsChannelArrayOutput ¶
func (o ApnsChannelArrayOutput) ToApnsChannelArrayOutput() ApnsChannelArrayOutput
func (ApnsChannelArrayOutput) ToApnsChannelArrayOutputWithContext ¶
func (o ApnsChannelArrayOutput) ToApnsChannelArrayOutputWithContext(ctx context.Context) ApnsChannelArrayOutput
type ApnsChannelInput ¶
type ApnsChannelInput interface { pulumi.Input ToApnsChannelOutput() ApnsChannelOutput ToApnsChannelOutputWithContext(ctx context.Context) ApnsChannelOutput }
type ApnsChannelMap ¶
type ApnsChannelMap map[string]ApnsChannelInput
func (ApnsChannelMap) ElementType ¶
func (ApnsChannelMap) ElementType() reflect.Type
func (ApnsChannelMap) ToApnsChannelMapOutput ¶
func (i ApnsChannelMap) ToApnsChannelMapOutput() ApnsChannelMapOutput
func (ApnsChannelMap) ToApnsChannelMapOutputWithContext ¶
func (i ApnsChannelMap) ToApnsChannelMapOutputWithContext(ctx context.Context) ApnsChannelMapOutput
type ApnsChannelMapInput ¶
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 ¶
type ApnsChannelMapOutput struct{ *pulumi.OutputState }
func (ApnsChannelMapOutput) ElementType ¶
func (ApnsChannelMapOutput) ElementType() reflect.Type
func (ApnsChannelMapOutput) MapIndex ¶
func (o ApnsChannelMapOutput) MapIndex(k pulumi.StringInput) ApnsChannelOutput
func (ApnsChannelMapOutput) ToApnsChannelMapOutput ¶
func (o ApnsChannelMapOutput) ToApnsChannelMapOutput() ApnsChannelMapOutput
func (ApnsChannelMapOutput) ToApnsChannelMapOutputWithContext ¶
func (o ApnsChannelMapOutput) ToApnsChannelMapOutputWithContext(ctx context.Context) ApnsChannelMapOutput
type ApnsChannelOutput ¶
type ApnsChannelOutput struct{ *pulumi.OutputState }
func (ApnsChannelOutput) ApplicationId ¶
func (o ApnsChannelOutput) ApplicationId() pulumi.StringOutput
The application ID.
func (ApnsChannelOutput) BundleId ¶
func (o ApnsChannelOutput) BundleId() pulumi.StringPtrOutput
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.
func (ApnsChannelOutput) Certificate ¶
func (o ApnsChannelOutput) Certificate() pulumi.StringPtrOutput
The pem encoded TLS Certificate from Apple.
func (ApnsChannelOutput) DefaultAuthenticationMethod ¶
func (o ApnsChannelOutput) DefaultAuthenticationMethod() pulumi.StringPtrOutput
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.
One of the following sets of credentials is also required.
If you choose to use __Certificate credentials__ you will have to provide:
func (ApnsChannelOutput) ElementType ¶
func (ApnsChannelOutput) ElementType() reflect.Type
func (ApnsChannelOutput) Enabled ¶
func (o ApnsChannelOutput) Enabled() pulumi.BoolPtrOutput
Whether the channel is enabled or disabled. Defaults to `true`.
func (ApnsChannelOutput) PrivateKey ¶
func (o ApnsChannelOutput) PrivateKey() pulumi.StringPtrOutput
The Certificate Private Key file (ie. `.key` file).
If you choose to use __Key credentials__ you will have to provide:
func (ApnsChannelOutput) TeamId ¶
func (o ApnsChannelOutput) TeamId() pulumi.StringPtrOutput
The ID assigned to your Apple developer account team. This value is provided on the Membership page.
func (ApnsChannelOutput) ToApnsChannelOutput ¶
func (o ApnsChannelOutput) ToApnsChannelOutput() ApnsChannelOutput
func (ApnsChannelOutput) ToApnsChannelOutputWithContext ¶
func (o ApnsChannelOutput) ToApnsChannelOutputWithContext(ctx context.Context) ApnsChannelOutput
func (ApnsChannelOutput) TokenKey ¶
func (o ApnsChannelOutput) TokenKey() pulumi.StringPtrOutput
The `.p8` file that you download from your Apple developer account when you create an authentication key.
func (ApnsChannelOutput) TokenKeyId ¶
func (o ApnsChannelOutput) TokenKeyId() pulumi.StringPtrOutput
The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section.
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. // // One of the following sets of credentials is also required. // // If you choose to use __Certificate credentials__ you will have to provide: DefaultAuthenticationMethod pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The Certificate Private Key file (ie. `.key` file). // // If you choose to use __Key credentials__ you will have to provide: 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. // // One of the following sets of credentials is also required. // // If you choose to use __Certificate credentials__ you will have to provide: 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). // // If you choose to use __Key credentials__ you will have to provide: 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.
> **Note:** All arguments, including certificates and tokens, will be stored in the raw state as plain-text. ## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/pinpoint" "github.com/pulumi/pulumi-std/sdk/go/std" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { app, err := pinpoint.NewApp(ctx, "app", nil) if err != nil { return err } invokeFile, err := std.File(ctx, &std.FileArgs{ Input: "./certificate.pem", }, nil) if err != nil { return err } invokeFile1, err := std.File(ctx, &std.FileArgs{ Input: "./private_key.key", }, nil) if err != nil { return err } _, err = pinpoint.NewApnsSandboxChannel(ctx, "apns_sandbox", &pinpoint.ApnsSandboxChannelArgs{ ApplicationId: app.ApplicationId, Certificate: pulumi.String(invokeFile.Result), PrivateKey: pulumi.String(invokeFile1.Result), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Pinpoint APNs Sandbox Channel using the `application-id`. For example:
```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 ¶
func (*ApnsSandboxChannel) ElementType() reflect.Type
func (*ApnsSandboxChannel) ToApnsSandboxChannelOutput ¶
func (i *ApnsSandboxChannel) ToApnsSandboxChannelOutput() ApnsSandboxChannelOutput
func (*ApnsSandboxChannel) ToApnsSandboxChannelOutputWithContext ¶
func (i *ApnsSandboxChannel) ToApnsSandboxChannelOutputWithContext(ctx context.Context) ApnsSandboxChannelOutput
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. // // One of the following sets of credentials is also required. // // If you choose to use __Certificate credentials__ you will have to provide: DefaultAuthenticationMethod pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The Certificate Private Key file (ie. `.key` file). // // If you choose to use __Key credentials__ you will have to provide: 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 ¶
type ApnsSandboxChannelArray []ApnsSandboxChannelInput
func (ApnsSandboxChannelArray) ElementType ¶
func (ApnsSandboxChannelArray) ElementType() reflect.Type
func (ApnsSandboxChannelArray) ToApnsSandboxChannelArrayOutput ¶
func (i ApnsSandboxChannelArray) ToApnsSandboxChannelArrayOutput() ApnsSandboxChannelArrayOutput
func (ApnsSandboxChannelArray) ToApnsSandboxChannelArrayOutputWithContext ¶
func (i ApnsSandboxChannelArray) ToApnsSandboxChannelArrayOutputWithContext(ctx context.Context) ApnsSandboxChannelArrayOutput
type ApnsSandboxChannelArrayInput ¶
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 ¶
type ApnsSandboxChannelArrayOutput struct{ *pulumi.OutputState }
func (ApnsSandboxChannelArrayOutput) ElementType ¶
func (ApnsSandboxChannelArrayOutput) ElementType() reflect.Type
func (ApnsSandboxChannelArrayOutput) Index ¶
func (o ApnsSandboxChannelArrayOutput) Index(i pulumi.IntInput) ApnsSandboxChannelOutput
func (ApnsSandboxChannelArrayOutput) ToApnsSandboxChannelArrayOutput ¶
func (o ApnsSandboxChannelArrayOutput) ToApnsSandboxChannelArrayOutput() ApnsSandboxChannelArrayOutput
func (ApnsSandboxChannelArrayOutput) ToApnsSandboxChannelArrayOutputWithContext ¶
func (o ApnsSandboxChannelArrayOutput) ToApnsSandboxChannelArrayOutputWithContext(ctx context.Context) ApnsSandboxChannelArrayOutput
type ApnsSandboxChannelInput ¶
type ApnsSandboxChannelInput interface { pulumi.Input ToApnsSandboxChannelOutput() ApnsSandboxChannelOutput ToApnsSandboxChannelOutputWithContext(ctx context.Context) ApnsSandboxChannelOutput }
type ApnsSandboxChannelMap ¶
type ApnsSandboxChannelMap map[string]ApnsSandboxChannelInput
func (ApnsSandboxChannelMap) ElementType ¶
func (ApnsSandboxChannelMap) ElementType() reflect.Type
func (ApnsSandboxChannelMap) ToApnsSandboxChannelMapOutput ¶
func (i ApnsSandboxChannelMap) ToApnsSandboxChannelMapOutput() ApnsSandboxChannelMapOutput
func (ApnsSandboxChannelMap) ToApnsSandboxChannelMapOutputWithContext ¶
func (i ApnsSandboxChannelMap) ToApnsSandboxChannelMapOutputWithContext(ctx context.Context) ApnsSandboxChannelMapOutput
type ApnsSandboxChannelMapInput ¶
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 ¶
type ApnsSandboxChannelMapOutput struct{ *pulumi.OutputState }
func (ApnsSandboxChannelMapOutput) ElementType ¶
func (ApnsSandboxChannelMapOutput) ElementType() reflect.Type
func (ApnsSandboxChannelMapOutput) MapIndex ¶
func (o ApnsSandboxChannelMapOutput) MapIndex(k pulumi.StringInput) ApnsSandboxChannelOutput
func (ApnsSandboxChannelMapOutput) ToApnsSandboxChannelMapOutput ¶
func (o ApnsSandboxChannelMapOutput) ToApnsSandboxChannelMapOutput() ApnsSandboxChannelMapOutput
func (ApnsSandboxChannelMapOutput) ToApnsSandboxChannelMapOutputWithContext ¶
func (o ApnsSandboxChannelMapOutput) ToApnsSandboxChannelMapOutputWithContext(ctx context.Context) ApnsSandboxChannelMapOutput
type ApnsSandboxChannelOutput ¶
type ApnsSandboxChannelOutput struct{ *pulumi.OutputState }
func (ApnsSandboxChannelOutput) ApplicationId ¶
func (o ApnsSandboxChannelOutput) ApplicationId() pulumi.StringOutput
The application ID.
func (ApnsSandboxChannelOutput) BundleId ¶
func (o ApnsSandboxChannelOutput) BundleId() pulumi.StringPtrOutput
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.
func (ApnsSandboxChannelOutput) Certificate ¶
func (o ApnsSandboxChannelOutput) Certificate() pulumi.StringPtrOutput
The pem encoded TLS Certificate from Apple.
func (ApnsSandboxChannelOutput) DefaultAuthenticationMethod ¶
func (o ApnsSandboxChannelOutput) DefaultAuthenticationMethod() pulumi.StringPtrOutput
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.
One of the following sets of credentials is also required.
If you choose to use __Certificate credentials__ you will have to provide:
func (ApnsSandboxChannelOutput) ElementType ¶
func (ApnsSandboxChannelOutput) ElementType() reflect.Type
func (ApnsSandboxChannelOutput) Enabled ¶
func (o ApnsSandboxChannelOutput) Enabled() pulumi.BoolPtrOutput
Whether the channel is enabled or disabled. Defaults to `true`.
func (ApnsSandboxChannelOutput) PrivateKey ¶
func (o ApnsSandboxChannelOutput) PrivateKey() pulumi.StringPtrOutput
The Certificate Private Key file (ie. `.key` file).
If you choose to use __Key credentials__ you will have to provide:
func (ApnsSandboxChannelOutput) TeamId ¶
func (o ApnsSandboxChannelOutput) TeamId() pulumi.StringPtrOutput
The ID assigned to your Apple developer account team. This value is provided on the Membership page.
func (ApnsSandboxChannelOutput) ToApnsSandboxChannelOutput ¶
func (o ApnsSandboxChannelOutput) ToApnsSandboxChannelOutput() ApnsSandboxChannelOutput
func (ApnsSandboxChannelOutput) ToApnsSandboxChannelOutputWithContext ¶
func (o ApnsSandboxChannelOutput) ToApnsSandboxChannelOutputWithContext(ctx context.Context) ApnsSandboxChannelOutput
func (ApnsSandboxChannelOutput) TokenKey ¶
func (o ApnsSandboxChannelOutput) TokenKey() pulumi.StringPtrOutput
The `.p8` file that you download from your Apple developer account when you create an authentication key.
func (ApnsSandboxChannelOutput) TokenKeyId ¶
func (o ApnsSandboxChannelOutput) TokenKeyId() pulumi.StringPtrOutput
The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section.
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. // // One of the following sets of credentials is also required. // // If you choose to use __Certificate credentials__ you will have to provide: DefaultAuthenticationMethod pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The Certificate Private Key file (ie. `.key` file). // // If you choose to use __Key credentials__ you will have to provide: 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. // // One of the following sets of credentials is also required. // // If you choose to use __Certificate credentials__ you will have to provide: 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). // // If you choose to use __Key credentials__ you will have to provide: 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.
> **Note:** All arguments, including certificates and tokens, will be stored in the raw state as plain-text. ## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/pinpoint" "github.com/pulumi/pulumi-std/sdk/go/std" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { app, err := pinpoint.NewApp(ctx, "app", nil) if err != nil { return err } invokeFile, err := std.File(ctx, &std.FileArgs{ Input: "./certificate.pem", }, nil) if err != nil { return err } invokeFile1, err := std.File(ctx, &std.FileArgs{ Input: "./private_key.key", }, nil) if err != nil { return err } _, err = pinpoint.NewApnsVoipChannel(ctx, "apns_voip", &pinpoint.ApnsVoipChannelArgs{ ApplicationId: app.ApplicationId, Certificate: pulumi.String(invokeFile.Result), PrivateKey: pulumi.String(invokeFile1.Result), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Pinpoint APNs VoIP Channel using the `application-id`. For example:
```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 ¶
func (*ApnsVoipChannel) ElementType() reflect.Type
func (*ApnsVoipChannel) ToApnsVoipChannelOutput ¶
func (i *ApnsVoipChannel) ToApnsVoipChannelOutput() ApnsVoipChannelOutput
func (*ApnsVoipChannel) ToApnsVoipChannelOutputWithContext ¶
func (i *ApnsVoipChannel) ToApnsVoipChannelOutputWithContext(ctx context.Context) ApnsVoipChannelOutput
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. // // One of the following sets of credentials is also required. // // If you choose to use __Certificate credentials__ you will have to provide: DefaultAuthenticationMethod pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The Certificate Private Key file (ie. `.key` file). // // If you choose to use __Key credentials__ you will have to provide: 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 ¶
type ApnsVoipChannelArray []ApnsVoipChannelInput
func (ApnsVoipChannelArray) ElementType ¶
func (ApnsVoipChannelArray) ElementType() reflect.Type
func (ApnsVoipChannelArray) ToApnsVoipChannelArrayOutput ¶
func (i ApnsVoipChannelArray) ToApnsVoipChannelArrayOutput() ApnsVoipChannelArrayOutput
func (ApnsVoipChannelArray) ToApnsVoipChannelArrayOutputWithContext ¶
func (i ApnsVoipChannelArray) ToApnsVoipChannelArrayOutputWithContext(ctx context.Context) ApnsVoipChannelArrayOutput
type ApnsVoipChannelArrayInput ¶
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 ¶
type ApnsVoipChannelArrayOutput struct{ *pulumi.OutputState }
func (ApnsVoipChannelArrayOutput) ElementType ¶
func (ApnsVoipChannelArrayOutput) ElementType() reflect.Type
func (ApnsVoipChannelArrayOutput) Index ¶
func (o ApnsVoipChannelArrayOutput) Index(i pulumi.IntInput) ApnsVoipChannelOutput
func (ApnsVoipChannelArrayOutput) ToApnsVoipChannelArrayOutput ¶
func (o ApnsVoipChannelArrayOutput) ToApnsVoipChannelArrayOutput() ApnsVoipChannelArrayOutput
func (ApnsVoipChannelArrayOutput) ToApnsVoipChannelArrayOutputWithContext ¶
func (o ApnsVoipChannelArrayOutput) ToApnsVoipChannelArrayOutputWithContext(ctx context.Context) ApnsVoipChannelArrayOutput
type ApnsVoipChannelInput ¶
type ApnsVoipChannelInput interface { pulumi.Input ToApnsVoipChannelOutput() ApnsVoipChannelOutput ToApnsVoipChannelOutputWithContext(ctx context.Context) ApnsVoipChannelOutput }
type ApnsVoipChannelMap ¶
type ApnsVoipChannelMap map[string]ApnsVoipChannelInput
func (ApnsVoipChannelMap) ElementType ¶
func (ApnsVoipChannelMap) ElementType() reflect.Type
func (ApnsVoipChannelMap) ToApnsVoipChannelMapOutput ¶
func (i ApnsVoipChannelMap) ToApnsVoipChannelMapOutput() ApnsVoipChannelMapOutput
func (ApnsVoipChannelMap) ToApnsVoipChannelMapOutputWithContext ¶
func (i ApnsVoipChannelMap) ToApnsVoipChannelMapOutputWithContext(ctx context.Context) ApnsVoipChannelMapOutput
type ApnsVoipChannelMapInput ¶
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 ¶
type ApnsVoipChannelMapOutput struct{ *pulumi.OutputState }
func (ApnsVoipChannelMapOutput) ElementType ¶
func (ApnsVoipChannelMapOutput) ElementType() reflect.Type
func (ApnsVoipChannelMapOutput) MapIndex ¶
func (o ApnsVoipChannelMapOutput) MapIndex(k pulumi.StringInput) ApnsVoipChannelOutput
func (ApnsVoipChannelMapOutput) ToApnsVoipChannelMapOutput ¶
func (o ApnsVoipChannelMapOutput) ToApnsVoipChannelMapOutput() ApnsVoipChannelMapOutput
func (ApnsVoipChannelMapOutput) ToApnsVoipChannelMapOutputWithContext ¶
func (o ApnsVoipChannelMapOutput) ToApnsVoipChannelMapOutputWithContext(ctx context.Context) ApnsVoipChannelMapOutput
type ApnsVoipChannelOutput ¶
type ApnsVoipChannelOutput struct{ *pulumi.OutputState }
func (ApnsVoipChannelOutput) ApplicationId ¶
func (o ApnsVoipChannelOutput) ApplicationId() pulumi.StringOutput
The application ID.
func (ApnsVoipChannelOutput) BundleId ¶
func (o ApnsVoipChannelOutput) BundleId() pulumi.StringPtrOutput
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.
func (ApnsVoipChannelOutput) Certificate ¶
func (o ApnsVoipChannelOutput) Certificate() pulumi.StringPtrOutput
The pem encoded TLS Certificate from Apple.
func (ApnsVoipChannelOutput) DefaultAuthenticationMethod ¶
func (o ApnsVoipChannelOutput) DefaultAuthenticationMethod() pulumi.StringPtrOutput
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.
One of the following sets of credentials is also required.
If you choose to use __Certificate credentials__ you will have to provide:
func (ApnsVoipChannelOutput) ElementType ¶
func (ApnsVoipChannelOutput) ElementType() reflect.Type
func (ApnsVoipChannelOutput) Enabled ¶
func (o ApnsVoipChannelOutput) Enabled() pulumi.BoolPtrOutput
Whether the channel is enabled or disabled. Defaults to `true`.
func (ApnsVoipChannelOutput) PrivateKey ¶
func (o ApnsVoipChannelOutput) PrivateKey() pulumi.StringPtrOutput
The Certificate Private Key file (ie. `.key` file).
If you choose to use __Key credentials__ you will have to provide:
func (ApnsVoipChannelOutput) TeamId ¶
func (o ApnsVoipChannelOutput) TeamId() pulumi.StringPtrOutput
The ID assigned to your Apple developer account team. This value is provided on the Membership page.
func (ApnsVoipChannelOutput) ToApnsVoipChannelOutput ¶
func (o ApnsVoipChannelOutput) ToApnsVoipChannelOutput() ApnsVoipChannelOutput
func (ApnsVoipChannelOutput) ToApnsVoipChannelOutputWithContext ¶
func (o ApnsVoipChannelOutput) ToApnsVoipChannelOutputWithContext(ctx context.Context) ApnsVoipChannelOutput
func (ApnsVoipChannelOutput) TokenKey ¶
func (o ApnsVoipChannelOutput) TokenKey() pulumi.StringPtrOutput
The `.p8` file that you download from your Apple developer account when you create an authentication key.
func (ApnsVoipChannelOutput) TokenKeyId ¶
func (o ApnsVoipChannelOutput) TokenKeyId() pulumi.StringPtrOutput
The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section.
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. // // One of the following sets of credentials is also required. // // If you choose to use __Certificate credentials__ you will have to provide: DefaultAuthenticationMethod pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The Certificate Private Key file (ie. `.key` file). // // If you choose to use __Key credentials__ you will have to provide: 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. // // One of the following sets of credentials is also required. // // If you choose to use __Certificate credentials__ you will have to provide: 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). // // If you choose to use __Key credentials__ you will have to provide: 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.
> **Note:** All arguments, including certificates and tokens, will be stored in the raw state as plain-text. ## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/pinpoint" "github.com/pulumi/pulumi-std/sdk/go/std" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { app, err := pinpoint.NewApp(ctx, "app", nil) if err != nil { return err } invokeFile, err := std.File(ctx, &std.FileArgs{ Input: "./certificate.pem", }, nil) if err != nil { return err } invokeFile1, err := std.File(ctx, &std.FileArgs{ Input: "./private_key.key", }, nil) if err != nil { return err } _, err = pinpoint.NewApnsVoipSandboxChannel(ctx, "apns_voip_sandbox", &pinpoint.ApnsVoipSandboxChannelArgs{ ApplicationId: app.ApplicationId, Certificate: pulumi.String(invokeFile.Result), PrivateKey: pulumi.String(invokeFile1.Result), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Pinpoint APNs VoIP Sandbox Channel using the `application-id`. For example:
```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 ¶
func (*ApnsVoipSandboxChannel) ElementType() reflect.Type
func (*ApnsVoipSandboxChannel) ToApnsVoipSandboxChannelOutput ¶
func (i *ApnsVoipSandboxChannel) ToApnsVoipSandboxChannelOutput() ApnsVoipSandboxChannelOutput
func (*ApnsVoipSandboxChannel) ToApnsVoipSandboxChannelOutputWithContext ¶
func (i *ApnsVoipSandboxChannel) ToApnsVoipSandboxChannelOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelOutput
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. // // One of the following sets of credentials is also required. // // If you choose to use __Certificate credentials__ you will have to provide: DefaultAuthenticationMethod pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The Certificate Private Key file (ie. `.key` file). // // If you choose to use __Key credentials__ you will have to provide: 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 ¶
type ApnsVoipSandboxChannelArray []ApnsVoipSandboxChannelInput
func (ApnsVoipSandboxChannelArray) ElementType ¶
func (ApnsVoipSandboxChannelArray) ElementType() reflect.Type
func (ApnsVoipSandboxChannelArray) ToApnsVoipSandboxChannelArrayOutput ¶
func (i ApnsVoipSandboxChannelArray) ToApnsVoipSandboxChannelArrayOutput() ApnsVoipSandboxChannelArrayOutput
func (ApnsVoipSandboxChannelArray) ToApnsVoipSandboxChannelArrayOutputWithContext ¶
func (i ApnsVoipSandboxChannelArray) ToApnsVoipSandboxChannelArrayOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelArrayOutput
type ApnsVoipSandboxChannelArrayInput ¶
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 ¶
type ApnsVoipSandboxChannelArrayOutput struct{ *pulumi.OutputState }
func (ApnsVoipSandboxChannelArrayOutput) ElementType ¶
func (ApnsVoipSandboxChannelArrayOutput) ElementType() reflect.Type
func (ApnsVoipSandboxChannelArrayOutput) Index ¶
func (o ApnsVoipSandboxChannelArrayOutput) Index(i pulumi.IntInput) ApnsVoipSandboxChannelOutput
func (ApnsVoipSandboxChannelArrayOutput) ToApnsVoipSandboxChannelArrayOutput ¶
func (o ApnsVoipSandboxChannelArrayOutput) ToApnsVoipSandboxChannelArrayOutput() ApnsVoipSandboxChannelArrayOutput
func (ApnsVoipSandboxChannelArrayOutput) ToApnsVoipSandboxChannelArrayOutputWithContext ¶
func (o ApnsVoipSandboxChannelArrayOutput) ToApnsVoipSandboxChannelArrayOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelArrayOutput
type ApnsVoipSandboxChannelInput ¶
type ApnsVoipSandboxChannelInput interface { pulumi.Input ToApnsVoipSandboxChannelOutput() ApnsVoipSandboxChannelOutput ToApnsVoipSandboxChannelOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelOutput }
type ApnsVoipSandboxChannelMap ¶
type ApnsVoipSandboxChannelMap map[string]ApnsVoipSandboxChannelInput
func (ApnsVoipSandboxChannelMap) ElementType ¶
func (ApnsVoipSandboxChannelMap) ElementType() reflect.Type
func (ApnsVoipSandboxChannelMap) ToApnsVoipSandboxChannelMapOutput ¶
func (i ApnsVoipSandboxChannelMap) ToApnsVoipSandboxChannelMapOutput() ApnsVoipSandboxChannelMapOutput
func (ApnsVoipSandboxChannelMap) ToApnsVoipSandboxChannelMapOutputWithContext ¶
func (i ApnsVoipSandboxChannelMap) ToApnsVoipSandboxChannelMapOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelMapOutput
type ApnsVoipSandboxChannelMapInput ¶
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 ¶
type ApnsVoipSandboxChannelMapOutput struct{ *pulumi.OutputState }
func (ApnsVoipSandboxChannelMapOutput) ElementType ¶
func (ApnsVoipSandboxChannelMapOutput) ElementType() reflect.Type
func (ApnsVoipSandboxChannelMapOutput) MapIndex ¶
func (o ApnsVoipSandboxChannelMapOutput) MapIndex(k pulumi.StringInput) ApnsVoipSandboxChannelOutput
func (ApnsVoipSandboxChannelMapOutput) ToApnsVoipSandboxChannelMapOutput ¶
func (o ApnsVoipSandboxChannelMapOutput) ToApnsVoipSandboxChannelMapOutput() ApnsVoipSandboxChannelMapOutput
func (ApnsVoipSandboxChannelMapOutput) ToApnsVoipSandboxChannelMapOutputWithContext ¶
func (o ApnsVoipSandboxChannelMapOutput) ToApnsVoipSandboxChannelMapOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelMapOutput
type ApnsVoipSandboxChannelOutput ¶
type ApnsVoipSandboxChannelOutput struct{ *pulumi.OutputState }
func (ApnsVoipSandboxChannelOutput) ApplicationId ¶
func (o ApnsVoipSandboxChannelOutput) ApplicationId() pulumi.StringOutput
The application ID.
func (ApnsVoipSandboxChannelOutput) BundleId ¶
func (o ApnsVoipSandboxChannelOutput) BundleId() pulumi.StringPtrOutput
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.
func (ApnsVoipSandboxChannelOutput) Certificate ¶
func (o ApnsVoipSandboxChannelOutput) Certificate() pulumi.StringPtrOutput
The pem encoded TLS Certificate from Apple.
func (ApnsVoipSandboxChannelOutput) DefaultAuthenticationMethod ¶
func (o ApnsVoipSandboxChannelOutput) DefaultAuthenticationMethod() pulumi.StringPtrOutput
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.
One of the following sets of credentials is also required.
If you choose to use __Certificate credentials__ you will have to provide:
func (ApnsVoipSandboxChannelOutput) ElementType ¶
func (ApnsVoipSandboxChannelOutput) ElementType() reflect.Type
func (ApnsVoipSandboxChannelOutput) Enabled ¶
func (o ApnsVoipSandboxChannelOutput) Enabled() pulumi.BoolPtrOutput
Whether the channel is enabled or disabled. Defaults to `true`.
func (ApnsVoipSandboxChannelOutput) PrivateKey ¶
func (o ApnsVoipSandboxChannelOutput) PrivateKey() pulumi.StringPtrOutput
The Certificate Private Key file (ie. `.key` file).
If you choose to use __Key credentials__ you will have to provide:
func (ApnsVoipSandboxChannelOutput) TeamId ¶
func (o ApnsVoipSandboxChannelOutput) TeamId() pulumi.StringPtrOutput
The ID assigned to your Apple developer account team. This value is provided on the Membership page.
func (ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelOutput ¶
func (o ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelOutput() ApnsVoipSandboxChannelOutput
func (ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelOutputWithContext ¶
func (o ApnsVoipSandboxChannelOutput) ToApnsVoipSandboxChannelOutputWithContext(ctx context.Context) ApnsVoipSandboxChannelOutput
func (ApnsVoipSandboxChannelOutput) TokenKey ¶
func (o ApnsVoipSandboxChannelOutput) TokenKey() pulumi.StringPtrOutput
The `.p8` file that you download from your Apple developer account when you create an authentication key.
func (ApnsVoipSandboxChannelOutput) TokenKeyId ¶
func (o ApnsVoipSandboxChannelOutput) TokenKeyId() pulumi.StringPtrOutput
The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section.
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. // // One of the following sets of credentials is also required. // // If you choose to use __Certificate credentials__ you will have to provide: DefaultAuthenticationMethod pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The Certificate Private Key file (ie. `.key` file). // // If you choose to use __Key credentials__ you will have to provide: 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"` // Specifies settings for invoking an AWS Lambda function that customizes a segment for a campaign 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 Pulumi Name pulumi.StringOutput `pulumi:"name"` // The name of the Pinpoint application. Conflicts with `name` NamePrefix pulumi.StringOutput `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. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Provides a Pinpoint App resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/pinpoint" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := pinpoint.NewApp(ctx, "example", &pinpoint.AppArgs{ Name: pulumi.String("test-app"), Limits: &pinpoint.AppLimitsArgs{ MaximumDuration: pulumi.Int(600), }, QuietTime: &pinpoint.AppQuietTimeArgs{ Start: pulumi.String("00:00"), End: pulumi.String("06:00"), }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Pinpoint App using the `application-id`. For example:
```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 ¶
func (*App) ToAppOutput ¶
type AppArgs ¶
type AppArgs struct { // Specifies settings for invoking an AWS Lambda function that customizes a segment for a campaign 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 Pulumi 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. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a App resource.
func (AppArgs) ElementType ¶
type AppArray ¶
type AppArray []AppInput
func (AppArray) ElementType ¶
func (AppArray) ToAppArrayOutput ¶
func (i AppArray) ToAppArrayOutput() AppArrayOutput
func (AppArray) ToAppArrayOutputWithContext ¶
func (i AppArray) ToAppArrayOutputWithContext(ctx context.Context) AppArrayOutput
type AppArrayInput ¶
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 ¶
type AppArrayOutput struct{ *pulumi.OutputState }
func (AppArrayOutput) ElementType ¶
func (AppArrayOutput) ElementType() reflect.Type
func (AppArrayOutput) ToAppArrayOutput ¶
func (o AppArrayOutput) ToAppArrayOutput() AppArrayOutput
func (AppArrayOutput) ToAppArrayOutputWithContext ¶
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 ¶
func (AppMap) ElementType ¶
func (AppMap) ToAppMapOutput ¶
func (i AppMap) ToAppMapOutput() AppMapOutput
func (AppMap) ToAppMapOutputWithContext ¶
func (i AppMap) ToAppMapOutputWithContext(ctx context.Context) AppMapOutput
type AppMapInput ¶
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 ¶
type AppMapOutput struct{ *pulumi.OutputState }
func (AppMapOutput) ElementType ¶
func (AppMapOutput) ElementType() reflect.Type
func (AppMapOutput) MapIndex ¶
func (o AppMapOutput) MapIndex(k pulumi.StringInput) AppOutput
func (AppMapOutput) ToAppMapOutput ¶
func (o AppMapOutput) ToAppMapOutput() AppMapOutput
func (AppMapOutput) ToAppMapOutputWithContext ¶
func (o AppMapOutput) ToAppMapOutputWithContext(ctx context.Context) AppMapOutput
type AppOutput ¶
type AppOutput struct{ *pulumi.OutputState }
func (AppOutput) ApplicationId ¶
func (o AppOutput) ApplicationId() pulumi.StringOutput
The Application ID of the Pinpoint App.
func (AppOutput) Arn ¶
func (o AppOutput) Arn() pulumi.StringOutput
Amazon Resource Name (ARN) of the PinPoint Application
func (AppOutput) CampaignHook ¶
func (o AppOutput) CampaignHook() AppCampaignHookPtrOutput
Specifies settings for invoking an AWS Lambda function that customizes a segment for a campaign
func (AppOutput) ElementType ¶
func (AppOutput) Limits ¶
func (o AppOutput) Limits() AppLimitsPtrOutput
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
func (AppOutput) Name ¶
func (o AppOutput) Name() pulumi.StringOutput
The application name. By default generated by Pulumi
func (AppOutput) NamePrefix ¶
func (o AppOutput) NamePrefix() pulumi.StringOutput
The name of the Pinpoint application. Conflicts with `name`
func (AppOutput) QuietTime ¶
func (o AppOutput) QuietTime() AppQuietTimePtrOutput
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
func (AppOutput) Tags ¶
func (o AppOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (AppOutput) TagsAll
deprecated
func (o AppOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (AppOutput) ToAppOutput ¶
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 // Specifies settings for invoking an AWS Lambda function that customizes a segment for a campaign 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 Pulumi 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. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput }
func (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.
> **Note:** All arguments including the Api Key and Secret Key will be stored in the raw state as plain-text. ## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/pinpoint" "github.com/pulumi/pulumi/sdk/v3/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
Using `pulumi import`, import Pinpoint Baidu Channel using the `application-id`. For example:
```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 ¶
func (*BaiduChannel) ElementType() reflect.Type
func (*BaiduChannel) ToBaiduChannelOutput ¶
func (i *BaiduChannel) ToBaiduChannelOutput() BaiduChannelOutput
func (*BaiduChannel) ToBaiduChannelOutputWithContext ¶
func (i *BaiduChannel) ToBaiduChannelOutputWithContext(ctx context.Context) BaiduChannelOutput
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 ¶
type BaiduChannelArray []BaiduChannelInput
func (BaiduChannelArray) ElementType ¶
func (BaiduChannelArray) ElementType() reflect.Type
func (BaiduChannelArray) ToBaiduChannelArrayOutput ¶
func (i BaiduChannelArray) ToBaiduChannelArrayOutput() BaiduChannelArrayOutput
func (BaiduChannelArray) ToBaiduChannelArrayOutputWithContext ¶
func (i BaiduChannelArray) ToBaiduChannelArrayOutputWithContext(ctx context.Context) BaiduChannelArrayOutput
type BaiduChannelArrayInput ¶
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 ¶
type BaiduChannelArrayOutput struct{ *pulumi.OutputState }
func (BaiduChannelArrayOutput) ElementType ¶
func (BaiduChannelArrayOutput) ElementType() reflect.Type
func (BaiduChannelArrayOutput) Index ¶
func (o BaiduChannelArrayOutput) Index(i pulumi.IntInput) BaiduChannelOutput
func (BaiduChannelArrayOutput) ToBaiduChannelArrayOutput ¶
func (o BaiduChannelArrayOutput) ToBaiduChannelArrayOutput() BaiduChannelArrayOutput
func (BaiduChannelArrayOutput) ToBaiduChannelArrayOutputWithContext ¶
func (o BaiduChannelArrayOutput) ToBaiduChannelArrayOutputWithContext(ctx context.Context) BaiduChannelArrayOutput
type BaiduChannelInput ¶
type BaiduChannelInput interface { pulumi.Input ToBaiduChannelOutput() BaiduChannelOutput ToBaiduChannelOutputWithContext(ctx context.Context) BaiduChannelOutput }
type BaiduChannelMap ¶
type BaiduChannelMap map[string]BaiduChannelInput
func (BaiduChannelMap) ElementType ¶
func (BaiduChannelMap) ElementType() reflect.Type
func (BaiduChannelMap) ToBaiduChannelMapOutput ¶
func (i BaiduChannelMap) ToBaiduChannelMapOutput() BaiduChannelMapOutput
func (BaiduChannelMap) ToBaiduChannelMapOutputWithContext ¶
func (i BaiduChannelMap) ToBaiduChannelMapOutputWithContext(ctx context.Context) BaiduChannelMapOutput
type BaiduChannelMapInput ¶
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 ¶
type BaiduChannelMapOutput struct{ *pulumi.OutputState }
func (BaiduChannelMapOutput) ElementType ¶
func (BaiduChannelMapOutput) ElementType() reflect.Type
func (BaiduChannelMapOutput) MapIndex ¶
func (o BaiduChannelMapOutput) MapIndex(k pulumi.StringInput) BaiduChannelOutput
func (BaiduChannelMapOutput) ToBaiduChannelMapOutput ¶
func (o BaiduChannelMapOutput) ToBaiduChannelMapOutput() BaiduChannelMapOutput
func (BaiduChannelMapOutput) ToBaiduChannelMapOutputWithContext ¶
func (o BaiduChannelMapOutput) ToBaiduChannelMapOutputWithContext(ctx context.Context) BaiduChannelMapOutput
type BaiduChannelOutput ¶
type BaiduChannelOutput struct{ *pulumi.OutputState }
func (BaiduChannelOutput) ApiKey ¶
func (o BaiduChannelOutput) ApiKey() pulumi.StringOutput
Platform credential API key from Baidu.
func (BaiduChannelOutput) ApplicationId ¶
func (o BaiduChannelOutput) ApplicationId() pulumi.StringOutput
The application ID.
func (BaiduChannelOutput) ElementType ¶
func (BaiduChannelOutput) ElementType() reflect.Type
func (BaiduChannelOutput) Enabled ¶
func (o BaiduChannelOutput) Enabled() pulumi.BoolPtrOutput
Specifies whether to enable the channel. Defaults to `true`.
func (BaiduChannelOutput) SecretKey ¶
func (o BaiduChannelOutput) SecretKey() pulumi.StringOutput
Platform credential Secret key from Baidu.
func (BaiduChannelOutput) ToBaiduChannelOutput ¶
func (o BaiduChannelOutput) ToBaiduChannelOutput() BaiduChannelOutput
func (BaiduChannelOutput) ToBaiduChannelOutputWithContext ¶
func (o BaiduChannelOutput) ToBaiduChannelOutputWithContext(ctx context.Context) BaiduChannelOutput
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. You can use email only (`user@example.com`) or friendly address (`User <user@example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt). 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"` // *Deprecated* The ARN of an IAM Role used to submit events to Mobile Analytics' event ingestion service. RoleArn pulumi.StringPtrOutput `pulumi:"roleArn"` }
Provides a Pinpoint Email Channel resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/pinpoint" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ses" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { app, err := pinpoint.NewApp(ctx, "app", nil) if err != nil { return err } assumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ { Effect: pulumi.StringRef("Allow"), Principals: []iam.GetPolicyDocumentStatementPrincipal{ { Type: "Service", Identifiers: []string{ "pinpoint.amazonaws.com", }, }, }, Actions: []string{ "sts:AssumeRole", }, }, }, }, nil) if err != nil { return err } role, err := iam.NewRole(ctx, "role", &iam.RoleArgs{ AssumeRolePolicy: pulumi.String(assumeRole.Json), }) if err != nil { return err } _, err = pinpoint.NewEmailChannel(ctx, "email", &pinpoint.EmailChannelArgs{ ApplicationId: app.ApplicationId, FromAddress: pulumi.String("user@example.com"), RoleArn: role.Arn, }) if err != nil { return err } _, err = ses.NewDomainIdentity(ctx, "identity", &ses.DomainIdentityArgs{ Domain: pulumi.String("example.com"), }) if err != nil { return err } rolePolicy, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ { Effect: pulumi.StringRef("Allow"), Actions: []string{ "mobileanalytics:PutEvents", "mobileanalytics:PutItems", }, Resources: []string{ "*", }, }, }, }, nil) if err != nil { return err } _, err = iam.NewRolePolicy(ctx, "role_policy", &iam.RolePolicyArgs{ Name: pulumi.String("role_policy"), Role: role.ID(), Policy: pulumi.String(rolePolicy.Json), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Pinpoint Email Channel using the `application-id`. For example:
```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 ¶
func (*EmailChannel) ElementType() reflect.Type
func (*EmailChannel) ToEmailChannelOutput ¶
func (i *EmailChannel) ToEmailChannelOutput() EmailChannelOutput
func (*EmailChannel) ToEmailChannelOutputWithContext ¶
func (i *EmailChannel) ToEmailChannelOutputWithContext(ctx context.Context) EmailChannelOutput
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. You can use email only (`user@example.com`) or friendly address (`User <user@example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt). FromAddress pulumi.StringInput // The ARN of an identity verified with SES. Identity pulumi.StringInput // *Deprecated* The ARN of an IAM Role used to submit events to Mobile Analytics' event ingestion service. RoleArn pulumi.StringPtrInput }
The set of arguments for constructing a EmailChannel resource.
func (EmailChannelArgs) ElementType ¶
func (EmailChannelArgs) ElementType() reflect.Type
type EmailChannelArray ¶
type EmailChannelArray []EmailChannelInput
func (EmailChannelArray) ElementType ¶
func (EmailChannelArray) ElementType() reflect.Type
func (EmailChannelArray) ToEmailChannelArrayOutput ¶
func (i EmailChannelArray) ToEmailChannelArrayOutput() EmailChannelArrayOutput
func (EmailChannelArray) ToEmailChannelArrayOutputWithContext ¶
func (i EmailChannelArray) ToEmailChannelArrayOutputWithContext(ctx context.Context) EmailChannelArrayOutput
type EmailChannelArrayInput ¶
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 ¶
type EmailChannelArrayOutput struct{ *pulumi.OutputState }
func (EmailChannelArrayOutput) ElementType ¶
func (EmailChannelArrayOutput) ElementType() reflect.Type
func (EmailChannelArrayOutput) Index ¶
func (o EmailChannelArrayOutput) Index(i pulumi.IntInput) EmailChannelOutput
func (EmailChannelArrayOutput) ToEmailChannelArrayOutput ¶
func (o EmailChannelArrayOutput) ToEmailChannelArrayOutput() EmailChannelArrayOutput
func (EmailChannelArrayOutput) ToEmailChannelArrayOutputWithContext ¶
func (o EmailChannelArrayOutput) ToEmailChannelArrayOutputWithContext(ctx context.Context) EmailChannelArrayOutput
type EmailChannelInput ¶
type EmailChannelInput interface { pulumi.Input ToEmailChannelOutput() EmailChannelOutput ToEmailChannelOutputWithContext(ctx context.Context) EmailChannelOutput }
type EmailChannelMap ¶
type EmailChannelMap map[string]EmailChannelInput
func (EmailChannelMap) ElementType ¶
func (EmailChannelMap) ElementType() reflect.Type
func (EmailChannelMap) ToEmailChannelMapOutput ¶
func (i EmailChannelMap) ToEmailChannelMapOutput() EmailChannelMapOutput
func (EmailChannelMap) ToEmailChannelMapOutputWithContext ¶
func (i EmailChannelMap) ToEmailChannelMapOutputWithContext(ctx context.Context) EmailChannelMapOutput
type EmailChannelMapInput ¶
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 ¶
type EmailChannelMapOutput struct{ *pulumi.OutputState }
func (EmailChannelMapOutput) ElementType ¶
func (EmailChannelMapOutput) ElementType() reflect.Type
func (EmailChannelMapOutput) MapIndex ¶
func (o EmailChannelMapOutput) MapIndex(k pulumi.StringInput) EmailChannelOutput
func (EmailChannelMapOutput) ToEmailChannelMapOutput ¶
func (o EmailChannelMapOutput) ToEmailChannelMapOutput() EmailChannelMapOutput
func (EmailChannelMapOutput) ToEmailChannelMapOutputWithContext ¶
func (o EmailChannelMapOutput) ToEmailChannelMapOutputWithContext(ctx context.Context) EmailChannelMapOutput
type EmailChannelOutput ¶
type EmailChannelOutput struct{ *pulumi.OutputState }
func (EmailChannelOutput) ApplicationId ¶
func (o EmailChannelOutput) ApplicationId() pulumi.StringOutput
The application ID.
func (EmailChannelOutput) ConfigurationSet ¶
func (o EmailChannelOutput) ConfigurationSet() pulumi.StringPtrOutput
The ARN of the Amazon SES configuration set that you want to apply to messages that you send through the channel.
func (EmailChannelOutput) ElementType ¶
func (EmailChannelOutput) ElementType() reflect.Type
func (EmailChannelOutput) Enabled ¶
func (o EmailChannelOutput) Enabled() pulumi.BoolPtrOutput
Whether the channel is enabled or disabled. Defaults to `true`.
func (EmailChannelOutput) FromAddress ¶
func (o EmailChannelOutput) FromAddress() pulumi.StringOutput
The email address used to send emails from. You can use email only (`user@example.com`) or friendly address (`User <user@example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt).
func (EmailChannelOutput) Identity ¶
func (o EmailChannelOutput) Identity() pulumi.StringOutput
The ARN of an identity verified with SES.
func (EmailChannelOutput) MessagesPerSecond ¶
func (o EmailChannelOutput) MessagesPerSecond() pulumi.IntOutput
Messages per second that can be sent.
func (EmailChannelOutput) RoleArn ¶
func (o EmailChannelOutput) RoleArn() pulumi.StringPtrOutput
*Deprecated* The ARN of an IAM Role used to submit events to Mobile Analytics' event ingestion service.
func (EmailChannelOutput) ToEmailChannelOutput ¶
func (o EmailChannelOutput) ToEmailChannelOutput() EmailChannelOutput
func (EmailChannelOutput) ToEmailChannelOutputWithContext ¶
func (o EmailChannelOutput) ToEmailChannelOutputWithContext(ctx context.Context) EmailChannelOutput
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. You can use email only (`user@example.com`) or friendly address (`User <user@example.com>`). This field comply with [RFC 5322](https://www.ietf.org/rfc/rfc5322.txt). FromAddress pulumi.StringPtrInput // The ARN of an identity verified with SES. Identity pulumi.StringPtrInput // Messages per second that can be sent. MessagesPerSecond pulumi.IntPtrInput // *Deprecated* 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 EmailTemplate ¶ added in v6.50.0
type EmailTemplate struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of the message template. Arn pulumi.StringOutput `pulumi:"arn"` // Specifies the content and settings for a message template that can be used in messages that are sent through the email channel. See Email Template EmailTemplates EmailTemplateEmailTemplateArrayOutput `pulumi:"emailTemplates"` Tags pulumi.StringMapOutput `pulumi:"tags"` // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive. TemplateName pulumi.StringOutput `pulumi:"templateName"` }
Provides a Pinpoint Email Template resource
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/pinpoint" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := pinpoint.NewEmailTemplate(ctx, "test", &pinpoint.EmailTemplateArgs{ TemplateName: pulumi.String("testing"), EmailTemplates: pinpoint.EmailTemplateEmailTemplateArray{ &pinpoint.EmailTemplateEmailTemplateArgs{ Subject: pulumi.String("testing"), TextPart: pulumi.String("we are testing template text part"), Headers: pinpoint.EmailTemplateEmailTemplateHeaderArray{ &pinpoint.EmailTemplateEmailTemplateHeaderArgs{ Name: pulumi.String("testingname"), Value: pulumi.String("testingvalue"), }, }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Pinpoint Email Template using the `template_name`. For example:
```sh $ pulumi import aws:pinpoint/emailTemplate:EmailTemplate reset template_name ```
func GetEmailTemplate ¶ added in v6.50.0
func GetEmailTemplate(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EmailTemplateState, opts ...pulumi.ResourceOption) (*EmailTemplate, error)
GetEmailTemplate gets an existing EmailTemplate 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 NewEmailTemplate ¶ added in v6.50.0
func NewEmailTemplate(ctx *pulumi.Context, name string, args *EmailTemplateArgs, opts ...pulumi.ResourceOption) (*EmailTemplate, error)
NewEmailTemplate registers a new resource with the given unique name, arguments, and options.
func (*EmailTemplate) ElementType ¶ added in v6.50.0
func (*EmailTemplate) ElementType() reflect.Type
func (*EmailTemplate) ToEmailTemplateOutput ¶ added in v6.50.0
func (i *EmailTemplate) ToEmailTemplateOutput() EmailTemplateOutput
func (*EmailTemplate) ToEmailTemplateOutputWithContext ¶ added in v6.50.0
func (i *EmailTemplate) ToEmailTemplateOutputWithContext(ctx context.Context) EmailTemplateOutput
type EmailTemplateArgs ¶ added in v6.50.0
type EmailTemplateArgs struct { // Specifies the content and settings for a message template that can be used in messages that are sent through the email channel. See Email Template EmailTemplates EmailTemplateEmailTemplateArrayInput Tags pulumi.StringMapInput // name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive. TemplateName pulumi.StringInput }
The set of arguments for constructing a EmailTemplate resource.
func (EmailTemplateArgs) ElementType ¶ added in v6.50.0
func (EmailTemplateArgs) ElementType() reflect.Type
type EmailTemplateArray ¶ added in v6.50.0
type EmailTemplateArray []EmailTemplateInput
func (EmailTemplateArray) ElementType ¶ added in v6.50.0
func (EmailTemplateArray) ElementType() reflect.Type
func (EmailTemplateArray) ToEmailTemplateArrayOutput ¶ added in v6.50.0
func (i EmailTemplateArray) ToEmailTemplateArrayOutput() EmailTemplateArrayOutput
func (EmailTemplateArray) ToEmailTemplateArrayOutputWithContext ¶ added in v6.50.0
func (i EmailTemplateArray) ToEmailTemplateArrayOutputWithContext(ctx context.Context) EmailTemplateArrayOutput
type EmailTemplateArrayInput ¶ added in v6.50.0
type EmailTemplateArrayInput interface { pulumi.Input ToEmailTemplateArrayOutput() EmailTemplateArrayOutput ToEmailTemplateArrayOutputWithContext(context.Context) EmailTemplateArrayOutput }
EmailTemplateArrayInput is an input type that accepts EmailTemplateArray and EmailTemplateArrayOutput values. You can construct a concrete instance of `EmailTemplateArrayInput` via:
EmailTemplateArray{ EmailTemplateArgs{...} }
type EmailTemplateArrayOutput ¶ added in v6.50.0
type EmailTemplateArrayOutput struct{ *pulumi.OutputState }
func (EmailTemplateArrayOutput) ElementType ¶ added in v6.50.0
func (EmailTemplateArrayOutput) ElementType() reflect.Type
func (EmailTemplateArrayOutput) Index ¶ added in v6.50.0
func (o EmailTemplateArrayOutput) Index(i pulumi.IntInput) EmailTemplateOutput
func (EmailTemplateArrayOutput) ToEmailTemplateArrayOutput ¶ added in v6.50.0
func (o EmailTemplateArrayOutput) ToEmailTemplateArrayOutput() EmailTemplateArrayOutput
func (EmailTemplateArrayOutput) ToEmailTemplateArrayOutputWithContext ¶ added in v6.50.0
func (o EmailTemplateArrayOutput) ToEmailTemplateArrayOutputWithContext(ctx context.Context) EmailTemplateArrayOutput
type EmailTemplateEmailTemplate ¶ added in v6.50.0
type EmailTemplateEmailTemplate struct { // JSON object that specifies the default values to use for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable. When you create a message that's based on the template, you can override these defaults with message-specific and address-specific variables and values. DefaultSubstitutions *string `pulumi:"defaultSubstitutions"` Description *string `pulumi:"description"` Headers []EmailTemplateEmailTemplateHeader `pulumi:"headers"` // The message body, in HTML format, to use in email messages that are based on the message template. We recommend using HTML format for email clients that render HTML content. You can include links, formatted text, and more in an HTML message. HtmlPart *string `pulumi:"htmlPart"` // The unique identifier for the recommender model to use for the message template. Amazon Pinpoint uses this value to determine how to retrieve and process data from a recommender model when it sends messages that use the template, if the template contains message variables for recommendation data. RecommenderId *string `pulumi:"recommenderId"` // Subject line, or title, to use in email messages that are based on the message template. Subject *string `pulumi:"subject"` // Message body, in plain text format, to use in email messages that are based on the message template. We recommend using plain text format for email clients that don't render HTML content and clients that are connected to high-latency networks, such as mobile devices. TextPart *string `pulumi:"textPart"` }
type EmailTemplateEmailTemplateArgs ¶ added in v6.50.0
type EmailTemplateEmailTemplateArgs struct { // JSON object that specifies the default values to use for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable. When you create a message that's based on the template, you can override these defaults with message-specific and address-specific variables and values. DefaultSubstitutions pulumi.StringPtrInput `pulumi:"defaultSubstitutions"` Description pulumi.StringPtrInput `pulumi:"description"` Headers EmailTemplateEmailTemplateHeaderArrayInput `pulumi:"headers"` // The message body, in HTML format, to use in email messages that are based on the message template. We recommend using HTML format for email clients that render HTML content. You can include links, formatted text, and more in an HTML message. HtmlPart pulumi.StringPtrInput `pulumi:"htmlPart"` // The unique identifier for the recommender model to use for the message template. Amazon Pinpoint uses this value to determine how to retrieve and process data from a recommender model when it sends messages that use the template, if the template contains message variables for recommendation data. RecommenderId pulumi.StringPtrInput `pulumi:"recommenderId"` // Subject line, or title, to use in email messages that are based on the message template. Subject pulumi.StringPtrInput `pulumi:"subject"` // Message body, in plain text format, to use in email messages that are based on the message template. We recommend using plain text format for email clients that don't render HTML content and clients that are connected to high-latency networks, such as mobile devices. TextPart pulumi.StringPtrInput `pulumi:"textPart"` }
func (EmailTemplateEmailTemplateArgs) ElementType ¶ added in v6.50.0
func (EmailTemplateEmailTemplateArgs) ElementType() reflect.Type
func (EmailTemplateEmailTemplateArgs) ToEmailTemplateEmailTemplateOutput ¶ added in v6.50.0
func (i EmailTemplateEmailTemplateArgs) ToEmailTemplateEmailTemplateOutput() EmailTemplateEmailTemplateOutput
func (EmailTemplateEmailTemplateArgs) ToEmailTemplateEmailTemplateOutputWithContext ¶ added in v6.50.0
func (i EmailTemplateEmailTemplateArgs) ToEmailTemplateEmailTemplateOutputWithContext(ctx context.Context) EmailTemplateEmailTemplateOutput
type EmailTemplateEmailTemplateArray ¶ added in v6.50.0
type EmailTemplateEmailTemplateArray []EmailTemplateEmailTemplateInput
func (EmailTemplateEmailTemplateArray) ElementType ¶ added in v6.50.0
func (EmailTemplateEmailTemplateArray) ElementType() reflect.Type
func (EmailTemplateEmailTemplateArray) ToEmailTemplateEmailTemplateArrayOutput ¶ added in v6.50.0
func (i EmailTemplateEmailTemplateArray) ToEmailTemplateEmailTemplateArrayOutput() EmailTemplateEmailTemplateArrayOutput
func (EmailTemplateEmailTemplateArray) ToEmailTemplateEmailTemplateArrayOutputWithContext ¶ added in v6.50.0
func (i EmailTemplateEmailTemplateArray) ToEmailTemplateEmailTemplateArrayOutputWithContext(ctx context.Context) EmailTemplateEmailTemplateArrayOutput
type EmailTemplateEmailTemplateArrayInput ¶ added in v6.50.0
type EmailTemplateEmailTemplateArrayInput interface { pulumi.Input ToEmailTemplateEmailTemplateArrayOutput() EmailTemplateEmailTemplateArrayOutput ToEmailTemplateEmailTemplateArrayOutputWithContext(context.Context) EmailTemplateEmailTemplateArrayOutput }
EmailTemplateEmailTemplateArrayInput is an input type that accepts EmailTemplateEmailTemplateArray and EmailTemplateEmailTemplateArrayOutput values. You can construct a concrete instance of `EmailTemplateEmailTemplateArrayInput` via:
EmailTemplateEmailTemplateArray{ EmailTemplateEmailTemplateArgs{...} }
type EmailTemplateEmailTemplateArrayOutput ¶ added in v6.50.0
type EmailTemplateEmailTemplateArrayOutput struct{ *pulumi.OutputState }
func (EmailTemplateEmailTemplateArrayOutput) ElementType ¶ added in v6.50.0
func (EmailTemplateEmailTemplateArrayOutput) ElementType() reflect.Type
func (EmailTemplateEmailTemplateArrayOutput) Index ¶ added in v6.50.0
func (o EmailTemplateEmailTemplateArrayOutput) Index(i pulumi.IntInput) EmailTemplateEmailTemplateOutput
func (EmailTemplateEmailTemplateArrayOutput) ToEmailTemplateEmailTemplateArrayOutput ¶ added in v6.50.0
func (o EmailTemplateEmailTemplateArrayOutput) ToEmailTemplateEmailTemplateArrayOutput() EmailTemplateEmailTemplateArrayOutput
func (EmailTemplateEmailTemplateArrayOutput) ToEmailTemplateEmailTemplateArrayOutputWithContext ¶ added in v6.50.0
func (o EmailTemplateEmailTemplateArrayOutput) ToEmailTemplateEmailTemplateArrayOutputWithContext(ctx context.Context) EmailTemplateEmailTemplateArrayOutput
type EmailTemplateEmailTemplateHeader ¶ added in v6.50.0
type EmailTemplateEmailTemplateHeader struct { // Name of the message header. The header name can contain up to 126 characters. Name *string `pulumi:"name"` // Value of the message header. The header value can contain up to 870 characters, including the length of any rendered attributes. For example if you add the {CreationDate} attribute, it renders as YYYY-MM-DDTHH:MM:SS.SSSZ and is 24 characters in length. Value *string `pulumi:"value"` }
type EmailTemplateEmailTemplateHeaderArgs ¶ added in v6.50.0
type EmailTemplateEmailTemplateHeaderArgs struct { // Name of the message header. The header name can contain up to 126 characters. Name pulumi.StringPtrInput `pulumi:"name"` // Value of the message header. The header value can contain up to 870 characters, including the length of any rendered attributes. For example if you add the {CreationDate} attribute, it renders as YYYY-MM-DDTHH:MM:SS.SSSZ and is 24 characters in length. Value pulumi.StringPtrInput `pulumi:"value"` }
func (EmailTemplateEmailTemplateHeaderArgs) ElementType ¶ added in v6.50.0
func (EmailTemplateEmailTemplateHeaderArgs) ElementType() reflect.Type
func (EmailTemplateEmailTemplateHeaderArgs) ToEmailTemplateEmailTemplateHeaderOutput ¶ added in v6.50.0
func (i EmailTemplateEmailTemplateHeaderArgs) ToEmailTemplateEmailTemplateHeaderOutput() EmailTemplateEmailTemplateHeaderOutput
func (EmailTemplateEmailTemplateHeaderArgs) ToEmailTemplateEmailTemplateHeaderOutputWithContext ¶ added in v6.50.0
func (i EmailTemplateEmailTemplateHeaderArgs) ToEmailTemplateEmailTemplateHeaderOutputWithContext(ctx context.Context) EmailTemplateEmailTemplateHeaderOutput
type EmailTemplateEmailTemplateHeaderArray ¶ added in v6.50.0
type EmailTemplateEmailTemplateHeaderArray []EmailTemplateEmailTemplateHeaderInput
func (EmailTemplateEmailTemplateHeaderArray) ElementType ¶ added in v6.50.0
func (EmailTemplateEmailTemplateHeaderArray) ElementType() reflect.Type
func (EmailTemplateEmailTemplateHeaderArray) ToEmailTemplateEmailTemplateHeaderArrayOutput ¶ added in v6.50.0
func (i EmailTemplateEmailTemplateHeaderArray) ToEmailTemplateEmailTemplateHeaderArrayOutput() EmailTemplateEmailTemplateHeaderArrayOutput
func (EmailTemplateEmailTemplateHeaderArray) ToEmailTemplateEmailTemplateHeaderArrayOutputWithContext ¶ added in v6.50.0
func (i EmailTemplateEmailTemplateHeaderArray) ToEmailTemplateEmailTemplateHeaderArrayOutputWithContext(ctx context.Context) EmailTemplateEmailTemplateHeaderArrayOutput
type EmailTemplateEmailTemplateHeaderArrayInput ¶ added in v6.50.0
type EmailTemplateEmailTemplateHeaderArrayInput interface { pulumi.Input ToEmailTemplateEmailTemplateHeaderArrayOutput() EmailTemplateEmailTemplateHeaderArrayOutput ToEmailTemplateEmailTemplateHeaderArrayOutputWithContext(context.Context) EmailTemplateEmailTemplateHeaderArrayOutput }
EmailTemplateEmailTemplateHeaderArrayInput is an input type that accepts EmailTemplateEmailTemplateHeaderArray and EmailTemplateEmailTemplateHeaderArrayOutput values. You can construct a concrete instance of `EmailTemplateEmailTemplateHeaderArrayInput` via:
EmailTemplateEmailTemplateHeaderArray{ EmailTemplateEmailTemplateHeaderArgs{...} }
type EmailTemplateEmailTemplateHeaderArrayOutput ¶ added in v6.50.0
type EmailTemplateEmailTemplateHeaderArrayOutput struct{ *pulumi.OutputState }
func (EmailTemplateEmailTemplateHeaderArrayOutput) ElementType ¶ added in v6.50.0
func (EmailTemplateEmailTemplateHeaderArrayOutput) ElementType() reflect.Type
func (EmailTemplateEmailTemplateHeaderArrayOutput) ToEmailTemplateEmailTemplateHeaderArrayOutput ¶ added in v6.50.0
func (o EmailTemplateEmailTemplateHeaderArrayOutput) ToEmailTemplateEmailTemplateHeaderArrayOutput() EmailTemplateEmailTemplateHeaderArrayOutput
func (EmailTemplateEmailTemplateHeaderArrayOutput) ToEmailTemplateEmailTemplateHeaderArrayOutputWithContext ¶ added in v6.50.0
func (o EmailTemplateEmailTemplateHeaderArrayOutput) ToEmailTemplateEmailTemplateHeaderArrayOutputWithContext(ctx context.Context) EmailTemplateEmailTemplateHeaderArrayOutput
type EmailTemplateEmailTemplateHeaderInput ¶ added in v6.50.0
type EmailTemplateEmailTemplateHeaderInput interface { pulumi.Input ToEmailTemplateEmailTemplateHeaderOutput() EmailTemplateEmailTemplateHeaderOutput ToEmailTemplateEmailTemplateHeaderOutputWithContext(context.Context) EmailTemplateEmailTemplateHeaderOutput }
EmailTemplateEmailTemplateHeaderInput is an input type that accepts EmailTemplateEmailTemplateHeaderArgs and EmailTemplateEmailTemplateHeaderOutput values. You can construct a concrete instance of `EmailTemplateEmailTemplateHeaderInput` via:
EmailTemplateEmailTemplateHeaderArgs{...}
type EmailTemplateEmailTemplateHeaderOutput ¶ added in v6.50.0
type EmailTemplateEmailTemplateHeaderOutput struct{ *pulumi.OutputState }
func (EmailTemplateEmailTemplateHeaderOutput) ElementType ¶ added in v6.50.0
func (EmailTemplateEmailTemplateHeaderOutput) ElementType() reflect.Type
func (EmailTemplateEmailTemplateHeaderOutput) Name ¶ added in v6.50.0
func (o EmailTemplateEmailTemplateHeaderOutput) Name() pulumi.StringPtrOutput
Name of the message header. The header name can contain up to 126 characters.
func (EmailTemplateEmailTemplateHeaderOutput) ToEmailTemplateEmailTemplateHeaderOutput ¶ added in v6.50.0
func (o EmailTemplateEmailTemplateHeaderOutput) ToEmailTemplateEmailTemplateHeaderOutput() EmailTemplateEmailTemplateHeaderOutput
func (EmailTemplateEmailTemplateHeaderOutput) ToEmailTemplateEmailTemplateHeaderOutputWithContext ¶ added in v6.50.0
func (o EmailTemplateEmailTemplateHeaderOutput) ToEmailTemplateEmailTemplateHeaderOutputWithContext(ctx context.Context) EmailTemplateEmailTemplateHeaderOutput
func (EmailTemplateEmailTemplateHeaderOutput) Value ¶ added in v6.50.0
func (o EmailTemplateEmailTemplateHeaderOutput) Value() pulumi.StringPtrOutput
Value of the message header. The header value can contain up to 870 characters, including the length of any rendered attributes. For example if you add the {CreationDate} attribute, it renders as YYYY-MM-DDTHH:MM:SS.SSSZ and is 24 characters in length.
type EmailTemplateEmailTemplateInput ¶ added in v6.50.0
type EmailTemplateEmailTemplateInput interface { pulumi.Input ToEmailTemplateEmailTemplateOutput() EmailTemplateEmailTemplateOutput ToEmailTemplateEmailTemplateOutputWithContext(context.Context) EmailTemplateEmailTemplateOutput }
EmailTemplateEmailTemplateInput is an input type that accepts EmailTemplateEmailTemplateArgs and EmailTemplateEmailTemplateOutput values. You can construct a concrete instance of `EmailTemplateEmailTemplateInput` via:
EmailTemplateEmailTemplateArgs{...}
type EmailTemplateEmailTemplateOutput ¶ added in v6.50.0
type EmailTemplateEmailTemplateOutput struct{ *pulumi.OutputState }
func (EmailTemplateEmailTemplateOutput) DefaultSubstitutions ¶ added in v6.50.0
func (o EmailTemplateEmailTemplateOutput) DefaultSubstitutions() pulumi.StringPtrOutput
JSON object that specifies the default values to use for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable. When you create a message that's based on the template, you can override these defaults with message-specific and address-specific variables and values.
func (EmailTemplateEmailTemplateOutput) Description ¶ added in v6.50.0
func (o EmailTemplateEmailTemplateOutput) Description() pulumi.StringPtrOutput
func (EmailTemplateEmailTemplateOutput) ElementType ¶ added in v6.50.0
func (EmailTemplateEmailTemplateOutput) ElementType() reflect.Type
func (EmailTemplateEmailTemplateOutput) Headers ¶ added in v6.50.0
func (o EmailTemplateEmailTemplateOutput) Headers() EmailTemplateEmailTemplateHeaderArrayOutput
func (EmailTemplateEmailTemplateOutput) HtmlPart ¶ added in v6.50.0
func (o EmailTemplateEmailTemplateOutput) HtmlPart() pulumi.StringPtrOutput
The message body, in HTML format, to use in email messages that are based on the message template. We recommend using HTML format for email clients that render HTML content. You can include links, formatted text, and more in an HTML message.
func (EmailTemplateEmailTemplateOutput) RecommenderId ¶ added in v6.50.0
func (o EmailTemplateEmailTemplateOutput) RecommenderId() pulumi.StringPtrOutput
The unique identifier for the recommender model to use for the message template. Amazon Pinpoint uses this value to determine how to retrieve and process data from a recommender model when it sends messages that use the template, if the template contains message variables for recommendation data.
func (EmailTemplateEmailTemplateOutput) Subject ¶ added in v6.50.0
func (o EmailTemplateEmailTemplateOutput) Subject() pulumi.StringPtrOutput
Subject line, or title, to use in email messages that are based on the message template.
func (EmailTemplateEmailTemplateOutput) TextPart ¶ added in v6.50.0
func (o EmailTemplateEmailTemplateOutput) TextPart() pulumi.StringPtrOutput
Message body, in plain text format, to use in email messages that are based on the message template. We recommend using plain text format for email clients that don't render HTML content and clients that are connected to high-latency networks, such as mobile devices.
func (EmailTemplateEmailTemplateOutput) ToEmailTemplateEmailTemplateOutput ¶ added in v6.50.0
func (o EmailTemplateEmailTemplateOutput) ToEmailTemplateEmailTemplateOutput() EmailTemplateEmailTemplateOutput
func (EmailTemplateEmailTemplateOutput) ToEmailTemplateEmailTemplateOutputWithContext ¶ added in v6.50.0
func (o EmailTemplateEmailTemplateOutput) ToEmailTemplateEmailTemplateOutputWithContext(ctx context.Context) EmailTemplateEmailTemplateOutput
type EmailTemplateInput ¶ added in v6.50.0
type EmailTemplateInput interface { pulumi.Input ToEmailTemplateOutput() EmailTemplateOutput ToEmailTemplateOutputWithContext(ctx context.Context) EmailTemplateOutput }
type EmailTemplateMap ¶ added in v6.50.0
type EmailTemplateMap map[string]EmailTemplateInput
func (EmailTemplateMap) ElementType ¶ added in v6.50.0
func (EmailTemplateMap) ElementType() reflect.Type
func (EmailTemplateMap) ToEmailTemplateMapOutput ¶ added in v6.50.0
func (i EmailTemplateMap) ToEmailTemplateMapOutput() EmailTemplateMapOutput
func (EmailTemplateMap) ToEmailTemplateMapOutputWithContext ¶ added in v6.50.0
func (i EmailTemplateMap) ToEmailTemplateMapOutputWithContext(ctx context.Context) EmailTemplateMapOutput
type EmailTemplateMapInput ¶ added in v6.50.0
type EmailTemplateMapInput interface { pulumi.Input ToEmailTemplateMapOutput() EmailTemplateMapOutput ToEmailTemplateMapOutputWithContext(context.Context) EmailTemplateMapOutput }
EmailTemplateMapInput is an input type that accepts EmailTemplateMap and EmailTemplateMapOutput values. You can construct a concrete instance of `EmailTemplateMapInput` via:
EmailTemplateMap{ "key": EmailTemplateArgs{...} }
type EmailTemplateMapOutput ¶ added in v6.50.0
type EmailTemplateMapOutput struct{ *pulumi.OutputState }
func (EmailTemplateMapOutput) ElementType ¶ added in v6.50.0
func (EmailTemplateMapOutput) ElementType() reflect.Type
func (EmailTemplateMapOutput) MapIndex ¶ added in v6.50.0
func (o EmailTemplateMapOutput) MapIndex(k pulumi.StringInput) EmailTemplateOutput
func (EmailTemplateMapOutput) ToEmailTemplateMapOutput ¶ added in v6.50.0
func (o EmailTemplateMapOutput) ToEmailTemplateMapOutput() EmailTemplateMapOutput
func (EmailTemplateMapOutput) ToEmailTemplateMapOutputWithContext ¶ added in v6.50.0
func (o EmailTemplateMapOutput) ToEmailTemplateMapOutputWithContext(ctx context.Context) EmailTemplateMapOutput
type EmailTemplateOutput ¶ added in v6.50.0
type EmailTemplateOutput struct{ *pulumi.OutputState }
func (EmailTemplateOutput) Arn ¶ added in v6.50.0
func (o EmailTemplateOutput) Arn() pulumi.StringOutput
Amazon Resource Name (ARN) of the message template.
func (EmailTemplateOutput) ElementType ¶ added in v6.50.0
func (EmailTemplateOutput) ElementType() reflect.Type
func (EmailTemplateOutput) EmailTemplates ¶ added in v6.50.0
func (o EmailTemplateOutput) EmailTemplates() EmailTemplateEmailTemplateArrayOutput
Specifies the content and settings for a message template that can be used in messages that are sent through the email channel. See Email Template
func (EmailTemplateOutput) Tags ¶ added in v6.50.0
func (o EmailTemplateOutput) Tags() pulumi.StringMapOutput
func (EmailTemplateOutput) TagsAll
deprecated
added in
v6.50.0
func (o EmailTemplateOutput) TagsAll() pulumi.StringMapOutput
Deprecated: Please use `tags` instead.
func (EmailTemplateOutput) TemplateName ¶ added in v6.50.0
func (o EmailTemplateOutput) TemplateName() pulumi.StringOutput
name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
func (EmailTemplateOutput) ToEmailTemplateOutput ¶ added in v6.50.0
func (o EmailTemplateOutput) ToEmailTemplateOutput() EmailTemplateOutput
func (EmailTemplateOutput) ToEmailTemplateOutputWithContext ¶ added in v6.50.0
func (o EmailTemplateOutput) ToEmailTemplateOutputWithContext(ctx context.Context) EmailTemplateOutput
type EmailTemplateState ¶ added in v6.50.0
type EmailTemplateState struct { // Amazon Resource Name (ARN) of the message template. Arn pulumi.StringPtrInput // Specifies the content and settings for a message template that can be used in messages that are sent through the email channel. See Email Template EmailTemplates EmailTemplateEmailTemplateArrayInput Tags pulumi.StringMapInput // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput // name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive. TemplateName pulumi.StringPtrInput }
func (EmailTemplateState) ElementType ¶ added in v6.50.0
func (EmailTemplateState) 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 (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/kinesis" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/pinpoint" "github.com/pulumi/pulumi/sdk/v3/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, "test_stream", &kinesis.StreamArgs{ Name: pulumi.String("pinpoint-kinesis-test"), ShardCount: pulumi.Int(1), }) if err != nil { return err } assumeRole, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ { Effect: pulumi.StringRef("Allow"), Principals: []iam.GetPolicyDocumentStatementPrincipal{ { Type: "Service", Identifiers: []string{ "pinpoint.us-east-1.amazonaws.com", }, }, }, Actions: []string{ "sts:AssumeRole", }, }, }, }, nil) if err != nil { return err } testRole, err := iam.NewRole(ctx, "test_role", &iam.RoleArgs{ AssumeRolePolicy: pulumi.String(assumeRole.Json), }) 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 } testRolePolicy, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{ Statements: []iam.GetPolicyDocumentStatement{ { Effect: pulumi.StringRef("Allow"), Actions: []string{ "kinesis:PutRecords", "kinesis:DescribeStream", }, Resources: []string{ "arn:aws:kinesis:us-east-1:*:*/*", }, }, }, }, nil) if err != nil { return err } _, err = iam.NewRolePolicy(ctx, "test_role_policy", &iam.RolePolicyArgs{ Name: pulumi.String("test_policy"), Role: testRole.ID(), Policy: pulumi.String(testRolePolicy.Json), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import Pinpoint Event Stream using the `application-id`. For example:
```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 ¶
func (*EventStream) ElementType() reflect.Type
func (*EventStream) ToEventStreamOutput ¶
func (i *EventStream) ToEventStreamOutput() EventStreamOutput
func (*EventStream) ToEventStreamOutputWithContext ¶
func (i *EventStream) ToEventStreamOutputWithContext(ctx context.Context) EventStreamOutput
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 ¶
type EventStreamArray []EventStreamInput
func (EventStreamArray) ElementType ¶
func (EventStreamArray) ElementType() reflect.Type
func (EventStreamArray) ToEventStreamArrayOutput ¶
func (i EventStreamArray) ToEventStreamArrayOutput() EventStreamArrayOutput
func (EventStreamArray) ToEventStreamArrayOutputWithContext ¶
func (i EventStreamArray) ToEventStreamArrayOutputWithContext(ctx context.Context) EventStreamArrayOutput
type EventStreamArrayInput ¶
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 ¶
type EventStreamArrayOutput struct{ *pulumi.OutputState }
func (EventStreamArrayOutput) ElementType ¶
func (EventStreamArrayOutput) ElementType() reflect.Type
func (EventStreamArrayOutput) Index ¶
func (o EventStreamArrayOutput) Index(i pulumi.IntInput) EventStreamOutput
func (EventStreamArrayOutput) ToEventStreamArrayOutput ¶
func (o EventStreamArrayOutput) ToEventStreamArrayOutput() EventStreamArrayOutput
func (EventStreamArrayOutput) ToEventStreamArrayOutputWithContext ¶
func (o EventStreamArrayOutput) ToEventStreamArrayOutputWithContext(ctx context.Context) EventStreamArrayOutput
type EventStreamInput ¶
type EventStreamInput interface { pulumi.Input ToEventStreamOutput() EventStreamOutput ToEventStreamOutputWithContext(ctx context.Context) EventStreamOutput }
type EventStreamMap ¶
type EventStreamMap map[string]EventStreamInput
func (EventStreamMap) ElementType ¶
func (EventStreamMap) ElementType() reflect.Type
func (EventStreamMap) ToEventStreamMapOutput ¶
func (i EventStreamMap) ToEventStreamMapOutput() EventStreamMapOutput
func (EventStreamMap) ToEventStreamMapOutputWithContext ¶
func (i EventStreamMap) ToEventStreamMapOutputWithContext(ctx context.Context) EventStreamMapOutput
type EventStreamMapInput ¶
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 ¶
type EventStreamMapOutput struct{ *pulumi.OutputState }
func (EventStreamMapOutput) ElementType ¶
func (EventStreamMapOutput) ElementType() reflect.Type
func (EventStreamMapOutput) MapIndex ¶
func (o EventStreamMapOutput) MapIndex(k pulumi.StringInput) EventStreamOutput
func (EventStreamMapOutput) ToEventStreamMapOutput ¶
func (o EventStreamMapOutput) ToEventStreamMapOutput() EventStreamMapOutput
func (EventStreamMapOutput) ToEventStreamMapOutputWithContext ¶
func (o EventStreamMapOutput) ToEventStreamMapOutputWithContext(ctx context.Context) EventStreamMapOutput
type EventStreamOutput ¶
type EventStreamOutput struct{ *pulumi.OutputState }
func (EventStreamOutput) ApplicationId ¶
func (o EventStreamOutput) ApplicationId() pulumi.StringOutput
The application ID.
func (EventStreamOutput) DestinationStreamArn ¶
func (o EventStreamOutput) DestinationStreamArn() pulumi.StringOutput
The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose delivery stream to which you want to publish events.
func (EventStreamOutput) ElementType ¶
func (EventStreamOutput) ElementType() reflect.Type
func (EventStreamOutput) RoleArn ¶
func (o EventStreamOutput) RoleArn() pulumi.StringOutput
The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account.
func (EventStreamOutput) ToEventStreamOutput ¶
func (o EventStreamOutput) ToEventStreamOutput() EventStreamOutput
func (EventStreamOutput) ToEventStreamOutputWithContext ¶
func (o EventStreamOutput) ToEventStreamOutputWithContext(ctx context.Context) EventStreamOutput
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.StringPtrOutput `pulumi:"apiKey"` // The application ID. ApplicationId pulumi.StringOutput `pulumi:"applicationId"` DefaultAuthenticationMethod pulumi.StringPtrOutput `pulumi:"defaultAuthenticationMethod"` // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` ServiceJson pulumi.StringPtrOutput `pulumi:"serviceJson"` }
Provides a Pinpoint GCM Channel resource.
> **Note:** Credentials (Service Account JSON and API Key) will be stored in the raw state as plain-text. ## Import
Using `pulumi import`, import Pinpoint GCM Channel using the `application-id`. For example:
```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 ¶
func (*GcmChannel) ElementType() reflect.Type
func (*GcmChannel) ToGcmChannelOutput ¶
func (i *GcmChannel) ToGcmChannelOutput() GcmChannelOutput
func (*GcmChannel) ToGcmChannelOutputWithContext ¶
func (i *GcmChannel) ToGcmChannelOutputWithContext(ctx context.Context) GcmChannelOutput
type GcmChannelArgs ¶
type GcmChannelArgs struct { // Platform credential API key from Google. ApiKey pulumi.StringPtrInput // The application ID. ApplicationId pulumi.StringInput DefaultAuthenticationMethod pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput ServiceJson pulumi.StringPtrInput }
The set of arguments for constructing a GcmChannel resource.
func (GcmChannelArgs) ElementType ¶
func (GcmChannelArgs) ElementType() reflect.Type
type GcmChannelArray ¶
type GcmChannelArray []GcmChannelInput
func (GcmChannelArray) ElementType ¶
func (GcmChannelArray) ElementType() reflect.Type
func (GcmChannelArray) ToGcmChannelArrayOutput ¶
func (i GcmChannelArray) ToGcmChannelArrayOutput() GcmChannelArrayOutput
func (GcmChannelArray) ToGcmChannelArrayOutputWithContext ¶
func (i GcmChannelArray) ToGcmChannelArrayOutputWithContext(ctx context.Context) GcmChannelArrayOutput
type GcmChannelArrayInput ¶
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 ¶
type GcmChannelArrayOutput struct{ *pulumi.OutputState }
func (GcmChannelArrayOutput) ElementType ¶
func (GcmChannelArrayOutput) ElementType() reflect.Type
func (GcmChannelArrayOutput) Index ¶
func (o GcmChannelArrayOutput) Index(i pulumi.IntInput) GcmChannelOutput
func (GcmChannelArrayOutput) ToGcmChannelArrayOutput ¶
func (o GcmChannelArrayOutput) ToGcmChannelArrayOutput() GcmChannelArrayOutput
func (GcmChannelArrayOutput) ToGcmChannelArrayOutputWithContext ¶
func (o GcmChannelArrayOutput) ToGcmChannelArrayOutputWithContext(ctx context.Context) GcmChannelArrayOutput
type GcmChannelInput ¶
type GcmChannelInput interface { pulumi.Input ToGcmChannelOutput() GcmChannelOutput ToGcmChannelOutputWithContext(ctx context.Context) GcmChannelOutput }
type GcmChannelMap ¶
type GcmChannelMap map[string]GcmChannelInput
func (GcmChannelMap) ElementType ¶
func (GcmChannelMap) ElementType() reflect.Type
func (GcmChannelMap) ToGcmChannelMapOutput ¶
func (i GcmChannelMap) ToGcmChannelMapOutput() GcmChannelMapOutput
func (GcmChannelMap) ToGcmChannelMapOutputWithContext ¶
func (i GcmChannelMap) ToGcmChannelMapOutputWithContext(ctx context.Context) GcmChannelMapOutput
type GcmChannelMapInput ¶
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 ¶
type GcmChannelMapOutput struct{ *pulumi.OutputState }
func (GcmChannelMapOutput) ElementType ¶
func (GcmChannelMapOutput) ElementType() reflect.Type
func (GcmChannelMapOutput) MapIndex ¶
func (o GcmChannelMapOutput) MapIndex(k pulumi.StringInput) GcmChannelOutput
func (GcmChannelMapOutput) ToGcmChannelMapOutput ¶
func (o GcmChannelMapOutput) ToGcmChannelMapOutput() GcmChannelMapOutput
func (GcmChannelMapOutput) ToGcmChannelMapOutputWithContext ¶
func (o GcmChannelMapOutput) ToGcmChannelMapOutputWithContext(ctx context.Context) GcmChannelMapOutput
type GcmChannelOutput ¶
type GcmChannelOutput struct{ *pulumi.OutputState }
func (GcmChannelOutput) ApiKey ¶
func (o GcmChannelOutput) ApiKey() pulumi.StringPtrOutput
Platform credential API key from Google.
func (GcmChannelOutput) ApplicationId ¶
func (o GcmChannelOutput) ApplicationId() pulumi.StringOutput
The application ID.
func (GcmChannelOutput) DefaultAuthenticationMethod ¶ added in v6.50.1
func (o GcmChannelOutput) DefaultAuthenticationMethod() pulumi.StringPtrOutput
func (GcmChannelOutput) ElementType ¶
func (GcmChannelOutput) ElementType() reflect.Type
func (GcmChannelOutput) Enabled ¶
func (o GcmChannelOutput) Enabled() pulumi.BoolPtrOutput
Whether the channel is enabled or disabled. Defaults to `true`.
func (GcmChannelOutput) ServiceJson ¶ added in v6.50.1
func (o GcmChannelOutput) ServiceJson() pulumi.StringPtrOutput
func (GcmChannelOutput) ToGcmChannelOutput ¶
func (o GcmChannelOutput) ToGcmChannelOutput() GcmChannelOutput
func (GcmChannelOutput) ToGcmChannelOutputWithContext ¶
func (o GcmChannelOutput) ToGcmChannelOutputWithContext(ctx context.Context) GcmChannelOutput
type GcmChannelState ¶
type GcmChannelState struct { // Platform credential API key from Google. ApiKey pulumi.StringPtrInput // The application ID. ApplicationId pulumi.StringPtrInput DefaultAuthenticationMethod pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput ServiceJson pulumi.StringPtrInput }
func (GcmChannelState) ElementType ¶
func (GcmChannelState) ElementType() reflect.Type
type SmsChannel ¶
type SmsChannel struct { pulumi.CustomResourceState // ID of the application. ApplicationId pulumi.StringOutput `pulumi:"applicationId"` // Whether the channel is enabled or disabled. By default, it is set to `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // Maximum number of promotional messages that can be sent per second. PromotionalMessagesPerSecond pulumi.IntOutput `pulumi:"promotionalMessagesPerSecond"` // Identifier of the sender for your messages. SenderId pulumi.StringPtrOutput `pulumi:"senderId"` // Short Code registered with the phone provider. ShortCode pulumi.StringPtrOutput `pulumi:"shortCode"` // Maximum number of transactional messages per second that can be sent. TransactionalMessagesPerSecond pulumi.IntOutput `pulumi:"transactionalMessagesPerSecond"` }
Use the `pinpoint.SmsChannel` resource to manage Pinpoint SMS Channels.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/pinpoint" "github.com/pulumi/pulumi/sdk/v3/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
Using `pulumi import`, import the Pinpoint SMS Channel using the `application_id`. For example:
```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 ¶
func (*SmsChannel) ElementType() reflect.Type
func (*SmsChannel) ToSmsChannelOutput ¶
func (i *SmsChannel) ToSmsChannelOutput() SmsChannelOutput
func (*SmsChannel) ToSmsChannelOutputWithContext ¶
func (i *SmsChannel) ToSmsChannelOutputWithContext(ctx context.Context) SmsChannelOutput
type SmsChannelArgs ¶
type SmsChannelArgs struct { // ID of the application. ApplicationId pulumi.StringInput // Whether the channel is enabled or disabled. By default, it is set to `true`. Enabled pulumi.BoolPtrInput // Identifier of the sender for your messages. SenderId pulumi.StringPtrInput // 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 ¶
type SmsChannelArray []SmsChannelInput
func (SmsChannelArray) ElementType ¶
func (SmsChannelArray) ElementType() reflect.Type
func (SmsChannelArray) ToSmsChannelArrayOutput ¶
func (i SmsChannelArray) ToSmsChannelArrayOutput() SmsChannelArrayOutput
func (SmsChannelArray) ToSmsChannelArrayOutputWithContext ¶
func (i SmsChannelArray) ToSmsChannelArrayOutputWithContext(ctx context.Context) SmsChannelArrayOutput
type SmsChannelArrayInput ¶
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 ¶
type SmsChannelArrayOutput struct{ *pulumi.OutputState }
func (SmsChannelArrayOutput) ElementType ¶
func (SmsChannelArrayOutput) ElementType() reflect.Type
func (SmsChannelArrayOutput) Index ¶
func (o SmsChannelArrayOutput) Index(i pulumi.IntInput) SmsChannelOutput
func (SmsChannelArrayOutput) ToSmsChannelArrayOutput ¶
func (o SmsChannelArrayOutput) ToSmsChannelArrayOutput() SmsChannelArrayOutput
func (SmsChannelArrayOutput) ToSmsChannelArrayOutputWithContext ¶
func (o SmsChannelArrayOutput) ToSmsChannelArrayOutputWithContext(ctx context.Context) SmsChannelArrayOutput
type SmsChannelInput ¶
type SmsChannelInput interface { pulumi.Input ToSmsChannelOutput() SmsChannelOutput ToSmsChannelOutputWithContext(ctx context.Context) SmsChannelOutput }
type SmsChannelMap ¶
type SmsChannelMap map[string]SmsChannelInput
func (SmsChannelMap) ElementType ¶
func (SmsChannelMap) ElementType() reflect.Type
func (SmsChannelMap) ToSmsChannelMapOutput ¶
func (i SmsChannelMap) ToSmsChannelMapOutput() SmsChannelMapOutput
func (SmsChannelMap) ToSmsChannelMapOutputWithContext ¶
func (i SmsChannelMap) ToSmsChannelMapOutputWithContext(ctx context.Context) SmsChannelMapOutput
type SmsChannelMapInput ¶
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 ¶
type SmsChannelMapOutput struct{ *pulumi.OutputState }
func (SmsChannelMapOutput) ElementType ¶
func (SmsChannelMapOutput) ElementType() reflect.Type
func (SmsChannelMapOutput) MapIndex ¶
func (o SmsChannelMapOutput) MapIndex(k pulumi.StringInput) SmsChannelOutput
func (SmsChannelMapOutput) ToSmsChannelMapOutput ¶
func (o SmsChannelMapOutput) ToSmsChannelMapOutput() SmsChannelMapOutput
func (SmsChannelMapOutput) ToSmsChannelMapOutputWithContext ¶
func (o SmsChannelMapOutput) ToSmsChannelMapOutputWithContext(ctx context.Context) SmsChannelMapOutput
type SmsChannelOutput ¶
type SmsChannelOutput struct{ *pulumi.OutputState }
func (SmsChannelOutput) ApplicationId ¶
func (o SmsChannelOutput) ApplicationId() pulumi.StringOutput
ID of the application.
func (SmsChannelOutput) ElementType ¶
func (SmsChannelOutput) ElementType() reflect.Type
func (SmsChannelOutput) Enabled ¶
func (o SmsChannelOutput) Enabled() pulumi.BoolPtrOutput
Whether the channel is enabled or disabled. By default, it is set to `true`.
func (SmsChannelOutput) PromotionalMessagesPerSecond ¶
func (o SmsChannelOutput) PromotionalMessagesPerSecond() pulumi.IntOutput
Maximum number of promotional messages that can be sent per second.
func (SmsChannelOutput) SenderId ¶
func (o SmsChannelOutput) SenderId() pulumi.StringPtrOutput
Identifier of the sender for your messages.
func (SmsChannelOutput) ShortCode ¶
func (o SmsChannelOutput) ShortCode() pulumi.StringPtrOutput
Short Code registered with the phone provider.
func (SmsChannelOutput) ToSmsChannelOutput ¶
func (o SmsChannelOutput) ToSmsChannelOutput() SmsChannelOutput
func (SmsChannelOutput) ToSmsChannelOutputWithContext ¶
func (o SmsChannelOutput) ToSmsChannelOutputWithContext(ctx context.Context) SmsChannelOutput
func (SmsChannelOutput) TransactionalMessagesPerSecond ¶
func (o SmsChannelOutput) TransactionalMessagesPerSecond() pulumi.IntOutput
Maximum number of transactional messages per second that can be sent.
type SmsChannelState ¶
type SmsChannelState struct { // ID of the application. ApplicationId pulumi.StringPtrInput // Whether the channel is enabled or disabled. By default, it is set to `true`. Enabled pulumi.BoolPtrInput // Maximum number of promotional messages that can be sent per second. PromotionalMessagesPerSecond pulumi.IntPtrInput // Identifier of the sender for your messages. SenderId pulumi.StringPtrInput // Short Code registered with the phone provider. ShortCode pulumi.StringPtrInput // Maximum number of transactional messages per second that can be sent. TransactionalMessagesPerSecond pulumi.IntPtrInput }
func (SmsChannelState) ElementType ¶
func (SmsChannelState) ElementType() reflect.Type
type Smsvoicev2ConfigurationSet ¶ added in v6.56.0
type Smsvoicev2ConfigurationSet struct { pulumi.CustomResourceState // ARN of the configuration set. Arn pulumi.StringOutput `pulumi:"arn"` // The default message type. Must either be "TRANSACTIONAL" or "PROMOTIONAL" DefaultMessageType pulumi.StringPtrOutput `pulumi:"defaultMessageType"` // The default sender ID to use for this configuration set. DefaultSenderId pulumi.StringPtrOutput `pulumi:"defaultSenderId"` // The name of the configuration set. Name pulumi.StringOutput `pulumi:"name"` // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Manages an AWS End User Messaging SMS Configuration Set.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/pinpoint" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := pinpoint.NewSmsvoicev2ConfigurationSet(ctx, "example", &pinpoint.Smsvoicev2ConfigurationSetArgs{ Name: pulumi.String("example-configuration-set"), DefaultSenderId: pulumi.String("example"), DefaultMessageType: pulumi.String("TRANSACTIONAL"), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import configuration sets using the `name`. For example:
```sh $ pulumi import aws:pinpoint/smsvoicev2ConfigurationSet:Smsvoicev2ConfigurationSet example example-configuration-set ```
func GetSmsvoicev2ConfigurationSet ¶ added in v6.56.0
func GetSmsvoicev2ConfigurationSet(ctx *pulumi.Context, name string, id pulumi.IDInput, state *Smsvoicev2ConfigurationSetState, opts ...pulumi.ResourceOption) (*Smsvoicev2ConfigurationSet, error)
GetSmsvoicev2ConfigurationSet gets an existing Smsvoicev2ConfigurationSet 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 NewSmsvoicev2ConfigurationSet ¶ added in v6.56.0
func NewSmsvoicev2ConfigurationSet(ctx *pulumi.Context, name string, args *Smsvoicev2ConfigurationSetArgs, opts ...pulumi.ResourceOption) (*Smsvoicev2ConfigurationSet, error)
NewSmsvoicev2ConfigurationSet registers a new resource with the given unique name, arguments, and options.
func (*Smsvoicev2ConfigurationSet) ElementType ¶ added in v6.56.0
func (*Smsvoicev2ConfigurationSet) ElementType() reflect.Type
func (*Smsvoicev2ConfigurationSet) ToSmsvoicev2ConfigurationSetOutput ¶ added in v6.56.0
func (i *Smsvoicev2ConfigurationSet) ToSmsvoicev2ConfigurationSetOutput() Smsvoicev2ConfigurationSetOutput
func (*Smsvoicev2ConfigurationSet) ToSmsvoicev2ConfigurationSetOutputWithContext ¶ added in v6.56.0
func (i *Smsvoicev2ConfigurationSet) ToSmsvoicev2ConfigurationSetOutputWithContext(ctx context.Context) Smsvoicev2ConfigurationSetOutput
type Smsvoicev2ConfigurationSetArgs ¶ added in v6.56.0
type Smsvoicev2ConfigurationSetArgs struct { // The default message type. Must either be "TRANSACTIONAL" or "PROMOTIONAL" DefaultMessageType pulumi.StringPtrInput // The default sender ID to use for this configuration set. DefaultSenderId pulumi.StringPtrInput // The name of the configuration set. Name pulumi.StringPtrInput // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a Smsvoicev2ConfigurationSet resource.
func (Smsvoicev2ConfigurationSetArgs) ElementType ¶ added in v6.56.0
func (Smsvoicev2ConfigurationSetArgs) ElementType() reflect.Type
type Smsvoicev2ConfigurationSetArray ¶ added in v6.56.0
type Smsvoicev2ConfigurationSetArray []Smsvoicev2ConfigurationSetInput
func (Smsvoicev2ConfigurationSetArray) ElementType ¶ added in v6.56.0
func (Smsvoicev2ConfigurationSetArray) ElementType() reflect.Type
func (Smsvoicev2ConfigurationSetArray) ToSmsvoicev2ConfigurationSetArrayOutput ¶ added in v6.56.0
func (i Smsvoicev2ConfigurationSetArray) ToSmsvoicev2ConfigurationSetArrayOutput() Smsvoicev2ConfigurationSetArrayOutput
func (Smsvoicev2ConfigurationSetArray) ToSmsvoicev2ConfigurationSetArrayOutputWithContext ¶ added in v6.56.0
func (i Smsvoicev2ConfigurationSetArray) ToSmsvoicev2ConfigurationSetArrayOutputWithContext(ctx context.Context) Smsvoicev2ConfigurationSetArrayOutput
type Smsvoicev2ConfigurationSetArrayInput ¶ added in v6.56.0
type Smsvoicev2ConfigurationSetArrayInput interface { pulumi.Input ToSmsvoicev2ConfigurationSetArrayOutput() Smsvoicev2ConfigurationSetArrayOutput ToSmsvoicev2ConfigurationSetArrayOutputWithContext(context.Context) Smsvoicev2ConfigurationSetArrayOutput }
Smsvoicev2ConfigurationSetArrayInput is an input type that accepts Smsvoicev2ConfigurationSetArray and Smsvoicev2ConfigurationSetArrayOutput values. You can construct a concrete instance of `Smsvoicev2ConfigurationSetArrayInput` via:
Smsvoicev2ConfigurationSetArray{ Smsvoicev2ConfigurationSetArgs{...} }
type Smsvoicev2ConfigurationSetArrayOutput ¶ added in v6.56.0
type Smsvoicev2ConfigurationSetArrayOutput struct{ *pulumi.OutputState }
func (Smsvoicev2ConfigurationSetArrayOutput) ElementType ¶ added in v6.56.0
func (Smsvoicev2ConfigurationSetArrayOutput) ElementType() reflect.Type
func (Smsvoicev2ConfigurationSetArrayOutput) Index ¶ added in v6.56.0
func (o Smsvoicev2ConfigurationSetArrayOutput) Index(i pulumi.IntInput) Smsvoicev2ConfigurationSetOutput
func (Smsvoicev2ConfigurationSetArrayOutput) ToSmsvoicev2ConfigurationSetArrayOutput ¶ added in v6.56.0
func (o Smsvoicev2ConfigurationSetArrayOutput) ToSmsvoicev2ConfigurationSetArrayOutput() Smsvoicev2ConfigurationSetArrayOutput
func (Smsvoicev2ConfigurationSetArrayOutput) ToSmsvoicev2ConfigurationSetArrayOutputWithContext ¶ added in v6.56.0
func (o Smsvoicev2ConfigurationSetArrayOutput) ToSmsvoicev2ConfigurationSetArrayOutputWithContext(ctx context.Context) Smsvoicev2ConfigurationSetArrayOutput
type Smsvoicev2ConfigurationSetInput ¶ added in v6.56.0
type Smsvoicev2ConfigurationSetInput interface { pulumi.Input ToSmsvoicev2ConfigurationSetOutput() Smsvoicev2ConfigurationSetOutput ToSmsvoicev2ConfigurationSetOutputWithContext(ctx context.Context) Smsvoicev2ConfigurationSetOutput }
type Smsvoicev2ConfigurationSetMap ¶ added in v6.56.0
type Smsvoicev2ConfigurationSetMap map[string]Smsvoicev2ConfigurationSetInput
func (Smsvoicev2ConfigurationSetMap) ElementType ¶ added in v6.56.0
func (Smsvoicev2ConfigurationSetMap) ElementType() reflect.Type
func (Smsvoicev2ConfigurationSetMap) ToSmsvoicev2ConfigurationSetMapOutput ¶ added in v6.56.0
func (i Smsvoicev2ConfigurationSetMap) ToSmsvoicev2ConfigurationSetMapOutput() Smsvoicev2ConfigurationSetMapOutput
func (Smsvoicev2ConfigurationSetMap) ToSmsvoicev2ConfigurationSetMapOutputWithContext ¶ added in v6.56.0
func (i Smsvoicev2ConfigurationSetMap) ToSmsvoicev2ConfigurationSetMapOutputWithContext(ctx context.Context) Smsvoicev2ConfigurationSetMapOutput
type Smsvoicev2ConfigurationSetMapInput ¶ added in v6.56.0
type Smsvoicev2ConfigurationSetMapInput interface { pulumi.Input ToSmsvoicev2ConfigurationSetMapOutput() Smsvoicev2ConfigurationSetMapOutput ToSmsvoicev2ConfigurationSetMapOutputWithContext(context.Context) Smsvoicev2ConfigurationSetMapOutput }
Smsvoicev2ConfigurationSetMapInput is an input type that accepts Smsvoicev2ConfigurationSetMap and Smsvoicev2ConfigurationSetMapOutput values. You can construct a concrete instance of `Smsvoicev2ConfigurationSetMapInput` via:
Smsvoicev2ConfigurationSetMap{ "key": Smsvoicev2ConfigurationSetArgs{...} }
type Smsvoicev2ConfigurationSetMapOutput ¶ added in v6.56.0
type Smsvoicev2ConfigurationSetMapOutput struct{ *pulumi.OutputState }
func (Smsvoicev2ConfigurationSetMapOutput) ElementType ¶ added in v6.56.0
func (Smsvoicev2ConfigurationSetMapOutput) ElementType() reflect.Type
func (Smsvoicev2ConfigurationSetMapOutput) MapIndex ¶ added in v6.56.0
func (o Smsvoicev2ConfigurationSetMapOutput) MapIndex(k pulumi.StringInput) Smsvoicev2ConfigurationSetOutput
func (Smsvoicev2ConfigurationSetMapOutput) ToSmsvoicev2ConfigurationSetMapOutput ¶ added in v6.56.0
func (o Smsvoicev2ConfigurationSetMapOutput) ToSmsvoicev2ConfigurationSetMapOutput() Smsvoicev2ConfigurationSetMapOutput
func (Smsvoicev2ConfigurationSetMapOutput) ToSmsvoicev2ConfigurationSetMapOutputWithContext ¶ added in v6.56.0
func (o Smsvoicev2ConfigurationSetMapOutput) ToSmsvoicev2ConfigurationSetMapOutputWithContext(ctx context.Context) Smsvoicev2ConfigurationSetMapOutput
type Smsvoicev2ConfigurationSetOutput ¶ added in v6.56.0
type Smsvoicev2ConfigurationSetOutput struct{ *pulumi.OutputState }
func (Smsvoicev2ConfigurationSetOutput) Arn ¶ added in v6.56.0
func (o Smsvoicev2ConfigurationSetOutput) Arn() pulumi.StringOutput
ARN of the configuration set.
func (Smsvoicev2ConfigurationSetOutput) DefaultMessageType ¶ added in v6.56.0
func (o Smsvoicev2ConfigurationSetOutput) DefaultMessageType() pulumi.StringPtrOutput
The default message type. Must either be "TRANSACTIONAL" or "PROMOTIONAL"
func (Smsvoicev2ConfigurationSetOutput) DefaultSenderId ¶ added in v6.56.0
func (o Smsvoicev2ConfigurationSetOutput) DefaultSenderId() pulumi.StringPtrOutput
The default sender ID to use for this configuration set.
func (Smsvoicev2ConfigurationSetOutput) ElementType ¶ added in v6.56.0
func (Smsvoicev2ConfigurationSetOutput) ElementType() reflect.Type
func (Smsvoicev2ConfigurationSetOutput) Name ¶ added in v6.56.0
func (o Smsvoicev2ConfigurationSetOutput) Name() pulumi.StringOutput
The name of the configuration set.
func (Smsvoicev2ConfigurationSetOutput) Tags ¶ added in v6.56.0
func (o Smsvoicev2ConfigurationSetOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (Smsvoicev2ConfigurationSetOutput) TagsAll
deprecated
added in
v6.56.0
func (o Smsvoicev2ConfigurationSetOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (Smsvoicev2ConfigurationSetOutput) ToSmsvoicev2ConfigurationSetOutput ¶ added in v6.56.0
func (o Smsvoicev2ConfigurationSetOutput) ToSmsvoicev2ConfigurationSetOutput() Smsvoicev2ConfigurationSetOutput
func (Smsvoicev2ConfigurationSetOutput) ToSmsvoicev2ConfigurationSetOutputWithContext ¶ added in v6.56.0
func (o Smsvoicev2ConfigurationSetOutput) ToSmsvoicev2ConfigurationSetOutputWithContext(ctx context.Context) Smsvoicev2ConfigurationSetOutput
type Smsvoicev2ConfigurationSetState ¶ added in v6.56.0
type Smsvoicev2ConfigurationSetState struct { // ARN of the configuration set. Arn pulumi.StringPtrInput // The default message type. Must either be "TRANSACTIONAL" or "PROMOTIONAL" DefaultMessageType pulumi.StringPtrInput // The default sender ID to use for this configuration set. DefaultSenderId pulumi.StringPtrInput // The name of the configuration set. Name pulumi.StringPtrInput // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput }
func (Smsvoicev2ConfigurationSetState) ElementType ¶ added in v6.56.0
func (Smsvoicev2ConfigurationSetState) ElementType() reflect.Type
type Smsvoicev2OptOutList ¶ added in v6.53.0
type Smsvoicev2OptOutList struct { pulumi.CustomResourceState // ARN of the opt-out list. Arn pulumi.StringOutput `pulumi:"arn"` // The name of the opt-out list. Name pulumi.StringOutput `pulumi:"name"` // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` }
Manages an AWS End User Messaging SMS opt-out list.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/pinpoint" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := pinpoint.NewSmsvoicev2OptOutList(ctx, "example", &pinpoint.Smsvoicev2OptOutListArgs{ Name: pulumi.String("example-opt-out-list"), }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import opt-out lists using the `name`. For example:
```sh $ pulumi import aws:pinpoint/smsvoicev2OptOutList:Smsvoicev2OptOutList example example-opt-out-list ```
func GetSmsvoicev2OptOutList ¶ added in v6.53.0
func GetSmsvoicev2OptOutList(ctx *pulumi.Context, name string, id pulumi.IDInput, state *Smsvoicev2OptOutListState, opts ...pulumi.ResourceOption) (*Smsvoicev2OptOutList, error)
GetSmsvoicev2OptOutList gets an existing Smsvoicev2OptOutList 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 NewSmsvoicev2OptOutList ¶ added in v6.53.0
func NewSmsvoicev2OptOutList(ctx *pulumi.Context, name string, args *Smsvoicev2OptOutListArgs, opts ...pulumi.ResourceOption) (*Smsvoicev2OptOutList, error)
NewSmsvoicev2OptOutList registers a new resource with the given unique name, arguments, and options.
func (*Smsvoicev2OptOutList) ElementType ¶ added in v6.53.0
func (*Smsvoicev2OptOutList) ElementType() reflect.Type
func (*Smsvoicev2OptOutList) ToSmsvoicev2OptOutListOutput ¶ added in v6.53.0
func (i *Smsvoicev2OptOutList) ToSmsvoicev2OptOutListOutput() Smsvoicev2OptOutListOutput
func (*Smsvoicev2OptOutList) ToSmsvoicev2OptOutListOutputWithContext ¶ added in v6.53.0
func (i *Smsvoicev2OptOutList) ToSmsvoicev2OptOutListOutputWithContext(ctx context.Context) Smsvoicev2OptOutListOutput
type Smsvoicev2OptOutListArgs ¶ added in v6.53.0
type Smsvoicev2OptOutListArgs struct { // The name of the opt-out list. Name pulumi.StringPtrInput // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput }
The set of arguments for constructing a Smsvoicev2OptOutList resource.
func (Smsvoicev2OptOutListArgs) ElementType ¶ added in v6.53.0
func (Smsvoicev2OptOutListArgs) ElementType() reflect.Type
type Smsvoicev2OptOutListArray ¶ added in v6.53.0
type Smsvoicev2OptOutListArray []Smsvoicev2OptOutListInput
func (Smsvoicev2OptOutListArray) ElementType ¶ added in v6.53.0
func (Smsvoicev2OptOutListArray) ElementType() reflect.Type
func (Smsvoicev2OptOutListArray) ToSmsvoicev2OptOutListArrayOutput ¶ added in v6.53.0
func (i Smsvoicev2OptOutListArray) ToSmsvoicev2OptOutListArrayOutput() Smsvoicev2OptOutListArrayOutput
func (Smsvoicev2OptOutListArray) ToSmsvoicev2OptOutListArrayOutputWithContext ¶ added in v6.53.0
func (i Smsvoicev2OptOutListArray) ToSmsvoicev2OptOutListArrayOutputWithContext(ctx context.Context) Smsvoicev2OptOutListArrayOutput
type Smsvoicev2OptOutListArrayInput ¶ added in v6.53.0
type Smsvoicev2OptOutListArrayInput interface { pulumi.Input ToSmsvoicev2OptOutListArrayOutput() Smsvoicev2OptOutListArrayOutput ToSmsvoicev2OptOutListArrayOutputWithContext(context.Context) Smsvoicev2OptOutListArrayOutput }
Smsvoicev2OptOutListArrayInput is an input type that accepts Smsvoicev2OptOutListArray and Smsvoicev2OptOutListArrayOutput values. You can construct a concrete instance of `Smsvoicev2OptOutListArrayInput` via:
Smsvoicev2OptOutListArray{ Smsvoicev2OptOutListArgs{...} }
type Smsvoicev2OptOutListArrayOutput ¶ added in v6.53.0
type Smsvoicev2OptOutListArrayOutput struct{ *pulumi.OutputState }
func (Smsvoicev2OptOutListArrayOutput) ElementType ¶ added in v6.53.0
func (Smsvoicev2OptOutListArrayOutput) ElementType() reflect.Type
func (Smsvoicev2OptOutListArrayOutput) Index ¶ added in v6.53.0
func (o Smsvoicev2OptOutListArrayOutput) Index(i pulumi.IntInput) Smsvoicev2OptOutListOutput
func (Smsvoicev2OptOutListArrayOutput) ToSmsvoicev2OptOutListArrayOutput ¶ added in v6.53.0
func (o Smsvoicev2OptOutListArrayOutput) ToSmsvoicev2OptOutListArrayOutput() Smsvoicev2OptOutListArrayOutput
func (Smsvoicev2OptOutListArrayOutput) ToSmsvoicev2OptOutListArrayOutputWithContext ¶ added in v6.53.0
func (o Smsvoicev2OptOutListArrayOutput) ToSmsvoicev2OptOutListArrayOutputWithContext(ctx context.Context) Smsvoicev2OptOutListArrayOutput
type Smsvoicev2OptOutListInput ¶ added in v6.53.0
type Smsvoicev2OptOutListInput interface { pulumi.Input ToSmsvoicev2OptOutListOutput() Smsvoicev2OptOutListOutput ToSmsvoicev2OptOutListOutputWithContext(ctx context.Context) Smsvoicev2OptOutListOutput }
type Smsvoicev2OptOutListMap ¶ added in v6.53.0
type Smsvoicev2OptOutListMap map[string]Smsvoicev2OptOutListInput
func (Smsvoicev2OptOutListMap) ElementType ¶ added in v6.53.0
func (Smsvoicev2OptOutListMap) ElementType() reflect.Type
func (Smsvoicev2OptOutListMap) ToSmsvoicev2OptOutListMapOutput ¶ added in v6.53.0
func (i Smsvoicev2OptOutListMap) ToSmsvoicev2OptOutListMapOutput() Smsvoicev2OptOutListMapOutput
func (Smsvoicev2OptOutListMap) ToSmsvoicev2OptOutListMapOutputWithContext ¶ added in v6.53.0
func (i Smsvoicev2OptOutListMap) ToSmsvoicev2OptOutListMapOutputWithContext(ctx context.Context) Smsvoicev2OptOutListMapOutput
type Smsvoicev2OptOutListMapInput ¶ added in v6.53.0
type Smsvoicev2OptOutListMapInput interface { pulumi.Input ToSmsvoicev2OptOutListMapOutput() Smsvoicev2OptOutListMapOutput ToSmsvoicev2OptOutListMapOutputWithContext(context.Context) Smsvoicev2OptOutListMapOutput }
Smsvoicev2OptOutListMapInput is an input type that accepts Smsvoicev2OptOutListMap and Smsvoicev2OptOutListMapOutput values. You can construct a concrete instance of `Smsvoicev2OptOutListMapInput` via:
Smsvoicev2OptOutListMap{ "key": Smsvoicev2OptOutListArgs{...} }
type Smsvoicev2OptOutListMapOutput ¶ added in v6.53.0
type Smsvoicev2OptOutListMapOutput struct{ *pulumi.OutputState }
func (Smsvoicev2OptOutListMapOutput) ElementType ¶ added in v6.53.0
func (Smsvoicev2OptOutListMapOutput) ElementType() reflect.Type
func (Smsvoicev2OptOutListMapOutput) MapIndex ¶ added in v6.53.0
func (o Smsvoicev2OptOutListMapOutput) MapIndex(k pulumi.StringInput) Smsvoicev2OptOutListOutput
func (Smsvoicev2OptOutListMapOutput) ToSmsvoicev2OptOutListMapOutput ¶ added in v6.53.0
func (o Smsvoicev2OptOutListMapOutput) ToSmsvoicev2OptOutListMapOutput() Smsvoicev2OptOutListMapOutput
func (Smsvoicev2OptOutListMapOutput) ToSmsvoicev2OptOutListMapOutputWithContext ¶ added in v6.53.0
func (o Smsvoicev2OptOutListMapOutput) ToSmsvoicev2OptOutListMapOutputWithContext(ctx context.Context) Smsvoicev2OptOutListMapOutput
type Smsvoicev2OptOutListOutput ¶ added in v6.53.0
type Smsvoicev2OptOutListOutput struct{ *pulumi.OutputState }
func (Smsvoicev2OptOutListOutput) Arn ¶ added in v6.53.0
func (o Smsvoicev2OptOutListOutput) Arn() pulumi.StringOutput
ARN of the opt-out list.
func (Smsvoicev2OptOutListOutput) ElementType ¶ added in v6.53.0
func (Smsvoicev2OptOutListOutput) ElementType() reflect.Type
func (Smsvoicev2OptOutListOutput) Name ¶ added in v6.53.0
func (o Smsvoicev2OptOutListOutput) Name() pulumi.StringOutput
The name of the opt-out list.
func (Smsvoicev2OptOutListOutput) Tags ¶ added in v6.53.0
func (o Smsvoicev2OptOutListOutput) Tags() pulumi.StringMapOutput
Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (Smsvoicev2OptOutListOutput) TagsAll
deprecated
added in
v6.53.0
func (o Smsvoicev2OptOutListOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (Smsvoicev2OptOutListOutput) ToSmsvoicev2OptOutListOutput ¶ added in v6.53.0
func (o Smsvoicev2OptOutListOutput) ToSmsvoicev2OptOutListOutput() Smsvoicev2OptOutListOutput
func (Smsvoicev2OptOutListOutput) ToSmsvoicev2OptOutListOutputWithContext ¶ added in v6.53.0
func (o Smsvoicev2OptOutListOutput) ToSmsvoicev2OptOutListOutputWithContext(ctx context.Context) Smsvoicev2OptOutListOutput
type Smsvoicev2OptOutListState ¶ added in v6.53.0
type Smsvoicev2OptOutListState struct { // ARN of the opt-out list. Arn pulumi.StringPtrInput // The name of the opt-out list. Name pulumi.StringPtrInput // Key-value map of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput }
func (Smsvoicev2OptOutListState) ElementType ¶ added in v6.53.0
func (Smsvoicev2OptOutListState) ElementType() reflect.Type
type Smsvoicev2PhoneNumber ¶ added in v6.53.0
type Smsvoicev2PhoneNumber struct { pulumi.CustomResourceState // ARN of the phone number. Arn pulumi.StringOutput `pulumi:"arn"` // By default this is set to `false`. When set to true the phone number can’t be deleted. DeletionProtectionEnabled pulumi.BoolOutput `pulumi:"deletionProtectionEnabled"` // The two-character code, in ISO 3166-1 alpha-2 format, for the country or region. IsoCountryCode pulumi.StringOutput `pulumi:"isoCountryCode"` // The type of message. Valid values are `TRANSACTIONAL` for messages that are critical or time-sensitive and `PROMOTIONAL` for messages that aren’t critical or time-sensitive. MessageType pulumi.StringOutput `pulumi:"messageType"` // The monthly price, in US dollars, to lease the phone number. MonthlyLeasingPrice pulumi.StringOutput `pulumi:"monthlyLeasingPrice"` // Describes if the origination identity can be used for text messages, voice calls or both. valid values are `SMS` and `VOICE`. NumberCapabilities pulumi.StringArrayOutput `pulumi:"numberCapabilities"` // The type of phone number to request. Possible values are `LONG_CODE`, `TOLL_FREE`, `TEN_DLC`, or `SIMULATOR`. NumberType pulumi.StringOutput `pulumi:"numberType"` // The name of the opt-out list to associate with the phone number. OptOutListName pulumi.StringOutput `pulumi:"optOutListName"` // The new phone number that was requested. PhoneNumber pulumi.StringOutput `pulumi:"phoneNumber"` // Use this field to attach your phone number for an external registration process. RegistrationId pulumi.StringPtrOutput `pulumi:"registrationId"` // When set to `false` an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the opt-out list. When set to true you’re responsible for responding to HELP and STOP requests. You’re also responsible for tracking and honoring opt-out request. SelfManagedOptOutsEnabled pulumi.BoolOutput `pulumi:"selfManagedOptOutsEnabled"` Tags pulumi.StringMapOutput `pulumi:"tags"` // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` Timeouts Smsvoicev2PhoneNumberTimeoutsPtrOutput `pulumi:"timeouts"` // The Amazon Resource Name (ARN) of the two way channel. TwoWayChannelArn pulumi.StringPtrOutput `pulumi:"twoWayChannelArn"` // By default this is set to `false`. When set to `true` you can receive incoming text messages from your end recipients. TwoWayChannelEnabled pulumi.BoolOutput `pulumi:"twoWayChannelEnabled"` }
Manages an AWS End User Messaging SMS phone number.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/pinpoint" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := pinpoint.NewSmsvoicev2PhoneNumber(ctx, "example", &pinpoint.Smsvoicev2PhoneNumberArgs{ IsoCountryCode: pulumi.String("US"), MessageType: pulumi.String("TRANSACTIONAL"), NumberType: pulumi.String("TOLL_FREE"), NumberCapabilities: pulumi.StringArray{ pulumi.String("SMS"), }, }) if err != nil { return err } return nil }) }
```
## Import
Using `pulumi import`, import phone numbers using the `id`. For example:
```sh $ pulumi import aws:pinpoint/smsvoicev2PhoneNumber:Smsvoicev2PhoneNumber example phone-abcdef0123456789abcdef0123456789 ```
func GetSmsvoicev2PhoneNumber ¶ added in v6.53.0
func GetSmsvoicev2PhoneNumber(ctx *pulumi.Context, name string, id pulumi.IDInput, state *Smsvoicev2PhoneNumberState, opts ...pulumi.ResourceOption) (*Smsvoicev2PhoneNumber, error)
GetSmsvoicev2PhoneNumber gets an existing Smsvoicev2PhoneNumber 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 NewSmsvoicev2PhoneNumber ¶ added in v6.53.0
func NewSmsvoicev2PhoneNumber(ctx *pulumi.Context, name string, args *Smsvoicev2PhoneNumberArgs, opts ...pulumi.ResourceOption) (*Smsvoicev2PhoneNumber, error)
NewSmsvoicev2PhoneNumber registers a new resource with the given unique name, arguments, and options.
func (*Smsvoicev2PhoneNumber) ElementType ¶ added in v6.53.0
func (*Smsvoicev2PhoneNumber) ElementType() reflect.Type
func (*Smsvoicev2PhoneNumber) ToSmsvoicev2PhoneNumberOutput ¶ added in v6.53.0
func (i *Smsvoicev2PhoneNumber) ToSmsvoicev2PhoneNumberOutput() Smsvoicev2PhoneNumberOutput
func (*Smsvoicev2PhoneNumber) ToSmsvoicev2PhoneNumberOutputWithContext ¶ added in v6.53.0
func (i *Smsvoicev2PhoneNumber) ToSmsvoicev2PhoneNumberOutputWithContext(ctx context.Context) Smsvoicev2PhoneNumberOutput
type Smsvoicev2PhoneNumberArgs ¶ added in v6.53.0
type Smsvoicev2PhoneNumberArgs struct { // By default this is set to `false`. When set to true the phone number can’t be deleted. DeletionProtectionEnabled pulumi.BoolPtrInput // The two-character code, in ISO 3166-1 alpha-2 format, for the country or region. IsoCountryCode pulumi.StringInput // The type of message. Valid values are `TRANSACTIONAL` for messages that are critical or time-sensitive and `PROMOTIONAL` for messages that aren’t critical or time-sensitive. MessageType pulumi.StringInput // Describes if the origination identity can be used for text messages, voice calls or both. valid values are `SMS` and `VOICE`. NumberCapabilities pulumi.StringArrayInput // The type of phone number to request. Possible values are `LONG_CODE`, `TOLL_FREE`, `TEN_DLC`, or `SIMULATOR`. NumberType pulumi.StringInput // The name of the opt-out list to associate with the phone number. OptOutListName pulumi.StringPtrInput // Use this field to attach your phone number for an external registration process. RegistrationId pulumi.StringPtrInput // When set to `false` an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the opt-out list. When set to true you’re responsible for responding to HELP and STOP requests. You’re also responsible for tracking and honoring opt-out request. SelfManagedOptOutsEnabled pulumi.BoolPtrInput Tags pulumi.StringMapInput Timeouts Smsvoicev2PhoneNumberTimeoutsPtrInput // The Amazon Resource Name (ARN) of the two way channel. TwoWayChannelArn pulumi.StringPtrInput // By default this is set to `false`. When set to `true` you can receive incoming text messages from your end recipients. TwoWayChannelEnabled pulumi.BoolPtrInput }
The set of arguments for constructing a Smsvoicev2PhoneNumber resource.
func (Smsvoicev2PhoneNumberArgs) ElementType ¶ added in v6.53.0
func (Smsvoicev2PhoneNumberArgs) ElementType() reflect.Type
type Smsvoicev2PhoneNumberArray ¶ added in v6.53.0
type Smsvoicev2PhoneNumberArray []Smsvoicev2PhoneNumberInput
func (Smsvoicev2PhoneNumberArray) ElementType ¶ added in v6.53.0
func (Smsvoicev2PhoneNumberArray) ElementType() reflect.Type
func (Smsvoicev2PhoneNumberArray) ToSmsvoicev2PhoneNumberArrayOutput ¶ added in v6.53.0
func (i Smsvoicev2PhoneNumberArray) ToSmsvoicev2PhoneNumberArrayOutput() Smsvoicev2PhoneNumberArrayOutput
func (Smsvoicev2PhoneNumberArray) ToSmsvoicev2PhoneNumberArrayOutputWithContext ¶ added in v6.53.0
func (i Smsvoicev2PhoneNumberArray) ToSmsvoicev2PhoneNumberArrayOutputWithContext(ctx context.Context) Smsvoicev2PhoneNumberArrayOutput
type Smsvoicev2PhoneNumberArrayInput ¶ added in v6.53.0
type Smsvoicev2PhoneNumberArrayInput interface { pulumi.Input ToSmsvoicev2PhoneNumberArrayOutput() Smsvoicev2PhoneNumberArrayOutput ToSmsvoicev2PhoneNumberArrayOutputWithContext(context.Context) Smsvoicev2PhoneNumberArrayOutput }
Smsvoicev2PhoneNumberArrayInput is an input type that accepts Smsvoicev2PhoneNumberArray and Smsvoicev2PhoneNumberArrayOutput values. You can construct a concrete instance of `Smsvoicev2PhoneNumberArrayInput` via:
Smsvoicev2PhoneNumberArray{ Smsvoicev2PhoneNumberArgs{...} }
type Smsvoicev2PhoneNumberArrayOutput ¶ added in v6.53.0
type Smsvoicev2PhoneNumberArrayOutput struct{ *pulumi.OutputState }
func (Smsvoicev2PhoneNumberArrayOutput) ElementType ¶ added in v6.53.0
func (Smsvoicev2PhoneNumberArrayOutput) ElementType() reflect.Type
func (Smsvoicev2PhoneNumberArrayOutput) Index ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberArrayOutput) Index(i pulumi.IntInput) Smsvoicev2PhoneNumberOutput
func (Smsvoicev2PhoneNumberArrayOutput) ToSmsvoicev2PhoneNumberArrayOutput ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberArrayOutput) ToSmsvoicev2PhoneNumberArrayOutput() Smsvoicev2PhoneNumberArrayOutput
func (Smsvoicev2PhoneNumberArrayOutput) ToSmsvoicev2PhoneNumberArrayOutputWithContext ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberArrayOutput) ToSmsvoicev2PhoneNumberArrayOutputWithContext(ctx context.Context) Smsvoicev2PhoneNumberArrayOutput
type Smsvoicev2PhoneNumberInput ¶ added in v6.53.0
type Smsvoicev2PhoneNumberInput interface { pulumi.Input ToSmsvoicev2PhoneNumberOutput() Smsvoicev2PhoneNumberOutput ToSmsvoicev2PhoneNumberOutputWithContext(ctx context.Context) Smsvoicev2PhoneNumberOutput }
type Smsvoicev2PhoneNumberMap ¶ added in v6.53.0
type Smsvoicev2PhoneNumberMap map[string]Smsvoicev2PhoneNumberInput
func (Smsvoicev2PhoneNumberMap) ElementType ¶ added in v6.53.0
func (Smsvoicev2PhoneNumberMap) ElementType() reflect.Type
func (Smsvoicev2PhoneNumberMap) ToSmsvoicev2PhoneNumberMapOutput ¶ added in v6.53.0
func (i Smsvoicev2PhoneNumberMap) ToSmsvoicev2PhoneNumberMapOutput() Smsvoicev2PhoneNumberMapOutput
func (Smsvoicev2PhoneNumberMap) ToSmsvoicev2PhoneNumberMapOutputWithContext ¶ added in v6.53.0
func (i Smsvoicev2PhoneNumberMap) ToSmsvoicev2PhoneNumberMapOutputWithContext(ctx context.Context) Smsvoicev2PhoneNumberMapOutput
type Smsvoicev2PhoneNumberMapInput ¶ added in v6.53.0
type Smsvoicev2PhoneNumberMapInput interface { pulumi.Input ToSmsvoicev2PhoneNumberMapOutput() Smsvoicev2PhoneNumberMapOutput ToSmsvoicev2PhoneNumberMapOutputWithContext(context.Context) Smsvoicev2PhoneNumberMapOutput }
Smsvoicev2PhoneNumberMapInput is an input type that accepts Smsvoicev2PhoneNumberMap and Smsvoicev2PhoneNumberMapOutput values. You can construct a concrete instance of `Smsvoicev2PhoneNumberMapInput` via:
Smsvoicev2PhoneNumberMap{ "key": Smsvoicev2PhoneNumberArgs{...} }
type Smsvoicev2PhoneNumberMapOutput ¶ added in v6.53.0
type Smsvoicev2PhoneNumberMapOutput struct{ *pulumi.OutputState }
func (Smsvoicev2PhoneNumberMapOutput) ElementType ¶ added in v6.53.0
func (Smsvoicev2PhoneNumberMapOutput) ElementType() reflect.Type
func (Smsvoicev2PhoneNumberMapOutput) MapIndex ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberMapOutput) MapIndex(k pulumi.StringInput) Smsvoicev2PhoneNumberOutput
func (Smsvoicev2PhoneNumberMapOutput) ToSmsvoicev2PhoneNumberMapOutput ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberMapOutput) ToSmsvoicev2PhoneNumberMapOutput() Smsvoicev2PhoneNumberMapOutput
func (Smsvoicev2PhoneNumberMapOutput) ToSmsvoicev2PhoneNumberMapOutputWithContext ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberMapOutput) ToSmsvoicev2PhoneNumberMapOutputWithContext(ctx context.Context) Smsvoicev2PhoneNumberMapOutput
type Smsvoicev2PhoneNumberOutput ¶ added in v6.53.0
type Smsvoicev2PhoneNumberOutput struct{ *pulumi.OutputState }
func (Smsvoicev2PhoneNumberOutput) Arn ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberOutput) Arn() pulumi.StringOutput
ARN of the phone number.
func (Smsvoicev2PhoneNumberOutput) DeletionProtectionEnabled ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberOutput) DeletionProtectionEnabled() pulumi.BoolOutput
By default this is set to `false`. When set to true the phone number can’t be deleted.
func (Smsvoicev2PhoneNumberOutput) ElementType ¶ added in v6.53.0
func (Smsvoicev2PhoneNumberOutput) ElementType() reflect.Type
func (Smsvoicev2PhoneNumberOutput) IsoCountryCode ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberOutput) IsoCountryCode() pulumi.StringOutput
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
func (Smsvoicev2PhoneNumberOutput) MessageType ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberOutput) MessageType() pulumi.StringOutput
The type of message. Valid values are `TRANSACTIONAL` for messages that are critical or time-sensitive and `PROMOTIONAL` for messages that aren’t critical or time-sensitive.
func (Smsvoicev2PhoneNumberOutput) MonthlyLeasingPrice ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberOutput) MonthlyLeasingPrice() pulumi.StringOutput
The monthly price, in US dollars, to lease the phone number.
func (Smsvoicev2PhoneNumberOutput) NumberCapabilities ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberOutput) NumberCapabilities() pulumi.StringArrayOutput
Describes if the origination identity can be used for text messages, voice calls or both. valid values are `SMS` and `VOICE`.
func (Smsvoicev2PhoneNumberOutput) NumberType ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberOutput) NumberType() pulumi.StringOutput
The type of phone number to request. Possible values are `LONG_CODE`, `TOLL_FREE`, `TEN_DLC`, or `SIMULATOR`.
func (Smsvoicev2PhoneNumberOutput) OptOutListName ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberOutput) OptOutListName() pulumi.StringOutput
The name of the opt-out list to associate with the phone number.
func (Smsvoicev2PhoneNumberOutput) PhoneNumber ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberOutput) PhoneNumber() pulumi.StringOutput
The new phone number that was requested.
func (Smsvoicev2PhoneNumberOutput) RegistrationId ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberOutput) RegistrationId() pulumi.StringPtrOutput
Use this field to attach your phone number for an external registration process.
func (Smsvoicev2PhoneNumberOutput) SelfManagedOptOutsEnabled ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberOutput) SelfManagedOptOutsEnabled() pulumi.BoolOutput
When set to `false` an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the opt-out list. When set to true you’re responsible for responding to HELP and STOP requests. You’re also responsible for tracking and honoring opt-out request.
func (Smsvoicev2PhoneNumberOutput) Tags ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberOutput) Tags() pulumi.StringMapOutput
func (Smsvoicev2PhoneNumberOutput) TagsAll
deprecated
added in
v6.53.0
func (o Smsvoicev2PhoneNumberOutput) TagsAll() pulumi.StringMapOutput
A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (Smsvoicev2PhoneNumberOutput) Timeouts ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberOutput) Timeouts() Smsvoicev2PhoneNumberTimeoutsPtrOutput
func (Smsvoicev2PhoneNumberOutput) ToSmsvoicev2PhoneNumberOutput ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberOutput) ToSmsvoicev2PhoneNumberOutput() Smsvoicev2PhoneNumberOutput
func (Smsvoicev2PhoneNumberOutput) ToSmsvoicev2PhoneNumberOutputWithContext ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberOutput) ToSmsvoicev2PhoneNumberOutputWithContext(ctx context.Context) Smsvoicev2PhoneNumberOutput
func (Smsvoicev2PhoneNumberOutput) TwoWayChannelArn ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberOutput) TwoWayChannelArn() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the two way channel.
func (Smsvoicev2PhoneNumberOutput) TwoWayChannelEnabled ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberOutput) TwoWayChannelEnabled() pulumi.BoolOutput
By default this is set to `false`. When set to `true` you can receive incoming text messages from your end recipients.
type Smsvoicev2PhoneNumberState ¶ added in v6.53.0
type Smsvoicev2PhoneNumberState struct { // ARN of the phone number. Arn pulumi.StringPtrInput // By default this is set to `false`. When set to true the phone number can’t be deleted. DeletionProtectionEnabled pulumi.BoolPtrInput // The two-character code, in ISO 3166-1 alpha-2 format, for the country or region. IsoCountryCode pulumi.StringPtrInput // The type of message. Valid values are `TRANSACTIONAL` for messages that are critical or time-sensitive and `PROMOTIONAL` for messages that aren’t critical or time-sensitive. MessageType pulumi.StringPtrInput // The monthly price, in US dollars, to lease the phone number. MonthlyLeasingPrice pulumi.StringPtrInput // Describes if the origination identity can be used for text messages, voice calls or both. valid values are `SMS` and `VOICE`. NumberCapabilities pulumi.StringArrayInput // The type of phone number to request. Possible values are `LONG_CODE`, `TOLL_FREE`, `TEN_DLC`, or `SIMULATOR`. NumberType pulumi.StringPtrInput // The name of the opt-out list to associate with the phone number. OptOutListName pulumi.StringPtrInput // The new phone number that was requested. PhoneNumber pulumi.StringPtrInput // Use this field to attach your phone number for an external registration process. RegistrationId pulumi.StringPtrInput // When set to `false` an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the opt-out list. When set to true you’re responsible for responding to HELP and STOP requests. You’re also responsible for tracking and honoring opt-out request. SelfManagedOptOutsEnabled pulumi.BoolPtrInput Tags pulumi.StringMapInput // A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput Timeouts Smsvoicev2PhoneNumberTimeoutsPtrInput // The Amazon Resource Name (ARN) of the two way channel. TwoWayChannelArn pulumi.StringPtrInput // By default this is set to `false`. When set to `true` you can receive incoming text messages from your end recipients. TwoWayChannelEnabled pulumi.BoolPtrInput }
func (Smsvoicev2PhoneNumberState) ElementType ¶ added in v6.53.0
func (Smsvoicev2PhoneNumberState) ElementType() reflect.Type
type Smsvoicev2PhoneNumberTimeouts ¶ added in v6.53.0
type Smsvoicev2PhoneNumberTimeouts struct { // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Create *string `pulumi:"create"` // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. Delete *string `pulumi:"delete"` // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Update *string `pulumi:"update"` }
type Smsvoicev2PhoneNumberTimeoutsArgs ¶ added in v6.53.0
type Smsvoicev2PhoneNumberTimeoutsArgs struct { // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Create pulumi.StringPtrInput `pulumi:"create"` // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs. Delete pulumi.StringPtrInput `pulumi:"delete"` // A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Update pulumi.StringPtrInput `pulumi:"update"` }
func (Smsvoicev2PhoneNumberTimeoutsArgs) ElementType ¶ added in v6.53.0
func (Smsvoicev2PhoneNumberTimeoutsArgs) ElementType() reflect.Type
func (Smsvoicev2PhoneNumberTimeoutsArgs) ToSmsvoicev2PhoneNumberTimeoutsOutput ¶ added in v6.53.0
func (i Smsvoicev2PhoneNumberTimeoutsArgs) ToSmsvoicev2PhoneNumberTimeoutsOutput() Smsvoicev2PhoneNumberTimeoutsOutput
func (Smsvoicev2PhoneNumberTimeoutsArgs) ToSmsvoicev2PhoneNumberTimeoutsOutputWithContext ¶ added in v6.53.0
func (i Smsvoicev2PhoneNumberTimeoutsArgs) ToSmsvoicev2PhoneNumberTimeoutsOutputWithContext(ctx context.Context) Smsvoicev2PhoneNumberTimeoutsOutput
func (Smsvoicev2PhoneNumberTimeoutsArgs) ToSmsvoicev2PhoneNumberTimeoutsPtrOutput ¶ added in v6.53.0
func (i Smsvoicev2PhoneNumberTimeoutsArgs) ToSmsvoicev2PhoneNumberTimeoutsPtrOutput() Smsvoicev2PhoneNumberTimeoutsPtrOutput
func (Smsvoicev2PhoneNumberTimeoutsArgs) ToSmsvoicev2PhoneNumberTimeoutsPtrOutputWithContext ¶ added in v6.53.0
func (i Smsvoicev2PhoneNumberTimeoutsArgs) ToSmsvoicev2PhoneNumberTimeoutsPtrOutputWithContext(ctx context.Context) Smsvoicev2PhoneNumberTimeoutsPtrOutput
type Smsvoicev2PhoneNumberTimeoutsInput ¶ added in v6.53.0
type Smsvoicev2PhoneNumberTimeoutsInput interface { pulumi.Input ToSmsvoicev2PhoneNumberTimeoutsOutput() Smsvoicev2PhoneNumberTimeoutsOutput ToSmsvoicev2PhoneNumberTimeoutsOutputWithContext(context.Context) Smsvoicev2PhoneNumberTimeoutsOutput }
Smsvoicev2PhoneNumberTimeoutsInput is an input type that accepts Smsvoicev2PhoneNumberTimeoutsArgs and Smsvoicev2PhoneNumberTimeoutsOutput values. You can construct a concrete instance of `Smsvoicev2PhoneNumberTimeoutsInput` via:
Smsvoicev2PhoneNumberTimeoutsArgs{...}
type Smsvoicev2PhoneNumberTimeoutsOutput ¶ added in v6.53.0
type Smsvoicev2PhoneNumberTimeoutsOutput struct{ *pulumi.OutputState }
func (Smsvoicev2PhoneNumberTimeoutsOutput) Create ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberTimeoutsOutput) Create() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
func (Smsvoicev2PhoneNumberTimeoutsOutput) Delete ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberTimeoutsOutput) Delete() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
func (Smsvoicev2PhoneNumberTimeoutsOutput) ElementType ¶ added in v6.53.0
func (Smsvoicev2PhoneNumberTimeoutsOutput) ElementType() reflect.Type
func (Smsvoicev2PhoneNumberTimeoutsOutput) ToSmsvoicev2PhoneNumberTimeoutsOutput ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberTimeoutsOutput) ToSmsvoicev2PhoneNumberTimeoutsOutput() Smsvoicev2PhoneNumberTimeoutsOutput
func (Smsvoicev2PhoneNumberTimeoutsOutput) ToSmsvoicev2PhoneNumberTimeoutsOutputWithContext ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberTimeoutsOutput) ToSmsvoicev2PhoneNumberTimeoutsOutputWithContext(ctx context.Context) Smsvoicev2PhoneNumberTimeoutsOutput
func (Smsvoicev2PhoneNumberTimeoutsOutput) ToSmsvoicev2PhoneNumberTimeoutsPtrOutput ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberTimeoutsOutput) ToSmsvoicev2PhoneNumberTimeoutsPtrOutput() Smsvoicev2PhoneNumberTimeoutsPtrOutput
func (Smsvoicev2PhoneNumberTimeoutsOutput) ToSmsvoicev2PhoneNumberTimeoutsPtrOutputWithContext ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberTimeoutsOutput) ToSmsvoicev2PhoneNumberTimeoutsPtrOutputWithContext(ctx context.Context) Smsvoicev2PhoneNumberTimeoutsPtrOutput
func (Smsvoicev2PhoneNumberTimeoutsOutput) Update ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberTimeoutsOutput) Update() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
type Smsvoicev2PhoneNumberTimeoutsPtrInput ¶ added in v6.53.0
type Smsvoicev2PhoneNumberTimeoutsPtrInput interface { pulumi.Input ToSmsvoicev2PhoneNumberTimeoutsPtrOutput() Smsvoicev2PhoneNumberTimeoutsPtrOutput ToSmsvoicev2PhoneNumberTimeoutsPtrOutputWithContext(context.Context) Smsvoicev2PhoneNumberTimeoutsPtrOutput }
Smsvoicev2PhoneNumberTimeoutsPtrInput is an input type that accepts Smsvoicev2PhoneNumberTimeoutsArgs, Smsvoicev2PhoneNumberTimeoutsPtr and Smsvoicev2PhoneNumberTimeoutsPtrOutput values. You can construct a concrete instance of `Smsvoicev2PhoneNumberTimeoutsPtrInput` via:
Smsvoicev2PhoneNumberTimeoutsArgs{...} or: nil
func Smsvoicev2PhoneNumberTimeoutsPtr ¶ added in v6.53.0
func Smsvoicev2PhoneNumberTimeoutsPtr(v *Smsvoicev2PhoneNumberTimeoutsArgs) Smsvoicev2PhoneNumberTimeoutsPtrInput
type Smsvoicev2PhoneNumberTimeoutsPtrOutput ¶ added in v6.53.0
type Smsvoicev2PhoneNumberTimeoutsPtrOutput struct{ *pulumi.OutputState }
func (Smsvoicev2PhoneNumberTimeoutsPtrOutput) Create ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberTimeoutsPtrOutput) Create() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
func (Smsvoicev2PhoneNumberTimeoutsPtrOutput) Delete ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberTimeoutsPtrOutput) Delete() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
func (Smsvoicev2PhoneNumberTimeoutsPtrOutput) ElementType ¶ added in v6.53.0
func (Smsvoicev2PhoneNumberTimeoutsPtrOutput) ElementType() reflect.Type
func (Smsvoicev2PhoneNumberTimeoutsPtrOutput) ToSmsvoicev2PhoneNumberTimeoutsPtrOutput ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberTimeoutsPtrOutput) ToSmsvoicev2PhoneNumberTimeoutsPtrOutput() Smsvoicev2PhoneNumberTimeoutsPtrOutput
func (Smsvoicev2PhoneNumberTimeoutsPtrOutput) ToSmsvoicev2PhoneNumberTimeoutsPtrOutputWithContext ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberTimeoutsPtrOutput) ToSmsvoicev2PhoneNumberTimeoutsPtrOutputWithContext(ctx context.Context) Smsvoicev2PhoneNumberTimeoutsPtrOutput
func (Smsvoicev2PhoneNumberTimeoutsPtrOutput) Update ¶ added in v6.53.0
func (o Smsvoicev2PhoneNumberTimeoutsPtrOutput) Update() pulumi.StringPtrOutput
A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).