AWS Native v0.49.0, Jan 26 23
AWS Native v0.49.0, Jan 26 23
aws-native.iam.getInstanceProfile
Resource Type definition for AWS::IAM::InstanceProfile
Using getInstanceProfile
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getInstanceProfile(args: GetInstanceProfileArgs, opts?: InvokeOptions): Promise<GetInstanceProfileResult>
function getInstanceProfileOutput(args: GetInstanceProfileOutputArgs, opts?: InvokeOptions): Output<GetInstanceProfileResult>
def get_instance_profile(instance_profile_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceProfileResult
def get_instance_profile_output(instance_profile_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstanceProfileResult]
func LookupInstanceProfile(ctx *Context, args *LookupInstanceProfileArgs, opts ...InvokeOption) (*LookupInstanceProfileResult, error)
func LookupInstanceProfileOutput(ctx *Context, args *LookupInstanceProfileOutputArgs, opts ...InvokeOption) LookupInstanceProfileResultOutput
> Note: This function is named LookupInstanceProfile
in the Go SDK.
public static class GetInstanceProfile
{
public static Task<GetInstanceProfileResult> InvokeAsync(GetInstanceProfileArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceProfileResult> Invoke(GetInstanceProfileInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstanceProfileResult> getInstanceProfile(GetInstanceProfileArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:iam:getInstanceProfile
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Profile stringName The name of the instance profile to create.
- Instance
Profile stringName The name of the instance profile to create.
- instance
Profile StringName The name of the instance profile to create.
- instance
Profile stringName The name of the instance profile to create.
- instance_
profile_ strname The name of the instance profile to create.
- instance
Profile StringName The name of the instance profile to create.
getInstanceProfile Result
The following output properties are available:
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0