@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.182Z") @Stability(value=Stable) public class CfnAPNSVoipChannel extends CfnResource implements IInspectable
A channel is a type of platform that you can deliver messages to. You can use the APNs VoIP channel to send VoIP notification messages to the Apple Push Notification service (APNs). Before you can use Amazon Pinpoint to send VoIP notifications to APNs, you have to enable the APNs VoIP channel for an Amazon Pinpoint application.
The APNSVoipChannel resource represents the status and authentication settings of the APNs VoIP channel for an application.
Example:
// 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.*;
CfnAPNSVoipChannel cfnAPNSVoipChannel = CfnAPNSVoipChannel.Builder.create(this, "MyCfnAPNSVoipChannel")
.applicationId("applicationId")
// the properties below are optional
.bundleId("bundleId")
.certificate("certificate")
.defaultAuthenticationMethod("defaultAuthenticationMethod")
.enabled(false)
.privateKey("privateKey")
.teamId("teamId")
.tokenKey("tokenKey")
.tokenKeyId("tokenKeyId")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnAPNSVoipChannel.Builder
A fluent builder for
CfnAPNSVoipChannel. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnAPNSVoipChannel(software.constructs.Construct scope,
String id,
CfnAPNSVoipChannelProps props)
Create a new `AWS::Pinpoint::APNSVoipChannel`.
|
protected |
CfnAPNSVoipChannel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnAPNSVoipChannel(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationId()
The unique identifier for the Amazon Pinpoint application that the APNs VoIP channel applies to.
|
String |
getBundleId()
The bundle identifier that's assigned to your iOS app.
|
String |
getCertificate()
The APNs client certificate that you received from Apple.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getDefaultAuthenticationMethod()
The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs.
|
Object |
getEnabled()
Specifies whether to enable the APNs VoIP channel for the Amazon Pinpoint application.
|
String |
getPrivateKey()
The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs.
|
String |
getTeamId()
The identifier that's assigned to your Apple Developer Account team.
|
String |
getTokenKey()
The authentication key to use for APNs tokens.
|
String |
getTokenKeyId()
The key identifier that's assigned to your APNs signing key.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setApplicationId(String value)
The unique identifier for the Amazon Pinpoint application that the APNs VoIP channel applies to.
|
void |
setBundleId(String value)
The bundle identifier that's assigned to your iOS app.
|
void |
setCertificate(String value)
The APNs client certificate that you received from Apple.
|
void |
setDefaultAuthenticationMethod(String value)
The default authentication method that you want Amazon Pinpoint to use when authenticating with APNs.
|
void |
setEnabled(Boolean value)
Specifies whether to enable the APNs VoIP channel for the Amazon Pinpoint application.
|
void |
setEnabled(IResolvable value)
Specifies whether to enable the APNs VoIP channel for the Amazon Pinpoint application.
|
void |
setPrivateKey(String value)
The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with APNs.
|
void |
setTeamId(String value)
The identifier that's assigned to your Apple Developer Account team.
|
void |
setTokenKey(String value)
The authentication key to use for APNs tokens.
|
void |
setTokenKeyId(String value)
The key identifier that's assigned to your APNs signing key.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnAPNSVoipChannel(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnAPNSVoipChannel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnAPNSVoipChannel(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnAPNSVoipChannelProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getApplicationId()
@Stability(value=Stable)
public void setApplicationId(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getBundleId()
This identifier is used for APNs tokens.
@Stability(value=Stable)
public void setBundleId(@Nullable
String value)
This identifier is used for APNs tokens.
@Stability(value=Stable) @Nullable public String getCertificate()
Specify this value if you want Amazon Pinpoint to communicate with APNs by using an APNs certificate.
@Stability(value=Stable)
public void setCertificate(@Nullable
String value)
Specify this value if you want Amazon Pinpoint to communicate with APNs by using an APNs certificate.
@Stability(value=Stable) @Nullable public String getDefaultAuthenticationMethod()
Valid options are key or certificate .
@Stability(value=Stable)
public void setDefaultAuthenticationMethod(@Nullable
String value)
Valid options are key or certificate .
@Stability(value=Stable) @Nullable public Object getEnabled()
@Stability(value=Stable)
public void setEnabled(@Nullable
Boolean value)
@Stability(value=Stable)
public void setEnabled(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public String getPrivateKey()
@Stability(value=Stable)
public void setPrivateKey(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getTeamId()
This identifier is used for APNs tokens.
@Stability(value=Stable)
public void setTeamId(@Nullable
String value)
This identifier is used for APNs tokens.
@Stability(value=Stable) @Nullable public String getTokenKey()
@Stability(value=Stable)
public void setTokenKey(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getTokenKeyId()
Specify this value if you want Amazon Pinpoint to communicate with APNs by using APNs tokens.
@Stability(value=Stable)
public void setTokenKeyId(@Nullable
String value)
Specify this value if you want Amazon Pinpoint to communicate with APNs by using APNs tokens.
Copyright © 2022. All rights reserved.