Interface ICfnSinkProps
Properties for defining a CfnSink
.
Namespace: Amazon.CDK.AWS.Oam
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnSinkProps
Syntax (vb)
Public Interface ICfnSinkProps
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-oam-sink.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Oam;
var policy;
var cfnSinkProps = new CfnSinkProps {
Name = "name",
// the properties below are optional
Policy = policy,
Tags = new Dictionary<string, string> {
{ "tagsKey", "tags" }
}
};
Synopsis
Properties
Name | A name for the sink. |
Policy | The IAM policy that grants permissions to source accounts to link to this sink. |
Tags | An array of key-value pairs to apply to the sink. |
Properties
Name
A name for the sink.
string Name { get; }
Property Value
System.String
Remarks
Policy
The IAM policy that grants permissions to source accounts to link to this sink.
virtual object Policy { get; }
Property Value
System.Object
Remarks
The policy can grant permission in the following ways:
Tags
An array of key-value pairs to apply to the sink.
virtual IDictionary<string, string> Tags { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
Remarks
For more information, see Tag .