Class CfnOrganizationConformancePack
OrganizationConformancePack deploys conformance packs across member accounts in an AWS Organizations .
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.Config
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnOrganizationConformancePack : CfnResource, IInspectable
Syntax (vb)
Public Class CfnOrganizationConformancePack
Inherits CfnResource
Implements IInspectable
Remarks
OrganizationConformancePack enables organization service access for config-multiaccountsetup.amazonaws.com
through the EnableAWSServiceAccess
action and creates a service linked role in the master account of your organization. The service linked role is created only when the role does not exist in the master account.
CloudformationResource: AWS::Config::OrganizationConformancePack
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.Config;
var cfnOrganizationConformancePack = new CfnOrganizationConformancePack(this, "MyCfnOrganizationConformancePack", new CfnOrganizationConformancePackProps {
OrganizationConformancePackName = "organizationConformancePackName",
// the properties below are optional
ConformancePackInputParameters = new [] { new ConformancePackInputParameterProperty {
ParameterName = "parameterName",
ParameterValue = "parameterValue"
} },
DeliveryS3Bucket = "deliveryS3Bucket",
DeliveryS3KeyPrefix = "deliveryS3KeyPrefix",
ExcludedAccounts = new [] { "excludedAccounts" },
TemplateBody = "templateBody",
TemplateS3Uri = "templateS3Uri"
});
Synopsis
Constructors
CfnOrganizationConformancePack(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnOrganizationConformancePack(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnOrganizationConformancePack(Construct, String, ICfnOrganizationConformancePackProps) |
Properties
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
ConformancePackInputParameters | A list of |
DeliveryS3Bucket | The name of the Amazon S3 bucket where AWS Config stores conformance pack templates. |
DeliveryS3KeyPrefix | Any folder structure you want to add to an Amazon S3 bucket. |
ExcludedAccounts | A comma-separated list of accounts excluded from organization conformance pack. |
OrganizationConformancePackName | The name you assign to an organization conformance pack. |
TemplateBody | A string containing full conformance pack template body. |
TemplateS3Uri | Location of file containing the template body. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnOrganizationConformancePack(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnOrganizationConformancePack(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnOrganizationConformancePack(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnOrganizationConformancePack(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnOrganizationConformancePack(Construct, String, ICfnOrganizationConformancePackProps)
public CfnOrganizationConformancePack(Construct scope, string id, ICfnOrganizationConformancePackProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnOrganizationConformancePackProps
Resource properties.
Properties
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
ConformancePackInputParameters
A list of ConformancePackInputParameter
objects.
public virtual object ConformancePackInputParameters { get; set; }
Property Value
System.Object
DeliveryS3Bucket
The name of the Amazon S3 bucket where AWS Config stores conformance pack templates.
public virtual string DeliveryS3Bucket { get; set; }
Property Value
System.String
DeliveryS3KeyPrefix
Any folder structure you want to add to an Amazon S3 bucket.
public virtual string DeliveryS3KeyPrefix { get; set; }
Property Value
System.String
ExcludedAccounts
A comma-separated list of accounts excluded from organization conformance pack.
public virtual string[] ExcludedAccounts { get; set; }
Property Value
System.String[]
OrganizationConformancePackName
The name you assign to an organization conformance pack.
public virtual string OrganizationConformancePackName { get; set; }
Property Value
System.String
TemplateBody
A string containing full conformance pack template body.
public virtual string TemplateBody { get; set; }
Property Value
System.String
TemplateS3Uri
Location of file containing the template body.
public virtual string TemplateS3Uri { get; set; }
Property Value
System.String
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>