AwsOrganizationsSourceProperty Struct
Information about the AwsOrganizationsSource resource data sync source.
A sync source of this type can synchronize data from AWS Organizations or, if an AWS organization isn't present, from multiple AWS Regions .
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ssm as ssm } from 'aws-cdk-lib';
const awsOrganizationsSourceProperty: ssm.CfnResourceDataSync.AwsOrganizationsSourceProperty = {
organizationSourceType: 'organizationSourceType',
// the properties below are optional
organizationalUnits: ['organizationalUnits'],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_ssm as ssm
aws_organizations_source_property = ssm.CfnResourceDataSync.AwsOrganizationsSourceProperty(
organization_source_type="organizationSourceType",
# the properties below are optional
organizational_units=["organizationalUnits"]
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ssm.*;
AwsOrganizationsSourceProperty awsOrganizationsSourceProperty = AwsOrganizationsSourceProperty.builder()
.organizationSourceType("organizationSourceType")
// the properties below are optional
.organizationalUnits(List.of("organizationalUnits"))
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.SSM;
var awsOrganizationsSourceProperty = new AwsOrganizationsSourceProperty {
OrganizationSourceType = "organizationSourceType",
// the properties below are optional
OrganizationalUnits = new [] { "organizationalUnits" }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
awsOrganizationsSourceProperty := &AwsOrganizationsSourceProperty{
OrganizationSourceType: jsii.String("organizationSourceType"),
// the properties below are optional
OrganizationalUnits: []*string{
jsii.String("organizationalUnits"),
},
}
Properties
organizationalUnitsoptionalstring[]organizational_unitsoptionaltyping.List[str]organizationalUnitsoptionalList<String>OrganizationalUnitsoptionalstring[]OrganizationalUnitsoptional*[]*string #The AWS Organizations organization units included in the sync.
organizationSourceTypestringorganization_source_typestrorganizationSourceTypeStringOrganizationSourceTypestringOrganizationSourceType*string required #If an AWS organization is present, this is either `OrganizationalUnits` or `EntireOrganization` .
For OrganizationalUnits , the data is aggregated from a set of organization units. For EntireOrganization , the data is aggregated from the entire AWS organization.