Ec2Functions

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

An example resource schema demonstrating some basic constructs and validation rules.

suspend fun getCarrierGateway(carrierGatewayId: String): GetCarrierGatewayResult
Link copied to clipboard

Resource Type definition for AWS::EC2::CustomerGateway

suspend fun getCustomerGateway(customerGatewayId: String): GetCustomerGatewayResult
Link copied to clipboard

Resource Type definition for AWS::EC2::DHCPOptions

suspend fun getDhcpOptions(dhcpOptionsId: String): GetDhcpOptionsResult
Link copied to clipboard

Resource Type definition for AWS::EC2::EC2Fleet

suspend fun getEc2Fleet(fleetId: String): GetEc2FleetResult
suspend fun getEc2Fleet(argument: suspend GetEc2FleetPlainArgsBuilder.() -> Unit): GetEc2FleetResult
Link copied to clipboard
suspend fun getEip(argument: GetEipPlainArgs): GetEipResult

Resource Type definition for AWS::EC2::EIP

suspend fun getEip(argument: suspend GetEipPlainArgsBuilder.() -> Unit): GetEipResult
suspend fun getEip(allocationId: String, publicIp: String): GetEipResult
Link copied to clipboard

Resource schema for EC2 EIP association.

Link copied to clipboard

Associates an AWS Identity and Access Management (IAM) role with an AWS Certificate Manager (ACM) certificate. This association is based on Amazon Resource Names and it enables the certificate to be used by the ACM for Nitro Enclaves application inside an enclave.

Link copied to clipboard

Specifies a VPC flow log, which enables you to capture IP traffic for a specific network interface, subnet, or VPC.

suspend fun getFlowLog(argument: suspend GetFlowLogPlainArgsBuilder.() -> Unit): GetFlowLogResult
Link copied to clipboard

Associates a gateway with a route table. The gateway and route table must be in the same VPC. This association causes the incoming traffic to the gateway to be routed according to the routes in the route table.

Link copied to clipboard
suspend fun getHost(argument: GetHostPlainArgs): GetHostResult

Resource Type definition for AWS::EC2::Host

suspend fun getHost(hostId: String): GetHostResult
suspend fun getHost(argument: suspend GetHostPlainArgsBuilder.() -> Unit): GetHostResult
Link copied to clipboard

Resource Type definition for AWS::EC2::InternetGateway

suspend fun getInternetGateway(internetGatewayId: String): GetInternetGatewayResult
Link copied to clipboard
suspend fun getIpam(argument: GetIpamPlainArgs): GetIpamResult

Resource Schema of AWS::EC2::IPAM Type

suspend fun getIpam(ipamId: String): GetIpamResult
suspend fun getIpam(argument: suspend GetIpamPlainArgsBuilder.() -> Unit): GetIpamResult
Link copied to clipboard

Resource Schema of AWS::EC2::IPAMAllocation Type

suspend fun getIpamAllocation(cidr: String, ipamPoolAllocationId: String, ipamPoolId: String): GetIpamAllocationResult
Link copied to clipboard

Resource Schema of AWS::EC2::IPAMPool Type

suspend fun getIpamPool(ipamPoolId: String): GetIpamPoolResult
suspend fun getIpamPool(argument: suspend GetIpamPoolPlainArgsBuilder.() -> Unit): GetIpamPoolResult
Link copied to clipboard

Resource Schema of AWS::EC2::IPAMPoolCidr Type

suspend fun getIpamPoolCidr(ipamPoolCidrId: String, ipamPoolId: String): GetIpamPoolCidrResult
Link copied to clipboard
Link copied to clipboard

Resource Schema of AWS::EC2::IPAMScope Type

suspend fun getIpamScope(ipamScopeId: String): GetIpamScopeResult
Link copied to clipboard

The AWS::EC2::KeyPair creates an SSH key pair

suspend fun getKeyPair(keyName: String): GetKeyPairResult
suspend fun getKeyPair(argument: suspend GetKeyPairPlainArgsBuilder.() -> Unit): GetKeyPairResult
Link copied to clipboard

Resource Type definition for AWS::EC2::LaunchTemplate

suspend fun getLaunchTemplate(launchTemplateId: String): GetLaunchTemplateResult
Link copied to clipboard

Describes a route for a local gateway route table.

suspend fun getLocalGatewayRoute(destinationCidrBlock: String, localGatewayRouteTableId: String): GetLocalGatewayRouteResult
Link copied to clipboard

Resource Type definition for AWS::EC2::NatGateway

