@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.183Z") @Stability(value=Stable) public class CfnAPNSVoipSandboxChannel extends CfnResource implements IInspectable
A channel is a type of platform that you can deliver messages to. You can use the APNs VoIP sandbox channel to send VoIP notification messages to the sandbox environment of the Apple Push Notification service (APNs). Before you can use Amazon Pinpoint to send VoIP notifications to the APNs sandbox environment, you have to enable the APNs VoIP sandbox channel for an Amazon Pinpoint application.
The APNSVoipSandboxChannel resource represents the status and authentication settings of the APNs VoIP sandbox 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.*;
CfnAPNSVoipSandboxChannel cfnAPNSVoipSandboxChannel = CfnAPNSVoipSandboxChannel.Builder.create(this, "MyCfnAPNSVoipSandboxChannel")
.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 |
CfnAPNSVoipSandboxChannel.Builder
A fluent builder for
CfnAPNSVoipSandboxChannel. |
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 |
|---|---|
|
CfnAPNSVoipSandboxChannel(software.constructs.Construct scope,
String id,
CfnAPNSVoipSandboxChannelProps props)
Create a new `AWS::Pinpoint::APNSVoipSandboxChannel`.
|
protected |
CfnAPNSVoipSandboxChannel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnAPNSVoipSandboxChannel(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationId()
The unique identifier for the application that the APNs VoIP sandbox 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 the APNs VoIP sandbox channel is enabled for the application.
|
String |
getPrivateKey()
The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with the APNs sandbox environment.
|
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 application that the APNs VoIP sandbox 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 the APNs VoIP sandbox channel is enabled for the application.
|
void |
setEnabled(IResolvable value)
Specifies whether the APNs VoIP sandbox channel is enabled for the application.
|
void |
setPrivateKey(String value)
The private key for the APNs client certificate that you want Amazon Pinpoint to use to communicate with the APNs sandbox environment.
|
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 CfnAPNSVoipSandboxChannel(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnAPNSVoipSandboxChannel(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnAPNSVoipSandboxChannel(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnAPNSVoipSandboxChannelProps 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 the APNs sandbox environment 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 the APNs sandbox environment 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 the APNs sandbox environment by using APNs tokens.
@Stability(value=Stable)
public void setTokenKeyId(@Nullable
String value)
Specify this value if you want Amazon Pinpoint to communicate with the APNs sandbox environment by using APNs tokens.
Copyright © 2022. All rights reserved.