class Amazonite::Ssm::ResourceDataSyncSourceWithState

Overview

The data type name for including resource data sync state. There are four sync states:

OrganizationNotExists (Your organization doesn't exist)

NoPermissions (The system can't locate the service-linked role. This role is automatically created when a user creates a resource data sync in Amazon Web Services Systems Manager Explorer.)

InvalidOrganizationalUnit (You specified or selected an invalid unit in the resource data sync configuration.)

TrustedAccessDisabled (You disabled Systems Manager access in the organization in Organizations.)

Included Modules

Defined in:

ssm/resource_data_sync_source_with_state.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(source_type : String | Nil = nil, aws_organizations_source : ResourceDataSyncAwsOrganizationsSource | Nil = nil, source_regions : Array(String) | Nil = nil, include_future_regions : Bool | Nil = nil, state : String | Nil = nil, enable_all_ops_data_sources : Bool | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def aws_organizations_source : ResourceDataSyncAwsOrganizationsSource | Nil #

The field name in SyncSource for the ResourceDataSyncAwsOrganizationsSource type.


[View source]
def aws_organizations_source=(aws_organizations_source : ResourceDataSyncAwsOrganizationsSource | Nil) #

The field name in SyncSource for the ResourceDataSyncAwsOrganizationsSource type.


[View source]
def enable_all_ops_data_sources : Bool | Nil #

When you create a resource data sync, if you choose one of the Organizations options, then Systems Manager automatically enables all OpsData sources in the selected Amazon Web Services Regions for all Amazon Web Services accounts in your organization (or in the selected organization units). For more information, see Setting up Systems Manager Explorer to display data from multiple accounts and Regions in the Amazon Web Services Systems Manager User Guide.


[View source]
def enable_all_ops_data_sources=(enable_all_ops_data_sources : Bool | Nil) #

When you create a resource data sync, if you choose one of the Organizations options, then Systems Manager automatically enables all OpsData sources in the selected Amazon Web Services Regions for all Amazon Web Services accounts in your organization (or in the selected organization units). For more information, see Setting up Systems Manager Explorer to display data from multiple accounts and Regions in the Amazon Web Services Systems Manager User Guide.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def include_future_regions : Bool | Nil #

Whether to automatically synchronize and aggregate data from new Amazon Web Services Regions when those Regions come online.


[View source]
def include_future_regions=(include_future_regions : Bool | Nil) #

Whether to automatically synchronize and aggregate data from new Amazon Web Services Regions when those Regions come online.


[View source]
def source_regions : Array(String) | Nil #

The SyncSource Amazon Web Services Regions included in the resource data sync.


[View source]
def source_regions=(source_regions : Array(String) | Nil) #

The SyncSource Amazon Web Services Regions included in the resource data sync.


[View source]
def source_type : String | Nil #

The type of data source for the resource data sync. SourceType is either AwsOrganizations (if an organization is present in Organizations) or singleAccountMultiRegions.


[View source]
def source_type=(source_type : String | Nil) #

The type of data source for the resource data sync. SourceType is either AwsOrganizations (if an organization is present in Organizations) or singleAccountMultiRegions.


[View source]
def state : String | Nil #

The data type name for including resource data sync state. There are four sync states:

OrganizationNotExists: Your organization doesn't exist.

NoPermissions: The system can't locate the service-linked role. This role is automatically created when a user creates a resource data sync in Explorer.

InvalidOrganizationalUnit: You specified or selected an invalid unit in the resource data sync configuration.

TrustedAccessDisabled: You disabled Systems Manager access in the organization in Organizations.


[View source]
def state=(state : String | Nil) #

The data type name for including resource data sync state. There are four sync states:

OrganizationNotExists: Your organization doesn't exist.

NoPermissions: The system can't locate the service-linked role. This role is automatically created when a user creates a resource data sync in Explorer.

InvalidOrganizationalUnit: You specified or selected an invalid unit in the resource data sync configuration.

TrustedAccessDisabled: You disabled Systems Manager access in the organization in Organizations.


[View source]
def validate! : Nil #

[View source]