Package software.amazon.awscdk.alexa.ask
Class CfnSkill
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.alexa.ask.CfnSkill
- All Implemented Interfaces:
IInspectable,ISkillRef,IEnvironmentAware,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:03.853Z")
@Stability(Stable)
public class CfnSkill
extends CfnResource
implements IInspectable, ISkillRef
The
Alexa::ASK::Skill resource creates an Alexa skill that enables customers to access new abilities.
For more information about developing a skill, see the .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.alexa.ask.*;
Object manifest;
CfnSkill cfnSkill = CfnSkill.Builder.create(this, "MyCfnSkill")
.authenticationConfiguration(AuthenticationConfigurationProperty.builder()
.clientId("clientId")
.clientSecret("clientSecret")
.refreshToken("refreshToken")
.build())
.skillPackage(SkillPackageProperty.builder()
.s3Bucket("s3Bucket")
.s3Key("s3Key")
// the properties below are optional
.overrides(OverridesProperty.builder()
.manifest(manifest)
.build())
.s3BucketRole("s3BucketRole")
.s3ObjectVersion("s3ObjectVersion")
.build())
.vendorId("vendorId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceTheAuthenticationConfigurationproperty type specifies the Login with Amazon (LWA) configuration used to authenticate with the Alexa service.static final classA fluent builder forCfnSkill.static interfaceTheOverridesproperty type provides overrides to the skill package to apply when creating or updating the skill.static interfaceTheSkillPackageproperty type contains configuration details for the skill package that contains the components of the Alexa skill.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.ask.ISkillRef
ISkillRef.Jsii$Default, ISkillRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnSkill(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnSkill(software.amazon.jsii.JsiiObjectRef objRef) CfnSkill(software.constructs.Construct scope, String id, CfnSkillProps props) Create a newAlexa::ASK::Skill. -
Method Summary
Modifier and TypeMethodDescriptionLogin with Amazon (LWA) configuration used to authenticate with the Alexa service.Configuration for the skill package that contains the components of the Alexa skill.A reference to a Skill resource.The vendor ID associated with the Amazon developer account that will host the skill.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanisCfnSkill(Object x) Checks whether the given object is a CfnSkill.renderProperties(Map<String, Object> props) voidLogin with Amazon (LWA) configuration used to authenticate with the Alexa service.voidLogin with Amazon (LWA) configuration used to authenticate with the Alexa service.voidConfiguration for the skill package that contains the components of the Alexa skill.voidsetSkillPackage(IResolvable value) Configuration for the skill package that contains the components of the Alexa skill.voidsetVendorId(String value) The vendor ID associated with the Amazon developer account that will host the skill.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnSkill
protected CfnSkill(software.amazon.jsii.JsiiObjectRef objRef) -
CfnSkill
protected CfnSkill(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnSkill
@Stability(Stable) public CfnSkill(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnSkillProps props) Create a newAlexa::ASK::Skill.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
isCfnSkill
Checks whether the given object is a CfnSkill.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrId
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getSkillRef
A reference to a Skill resource.- Specified by:
getSkillRefin interfaceISkillRef
-
getAuthenticationConfiguration
Login with Amazon (LWA) configuration used to authenticate with the Alexa service.Returns union: either
IResolvableorCfnSkill.AuthenticationConfigurationProperty -
setAuthenticationConfiguration
Login with Amazon (LWA) configuration used to authenticate with the Alexa service. -
setAuthenticationConfiguration
@Stability(Stable) public void setAuthenticationConfiguration(@NotNull CfnSkill.AuthenticationConfigurationProperty value) Login with Amazon (LWA) configuration used to authenticate with the Alexa service. -
getSkillPackage
Configuration for the skill package that contains the components of the Alexa skill.Returns union: either
IResolvableorCfnSkill.SkillPackageProperty -
setSkillPackage
Configuration for the skill package that contains the components of the Alexa skill. -
setSkillPackage
Configuration for the skill package that contains the components of the Alexa skill. -
getVendorId
The vendor ID associated with the Amazon developer account that will host the skill. -
setVendorId
The vendor ID associated with the Amazon developer account that will host the skill.
-