Skip to content
v2.278.0

OpsItemReference ​

Struct External

A reference to a OpsItem resource.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ssm as interfaces_ssm } from 'aws-cdk-lib/interfaces';
const opsItemReference: interfaces_ssm.OpsItemReference = {
  opsItemArn: 'opsItemArn',
};
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_ssm as interfaces_ssm

ops_item_reference = interfaces_ssm.OpsItemReference(
    ops_item_arn="opsItemArn"
)
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.ssm.*;

OpsItemReference opsItemReference = OpsItemReference.builder()
        .opsItemArn("opsItemArn")
        .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.SSM;

var opsItemReference = new OpsItemReference {
    OpsItemArn = "opsItemArn"
};
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"

opsItemReference := &OpsItemReference{
	OpsItemArn: jsii.String("opsItemArn"),
}

Properties ​

opsItemArnstringops_item_arnstropsItemArnStringOpsItemArnstringOpsItemArn*string required #
The OpsItemArn of the OpsItem resource.