public class OrganizationManager extends Object
| Constructor and Description |
|---|
OrganizationManager(com.amazonaws.services.organizations.AWSOrganizations organizations)
Initializes object with given Organizations client.
|
| Modifier and Type | Method and Description |
|---|---|
pl.wrzasq.commons.aws.cloudformation.CustomResourceResponse<OrganizationWithRoot> |
delete(OrganizationRequest input,
String physicalResourceId)
Handles organization deletion.
|
pl.wrzasq.commons.aws.cloudformation.CustomResourceResponse<OrganizationWithRoot> |
sync(OrganizationRequest input,
String physicalResourceId)
Handles organization creation.
|
public OrganizationManager(com.amazonaws.services.organizations.AWSOrganizations organizations)
organizations - AWS Organizations client.public pl.wrzasq.commons.aws.cloudformation.CustomResourceResponse<OrganizationWithRoot> sync(OrganizationRequest input, String physicalResourceId)
input - Resource creation request.physicalResourceId - Physical ID of existing resource (if present).public pl.wrzasq.commons.aws.cloudformation.CustomResourceResponse<OrganizationWithRoot> delete(OrganizationRequest input, String physicalResourceId)
input - Resource delete request.physicalResourceId - Physical ID of existing resource (if present).Copyright © 2019 RafaĆ Wrzeszcz - Wrzasq.pl. All rights reserved.