« blib/lib/Paws/ES/CompatibleVersionsMap.pm
↑ Summary
blib/lib/Paws/ES/CreateElasticsearchDomainResponse.pm »
| 1 | |||
| 2 | package Paws::ES::CreateElasticsearchDomain; | ||
| 3 | use Moose; | ||
| 4 | has AccessPolicies => (is => 'ro', isa => 'Str'); | ||
| 5 | has AdvancedOptions => (is => 'ro', isa => 'Paws::ES::AdvancedOptions'); | ||
| 6 | has AdvancedSecurityOptions => (is => 'ro', isa => 'Paws::ES::AdvancedSecurityOptionsInput'); | ||
| 7 | has AutoTuneOptions => (is => 'ro', isa => 'Paws::ES::AutoTuneOptionsInput'); | ||
| 8 | has CognitoOptions => (is => 'ro', isa => 'Paws::ES::CognitoOptions'); | ||
| 9 | has DomainEndpointOptions => (is => 'ro', isa => 'Paws::ES::DomainEndpointOptions'); | ||
| 10 | has DomainName => (is => 'ro', isa => 'Str', required => 1); | ||
| 11 | has EBSOptions => (is => 'ro', isa => 'Paws::ES::EBSOptions'); | ||
| 12 | has ElasticsearchClusterConfig => (is => 'ro', isa => 'Paws::ES::ElasticsearchClusterConfig'); | ||
| 13 | has ElasticsearchVersion => (is => 'ro', isa => 'Str'); | ||
| 14 | has EncryptionAtRestOptions => (is => 'ro', isa => 'Paws::ES::EncryptionAtRestOptions'); | ||
| 15 | has LogPublishingOptions => (is => 'ro', isa => 'Paws::ES::LogPublishingOptions'); | ||
| 16 | has NodeToNodeEncryptionOptions => (is => 'ro', isa => 'Paws::ES::NodeToNodeEncryptionOptions'); | ||
| 17 | has SnapshotOptions => (is => 'ro', isa => 'Paws::ES::SnapshotOptions'); | ||
| 18 | has TagList => (is => 'ro', isa => 'ArrayRef[Paws::ES::Tag]'); | ||
| 19 | has VPCOptions => (is => 'ro', isa => 'Paws::ES::VPCOptions'); | ||
| 20 | |||
| 21 | use MooseX::ClassAttribute; | ||
| 22 | |||
| 23 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateElasticsearchDomain'); | ||
| 24 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2015-01-01/es/domain'); | ||
| 25 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 26 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ES::CreateElasticsearchDomainResponse'); | ||
| 27 | 1; | ||
| 28 | |||
| 29 | ### main pod documentation begin ### | ||
| 30 | |||
| 31 | =head1 NAME | ||
| 32 | |||
| 33 | Paws::ES::CreateElasticsearchDomain - Arguments for method CreateElasticsearchDomain on L<Paws::ES> | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | This class represents the parameters used for calling the method CreateElasticsearchDomain on the | ||
| 38 | L<Amazon Elasticsearch Service|Paws::ES> service. Use the attributes of this class | ||
| 39 | as arguments to method CreateElasticsearchDomain. | ||
| 40 | |||
| 41 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateElasticsearchDomain. | ||
| 42 | |||
| 43 | =head1 SYNOPSIS | ||
| 44 | |||
| 45 | my $es = Paws->service('ES'); | ||
| 46 | my $CreateElasticsearchDomainResponse = $es->CreateElasticsearchDomain( | ||
| 47 | DomainName => 'MyDomainName', | ||
| 48 | AccessPolicies => 'MyPolicyDocument', # OPTIONAL | ||
| 49 | AdvancedOptions => { 'MyString' => 'MyString', }, # OPTIONAL | ||
| 50 | AdvancedSecurityOptions => { | ||
| 51 | Enabled => 1, # OPTIONAL | ||
| 52 | InternalUserDatabaseEnabled => 1, # OPTIONAL | ||
| 53 | MasterUserOptions => { | ||
| 54 | MasterUserARN => 'MyARN', # OPTIONAL | ||
| 55 | MasterUserName => 'MyUsername', # min: 1; OPTIONAL | ||
| 56 | MasterUserPassword => 'MyPassword', # min: 8; OPTIONAL | ||
| 57 | }, # OPTIONAL | ||
| 58 | SAMLOptions => { | ||
| 59 | Enabled => 1, # OPTIONAL | ||
| 60 | Idp => { | ||
| 61 | EntityId => 'MySAMLEntityId', # min: 8, max: 512 | ||
| 62 | MetadataContent => 'MySAMLMetadata', # min: 1, max: 1048576 | ||
| 63 | |||
| 64 | }, # OPTIONAL | ||
| 65 | MasterBackendRole => 'MyBackendRole', # min: 1, max: 256; OPTIONAL | ||
| 66 | MasterUserName => 'MyUsername', # min: 1; OPTIONAL | ||
| 67 | RolesKey => 'MyString', | ||
| 68 | SessionTimeoutMinutes => 1, # OPTIONAL | ||
| 69 | SubjectKey => 'MyString', | ||
| 70 | }, # OPTIONAL | ||
| 71 | }, # OPTIONAL | ||
| 72 | AutoTuneOptions => { | ||
| 73 | DesiredState => 'ENABLED', # values: ENABLED, DISABLED; OPTIONAL | ||
| 74 | MaintenanceSchedules => [ | ||
| 75 | { | ||
| 76 | CronExpressionForRecurrence => 'MyString', | ||
| 77 | Duration => { | ||
| 78 | Unit => 'HOURS', # values: HOURS; OPTIONAL | ||
| 79 | Value => 1, # min: 1, max: 24; OPTIONAL | ||
| 80 | }, # OPTIONAL | ||
| 81 | StartAt => '1970-01-01T01:00:00', # OPTIONAL | ||
| 82 | }, | ||
| 83 | ... | ||
| 84 | ], # max: 100; OPTIONAL | ||
| 85 | }, # OPTIONAL | ||
| 86 | CognitoOptions => { | ||
| 87 | Enabled => 1, # OPTIONAL | ||
| 88 | IdentityPoolId => 'MyIdentityPoolId', # min: 1, max: 55; OPTIONAL | ||
| 89 | RoleArn => 'MyRoleArn', # min: 20, max: 2048; OPTIONAL | ||
| 90 | UserPoolId => 'MyUserPoolId', # min: 1, max: 55; OPTIONAL | ||
| 91 | }, # OPTIONAL | ||
| 92 | DomainEndpointOptions => { | ||
| 93 | CustomEndpoint => 'MyDomainNameFqdn', # min: 1, max: 255; OPTIONAL | ||
| 94 | CustomEndpointCertificateArn => 'MyARN', # OPTIONAL | ||
| 95 | CustomEndpointEnabled => 1, # OPTIONAL | ||
| 96 | EnforceHTTPS => 1, # OPTIONAL | ||
| 97 | TLSSecurityPolicy => 'Policy-Min-TLS-1-0-2019-07' | ||
| 98 | , # values: Policy-Min-TLS-1-0-2019-07, Policy-Min-TLS-1-2-2019-07; OPTIONAL | ||
| 99 | }, # OPTIONAL | ||
| 100 | EBSOptions => { | ||
| 101 | EBSEnabled => 1, # OPTIONAL | ||
| 102 | Iops => 1, # OPTIONAL | ||
| 103 | VolumeSize => 1, # OPTIONAL | ||
| 104 | VolumeType => 'standard', # values: standard, gp2, io1; OPTIONAL | ||
| 105 | }, # OPTIONAL | ||
| 106 | ElasticsearchClusterConfig => { | ||
| 107 | ColdStorageOptions => { | ||
| 108 | Enabled => 1, # OPTIONAL | ||
| 109 | |||
| 110 | }, # OPTIONAL | ||
| 111 | DedicatedMasterCount => 1, # OPTIONAL | ||
| 112 | DedicatedMasterEnabled => 1, # OPTIONAL | ||
| 113 | DedicatedMasterType => 'm3.medium.elasticsearch' | ||
| 114 | , # values: m3.medium.elasticsearch, m3.large.elasticsearch, m3.xlarge.elasticsearch, m3.2xlarge.elasticsearch, m4.large.elasticsearch, m4.xlarge.elasticsearch, m4.2xlarge.elasticsearch, m4.4xlarge.elasticsearch, m4.10xlarge.elasticsearch, m5.large.elasticsearch, m5.xlarge.elasticsearch, m5.2xlarge.elasticsearch, m5.4xlarge.elasticsearch, m5.12xlarge.elasticsearch, r5.large.elasticsearch, r5.xlarge.elasticsearch, r5.2xlarge.elasticsearch, r5.4xlarge.elasticsearch, r5.12xlarge.elasticsearch, c5.large.elasticsearch, c5.xlarge.elasticsearch, c5.2xlarge.elasticsearch, c5.4xlarge.elasticsearch, c5.9xlarge.elasticsearch, c5.18xlarge.elasticsearch, ultrawarm1.medium.elasticsearch, ultrawarm1.large.elasticsearch, t2.micro.elasticsearch, t2.small.elasticsearch, t2.medium.elasticsearch, r3.large.elasticsearch, r3.xlarge.elasticsearch, r3.2xlarge.elasticsearch, r3.4xlarge.elasticsearch, r3.8xlarge.elasticsearch, i2.xlarge.elasticsearch, i2.2xlarge.elasticsearch, d2.xlarge.elasticsearch, d2.2xlarge.elasticsearch, d2.4xlarge.elasticsearch, d2.8xlarge.elasticsearch, c4.large.elasticsearch, c4.xlarge.elasticsearch, c4.2xlarge.elasticsearch, c4.4xlarge.elasticsearch, c4.8xlarge.elasticsearch, r4.large.elasticsearch, r4.xlarge.elasticsearch, r4.2xlarge.elasticsearch, r4.4xlarge.elasticsearch, r4.8xlarge.elasticsearch, r4.16xlarge.elasticsearch, i3.large.elasticsearch, i3.xlarge.elasticsearch, i3.2xlarge.elasticsearch, i3.4xlarge.elasticsearch, i3.8xlarge.elasticsearch, i3.16xlarge.elasticsearch; OPTIONAL | ||
| 115 | InstanceCount => 1, # OPTIONAL | ||
| 116 | InstanceType => 'm3.medium.elasticsearch' | ||
| 117 | , # values: m3.medium.elasticsearch, m3.large.elasticsearch, m3.xlarge.elasticsearch, m3.2xlarge.elasticsearch, m4.large.elasticsearch, m4.xlarge.elasticsearch, m4.2xlarge.elasticsearch, m4.4xlarge.elasticsearch, m4.10xlarge.elasticsearch, m5.large.elasticsearch, m5.xlarge.elasticsearch, m5.2xlarge.elasticsearch, m5.4xlarge.elasticsearch, m5.12xlarge.elasticsearch, r5.large.elasticsearch, r5.xlarge.elasticsearch, r5.2xlarge.elasticsearch, r5.4xlarge.elasticsearch, r5.12xlarge.elasticsearch, c5.large.elasticsearch, c5.xlarge.elasticsearch, c5.2xlarge.elasticsearch, c5.4xlarge.elasticsearch, c5.9xlarge.elasticsearch, c5.18xlarge.elasticsearch, ultrawarm1.medium.elasticsearch, ultrawarm1.large.elasticsearch, t2.micro.elasticsearch, t2.small.elasticsearch, t2.medium.elasticsearch, r3.large.elasticsearch, r3.xlarge.elasticsearch, r3.2xlarge.elasticsearch, r3.4xlarge.elasticsearch, r3.8xlarge.elasticsearch, i2.xlarge.elasticsearch, i2.2xlarge.elasticsearch, d2.xlarge.elasticsearch, d2.2xlarge.elasticsearch, d2.4xlarge.elasticsearch, d2.8xlarge.elasticsearch, c4.large.elasticsearch, c4.xlarge.elasticsearch, c4.2xlarge.elasticsearch, c4.4xlarge.elasticsearch, c4.8xlarge.elasticsearch, r4.large.elasticsearch, r4.xlarge.elasticsearch, r4.2xlarge.elasticsearch, r4.4xlarge.elasticsearch, r4.8xlarge.elasticsearch, r4.16xlarge.elasticsearch, i3.large.elasticsearch, i3.xlarge.elasticsearch, i3.2xlarge.elasticsearch, i3.4xlarge.elasticsearch, i3.8xlarge.elasticsearch, i3.16xlarge.elasticsearch; OPTIONAL | ||
| 118 | WarmCount => 1, # OPTIONAL | ||
| 119 | WarmEnabled => 1, # OPTIONAL | ||
| 120 | WarmType => 'ultrawarm1.medium.elasticsearch' | ||
| 121 | , # values: ultrawarm1.medium.elasticsearch, ultrawarm1.large.elasticsearch; OPTIONAL | ||
| 122 | ZoneAwarenessConfig => { | ||
| 123 | AvailabilityZoneCount => 1, # OPTIONAL | ||
| 124 | }, # OPTIONAL | ||
| 125 | ZoneAwarenessEnabled => 1, # OPTIONAL | ||
| 126 | }, # OPTIONAL | ||
| 127 | ElasticsearchVersion => 'MyElasticsearchVersionString', # OPTIONAL | ||
| 128 | EncryptionAtRestOptions => { | ||
| 129 | Enabled => 1, # OPTIONAL | ||
| 130 | KmsKeyId => 'MyKmsKeyId', # min: 1, max: 500; OPTIONAL | ||
| 131 | }, # OPTIONAL | ||
| 132 | LogPublishingOptions => { | ||
| 133 | 'INDEX_SLOW_LOGS' => { | ||
| 134 | CloudWatchLogsLogGroupArn => 'MyCloudWatchLogsLogGroupArn', # OPTIONAL | ||
| 135 | Enabled => 1, # OPTIONAL | ||
| 136 | }, # key: values: INDEX_SLOW_LOGS, SEARCH_SLOW_LOGS, ES_APPLICATION_LOGS, AUDIT_LOGS | ||
| 137 | }, # OPTIONAL | ||
| 138 | NodeToNodeEncryptionOptions => { | ||
| 139 | Enabled => 1, # OPTIONAL | ||
| 140 | }, # OPTIONAL | ||
| 141 | SnapshotOptions => { | ||
| 142 | AutomatedSnapshotStartHour => 1, # OPTIONAL | ||
| 143 | }, # OPTIONAL | ||
| 144 | TagList => [ | ||
| 145 | { | ||
| 146 | Key => 'MyTagKey', # min: 1, max: 128 | ||
| 147 | Value => 'MyTagValue', # max: 256 | ||
| 148 | |||
| 149 | }, | ||
| 150 | ... | ||
| 151 | ], # OPTIONAL | ||
| 152 | VPCOptions => { | ||
| 153 | SecurityGroupIds => [ 'MyString', ... ], # OPTIONAL | ||
| 154 | SubnetIds => [ 'MyString', ... ], # OPTIONAL | ||
| 155 | }, # OPTIONAL | ||
| 156 | ); | ||
| 157 | |||
| 158 | # Results: | ||
| 159 | my $DomainStatus = $CreateElasticsearchDomainResponse->DomainStatus; | ||
| 160 | |||
| 161 | # Returns a L<Paws::ES::CreateElasticsearchDomainResponse> object. | ||
| 162 | |||
| 163 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 164 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/es/CreateElasticsearchDomain> | ||
| 165 | |||
| 166 | =head1 ATTRIBUTES | ||
| 167 | |||
| 168 | |||
| 169 | =head2 AccessPolicies => Str | ||
| 170 | |||
| 171 | IAM access policy as a JSON-formatted string. | ||
| 172 | |||
| 173 | |||
| 174 | |||
| 175 | =head2 AdvancedOptions => L<Paws::ES::AdvancedOptions> | ||
| 176 | |||
| 177 | Option to allow references to indices in an HTTP request body. Must be | ||
| 178 | C<false> when configuring access to individual sub-resources. By | ||
| 179 | default, the value is C<true>. See Configuration Advanced Options | ||
| 180 | (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomain-configure-advanced-options) | ||
| 181 | for more information. | ||
| 182 | |||
| 183 | |||
| 184 | |||
| 185 | =head2 AdvancedSecurityOptions => L<Paws::ES::AdvancedSecurityOptionsInput> | ||
| 186 | |||
| 187 | Specifies advanced security options. | ||
| 188 | |||
| 189 | |||
| 190 | |||
| 191 | =head2 AutoTuneOptions => L<Paws::ES::AutoTuneOptionsInput> | ||
| 192 | |||
| 193 | Specifies Auto-Tune options. | ||
| 194 | |||
| 195 | |||
| 196 | |||
| 197 | =head2 CognitoOptions => L<Paws::ES::CognitoOptions> | ||
| 198 | |||
| 199 | Options to specify the Cognito user and identity pools for Kibana | ||
| 200 | authentication. For more information, see Amazon Cognito Authentication | ||
| 201 | for Kibana | ||
| 202 | (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-cognito-auth.html). | ||
| 203 | |||
| 204 | |||
| 205 | |||
| 206 | =head2 DomainEndpointOptions => L<Paws::ES::DomainEndpointOptions> | ||
| 207 | |||
| 208 | Options to specify configuration that will be applied to the domain | ||
| 209 | endpoint. | ||
| 210 | |||
| 211 | |||
| 212 | |||
| 213 | =head2 B<REQUIRED> DomainName => Str | ||
| 214 | |||
| 215 | The name of the Elasticsearch domain that you are creating. Domain | ||
| 216 | names are unique across the domains owned by an account within an AWS | ||
| 217 | region. Domain names must start with a lowercase letter and can contain | ||
| 218 | the following characters: a-z (lowercase), 0-9, and - (hyphen). | ||
| 219 | |||
| 220 | |||
| 221 | |||
| 222 | =head2 EBSOptions => L<Paws::ES::EBSOptions> | ||
| 223 | |||
| 224 | Options to enable, disable and specify the type and size of EBS storage | ||
| 225 | volumes. | ||
| 226 | |||
| 227 | |||
| 228 | |||
| 229 | =head2 ElasticsearchClusterConfig => L<Paws::ES::ElasticsearchClusterConfig> | ||
| 230 | |||
| 231 | Configuration options for an Elasticsearch domain. Specifies the | ||
| 232 | instance type and number of instances in the domain cluster. | ||
| 233 | |||
| 234 | |||
| 235 | |||
| 236 | =head2 ElasticsearchVersion => Str | ||
| 237 | |||
| 238 | String of format X.Y to specify version for the Elasticsearch domain | ||
| 239 | eg. "1.5" or "2.3". For more information, see Creating Elasticsearch | ||
| 240 | Domains | ||
| 241 | (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-createupdatedomains.html#es-createdomains) | ||
| 242 | in the I<Amazon Elasticsearch Service Developer Guide>. | ||
| 243 | |||
| 244 | |||
| 245 | |||
| 246 | =head2 EncryptionAtRestOptions => L<Paws::ES::EncryptionAtRestOptions> | ||
| 247 | |||
| 248 | Specifies the Encryption At Rest Options. | ||
| 249 | |||
| 250 | |||
| 251 | |||
| 252 | =head2 LogPublishingOptions => L<Paws::ES::LogPublishingOptions> | ||
| 253 | |||
| 254 | Map of C<LogType> and C<LogPublishingOption>, each containing options | ||
| 255 | to publish a given type of Elasticsearch log. | ||
| 256 | |||
| 257 | |||
| 258 | |||
| 259 | =head2 NodeToNodeEncryptionOptions => L<Paws::ES::NodeToNodeEncryptionOptions> | ||
| 260 | |||
| 261 | Specifies the NodeToNodeEncryptionOptions. | ||
| 262 | |||
| 263 | |||
| 264 | |||
| 265 | =head2 SnapshotOptions => L<Paws::ES::SnapshotOptions> | ||
| 266 | |||
| 267 | Option to set time, in UTC format, of the daily automated snapshot. | ||
| 268 | Default value is 0 hours. | ||
| 269 | |||
| 270 | |||
| 271 | |||
| 272 | =head2 TagList => ArrayRef[L<Paws::ES::Tag>] | ||
| 273 | |||
| 274 | A list of C<Tag> added during domain creation. | ||
| 275 | |||
| 276 | |||
| 277 | |||
| 278 | =head2 VPCOptions => L<Paws::ES::VPCOptions> | ||
| 279 | |||
| 280 | Options to specify the subnets and security groups for VPC endpoint. | ||
| 281 | For more information, see Creating a VPC | ||
| 282 | (http://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-vpc.html#es-creating-vpc) | ||
| 283 | in I<VPC Endpoints for Amazon Elasticsearch Service Domains> | ||
| 284 | |||
| 285 | |||
| 286 | |||
| 287 | |||
| 288 | =head1 SEE ALSO | ||
| 289 | |||
| 290 | This class forms part of L<Paws>, documenting arguments for method CreateElasticsearchDomain in L<Paws::ES> | ||
| 291 | |||
| 292 | =head1 BUGS and CONTRIBUTIONS | ||
| 293 | |||
| 294 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 295 | |||
| 296 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 297 | |||
| 298 | =cut | ||
| 299 |