Skip to content
v2.277.0

SkillReference Struct ​

A reference to a Skill resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { alexa_ask as interfaces_alexa_ask } from 'aws-cdk-lib/interfaces';
const skillReference: interfaces_alexa_ask.SkillReference = {
  skillId: 'skillId',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.interfaces import alexa_ask as interfaces_alexa_ask

skill_reference = interfaces_alexa_ask.SkillReference(
    skill_id="skillId"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.interfaces.ask.*;

SkillReference skillReference = SkillReference.builder()
        .skillId("skillId")
        .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.Interfaces.Ask;

var skillReference = new SkillReference {
    SkillId = "skillId"
};
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"

skillReference := &SkillReference{
	SkillId: jsii.String("skillId"),
}

Properties ​

skillIdstringskill_idstrskillIdStringSkillIdstringSkillId*stringrequired#
The Id of the Skill resource.