CfnAPNSVoipSandboxChannelProps Struct
Properties for defining a CfnAPNSVoipSandboxChannel.
| Source |
|---|
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_pinpoint as pinpoint } from 'aws-cdk-lib';
const cfnAPNSVoipSandboxChannelProps: pinpoint.CfnAPNSVoipSandboxChannelProps = {
applicationId: 'applicationId',
// the properties below are optional
bundleId: 'bundleId',
certificate: 'certificate',
defaultAuthenticationMethod: 'defaultAuthenticationMethod',
enabled: false,
privateKey: 'privateKey',
teamId: 'teamId',
tokenKey: 'tokenKey',
tokenKeyId: 'tokenKeyId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_pinpoint as pinpoint
cfn_apns_voip_sandbox_channel_props = pinpoint.CfnAPNSVoipSandboxChannelProps(
application_id="applicationId",
# the properties below are optional
bundle_id="bundleId",
certificate="certificate",
default_authentication_method="defaultAuthenticationMethod",
enabled=False,
private_key="privateKey",
team_id="teamId",
token_key="tokenKey",
token_key_id="tokenKeyId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.pinpoint.*;
CfnAPNSVoipSandboxChannelProps cfnAPNSVoipSandboxChannelProps = CfnAPNSVoipSandboxChannelProps.builder()
.applicationId("applicationId")
// the properties below are optional
.bundleId("bundleId")
.certificate("certificate")
.defaultAuthenticationMethod("defaultAuthenticationMethod")
.enabled(false)
.privateKey("privateKey")
.teamId("teamId")
.tokenKey("tokenKey")
.tokenKeyId("tokenKeyId")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Pinpoint;
var cfnAPNSVoipSandboxChannelProps = new CfnAPNSVoipSandboxChannelProps {
ApplicationId = "applicationId",
// the properties below are optional
BundleId = "bundleId",
Certificate = "certificate",
DefaultAuthenticationMethod = "defaultAuthenticationMethod",
Enabled = false,
PrivateKey = "privateKey",
TeamId = "teamId",
TokenKey = "tokenKey",
TokenKeyId = "tokenKeyId"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnAPNSVoipSandboxChannelProps := &CfnAPNSVoipSandboxChannelProps{
ApplicationId: jsii.String("applicationId"),
// the properties below are optional
BundleId: jsii.String("bundleId"),
Certificate: jsii.String("certificate"),
DefaultAuthenticationMethod: jsii.String("defaultAuthenticationMethod"),
Enabled: jsii.Boolean(false),
PrivateKey: jsii.String("privateKey"),
TeamId: jsii.String("teamId"),
TokenKey: jsii.String("tokenKey"),
TokenKeyId: jsii.String("tokenKeyId"),
}
Properties
applicationIdstringapplication_idstrapplicationIdStringApplicationIdstringApplicationId*string required #The unique identifier for the application that the APNs VoIP sandbox channel applies to.
bundleIdoptionalstringbundle_idoptionalstrbundleIdoptionalStringBundleIdoptionalstringBundleIdoptional*string #The bundle identifier that's assigned to your iOS app.
This identifier is used for APNs tokens.
certificateoptionalstringcertificateoptionalstrcertificateoptionalStringCertificateoptionalstringCertificateoptional*string #The APNs client certificate that you received from Apple.
Specify this value if you want Amazon Pinpoint to communicate with the APNs sandbox environment by using an APNs certificate.
defaultAuthenticationMethodoptionalstringdefault_authentication_methodoptionalstrdefaultAuthenticationMethodoptionalStringDefaultAuthenticationMethodoptionalstringDefaultAuthenticationMethodoptional*string #The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs.
Valid options are key or certificate .
enabledoptionalboolean | IResolvableenabledoptionaltyping.Union[bool, IResolvable]enabledoptionalBooleanEnabledoptionalboolEnabledoptionalinterface{} #Specifies whether the APNs VoIP sandbox channel is enabled for the application.
privateKeyoptionalstringprivate_keyoptionalstrprivateKeyoptionalStringPrivateKeyoptionalstringPrivateKeyoptional*string #The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with the APNs sandbox environment.
teamIdoptionalstringteam_idoptionalstrteamIdoptionalStringTeamIdoptionalstringTeamIdoptional*string #The identifier that's assigned to your Apple developer account team.
This identifier is used for APNs tokens.
tokenKeyoptionalstringtoken_keyoptionalstrtokenKeyoptionalStringTokenKeyoptionalstringTokenKeyoptional*string #The authentication key to use for APNs tokens.
tokenKeyIdoptionalstringtoken_key_idoptionalstrtokenKeyIdoptionalStringTokenKeyIdoptionalstringTokenKeyIdoptional*string #The key identifier that's assigned to your APNs signing key.
Specify this value if you want Amazon Pinpoint to communicate with the APNs sandbox environment by using APNs tokens.