Class GetInstanceResult
Inheritance
System.Object
GetInstanceResult
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Pulumi.Aws.dll
Syntax
public sealed class GetInstanceResult
Fields
View Source
Ami
The ID of the AMI used to launch the instance.
Declaration
public readonly string Ami
Field Value
| Type |
Description |
| System.String |
|
View Source
Arn
Declaration
public readonly string Arn
Field Value
| Type |
Description |
| System.String |
|
View Source
AssociatePublicIpAddress
Whether or not the Instance is associated with a public IP address or not (Boolean).
Declaration
public readonly bool AssociatePublicIpAddress
Field Value
| Type |
Description |
| System.Boolean |
|
View Source
AvailabilityZone
The availability zone of the Instance.
Declaration
public readonly string AvailabilityZone
Field Value
| Type |
Description |
| System.String |
|
View Source
CreditSpecifications
The credit specification of the Instance.
Declaration
public readonly ImmutableArray<GetInstanceCreditSpecificationResult> CreditSpecifications
Field Value
View Source
DisableApiTermination
Declaration
public readonly bool DisableApiTermination
Field Value
| Type |
Description |
| System.Boolean |
|
View Source
EbsBlockDevices
The EBS block device mappings of the Instance.
Declaration
public readonly ImmutableArray<GetInstanceEbsBlockDeviceResult> EbsBlockDevices
Field Value
View Source
EbsOptimized
Whether the Instance is EBS optimized or not (Boolean).
Declaration
public readonly bool EbsOptimized
Field Value
| Type |
Description |
| System.Boolean |
|
View Source
EphemeralBlockDevices
The ephemeral block device mappings of the Instance.
Declaration
public readonly ImmutableArray<GetInstanceEphemeralBlockDeviceResult> EphemeralBlockDevices
Field Value
View Source
Filters
Declaration
public readonly ImmutableArray<GetInstanceFilterResult> Filters
Field Value
View Source
GetPasswordData
Declaration
public readonly bool? GetPasswordData
Field Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
View Source
GetUserData
Declaration
public readonly bool? GetUserData
Field Value
| Type |
Description |
| System.Nullable<System.Boolean> |
|
View Source
HostId
The Id of the dedicated host the instance will be assigned to.
Declaration
public readonly string HostId
Field Value
| Type |
Description |
| System.String |
|
View Source
IamInstanceProfile
The name of the instance profile associated with the Instance.
Declaration
public readonly string IamInstanceProfile
Field Value
| Type |
Description |
| System.String |
|
View Source
Id
The provider-assigned unique ID for this managed resource.
Declaration
public readonly string Id
Field Value
| Type |
Description |
| System.String |
|
View Source
InstanceId
Declaration
public readonly string InstanceId
Field Value
| Type |
Description |
| System.String |
|
View Source
InstanceState
The state of the instance. One of: pending, running, shutting-down, terminated, stopping, stopped. See Instance Lifecycle for more information.
Declaration
public readonly string InstanceState
Field Value
| Type |
Description |
| System.String |
|
View Source
Declaration
public readonly ImmutableDictionary<string, object> InstanceTags
Field Value
| Type |
Description |
| System.Collections.Immutable.ImmutableDictionary<System.String, System.Object> |
|
View Source
InstanceType
The type of the Instance.
Declaration
public readonly string InstanceType
Field Value
| Type |
Description |
| System.String |
|
View Source
KeyName
The key name of the Instance.
Declaration
public readonly string KeyName
Field Value
| Type |
Description |
| System.String |
|
View Source
The metadata options of the Instance.
Declaration
public readonly ImmutableArray<GetInstanceMetadataOptionResult> MetadataOptions
Field Value
View Source
Monitoring
Whether detailed monitoring is enabled or disabled for the Instance (Boolean).
Declaration
public readonly bool Monitoring
Field Value
| Type |
Description |
| System.Boolean |
|
View Source
NetworkInterfaceId
The ID of the network interface that was created with the Instance.
Declaration
public readonly string NetworkInterfaceId
Field Value
| Type |
Description |
| System.String |
|
View Source
OutpostArn
The Amazon Resource Name (ARN) of the Outpost.
Declaration
public readonly string OutpostArn
Field Value
| Type |
Description |
| System.String |
|
View Source
PasswordData
Base-64 encoded encrypted password data for the instance.
Useful for getting the administrator password for instances running Microsoft Windows.
This attribute is only exported if get_password_data is true.
See GetPasswordData for more information.
Declaration
public readonly string PasswordData
Field Value
| Type |
Description |
| System.String |
|
View Source
PlacementGroup
The placement group of the Instance.
Declaration
public readonly string PlacementGroup
Field Value
| Type |
Description |
| System.String |
|
View Source
PrivateDns
The private DNS name assigned to the Instance. Can only be
used inside the Amazon EC2, and only available if you've enabled DNS hostnames
for your VPC.
Declaration
public readonly string PrivateDns
Field Value
| Type |
Description |
| System.String |
|
View Source
PrivateIp
The private IP address assigned to the Instance.
Declaration
public readonly string PrivateIp
Field Value
| Type |
Description |
| System.String |
|
View Source
PublicDns
The public DNS name assigned to the Instance. For EC2-VPC, this
is only available if you've enabled DNS hostnames for your VPC.
Declaration
public readonly string PublicDns
Field Value
| Type |
Description |
| System.String |
|
View Source
PublicIp
The public IP address assigned to the Instance, if applicable. NOTE: If you are using an aws.ec2.Eip with your instance, you should refer to the EIP's address directly and not use public_ip, as this field will change after the EIP is attached.
Declaration
public readonly string PublicIp
Field Value
| Type |
Description |
| System.String |
|
View Source
RootBlockDevices
The root block device mappings of the Instance
Declaration
public readonly ImmutableArray<GetInstanceRootBlockDeviceResult> RootBlockDevices
Field Value
View Source
SecurityGroups
The associated security groups.
Declaration
public readonly ImmutableArray<string> SecurityGroups
Field Value
| Type |
Description |
| System.Collections.Immutable.ImmutableArray<System.String> |
|
View Source
SourceDestCheck
Whether the network interface performs source/destination checking (Boolean).
Declaration
public readonly bool SourceDestCheck
Field Value
| Type |
Description |
| System.Boolean |
|
View Source
SubnetId
Declaration
public readonly string SubnetId
Field Value
| Type |
Description |
| System.String |
|
View Source
A mapping of tags assigned to the Instance.
Declaration
public readonly ImmutableDictionary<string, object> Tags
Field Value
| Type |
Description |
| System.Collections.Immutable.ImmutableDictionary<System.String, System.Object> |
|
View Source
Tenancy
The tenancy of the instance: dedicated, default, host.
Declaration
public readonly string Tenancy
Field Value
| Type |
Description |
| System.String |
|
View Source
UserData
SHA-1 hash of User Data supplied to the Instance.
Declaration
public readonly string UserData
Field Value
| Type |
Description |
| System.String |
|
View Source
UserDataBase64
Base64 encoded contents of User Data supplied to the Instance. This attribute is only exported if get_user_data is true.
Declaration
public readonly string UserDataBase64
Field Value
| Type |
Description |
| System.String |
|
View Source
VpcSecurityGroupIds
The associated security groups in a non-default VPC.
Declaration
public readonly ImmutableArray<string> VpcSecurityGroupIds
Field Value
| Type |
Description |
| System.Collections.Immutable.ImmutableArray<System.String> |
|