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 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.StringOutput
- func (o GcmChannelOutput) ApplicationId() pulumi.StringOutput
- func (GcmChannelOutput) ElementType() reflect.Type
- func (o GcmChannelOutput) Enabled() pulumi.BoolPtrOutput
- 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
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 (
"os" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/pinpoint" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func readFileOrPanic(path string) pulumi.StringPtrInput { data, err := os.ReadFile(path) if err != nil { panic(err.Error()) } return pulumi.String(string(data)) } func main() { pulumi.Run(func(ctx *pulumi.Context) error { app, err := pinpoint.NewApp(ctx, "app", nil) if err != nil { return err } _, err = pinpoint.NewApnsChannel(ctx, "apns", &pinpoint.ApnsChannelArgs{ ApplicationId: app.ApplicationId, Certificate: readFileOrPanic("./certificate.pem"), PrivateKey: readFileOrPanic("./private_key.key"), }) 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 (
"os" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/pinpoint" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func readFileOrPanic(path string) pulumi.StringPtrInput { data, err := os.ReadFile(path) if err != nil { panic(err.Error()) } return pulumi.String(string(data)) } func main() { pulumi.Run(func(ctx *pulumi.Context) error { app, err := pinpoint.NewApp(ctx, "app", nil) if err != nil { return err } _, err = pinpoint.NewApnsSandboxChannel(ctx, "apnsSandbox", &pinpoint.ApnsSandboxChannelArgs{ ApplicationId: app.ApplicationId, Certificate: readFileOrPanic("./certificate.pem"), PrivateKey: readFileOrPanic("./private_key.key"), }) 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 (
"os" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/pinpoint" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func readFileOrPanic(path string) pulumi.StringPtrInput { data, err := os.ReadFile(path) if err != nil { panic(err.Error()) } return pulumi.String(string(data)) } func main() { pulumi.Run(func(ctx *pulumi.Context) error { app, err := pinpoint.NewApp(ctx, "app", nil) if err != nil { return err } _, err = pinpoint.NewApnsVoipChannel(ctx, "apnsVoip", &pinpoint.ApnsVoipChannelArgs{ ApplicationId: app.ApplicationId, Certificate: readFileOrPanic("./certificate.pem"), PrivateKey: readFileOrPanic("./private_key.key"), }) 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 (
"os" "github.com/pulumi/pulumi-aws/sdk/v6/go/aws/pinpoint" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func readFileOrPanic(path string) pulumi.StringPtrInput { data, err := os.ReadFile(path) if err != nil { panic(err.Error()) } return pulumi.String(string(data)) } func main() { pulumi.Run(func(ctx *pulumi.Context) error { app, err := pinpoint.NewApp(ctx, "app", nil) if err != nil { return err } _, err = pinpoint.NewApnsVoipSandboxChannel(ctx, "apnsVoipSandbox", &pinpoint.ApnsVoipSandboxChannelArgs{ ApplicationId: app.ApplicationId, Certificate: readFileOrPanic("./certificate.pem"), PrivateKey: readFileOrPanic("./private_key.key"), }) 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{ Limits: &pinpoint.AppLimitsArgs{ MaximumDuration: pulumi.Int(600), }, QuietTime: &pinpoint.AppQuietTimeArgs{ End: pulumi.String("06:00"), Start: pulumi.String("00:00"), }, }) if err != nil { return err } return nil }) }
```
## Import
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"` // 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 } rolePolicyPolicyDocument, 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, "rolePolicyRolePolicy", &iam.RolePolicyArgs{ Role: role.ID(), Policy: *pulumi.String(rolePolicyPolicyDocument.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 // 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
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 // The ARN of an IAM Role used to submit events to Mobile Analytics' event ingestion service. RoleArn pulumi.StringPtrInput }
func (EmailChannelState) ElementType ¶
func (EmailChannelState) ElementType() reflect.Type
type EventStream ¶
type EventStream struct { pulumi.CustomResourceState // The application ID. ApplicationId pulumi.StringOutput `pulumi:"applicationId"` // The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose delivery stream to which you want to publish events. DestinationStreamArn pulumi.StringOutput `pulumi:"destinationStreamArn"` // The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account. RoleArn pulumi.StringOutput `pulumi:"roleArn"` }
Provides a Pinpoint Event Stream resource.
## Example Usage
```go package main
import (
"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, "testStream", &kinesis.StreamArgs{ 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, "testRole", &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 } testRolePolicyPolicyDocument, 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, "testRolePolicyRolePolicy", &iam.RolePolicyArgs{ Role: testRole.ID(), Policy: *pulumi.String(testRolePolicyPolicyDocument.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.StringOutput `pulumi:"apiKey"` // The application ID. ApplicationId pulumi.StringOutput `pulumi:"applicationId"` // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` }
Provides a Pinpoint GCM Channel resource.
> **Note:** Api Key argument 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.NewGcmChannel(ctx, "gcm", &pinpoint.GcmChannelArgs{ ApplicationId: app.ApplicationId, ApiKey: pulumi.String("api_key"), }) if err != nil { return err } return nil }) }
```
## 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.StringInput // The application ID. ApplicationId pulumi.StringInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput }
The set of arguments for constructing a GcmChannel resource.
func (GcmChannelArgs) ElementType ¶
func (GcmChannelArgs) ElementType() reflect.Type
type GcmChannelArray ¶
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.StringOutput
Platform credential API key from Google.
func (GcmChannelOutput) ApplicationId ¶
func (o GcmChannelOutput) ApplicationId() pulumi.StringOutput
The application ID.
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) 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 // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput }
func (GcmChannelState) ElementType ¶
func (GcmChannelState) ElementType() reflect.Type
type SmsChannel ¶
type SmsChannel struct { pulumi.CustomResourceState // 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