Documentation ¶
Index ¶
- Constants
- func ClientVpnAuthorizationRuleAuthorized(conn *ec2.EC2, authorizationRuleID string) (*ec2.AuthorizationRule, error)
- func ClientVpnAuthorizationRuleRevoked(conn *ec2.EC2, authorizationRuleID string) (*ec2.AuthorizationRule, error)
- func ClientVpnAuthorizationRuleStatus(conn *ec2.EC2, authorizationRuleID string) resource.StateRefreshFunc
- func ClientVpnEndpointDeleted(conn *ec2.EC2, id string) (*ec2.ClientVpnEndpoint, error)
- func ClientVpnEndpointStatus(conn *ec2.EC2, endpointID string) resource.StateRefreshFunc
- func ClientVpnNetworkAssociationAssociated(conn *ec2.EC2, networkAssociationID, clientVpnEndpointID string) (*ec2.TargetNetwork, error)
- func ClientVpnNetworkAssociationDisassociated(conn *ec2.EC2, networkAssociationID, clientVpnEndpointID string) (*ec2.TargetNetwork, error)
- func ClientVpnNetworkAssociationStatus(conn *ec2.EC2, cvnaID string, cvepID string) resource.StateRefreshFunc
- func ClientVpnRouteDeleted(conn *ec2.EC2, routeID string) (*ec2.ClientVpnRoute, error)
- func ClientVpnRouteStatus(conn *ec2.EC2, routeID string) resource.StateRefreshFunc
- func LocalGatewayRouteTableVpcAssociationAssociated(conn *ec2.EC2, localGatewayRouteTableVpcAssociationID string) (*ec2.LocalGatewayRouteTableVpcAssociation, error)
- func LocalGatewayRouteTableVpcAssociationDisassociated(conn *ec2.EC2, localGatewayRouteTableVpcAssociationID string) (*ec2.LocalGatewayRouteTableVpcAssociation, error)
- func LocalGatewayRouteTableVpcAssociationState(conn *ec2.EC2, localGatewayRouteTableVpcAssociationID string) resource.StateRefreshFunc
- func SecurityGroupCreated(conn *ec2.EC2, id string, timeout time.Duration) (*ec2.SecurityGroup, error)
- func SecurityGroupStatus(conn *ec2.EC2, id string) resource.StateRefreshFunc
- func VpnGatewayVpcAttachmentAttached(conn *ec2.EC2, vpnGatewayID, vpcID string) (*ec2.VpcAttachment, error)
- func VpnGatewayVpcAttachmentDetached(conn *ec2.EC2, vpnGatewayID, vpcID string) (*ec2.VpcAttachment, error)
- func VpnGatewayVpcAttachmentState(conn *ec2.EC2, vpnGatewayID, vpcID string) resource.StateRefreshFunc
Constants ¶
const ( ClientVpnEndpointStatusNotFound = "NotFound" ClientVpnEndpointStatusUnknown = "Unknown" )
const ( ClientVpnAuthorizationRuleStatusNotFound = "NotFound" ClientVpnAuthorizationRuleStatusUnknown = "Unknown" )
const ( ClientVpnNetworkAssociationStatusNotFound = "NotFound" ClientVpnNetworkAssociationStatusUnknown = "Unknown" )
const ( ClientVpnRouteStatusNotFound = "NotFound" ClientVpnRouteStatusUnknown = "Unknown" )
const ( SecurityGroupStatusCreated = "Created" SecurityGroupStatusNotFound = "NotFound" SecurityGroupStatusUnknown = "Unknown" )
const ( // Maximum amount of time to wait for a LocalGatewayRouteTableVpcAssociation to return Associated LocalGatewayRouteTableVpcAssociationAssociatedTimeout = 5 * time.Minute // Maximum amount of time to wait for a LocalGatewayRouteTableVpcAssociation to return Disassociated LocalGatewayRouteTableVpcAssociationDisassociatedTimeout = 5 * time.Minute )
const ( ClientVpnAuthorizationRuleActiveTimeout = 5 * time.Minute ClientVpnAuthorizationRuleRevokedTimeout = 5 * time.Minute )
const ( ClientVpnNetworkAssociationAssociatedTimeout = 10 * time.Minute ClientVpnNetworkAssociationAssociatedDelay = 4 * time.Minute ClientVpnNetworkAssociationDisassociatedTimeout = 10 * time.Minute ClientVpnNetworkAssociationDisassociatedDelay = 4 * time.Minute ClientVpnNetworkAssociationStatusPollInterval = 10 * time.Second )
const ( VpnGatewayVpcAttachmentAttachedTimeout = 15 * time.Minute VpnGatewayVpcAttachmentDetachedTimeout = 30 * time.Minute )
const (
ClientVpnEndpointDeletedTimout = 5 * time.Minute
)
const (
ClientVpnRouteDeletedTimeout = 1 * time.Minute
)
Variables ¶
This section is empty.
Functions ¶
func ClientVpnAuthorizationRuleStatus ¶
func ClientVpnAuthorizationRuleStatus(conn *ec2.EC2, authorizationRuleID string) resource.StateRefreshFunc
ClientVpnAuthorizationRuleStatus fetches the Client VPN authorization rule and its Status
func ClientVpnEndpointStatus ¶
func ClientVpnEndpointStatus(conn *ec2.EC2, endpointID string) resource.StateRefreshFunc
ClientVpnEndpointStatus fetches the Client VPN endpoint and its Status
func ClientVpnRouteDeleted ¶
func ClientVpnRouteStatus ¶
func ClientVpnRouteStatus(conn *ec2.EC2, routeID string) resource.StateRefreshFunc
ClientVpnRouteStatus fetches the Client VPN route and its Status
func LocalGatewayRouteTableVpcAssociationAssociated ¶
func LocalGatewayRouteTableVpcAssociationAssociated(conn *ec2.EC2, localGatewayRouteTableVpcAssociationID string) (*ec2.LocalGatewayRouteTableVpcAssociation, error)
LocalGatewayRouteTableVpcAssociationAssociated waits for a LocalGatewayRouteTableVpcAssociation to return Associated
func LocalGatewayRouteTableVpcAssociationDisassociated ¶
func LocalGatewayRouteTableVpcAssociationDisassociated(conn *ec2.EC2, localGatewayRouteTableVpcAssociationID string) (*ec2.LocalGatewayRouteTableVpcAssociation, error)
LocalGatewayRouteTableVpcAssociationDisassociated waits for a LocalGatewayRouteTableVpcAssociation to return Disassociated
func LocalGatewayRouteTableVpcAssociationState ¶
func LocalGatewayRouteTableVpcAssociationState(conn *ec2.EC2, localGatewayRouteTableVpcAssociationID string) resource.StateRefreshFunc
LocalGatewayRouteTableVpcAssociationState fetches the LocalGatewayRouteTableVpcAssociation and its State
func SecurityGroupCreated ¶
func SecurityGroupStatus ¶
func SecurityGroupStatus(conn *ec2.EC2, id string) resource.StateRefreshFunc
SecurityGroupStatus fetches the security group and its status
func VpnGatewayVpcAttachmentState ¶
func VpnGatewayVpcAttachmentState(conn *ec2.EC2, vpnGatewayID, vpcID string) resource.StateRefreshFunc
VpnGatewayVpcAttachmentState fetches the attachment between the specified VPN gateway and VPC and its state
Types ¶
This section is empty.