Class CfnOrganizationConformancePack
A CloudFormation AWS::Config::OrganizationConformancePack
.
Inheritance
Inherited Members
Namespace: Amazon.CDK.AWS.Config
Assembly: Amazon.CDK.AWS.Config.dll
Syntax (csharp)
public class CfnOrganizationConformancePack : CfnResource, IConstruct, IDependable, IInspectable
Syntax (vb)
Public Class CfnOrganizationConformancePack
Inherits CfnResource
Implements IConstruct, IDependable, IInspectable
Remarks
OrganizationConformancePack deploys conformance packs across member accounts in an AWS Organizations . 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(Construct, String, ICfnOrganizationConformancePackProps) | Create a new |
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 |
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(Construct, String, ICfnOrganizationConformancePackProps)
Create a new AWS::Config::OrganizationConformancePack
.
public CfnOrganizationConformancePack(Construct scope, string id, ICfnOrganizationConformancePackProps props)
Parameters
- scope Construct
- scope in which this resource is defined.
- id System.String
- scoped id of the resource.
- props ICfnOrganizationConformancePackProps
- resource properties.
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
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
Remarks
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
Remarks
DeliveryS3KeyPrefix
Any folder structure you want to add to an Amazon S3 bucket.
public virtual string DeliveryS3KeyPrefix { get; set; }
Property Value
System.String
Remarks
ExcludedAccounts
A comma-separated list of accounts excluded from organization conformance pack.
public virtual string[] ExcludedAccounts { get; set; }
Property Value
System.String[]
Remarks
OrganizationConformancePackName
The name you assign to an organization conformance pack.
public virtual string OrganizationConformancePackName { get; set; }
Property Value
System.String
Remarks
TemplateBody
A string containing full conformance pack template body.
public virtual string TemplateBody { get; set; }
Property Value
System.String
Remarks
Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.
TemplateS3Uri
Location of file containing the template body.
public virtual string TemplateS3Uri { get; set; }
Property Value
System.String
Remarks
The uri must point to the conformance pack template (max size: 300 KB).
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>