Ec2InstanceAttributes class
Provides information about the EC2 instances in a cluster grouped by category. For example, key name, subnet ID, IAM instance profile, and so on.
Constructors
-
Ec2InstanceAttributes({List<
String> ? additionalMasterSecurityGroups, List<String> ? additionalSlaveSecurityGroups, String? ec2AvailabilityZone, String? ec2KeyName, String? ec2SubnetId, String? emrManagedMasterSecurityGroup, String? emrManagedSlaveSecurityGroup, String? iamInstanceProfile, List<String> ? requestedEc2AvailabilityZones, List<String> ? requestedEc2SubnetIds, String? serviceAccessSecurityGroup}) -
Ec2InstanceAttributes.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
additionalMasterSecurityGroups
→ List<
String> ? -
A list of additional Amazon EC2 security group IDs for the master node.
final
-
additionalSlaveSecurityGroups
→ List<
String> ? -
A list of additional Amazon EC2 security group IDs for the core and task
nodes.
final
- ec2AvailabilityZone → String?
-
The Availability Zone in which the cluster will run.
final
- ec2KeyName → String?
-
The name of the Amazon EC2 key pair to use when connecting with SSH into the
master node as a user named "hadoop".
final
- ec2SubnetId → String?
-
Set this parameter to the identifier of the Amazon VPC subnet where you want
the cluster to launch. If you do not specify this value, and your account
supports EC2-Classic, the cluster launches in EC2-Classic.
final
- emrManagedMasterSecurityGroup → String?
-
The identifier of the Amazon EC2 security group for the master node.
final
- emrManagedSlaveSecurityGroup → String?
-
The identifier of the Amazon EC2 security group for the core and task nodes.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iamInstanceProfile → String?
-
The IAM role that was specified when the cluster was launched. The EC2
instances of the cluster assume this role.
final
-
requestedEc2AvailabilityZones
→ List<
String> ? -
Applies to clusters configured with the instance fleets option. Specifies
one or more Availability Zones in which to launch EC2 cluster instances when
the EC2-Classic network configuration is supported. Amazon EMR chooses the
Availability Zone with the best fit from among the list of
RequestedEc2AvailabilityZones
, and then launches all cluster instances within that Availability Zone. If you do not specify this value, Amazon EMR chooses the Availability Zone for you.RequestedEc2SubnetIDs
andRequestedEc2AvailabilityZones
cannot be specified together.final -
requestedEc2SubnetIds
→ List<
String> ? -
Applies to clusters configured with the instance fleets option. Specifies
the unique identifier of one or more Amazon EC2 subnets in which to launch
EC2 cluster instances. Subnets must exist within the same VPC. Amazon EMR
chooses the EC2 subnet with the best fit from among the list of
RequestedEc2SubnetIds
, and then launches all cluster instances within that Subnet. If this value is not specified, and the account and Region support EC2-Classic networks, the cluster launches instances in the EC2-Classic network and usesRequestedEc2AvailabilityZones
instead of this setting. If EC2-Classic is not supported, and no Subnet is specified, Amazon EMR chooses the subnet for you.RequestedEc2SubnetIDs
andRequestedEc2AvailabilityZones
cannot be specified together.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serviceAccessSecurityGroup → String?
-
The identifier of the Amazon EC2 security group for the Amazon EMR service
to access clusters in VPC private subnets.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited