TaskDefinitionReference Struct
A reference to a TaskDefinition resource.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_iotwireless as interfaces_iotwireless } from 'aws-cdk-lib/interfaces';
const taskDefinitionReference: interfaces_iotwireless.TaskDefinitionReference = {
taskDefinitionArn: 'taskDefinitionArn',
taskDefinitionId: 'taskDefinitionId',
};
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 aws_iotwireless as interfaces_iotwireless
task_definition_reference = interfaces_iotwireless.TaskDefinitionReference(
task_definition_arn="taskDefinitionArn",
task_definition_id="taskDefinitionId"
)
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.iotwireless.*;
TaskDefinitionReference taskDefinitionReference = TaskDefinitionReference.builder()
.taskDefinitionArn("taskDefinitionArn")
.taskDefinitionId("taskDefinitionId")
.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.IoTWireless;
var taskDefinitionReference = new TaskDefinitionReference {
TaskDefinitionArn = "taskDefinitionArn",
TaskDefinitionId = "taskDefinitionId"
};
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"
taskDefinitionReference := &TaskDefinitionReference{
TaskDefinitionArn: jsii.String("taskDefinitionArn"),
TaskDefinitionId: jsii.String("taskDefinitionId"),
}
Properties
taskDefinitionArnstringtask_definition_arnstrtaskDefinitionArnStringTaskDefinitionArnstringTaskDefinitionArn*string required #The ARN of the TaskDefinition resource.
taskDefinitionIdstringtask_definition_idstrtaskDefinitionIdStringTaskDefinitionIdstringTaskDefinitionId*string required #The Id of the TaskDefinition resource.