Documentation ¶
Index ¶
- type AdmChannel
- type AdmChannelArgs
- type AdmChannelState
- type ApnsChannel
- type ApnsChannelArgs
- type ApnsChannelState
- type ApnsSandboxChannel
- type ApnsSandboxChannelArgs
- type ApnsSandboxChannelState
- type ApnsVoipChannel
- type ApnsVoipChannelArgs
- type ApnsVoipChannelState
- type ApnsVoipSandboxChannel
- type ApnsVoipSandboxChannelArgs
- type ApnsVoipSandboxChannelState
- type App
- type AppArgs
- 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 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 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 BaiduChannelState
- type EmailChannel
- type EmailChannelArgs
- type EmailChannelState
- type EventStream
- type EventStreamArgs
- type EventStreamState
- type GcmChannel
- type GcmChannelArgs
- type GcmChannelState
- type SmsChannel
- type SmsChannelArgs
- 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/v2/go/aws/pinpoint" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { app, err := pinpoint.NewApp(ctx, "app", nil) if err != nil { return err } _, err = pinpoint.NewAdmChannel(ctx, "channel", &pinpoint.AdmChannelArgs{ ApplicationId: app.ApplicationId, ClientId: pulumi.String(""), ClientSecret: pulumi.String(""), Enabled: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
```
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.
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 AdmChannelState ¶
type AdmChannelState struct { // The application ID. ApplicationId pulumi.StringPtrInput // Client ID (part of OAuth Credentials) obtained via Amazon Developer Account. ClientId pulumi.StringPtrInput // Client Secret (part of OAuth Credentials) obtained via Amazon Developer Account. ClientSecret pulumi.StringPtrInput // Specifies whether to enable the channel. Defaults to `true`. Enabled pulumi.BoolPtrInput }
func (AdmChannelState) ElementType ¶
func (AdmChannelState) ElementType() reflect.Type
type ApnsChannel ¶
type ApnsChannel struct { pulumi.CustomResourceState // The application ID. ApplicationId pulumi.StringOutput `pulumi:"applicationId"` // The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app. BundleId pulumi.StringPtrOutput `pulumi:"bundleId"` // The pem encoded TLS Certificate from Apple. Certificate pulumi.StringPtrOutput `pulumi:"certificate"` // The default authentication method used for APNs. // __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console. // You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK. // If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type. DefaultAuthenticationMethod pulumi.StringPtrOutput `pulumi:"defaultAuthenticationMethod"` // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // The Certificate Private Key file (ie. `.key` file). PrivateKey pulumi.StringPtrOutput `pulumi:"privateKey"` // The ID assigned to your Apple developer account team. This value is provided on the Membership page. TeamId pulumi.StringPtrOutput `pulumi:"teamId"` // The `.p8` file that you download from your Apple developer account when you create an authentication key. TokenKey pulumi.StringPtrOutput `pulumi:"tokenKey"` // The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. TokenKeyId pulumi.StringPtrOutput `pulumi:"tokenKeyId"` }
Provides a Pinpoint APNs Channel resource.
> **Note:** All arguments, including certificates and tokens, will be stored in the raw state as plain-text.
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.
type ApnsChannelArgs ¶
type ApnsChannelArgs struct { // The application ID. ApplicationId pulumi.StringInput // The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app. BundleId pulumi.StringPtrInput // The pem encoded TLS Certificate from Apple. Certificate pulumi.StringPtrInput // The default authentication method used for APNs. // __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console. // You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK. // If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type. DefaultAuthenticationMethod pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The Certificate Private Key file (ie. `.key` file). PrivateKey pulumi.StringPtrInput // The ID assigned to your Apple developer account team. This value is provided on the Membership page. TeamId pulumi.StringPtrInput // The `.p8` file that you download from your Apple developer account when you create an authentication key. TokenKey pulumi.StringPtrInput // The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. TokenKeyId pulumi.StringPtrInput }
The set of arguments for constructing a ApnsChannel resource.
func (ApnsChannelArgs) ElementType ¶
func (ApnsChannelArgs) ElementType() reflect.Type
type ApnsChannelState ¶
type ApnsChannelState struct { // The application ID. ApplicationId pulumi.StringPtrInput // The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app. BundleId pulumi.StringPtrInput // The pem encoded TLS Certificate from Apple. Certificate pulumi.StringPtrInput // The default authentication method used for APNs. // __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console. // You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK. // If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type. DefaultAuthenticationMethod pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The Certificate Private Key file (ie. `.key` file). PrivateKey pulumi.StringPtrInput // The ID assigned to your Apple developer account team. This value is provided on the Membership page. TeamId pulumi.StringPtrInput // The `.p8` file that you download from your Apple developer account when you create an authentication key. TokenKey pulumi.StringPtrInput // The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. TokenKeyId pulumi.StringPtrInput }
func (ApnsChannelState) ElementType ¶
func (ApnsChannelState) ElementType() reflect.Type
type ApnsSandboxChannel ¶
type ApnsSandboxChannel struct { pulumi.CustomResourceState // The application ID. ApplicationId pulumi.StringOutput `pulumi:"applicationId"` // The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app. BundleId pulumi.StringPtrOutput `pulumi:"bundleId"` // The pem encoded TLS Certificate from Apple. Certificate pulumi.StringPtrOutput `pulumi:"certificate"` // The default authentication method used for APNs Sandbox. // __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console. // You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK. // If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type. DefaultAuthenticationMethod pulumi.StringPtrOutput `pulumi:"defaultAuthenticationMethod"` // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // The Certificate Private Key file (ie. `.key` file). PrivateKey pulumi.StringPtrOutput `pulumi:"privateKey"` // The ID assigned to your Apple developer account team. This value is provided on the Membership page. TeamId pulumi.StringPtrOutput `pulumi:"teamId"` // The `.p8` file that you download from your Apple developer account when you create an authentication key. TokenKey pulumi.StringPtrOutput `pulumi:"tokenKey"` // The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. TokenKeyId pulumi.StringPtrOutput `pulumi:"tokenKeyId"` }
Provides a Pinpoint APNs Sandbox Channel resource.
> **Note:** All arguments, including certificates and tokens, will be stored in the raw state as plain-text.
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.
type ApnsSandboxChannelArgs ¶
type ApnsSandboxChannelArgs struct { // The application ID. ApplicationId pulumi.StringInput // The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app. BundleId pulumi.StringPtrInput // The pem encoded TLS Certificate from Apple. Certificate pulumi.StringPtrInput // The default authentication method used for APNs Sandbox. // __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console. // You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK. // If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type. DefaultAuthenticationMethod pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The Certificate Private Key file (ie. `.key` file). PrivateKey pulumi.StringPtrInput // The ID assigned to your Apple developer account team. This value is provided on the Membership page. TeamId pulumi.StringPtrInput // The `.p8` file that you download from your Apple developer account when you create an authentication key. TokenKey pulumi.StringPtrInput // The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. TokenKeyId pulumi.StringPtrInput }
The set of arguments for constructing a ApnsSandboxChannel resource.
func (ApnsSandboxChannelArgs) ElementType ¶
func (ApnsSandboxChannelArgs) ElementType() reflect.Type
type ApnsSandboxChannelState ¶
type ApnsSandboxChannelState struct { // The application ID. ApplicationId pulumi.StringPtrInput // The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app. BundleId pulumi.StringPtrInput // The pem encoded TLS Certificate from Apple. Certificate pulumi.StringPtrInput // The default authentication method used for APNs Sandbox. // __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console. // You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK. // If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type. DefaultAuthenticationMethod pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The Certificate Private Key file (ie. `.key` file). PrivateKey pulumi.StringPtrInput // The ID assigned to your Apple developer account team. This value is provided on the Membership page. TeamId pulumi.StringPtrInput // The `.p8` file that you download from your Apple developer account when you create an authentication key. TokenKey pulumi.StringPtrInput // The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. TokenKeyId pulumi.StringPtrInput }
func (ApnsSandboxChannelState) ElementType ¶
func (ApnsSandboxChannelState) ElementType() reflect.Type
type ApnsVoipChannel ¶
type ApnsVoipChannel struct { pulumi.CustomResourceState // The application ID. ApplicationId pulumi.StringOutput `pulumi:"applicationId"` // The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app. BundleId pulumi.StringPtrOutput `pulumi:"bundleId"` // The pem encoded TLS Certificate from Apple. Certificate pulumi.StringPtrOutput `pulumi:"certificate"` // The default authentication method used for APNs. // __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console. // You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK. // If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type. DefaultAuthenticationMethod pulumi.StringPtrOutput `pulumi:"defaultAuthenticationMethod"` // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // The Certificate Private Key file (ie. `.key` file). PrivateKey pulumi.StringPtrOutput `pulumi:"privateKey"` // The ID assigned to your Apple developer account team. This value is provided on the Membership page. TeamId pulumi.StringPtrOutput `pulumi:"teamId"` // The `.p8` file that you download from your Apple developer account when you create an authentication key. TokenKey pulumi.StringPtrOutput `pulumi:"tokenKey"` // The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. TokenKeyId pulumi.StringPtrOutput `pulumi:"tokenKeyId"` }
Provides a Pinpoint APNs VoIP Channel resource.
> **Note:** All arguments, including certificates and tokens, will be stored in the raw state as plain-text.
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.
type ApnsVoipChannelArgs ¶
type ApnsVoipChannelArgs struct { // The application ID. ApplicationId pulumi.StringInput // The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app. BundleId pulumi.StringPtrInput // The pem encoded TLS Certificate from Apple. Certificate pulumi.StringPtrInput // The default authentication method used for APNs. // __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console. // You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK. // If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type. DefaultAuthenticationMethod pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The Certificate Private Key file (ie. `.key` file). PrivateKey pulumi.StringPtrInput // The ID assigned to your Apple developer account team. This value is provided on the Membership page. TeamId pulumi.StringPtrInput // The `.p8` file that you download from your Apple developer account when you create an authentication key. TokenKey pulumi.StringPtrInput // The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. TokenKeyId pulumi.StringPtrInput }
The set of arguments for constructing a ApnsVoipChannel resource.
func (ApnsVoipChannelArgs) ElementType ¶
func (ApnsVoipChannelArgs) ElementType() reflect.Type
type ApnsVoipChannelState ¶
type ApnsVoipChannelState struct { // The application ID. ApplicationId pulumi.StringPtrInput // The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app. BundleId pulumi.StringPtrInput // The pem encoded TLS Certificate from Apple. Certificate pulumi.StringPtrInput // The default authentication method used for APNs. // __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console. // You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK. // If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type. DefaultAuthenticationMethod pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The Certificate Private Key file (ie. `.key` file). PrivateKey pulumi.StringPtrInput // The ID assigned to your Apple developer account team. This value is provided on the Membership page. TeamId pulumi.StringPtrInput // The `.p8` file that you download from your Apple developer account when you create an authentication key. TokenKey pulumi.StringPtrInput // The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. TokenKeyId pulumi.StringPtrInput }
func (ApnsVoipChannelState) ElementType ¶
func (ApnsVoipChannelState) ElementType() reflect.Type
type ApnsVoipSandboxChannel ¶
type ApnsVoipSandboxChannel struct { pulumi.CustomResourceState // The application ID. ApplicationId pulumi.StringOutput `pulumi:"applicationId"` // The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app. BundleId pulumi.StringPtrOutput `pulumi:"bundleId"` // The pem encoded TLS Certificate from Apple. Certificate pulumi.StringPtrOutput `pulumi:"certificate"` // The default authentication method used for APNs. // __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console. // You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK. // If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type. DefaultAuthenticationMethod pulumi.StringPtrOutput `pulumi:"defaultAuthenticationMethod"` // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // The Certificate Private Key file (ie. `.key` file). PrivateKey pulumi.StringPtrOutput `pulumi:"privateKey"` // The ID assigned to your Apple developer account team. This value is provided on the Membership page. TeamId pulumi.StringPtrOutput `pulumi:"teamId"` // The `.p8` file that you download from your Apple developer account when you create an authentication key. TokenKey pulumi.StringPtrOutput `pulumi:"tokenKey"` // The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. TokenKeyId pulumi.StringPtrOutput `pulumi:"tokenKeyId"` }
Provides a Pinpoint APNs VoIP Sandbox Channel resource.
> **Note:** All arguments, including certificates and tokens, will be stored in the raw state as plain-text.
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.
type ApnsVoipSandboxChannelArgs ¶
type ApnsVoipSandboxChannelArgs struct { // The application ID. ApplicationId pulumi.StringInput // The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app. BundleId pulumi.StringPtrInput // The pem encoded TLS Certificate from Apple. Certificate pulumi.StringPtrInput // The default authentication method used for APNs. // __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console. // You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK. // If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type. DefaultAuthenticationMethod pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The Certificate Private Key file (ie. `.key` file). PrivateKey pulumi.StringPtrInput // The ID assigned to your Apple developer account team. This value is provided on the Membership page. TeamId pulumi.StringPtrInput // The `.p8` file that you download from your Apple developer account when you create an authentication key. TokenKey pulumi.StringPtrInput // The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. TokenKeyId pulumi.StringPtrInput }
The set of arguments for constructing a ApnsVoipSandboxChannel resource.
func (ApnsVoipSandboxChannelArgs) ElementType ¶
func (ApnsVoipSandboxChannelArgs) ElementType() reflect.Type
type ApnsVoipSandboxChannelState ¶
type ApnsVoipSandboxChannelState struct { // The application ID. ApplicationId pulumi.StringPtrInput // The ID assigned to your iOS app. To find this value, choose Certificates, IDs & Profiles, choose App IDs in the Identifiers section, and choose your app. BundleId pulumi.StringPtrInput // The pem encoded TLS Certificate from Apple. Certificate pulumi.StringPtrInput // The default authentication method used for APNs. // __NOTE__: Amazon Pinpoint uses this default for every APNs push notification that you send using the console. // You can override the default when you send a message programmatically using the Amazon Pinpoint API, the AWS CLI, or an AWS SDK. // If your default authentication type fails, Amazon Pinpoint doesn't attempt to use the other authentication type. DefaultAuthenticationMethod pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The Certificate Private Key file (ie. `.key` file). PrivateKey pulumi.StringPtrInput // The ID assigned to your Apple developer account team. This value is provided on the Membership page. TeamId pulumi.StringPtrInput // The `.p8` file that you download from your Apple developer account when you create an authentication key. TokenKey pulumi.StringPtrInput // The ID assigned to your signing key. To find this value, choose Certificates, IDs & Profiles, and choose your key in the Keys section. TokenKeyId pulumi.StringPtrInput }
func (ApnsVoipSandboxChannelState) ElementType ¶
func (ApnsVoipSandboxChannelState) ElementType() reflect.Type
type App ¶
type App struct { pulumi.CustomResourceState // The Application ID of the Pinpoint App. ApplicationId pulumi.StringOutput `pulumi:"applicationId"` // Amazon Resource Name (ARN) of the PinPoint Application Arn pulumi.StringOutput `pulumi:"arn"` // The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its own CampaignHook AppCampaignHookPtrOutput `pulumi:"campaignHook"` // The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its own Limits AppLimitsPtrOutput `pulumi:"limits"` // The application name. By default generated by this provider Name pulumi.StringOutput `pulumi:"name"` // The name of the Pinpoint application. Conflicts with `name` NamePrefix pulumi.StringPtrOutput `pulumi:"namePrefix"` // The default quiet time for the app. Each campaign for this app sends no messages during this time unless the campaign overrides the default with a quiet time of its own QuietTime AppQuietTimePtrOutput `pulumi:"quietTime"` // Key-value map of resource tags Tags pulumi.StringMapOutput `pulumi:"tags"` }
Provides a Pinpoint App resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/pinpoint" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := pinpoint.NewApp(ctx, "example", &pinpoint.AppArgs{ Limits: &pinpoint.AppLimitsArgs{ MaximumDuration: pulumi.Int(600), }, QuietTime: &pinpoint.AppQuietTimeArgs{ End: pulumi.String("06:00"), Start: pulumi.String("00:00"), }, }) if err != nil { return err } return nil }) }
```
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).
type AppArgs ¶
type AppArgs struct { // The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its own CampaignHook AppCampaignHookPtrInput // The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its own Limits AppLimitsPtrInput // The application name. By default generated by this provider Name pulumi.StringPtrInput // The name of the Pinpoint application. Conflicts with `name` NamePrefix pulumi.StringPtrInput // The default quiet time for the app. Each campaign for this app sends no messages during this time unless the campaign overrides the default with a quiet time of its own QuietTime AppQuietTimePtrInput // Key-value map of resource tags Tags pulumi.StringMapInput }
The set of arguments for constructing a App resource.
func (AppArgs) ElementType ¶
type 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 AppQuietTime ¶
type AppQuietTimeArgs ¶
type AppQuietTimeArgs struct { // The default end time for quiet time in ISO 8601 format. Required if `start` is set End pulumi.StringPtrInput `pulumi:"end"` // The default start time for quiet time in ISO 8601 format. Required if `end` is set Start pulumi.StringPtrInput `pulumi:"start"` }
func (AppQuietTimeArgs) ElementType ¶
func (AppQuietTimeArgs) ElementType() reflect.Type
func (AppQuietTimeArgs) ToAppQuietTimeOutput ¶
func (i AppQuietTimeArgs) ToAppQuietTimeOutput() AppQuietTimeOutput
func (AppQuietTimeArgs) ToAppQuietTimeOutputWithContext ¶
func (i AppQuietTimeArgs) ToAppQuietTimeOutputWithContext(ctx context.Context) AppQuietTimeOutput
func (AppQuietTimeArgs) ToAppQuietTimePtrOutput ¶
func (i AppQuietTimeArgs) ToAppQuietTimePtrOutput() AppQuietTimePtrOutput
func (AppQuietTimeArgs) ToAppQuietTimePtrOutputWithContext ¶
func (i AppQuietTimeArgs) ToAppQuietTimePtrOutputWithContext(ctx context.Context) AppQuietTimePtrOutput
type AppQuietTimeInput ¶
type AppQuietTimeInput interface { pulumi.Input ToAppQuietTimeOutput() AppQuietTimeOutput ToAppQuietTimeOutputWithContext(context.Context) AppQuietTimeOutput }
AppQuietTimeInput is an input type that accepts AppQuietTimeArgs and AppQuietTimeOutput values. You can construct a concrete instance of `AppQuietTimeInput` via:
AppQuietTimeArgs{...}
type AppQuietTimeOutput ¶
type AppQuietTimeOutput struct{ *pulumi.OutputState }
func (AppQuietTimeOutput) ElementType ¶
func (AppQuietTimeOutput) ElementType() reflect.Type
func (AppQuietTimeOutput) End ¶
func (o AppQuietTimeOutput) End() pulumi.StringPtrOutput
The default end time for quiet time in ISO 8601 format. Required if `start` is set
func (AppQuietTimeOutput) Start ¶
func (o AppQuietTimeOutput) Start() pulumi.StringPtrOutput
The default start time for quiet time in ISO 8601 format. Required if `end` is set
func (AppQuietTimeOutput) ToAppQuietTimeOutput ¶
func (o AppQuietTimeOutput) ToAppQuietTimeOutput() AppQuietTimeOutput
func (AppQuietTimeOutput) ToAppQuietTimeOutputWithContext ¶
func (o AppQuietTimeOutput) ToAppQuietTimeOutputWithContext(ctx context.Context) AppQuietTimeOutput
func (AppQuietTimeOutput) ToAppQuietTimePtrOutput ¶
func (o AppQuietTimeOutput) ToAppQuietTimePtrOutput() AppQuietTimePtrOutput
func (AppQuietTimeOutput) ToAppQuietTimePtrOutputWithContext ¶
func (o AppQuietTimeOutput) ToAppQuietTimePtrOutputWithContext(ctx context.Context) AppQuietTimePtrOutput
type AppQuietTimePtrInput ¶
type AppQuietTimePtrInput interface { pulumi.Input ToAppQuietTimePtrOutput() AppQuietTimePtrOutput ToAppQuietTimePtrOutputWithContext(context.Context) AppQuietTimePtrOutput }
AppQuietTimePtrInput is an input type that accepts AppQuietTimeArgs, AppQuietTimePtr and AppQuietTimePtrOutput values. You can construct a concrete instance of `AppQuietTimePtrInput` via:
AppQuietTimeArgs{...} or: nil
func AppQuietTimePtr ¶
func AppQuietTimePtr(v *AppQuietTimeArgs) AppQuietTimePtrInput
type AppQuietTimePtrOutput ¶
type AppQuietTimePtrOutput struct{ *pulumi.OutputState }
func (AppQuietTimePtrOutput) Elem ¶
func (o AppQuietTimePtrOutput) Elem() AppQuietTimeOutput
func (AppQuietTimePtrOutput) ElementType ¶
func (AppQuietTimePtrOutput) ElementType() reflect.Type
func (AppQuietTimePtrOutput) End ¶
func (o AppQuietTimePtrOutput) End() pulumi.StringPtrOutput
The default end time for quiet time in ISO 8601 format. Required if `start` is set
func (AppQuietTimePtrOutput) Start ¶
func (o AppQuietTimePtrOutput) Start() pulumi.StringPtrOutput
The default start time for quiet time in ISO 8601 format. Required if `end` is set
func (AppQuietTimePtrOutput) ToAppQuietTimePtrOutput ¶
func (o AppQuietTimePtrOutput) ToAppQuietTimePtrOutput() AppQuietTimePtrOutput
func (AppQuietTimePtrOutput) ToAppQuietTimePtrOutputWithContext ¶
func (o AppQuietTimePtrOutput) ToAppQuietTimePtrOutputWithContext(ctx context.Context) AppQuietTimePtrOutput
type AppState ¶
type AppState struct { // The Application ID of the Pinpoint App. ApplicationId pulumi.StringPtrInput // Amazon Resource Name (ARN) of the PinPoint Application Arn pulumi.StringPtrInput // The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its own CampaignHook AppCampaignHookPtrInput // The default campaign limits for the app. These limits apply to each campaign for the app, unless the campaign overrides the default with limits of its own Limits AppLimitsPtrInput // The application name. By default generated by this provider Name pulumi.StringPtrInput // The name of the Pinpoint application. Conflicts with `name` NamePrefix pulumi.StringPtrInput // The default quiet time for the app. Each campaign for this app sends no messages during this time unless the campaign overrides the default with a quiet time of its own QuietTime AppQuietTimePtrInput // Key-value map of resource tags Tags pulumi.StringMapInput }
func (AppState) ElementType ¶
type BaiduChannel ¶
type BaiduChannel struct { pulumi.CustomResourceState // Platform credential API key from Baidu. ApiKey pulumi.StringOutput `pulumi:"apiKey"` // The application ID. ApplicationId pulumi.StringOutput `pulumi:"applicationId"` // Specifies whether to enable the channel. Defaults to `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // Platform credential Secret key from Baidu. SecretKey pulumi.StringOutput `pulumi:"secretKey"` }
Provides a Pinpoint Baidu Channel resource.
> **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/v2/go/aws/pinpoint" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { app, err := pinpoint.NewApp(ctx, "app", nil) if err != nil { return err } _, err = pinpoint.NewBaiduChannel(ctx, "channel", &pinpoint.BaiduChannelArgs{ ApiKey: pulumi.String(""), ApplicationId: app.ApplicationId, SecretKey: pulumi.String(""), }) if err != nil { return err } return nil }) }
```
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.
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 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"` // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // The email address used to send emails from. FromAddress pulumi.StringOutput `pulumi:"fromAddress"` // The ARN of an identity verified with SES. Identity pulumi.StringOutput `pulumi:"identity"` // Messages per second that can be sent. MessagesPerSecond pulumi.IntOutput `pulumi:"messagesPerSecond"` // The ARN of an IAM Role used to submit events to Mobile Analytics' event ingestion service. RoleArn pulumi.StringOutput `pulumi:"roleArn"` }
Provides a Pinpoint Email Channel resource.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/iam" "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/pinpoint" "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/ses" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { app, err := pinpoint.NewApp(ctx, "app", nil) if err != nil { return err } identity, err := ses.NewDomainIdentity(ctx, "identity", &ses.DomainIdentityArgs{ Domain: pulumi.String("example.com"), }) if err != nil { return err } role, err := iam.NewRole(ctx, "role", &iam.RoleArgs{ AssumeRolePolicy: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": [\n", " {\n", " \"Action\": \"sts:AssumeRole\",\n", " \"Principal\": {\n", " \"Service\": \"pinpoint.amazonaws.com\"\n", " },\n", " \"Effect\": \"Allow\",\n", " \"Sid\": \"\"\n", " }\n", " ]\n", "}\n", "\n")), }) if err != nil { return err } _, err = pinpoint.NewEmailChannel(ctx, "email", &pinpoint.EmailChannelArgs{ ApplicationId: app.ApplicationId, FromAddress: pulumi.String("user@example.com"), Identity: identity.Arn, RoleArn: role.Arn, }) if err != nil { return err } _, err = iam.NewRolePolicy(ctx, "rolePolicy", &iam.RolePolicyArgs{ Policy: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": {\n", " \"Action\": [\n", " \"mobileanalytics:PutEvents\",\n", " \"mobileanalytics:PutItems\"\n", " ],\n", " \"Effect\": \"Allow\",\n", " \"Resource\": [\n", " \"*\"\n", " ]\n", " }\n", "}\n", "\n")), Role: role.ID(), }) if err != nil { return err } return nil }) }
```
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.
type EmailChannelArgs ¶
type EmailChannelArgs struct { // The application ID. ApplicationId pulumi.StringInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The email address used to send emails from. FromAddress pulumi.StringInput // The ARN of an identity verified with SES. Identity pulumi.StringInput // The ARN of an IAM Role used to submit events to Mobile Analytics' event ingestion service. RoleArn pulumi.StringInput }
The set of arguments for constructing a EmailChannel resource.
func (EmailChannelArgs) ElementType ¶
func (EmailChannelArgs) ElementType() reflect.Type
type EmailChannelState ¶
type EmailChannelState struct { // The application ID. ApplicationId pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // The email address used to send emails from. FromAddress pulumi.StringPtrInput // The ARN of an identity verified with SES. Identity pulumi.StringPtrInput // Messages per second that can be sent. MessagesPerSecond pulumi.IntPtrInput // The ARN of an IAM Role used to submit events to Mobile Analytics' event ingestion service. RoleArn pulumi.StringPtrInput }
func (EmailChannelState) ElementType ¶
func (EmailChannelState) ElementType() reflect.Type
type EventStream ¶
type EventStream struct { pulumi.CustomResourceState // The application ID. ApplicationId pulumi.StringOutput `pulumi:"applicationId"` // The Amazon Resource Name (ARN) of the Amazon Kinesis stream or Firehose delivery stream to which you want to publish events. DestinationStreamArn pulumi.StringOutput `pulumi:"destinationStreamArn"` // The IAM role that authorizes Amazon Pinpoint to publish events to the stream in your account. RoleArn pulumi.StringOutput `pulumi:"roleArn"` }
Provides a Pinpoint Event Stream resource.
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/iam" "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/kinesis" "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/pinpoint" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { app, err := pinpoint.NewApp(ctx, "app", nil) if err != nil { return err } testStream, err := kinesis.NewStream(ctx, "testStream", &kinesis.StreamArgs{ ShardCount: pulumi.Int(1), }) if err != nil { return err } testRole, err := iam.NewRole(ctx, "testRole", &iam.RoleArgs{ AssumeRolePolicy: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": [\n", " {\n", " \"Action\": \"sts:AssumeRole\",\n", " \"Principal\": {\n", " \"Service\": \"pinpoint.us-east-1.amazonaws.com\"\n", " },\n", " \"Effect\": \"Allow\",\n", " \"Sid\": \"\"\n", " }\n", " ]\n", "}\n", "\n")), }) if err != nil { return err } _, err = pinpoint.NewEventStream(ctx, "stream", &pinpoint.EventStreamArgs{ ApplicationId: app.ApplicationId, DestinationStreamArn: testStream.Arn, RoleArn: testRole.Arn, }) if err != nil { return err } _, err = iam.NewRolePolicy(ctx, "testRolePolicy", &iam.RolePolicyArgs{ Policy: pulumi.String(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", " \"Version\": \"2012-10-17\",\n", " \"Statement\": {\n", " \"Action\": [\n", " \"kinesis:PutRecords\",\n", " \"kinesis:DescribeStream\"\n", " ],\n", " \"Effect\": \"Allow\",\n", " \"Resource\": [\n", " \"arn:aws:kinesis:us-east-1:*:*/*\"\n", " ]\n", " }\n", "}\n", "\n")), Role: testRole.ID(), }) if err != nil { return err } return nil }) }
```
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.
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 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/v2/go/aws/pinpoint" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { app, err := pinpoint.NewApp(ctx, "app", nil) if err != nil { return err } _, err = pinpoint.NewGcmChannel(ctx, "gcm", &pinpoint.GcmChannelArgs{ ApiKey: pulumi.String("api_key"), ApplicationId: app.ApplicationId, }) if err != nil { return err } return nil }) }
```
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.
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 GcmChannelState ¶
type GcmChannelState struct { // Platform credential API key from Google. ApiKey pulumi.StringPtrInput // The application ID. ApplicationId pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput }
func (GcmChannelState) ElementType ¶
func (GcmChannelState) ElementType() reflect.Type
type SmsChannel ¶
type SmsChannel struct { pulumi.CustomResourceState // The application ID. ApplicationId pulumi.StringOutput `pulumi:"applicationId"` // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrOutput `pulumi:"enabled"` // Promotional messages per second that can be sent. PromotionalMessagesPerSecond pulumi.IntOutput `pulumi:"promotionalMessagesPerSecond"` // Sender identifier of your messages. SenderId pulumi.StringPtrOutput `pulumi:"senderId"` // The Short Code registered with the phone provider. ShortCode pulumi.StringPtrOutput `pulumi:"shortCode"` // Transactional messages per second that can be sent. TransactionalMessagesPerSecond pulumi.IntOutput `pulumi:"transactionalMessagesPerSecond"` }
Provides a Pinpoint SMS Channel resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/pinpoint" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { app, err := pinpoint.NewApp(ctx, "app", nil) if err != nil { return err } _, err = pinpoint.NewSmsChannel(ctx, "sms", &pinpoint.SmsChannelArgs{ ApplicationId: app.ApplicationId, }) if err != nil { return err } return nil }) }
```
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.
type SmsChannelArgs ¶
type SmsChannelArgs struct { // The application ID. ApplicationId pulumi.StringInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // Sender identifier of your messages. SenderId pulumi.StringPtrInput // The Short Code registered with the phone provider. ShortCode pulumi.StringPtrInput }
The set of arguments for constructing a SmsChannel resource.
func (SmsChannelArgs) ElementType ¶
func (SmsChannelArgs) ElementType() reflect.Type
type SmsChannelState ¶
type SmsChannelState struct { // The application ID. ApplicationId pulumi.StringPtrInput // Whether the channel is enabled or disabled. Defaults to `true`. Enabled pulumi.BoolPtrInput // Promotional messages per second that can be sent. PromotionalMessagesPerSecond pulumi.IntPtrInput // Sender identifier of your messages. SenderId pulumi.StringPtrInput // The Short Code registered with the phone provider. ShortCode pulumi.StringPtrInput // Transactional messages per second that can be sent. TransactionalMessagesPerSecond pulumi.IntPtrInput }
func (SmsChannelState) ElementType ¶
func (SmsChannelState) ElementType() reflect.Type