Architecture Class
CPU architecture enum for an image.
Methods
instanceTypeMatch()instance_type_match()instanceTypeMatch()InstanceTypeMatch()InstanceTypeMatch()
Checks if a given EC2 instance type matches this architecture.
public instanceTypeMatch(instanceType: InstanceType): booleaninstanceType:InstanceTypeinstance type to check.
def instance_type_match(
instance_type: InstanceType
) -> boolinstance_type:InstanceTypeinstance type to check.
public java.lang.Boolean instanceTypeMatch(InstanceType instanceType)instanceType:InstanceTypeinstance type to check.
private bool InstanceTypeMatch(InstanceType InstanceType)InstanceType:InstanceTypeinstance type to check.
func InstanceTypeMatch(instanceType InstanceType) *boolinstanceType:InstanceTypeinstance type to check.
is()is()is()Is()Is()
Checks if the given architecture is the same as this one.
public is(arch: Architecture): booleanarch:Architecturearchitecture to compare.
def is(
arch: Architecture
) -> boolarch:Architecturearchitecture to compare.
public java.lang.Boolean is(Architecture arch)arch:Architecturearchitecture to compare.
private bool Is(Architecture Arch)Arch:Architecturearchitecture to compare.
func Is(arch Architecture) *boolarch:Architecturearchitecture to compare.
isIn()is_in()isIn()IsIn()IsIn()
Checks if this architecture is in a given list.
public isIn(arches: Architecture[]): booleanarches:Architecture[]architectures to check.
def is_in(
arches: typing.List[Architecture]
) -> boolarches:typing.List[Architecture]architectures to check.
public java.lang.Boolean isIn(java.util.List<Architecture> arches)arches:java.util.List<Architecture>architectures to check.
private bool IsIn(Architecture[] Arches)Arches:Architecture[]architectures to check.
func IsIn(arches *[]Architecture) *boolarches:*[]Architecturearchitectures to check.
Properties
namenamenameNameName
name: string
name: str
name: java.lang.String
Name: string
Name: *string
Constants
ARM64ARM64ARM64Arm64Arm64
ARM64: Architecture
ARM64: Architecture
ARM64: Architecture
Arm64: Architecture
Arm64: Architecture
ARM64.
X86_64X86_64X86_64X8664X8664
X86_64: Architecture
X86_64: Architecture
X86_64: Architecture
X8664: Architecture
X8664: Architecture
X86_64.