suspend fun getNatGateway(natGatewayId: String): GetNatGatewayResult
Link copied to clipboard

Resource Type definition for AWS::EC2::NetworkAcl

Link copied to clipboard

Resource schema for AWS::EC2::NetworkInsightsPath

suspend fun getNetworkInsightsPath(networkInsightsPathId: String): GetNetworkInsightsPathResult
Link copied to clipboard

The AWS::EC2::NetworkInterface resource creates network interface

Link copied to clipboard

Resource Type definition for AWS::EC2::PlacementGroup

Link copied to clipboard

Resource schema of AWS::EC2::PrefixList Type

suspend fun getPrefixList(prefixListId: String): GetPrefixListResult
Link copied to clipboard
suspend fun getRoute(argument: GetRoutePlainArgs): GetRouteResult

Resource Type definition for AWS::EC2::Route

suspend fun getRoute(argument: suspend GetRoutePlainArgsBuilder.() -> Unit): GetRouteResult
suspend fun getRoute(cidrBlock: String, routeTableId: String): GetRouteResult
Link copied to clipboard

Resource Type definition for AWS::EC2::RouteTable

suspend fun getRouteTable(routeTableId: String): GetRouteTableResult
Link copied to clipboard

Resource Type definition for AWS::EC2::SpotFleet

Link copied to clipboard

Resource Type definition for AWS::EC2::Subnet

suspend fun getSubnet(subnetId: String): GetSubnetResult
suspend fun getSubnet(argument: suspend GetSubnetPlainArgsBuilder.() -> Unit): GetSubnetResult
Link copied to clipboard

The AWS::EC2::SubnetCidrBlock resource creates association between subnet and IPv6 CIDR

Link copied to clipboard

Resource Type definition for AWS::EC2::TransitGateway

Link copied to clipboard

The AWS::EC2::TransitGatewayMulticastGroupMember registers and deregisters members and sources (network interfaces) with the transit gateway multicast group

suspend fun getTransitGatewayMulticastGroupMember(groupIpAddress: String, networkInterfaceId: String, transitGatewayMulticastDomainId: String): GetTransitGatewayMulticastGroupMemberResult
Link copied to clipboard

The AWS::EC2::TransitGatewayMulticastGroupSource registers and deregisters members and sources (network interfaces) with the transit gateway multicast group

suspend fun getTransitGatewayMulticastGroupSource(groupIpAddress: String, networkInterfaceId: String, transitGatewayMulticastDomainId: String): GetTransitGatewayMulticastGroupSourceResult
Link copied to clipboard
Link copied to clipboard

The AWS::EC2::VerifiedAccessEndpoint resource creates an AWS EC2 Verified Access Endpoint.

suspend fun getVerifiedAccessEndpoint(verifiedAccessEndpointId: String): GetVerifiedAccessEndpointResult
Link copied to clipboard

The AWS::EC2::VerifiedAccessGroup resource creates an AWS EC2 Verified Access Group.

suspend fun getVerifiedAccessGroup(verifiedAccessGroupId: String): GetVerifiedAccessGroupResult
Link copied to clipboard

The AWS::EC2::VerifiedAccessInstance resource creates an AWS EC2 Verified Access Instance.

suspend fun getVerifiedAccessInstance(verifiedAccessInstanceId: String): GetVerifiedAccessInstanceResult
Link copied to clipboard

The AWS::EC2::VerifiedAccessTrustProvider type describes a verified access trust provider

Link copied to clipboard

Resource Type definition for AWS::EC2::Volume

suspend fun getVolume(volumeId: String): GetVolumeResult
suspend fun getVolume(argument: suspend GetVolumePlainArgsBuilder.() -> Unit): GetVolumeResult
Link copied to clipboard
suspend fun getVpc(argument: GetVpcPlainArgs): GetVpcResult

Resource Type definition for AWS::EC2::VPC

suspend fun getVpc(vpcId: String): GetVpcResult
suspend fun getVpc(argument: suspend GetVpcPlainArgsBuilder.() -> Unit): GetVpcResult
Link copied to clipboard

Resource Type definition for AWS::EC2::VPCEndpoint

Link copied to clipboard

Resource Type definition for AWS::EC2::VPCEndpointService

Link copied to clipboard
Link copied to clipboard

Resource Type definition for AWS::EC2::VPNConnection

suspend fun getVpnConnection(vpnConnectionId: String): GetVpnConnectionResult
Link copied to clipboard

Schema for EC2 VPN Gateway

suspend fun getVpnGateway(vpnGatewayId: String): GetVpnGatewayResult