Show / Hide Table of Contents

Class CfnSinkProps

Properties for defining a CfnSink.

Inheritance
object
CfnSinkProps
Implements
ICfnSinkProps
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Oam
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnSinkProps : ICfnSinkProps
Syntax (vb)
Public Class CfnSinkProps 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 for defining a CfnSink.

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()

Properties for defining a CfnSink.

public CfnSinkProps()
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" }
                 }
             };

Properties

Name

A name for the sink.

public string Name { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-oam-sink.html#cfn-oam-sink-name

Policy

The IAM policy that grants permissions to source accounts to link to this sink.

public object? Policy { get; set; }
Property Value

object

Remarks

The policy can grant permission in the following ways:

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-oam-sink.html#cfn-oam-sink-policy

    Tags

    An array of key-value pairs to apply to the sink.

    public IDictionary<string, string>? Tags { get; set; }
    Property Value

    IDictionary<string, string>

    Remarks

    For more information, see Tag .

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-oam-sink.html#cfn-oam-sink-tags

    Implements

    ICfnSinkProps
    Back to top Generated by DocFX