CfnAPNSChannelProps

class aws_cdk.aws_pinpoint.CfnAPNSChannelProps(*, application_id, bundle_id=None, certificate=None, default_authentication_method=None, enabled=None, private_key=None, team_id=None, token_key=None, token_key_id=None)

Bases: object

Properties for defining a CfnAPNSChannel.

Parameters:
  • application_id (str) – The unique identifier for the Amazon Pinpoint application that the APNs channel applies to.

  • bundle_id (Optional[str]) – The bundle identifier that’s assigned to your iOS app. This identifier is used for APNs tokens.

  • certificate (Optional[str]) – The APNs client certificate that you received from Apple. Specify this value if you want Amazon Pinpoint to communicate with APNs by using an APNs certificate.

  • default_authentication_method (Optional[str]) – The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs. Valid options are key or certificate .

  • enabled (Union[bool, IResolvable, None]) – Specifies whether to enable the APNs channel for the application.

  • private_key (Optional[str]) – The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs.

  • team_id (Optional[str]) – The identifier that’s assigned to your Apple Developer Account team. This identifier is used for APNs tokens.

  • token_key (Optional[str]) – The authentication key to use for APNs tokens.

  • token_key_id (Optional[str]) – The key identifier that’s assigned to your APNs signing key. Specify this value if you want Amazon Pinpoint to communicate with APNs by using APNs tokens.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnschannel.html

ExampleMetadata:

fixture=_generated

Example:

# 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_aPNSChannel_props = pinpoint.CfnAPNSChannelProps(
    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"
)

Attributes

application_id

The unique identifier for the Amazon Pinpoint application that the APNs channel applies to.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnschannel.html#cfn-pinpoint-apnschannel-applicationid

bundle_id

The bundle identifier that’s assigned to your iOS app.

This identifier is used for APNs tokens.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnschannel.html#cfn-pinpoint-apnschannel-bundleid

certificate

The APNs client certificate that you received from Apple.

Specify this value if you want Amazon Pinpoint to communicate with APNs by using an APNs certificate.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnschannel.html#cfn-pinpoint-apnschannel-certificate

default_authentication_method

The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs.

Valid options are key or certificate .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnschannel.html#cfn-pinpoint-apnschannel-defaultauthenticationmethod

enabled

Specifies whether to enable the APNs channel for the application.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnschannel.html#cfn-pinpoint-apnschannel-enabled

private_key

The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnschannel.html#cfn-pinpoint-apnschannel-privatekey

team_id

The identifier that’s assigned to your Apple Developer Account team.

This identifier is used for APNs tokens.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnschannel.html#cfn-pinpoint-apnschannel-teamid

token_key

The authentication key to use for APNs tokens.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnschannel.html#cfn-pinpoint-apnschannel-tokenkey

token_key_id

The key identifier that’s assigned to your APNs signing key.

Specify this value if you want Amazon Pinpoint to communicate with APNs by using APNs tokens.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-pinpoint-apnschannel.html#cfn-pinpoint-apnschannel-tokenkeyid