Package com.strongdm.api
Class AWSInstanceProfile
java.lang.Object
com.strongdm.api.AWSInstanceProfile
- All Implemented Interfaces:
Resource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1).A filter applied to the routing logic to pin datasource to nodes.boolean
If true, prefer environment variables to authenticate connection even if EC2 roles are configured.boolean
True if the datasource is reachable and the credentials are valid.getId()
Unique identifier of the Resource.getName()
Unique human-readable name of the Resource.int
The local port used by clients to connect to this resource.ID of the proxy cluster for this resource, if any.The AWS region to connect to.The role to assume after logging in.The external ID to associate with assume role requests.ID of the secret store containing credentials for this resource, if any.DNS subdomain through which this resource may be accessed on clients.getTags()
Tags is a map of key, value pairs.void
The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1).void
A filter applied to the routing logic to pin datasource to nodes.void
setEnableEnvVariables
(boolean in) If true, prefer environment variables to authenticate connection even if EC2 roles are configured.void
setHealthy
(boolean in) True if the datasource is reachable and the credentials are valid.void
Unique identifier of the Resource.void
Unique human-readable name of the Resource.void
setPortOverride
(int in) The local port used by clients to connect to this resource.void
ID of the proxy cluster for this resource, if any.void
The AWS region to connect to.void
setRoleArn
(String in) The role to assume after logging in.void
The external ID to associate with assume role requests.void
ID of the secret store containing credentials for this resource, if any.void
setSubdomain
(String in) DNS subdomain through which this resource may be accessed on clients.void
Tags is a map of key, value pairs.
-
Constructor Details
-
AWSInstanceProfile
public AWSInstanceProfile()
-
-
Method Details
-
getBindInterface
The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.- Specified by:
getBindInterface
in interfaceResource
-
setBindInterface
The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.- Specified by:
setBindInterface
in interfaceResource
-
getEgressFilter
A filter applied to the routing logic to pin datasource to nodes.- Specified by:
getEgressFilter
in interfaceResource
-
setEgressFilter
A filter applied to the routing logic to pin datasource to nodes.- Specified by:
setEgressFilter
in interfaceResource
-
getEnableEnvVariables
public boolean getEnableEnvVariables()If true, prefer environment variables to authenticate connection even if EC2 roles are configured. -
setEnableEnvVariables
public void setEnableEnvVariables(boolean in) If true, prefer environment variables to authenticate connection even if EC2 roles are configured. -
getHealthy
public boolean getHealthy()True if the datasource is reachable and the credentials are valid. -
setHealthy
public void setHealthy(boolean in) True if the datasource is reachable and the credentials are valid. -
getId
Unique identifier of the Resource. -
setId
Unique identifier of the Resource. -
getName
Unique human-readable name of the Resource. -
setName
Unique human-readable name of the Resource. -
getPortOverride
public int getPortOverride()The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1. -
setPortOverride
public void setPortOverride(int in) The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1. -
getProxyClusterId
ID of the proxy cluster for this resource, if any. -
setProxyClusterId
ID of the proxy cluster for this resource, if any. -
getRegion
The AWS region to connect to. -
setRegion
The AWS region to connect to. -
getRoleArn
The role to assume after logging in. -
setRoleArn
The role to assume after logging in. -
getRoleExternalId
The external ID to associate with assume role requests. Does nothing if a role ARN is not provided. -
setRoleExternalId
The external ID to associate with assume role requests. Does nothing if a role ARN is not provided. -
getSecretStoreId
ID of the secret store containing credentials for this resource, if any.- Specified by:
getSecretStoreId
in interfaceResource
-
setSecretStoreId
ID of the secret store containing credentials for this resource, if any.- Specified by:
setSecretStoreId
in interfaceResource
-
getSubdomain
DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode. -
setSubdomain
DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode. -
getTags
Tags is a map of key, value pairs. -
setTags
Tags is a map of key, value pairs.
-