Show / Hide Table of Contents

Class PolicyViolatingResourceBeta1

Resource violating a specific rule.

Inheritance
object
PolicyViolatingResourceBeta1
Implements
IPolicyViolatingResourceBeta1
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class PolicyViolatingResourceBeta1 : IPolicyViolatingResourceBeta1
Syntax (vb)
Public Class PolicyViolatingResourceBeta1 Implements IPolicyViolatingResourceBeta1
Remarks

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;

            var policyViolatingResourceBeta1 = new PolicyViolatingResourceBeta1 {
                Locations = new [] { "locations" },
                ResourceLogicalId = "resourceLogicalId",
                TemplatePath = "templatePath"
            };

Synopsis

Constructors

PolicyViolatingResourceBeta1()

Resource violating a specific rule.

Properties

Locations

The locations in the CloudFormation template that pose the violations.

ResourceLogicalId

The logical ID of the resource in the CloudFormation template.

TemplatePath

The path to the CloudFormation template that contains this resource.

Constructors

PolicyViolatingResourceBeta1()

Resource violating a specific rule.

public PolicyViolatingResourceBeta1()
Remarks

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;

            var policyViolatingResourceBeta1 = new PolicyViolatingResourceBeta1 {
                Locations = new [] { "locations" },
                ResourceLogicalId = "resourceLogicalId",
                TemplatePath = "templatePath"
            };

Properties

Locations

The locations in the CloudFormation template that pose the violations.

public string[] Locations { get; set; }
Property Value

string[]

Remarks

ExampleMetadata: fixture=_generated

ResourceLogicalId

The logical ID of the resource in the CloudFormation template.

public string ResourceLogicalId { get; set; }
Property Value

string

Remarks

ExampleMetadata: fixture=_generated

TemplatePath

The path to the CloudFormation template that contains this resource.

public string TemplatePath { get; set; }
Property Value

string

Remarks

ExampleMetadata: fixture=_generated

Implements

IPolicyViolatingResourceBeta1
Back to top Generated by DocFX