Class CfnSinkProps
Properties for defining a CfnSink
.
Inheritance
System.Object
CfnSinkProps
Implements
Namespace: Amazon.CDK.AWS.Oam
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSinkProps : Object, ICfnSinkProps
Syntax (vb)
Public Class CfnSinkProps
Inherits Object
Implements 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
Constructors
CfnSinkProps() |
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. |
Constructors
CfnSinkProps()
public CfnSinkProps()
Properties
Name
A name for the sink.
public string Name { get; set; }
Property Value
System.String
Remarks
Policy
The IAM policy that grants permissions to source accounts to link to this sink.
public object Policy { get; set; }
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.
public IDictionary<string, string> Tags { get; set; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.String>
Remarks
For more information, see Tag .