Skip to content
v2.278.0

DocumentReference Struct ​

A reference to a Document 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 documentReference: interfaces_ssm.DocumentReference = {
  documentName: 'documentName',
};
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

document_reference = interfaces_ssm.DocumentReference(
    document_name="documentName"
)
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.*;

DocumentReference documentReference = DocumentReference.builder()
        .documentName("documentName")
        .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 documentReference = new DocumentReference {
    DocumentName = "documentName"
};
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"

documentReference := &DocumentReference{
	DocumentName: jsii.String("documentName"),
}

Properties ​

documentNamestringdocument_namestrdocumentNameStringDocumentNamestringDocumentName*string required #
The Name of the Document resource.