Namespace Pulumi.Aws.Pinpoint
Classes
AdmChannel
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. Read more about sensitive data in state.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var app = new Aws.Pinpoint.App("app", new Aws.Pinpoint.AppArgs
{
});
var channel = new Aws.Pinpoint.AdmChannel("channel", new Aws.Pinpoint.AdmChannelArgs
{
ApplicationId = app.ApplicationId,
ClientId = "",
ClientSecret = "",
Enabled = true,
});
}
}
AdmChannelArgs
AdmChannelState
ApnsChannel
Provides a Pinpoint APNs Channel resource.
Note: All arguments, including certificates and tokens, will be stored in the raw state as plain-text. Read more about sensitive data in state.
Example Usage
using System.IO;
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var app = new Aws.Pinpoint.App("app", new Aws.Pinpoint.AppArgs
{
});
var apns = new Aws.Pinpoint.ApnsChannel("apns", new Aws.Pinpoint.ApnsChannelArgs
{
ApplicationId = app.ApplicationId,
Certificate = File.ReadAllText("./certificate.pem"),
PrivateKey = File.ReadAllText("./private_key.key"),
});
}
}
ApnsChannelArgs
ApnsChannelState
ApnsSandboxChannel
Provides a Pinpoint APNs Sandbox Channel resource.
Note: All arguments, including certificates and tokens, will be stored in the raw state as plain-text. Read more about sensitive data in state.
Example Usage
using System.IO;
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var app = new Aws.Pinpoint.App("app", new Aws.Pinpoint.AppArgs
{
});
var apnsSandbox = new Aws.Pinpoint.ApnsSandboxChannel("apnsSandbox", new Aws.Pinpoint.ApnsSandboxChannelArgs
{
ApplicationId = app.ApplicationId,
Certificate = File.ReadAllText("./certificate.pem"),
PrivateKey = File.ReadAllText("./private_key.key"),
});
}
}
ApnsSandboxChannelArgs
ApnsSandboxChannelState
ApnsVoipChannel
Provides a Pinpoint APNs VoIP Channel resource.
Note: All arguments, including certificates and tokens, will be stored in the raw state as plain-text. Read more about sensitive data in state.
Example Usage
using System.IO;
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var app = new Aws.Pinpoint.App("app", new Aws.Pinpoint.AppArgs
{
});
var apnsVoip = new Aws.Pinpoint.ApnsVoipChannel("apnsVoip", new Aws.Pinpoint.ApnsVoipChannelArgs
{
ApplicationId = app.ApplicationId,
Certificate = File.ReadAllText("./certificate.pem"),
PrivateKey = File.ReadAllText("./private_key.key"),
});
}
}
ApnsVoipChannelArgs
ApnsVoipChannelState
ApnsVoipSandboxChannel
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. Read more about sensitive data in state.
Example Usage
using System.IO;
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var app = new Aws.Pinpoint.App("app", new Aws.Pinpoint.AppArgs
{
});
var apnsVoipSandbox = new Aws.Pinpoint.ApnsVoipSandboxChannel("apnsVoipSandbox", new Aws.Pinpoint.ApnsVoipSandboxChannelArgs
{
ApplicationId = app.ApplicationId,
Certificate = File.ReadAllText("./certificate.pem"),
PrivateKey = File.ReadAllText("./private_key.key"),
});
}
}
ApnsVoipSandboxChannelArgs
ApnsVoipSandboxChannelState
App
Provides a Pinpoint App resource.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var example = new Aws.Pinpoint.App("example", new Aws.Pinpoint.AppArgs
{
Limits = new Aws.Pinpoint.Inputs.AppLimitsArgs
{
MaximumDuration = 600,
},
QuietTime = new Aws.Pinpoint.Inputs.AppQuietTimeArgs
{
End = "06:00",
Start = "00:00",
},
});
}
}
AppArgs
AppState
BaiduChannel
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. Read more about sensitive data in state.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var app = new Aws.Pinpoint.App("app", new Aws.Pinpoint.AppArgs
{
});
var channel = new Aws.Pinpoint.BaiduChannel("channel", new Aws.Pinpoint.BaiduChannelArgs
{
ApiKey = "",
ApplicationId = app.ApplicationId,
SecretKey = "",
});
}
}
BaiduChannelArgs
BaiduChannelState
EmailChannel
Provides a Pinpoint Email Channel resource.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var app = new Aws.Pinpoint.App("app", new Aws.Pinpoint.AppArgs
{
});
var identity = new Aws.Ses.DomainIdentity("identity", new Aws.Ses.DomainIdentityArgs
{
Domain = "example.com",
});
var role = new Aws.Iam.Role("role", new Aws.Iam.RoleArgs
{
AssumeRolePolicy = @"{
""Version"": ""2012-10-17"",
""Statement"": [
{
""Action"": ""sts:AssumeRole"",
""Principal"": {
""Service"": ""pinpoint.amazonaws.com""
},
""Effect"": ""Allow"",
""Sid"": """"
}
]
}
",
});
var email = new Aws.Pinpoint.EmailChannel("email", new Aws.Pinpoint.EmailChannelArgs
{
ApplicationId = app.ApplicationId,
FromAddress = "user@example.com",
Identity = identity.Arn,
RoleArn = role.Arn,
});
var rolePolicy = new Aws.Iam.RolePolicy("rolePolicy", new Aws.Iam.RolePolicyArgs
{
Policy = @"{
""Version"": ""2012-10-17"",
""Statement"": {
""Action"": [
""mobileanalytics:PutEvents"",
""mobileanalytics:PutItems""
],
""Effect"": ""Allow"",
""Resource"": [
""*""
]
}
}
",
Role = role.Id,
});
}
}
EmailChannelArgs
EmailChannelState
EventStream
Provides a Pinpoint Event Stream resource.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var app = new Aws.Pinpoint.App("app", new Aws.Pinpoint.AppArgs
{
});
var testStream = new Aws.Kinesis.Stream("testStream", new Aws.Kinesis.StreamArgs
{
ShardCount = 1,
});
var testRole = new Aws.Iam.Role("testRole", new Aws.Iam.RoleArgs
{
AssumeRolePolicy = @"{
""Version"": ""2012-10-17"",
""Statement"": [
{
""Action"": ""sts:AssumeRole"",
""Principal"": {
""Service"": ""pinpoint.us-east-1.amazonaws.com""
},
""Effect"": ""Allow"",
""Sid"": """"
}
]
}
",
});
var stream = new Aws.Pinpoint.EventStream("stream", new Aws.Pinpoint.EventStreamArgs
{
ApplicationId = app.ApplicationId,
DestinationStreamArn = testStream.Arn,
RoleArn = testRole.Arn,
});
var testRolePolicy = new Aws.Iam.RolePolicy("testRolePolicy", new Aws.Iam.RolePolicyArgs
{
Policy = @"{
""Version"": ""2012-10-17"",
""Statement"": {
""Action"": [
""kinesis:PutRecords"",
""kinesis:DescribeStream""
],
""Effect"": ""Allow"",
""Resource"": [
""arn:aws:kinesis:us-east-1:*:*/*""
]
}
}
",
Role = testRole.Id,
});
}
}
EventStreamArgs
EventStreamState
GcmChannel
Provides a Pinpoint GCM Channel resource.
Note: Api Key argument will be stored in the raw state as plain-text. Read more about sensitive data in state.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var app = new Aws.Pinpoint.App("app", new Aws.Pinpoint.AppArgs
{
});
var gcm = new Aws.Pinpoint.GcmChannel("gcm", new Aws.Pinpoint.GcmChannelArgs
{
ApiKey = "api_key",
ApplicationId = app.ApplicationId,
});
}
}
GcmChannelArgs
GcmChannelState
SmsChannel
Provides a Pinpoint SMS Channel resource.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var app = new Aws.Pinpoint.App("app", new Aws.Pinpoint.AppArgs
{
});
var sms = new Aws.Pinpoint.SmsChannel("sms", new Aws.Pinpoint.SmsChannelArgs
{
ApplicationId = app.ApplicationId,
});
}
}