Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ILedgerRef ¶
type ILedgerRef interface {
constructs.IConstruct
interfaces.IEnvironmentAware
// A reference to a Ledger resource.
// Experimental.
LedgerRef() *LedgerReference
}
Indicates that this resource can be referenced as a Ledger. Experimental.
type IStreamRef ¶
type IStreamRef interface {
constructs.IConstruct
interfaces.IEnvironmentAware
// A reference to a Stream resource.
// Experimental.
StreamRef() *StreamReference
}
Indicates that this resource can be referenced as a Stream. Experimental.
type LedgerReference ¶
type LedgerReference struct {
// The Id of the Ledger resource.
LedgerId *string `field:"required" json:"ledgerId" yaml:"ledgerId"`
}
A reference to a Ledger resource.
Example:
// 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"
ledgerReference := &LedgerReference{
LedgerId: jsii.String("ledgerId"),
}
type StreamReference ¶
type StreamReference struct {
// The LedgerName of the Stream resource.
LedgerName *string `field:"required" json:"ledgerName" yaml:"ledgerName"`
// The ARN of the Stream resource.
StreamArn *string `field:"required" json:"streamArn" yaml:"streamArn"`
// The Id of the Stream resource.
StreamId *string `field:"required" json:"streamId" yaml:"streamId"`
}
A reference to a Stream resource.
Example:
// 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"
streamReference := &StreamReference{
LedgerName: jsii.String("ledgerName"),
StreamArn: jsii.String("streamArn"),
StreamId: jsii.String("streamId"),
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.