We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
aws-native.secretsmanager.getSecretTargetAttachment
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi
Resource Type definition for AWS::SecretsManager::SecretTargetAttachment
Using getSecretTargetAttachment
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 getSecretTargetAttachment(args: GetSecretTargetAttachmentArgs, opts?: InvokeOptions): Promise<GetSecretTargetAttachmentResult>
function getSecretTargetAttachmentOutput(args: GetSecretTargetAttachmentOutputArgs, opts?: InvokeOptions): Output<GetSecretTargetAttachmentResult>
def get_secret_target_attachment(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSecretTargetAttachmentResult
def get_secret_target_attachment_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSecretTargetAttachmentResult]
func LookupSecretTargetAttachment(ctx *Context, args *LookupSecretTargetAttachmentArgs, opts ...InvokeOption) (*LookupSecretTargetAttachmentResult, error)
func LookupSecretTargetAttachmentOutput(ctx *Context, args *LookupSecretTargetAttachmentOutputArgs, opts ...InvokeOption) LookupSecretTargetAttachmentResultOutput
> Note: This function is named LookupSecretTargetAttachment
in the Go SDK.
public static class GetSecretTargetAttachment
{
public static Task<GetSecretTargetAttachmentResult> InvokeAsync(GetSecretTargetAttachmentArgs args, InvokeOptions? opts = null)
public static Output<GetSecretTargetAttachmentResult> Invoke(GetSecretTargetAttachmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSecretTargetAttachmentResult> getSecretTargetAttachment(GetSecretTargetAttachmentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:secretsmanager:getSecretTargetAttachment
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Id string
- id String
- id string
- id str
- id String
getSecretTargetAttachment Result
The following output properties are available:
- Id string
- Target
Id string - The ID of the database or cluster.
- Target
Type string - A string that defines the type of service or database associated with the secret. This value instructs Secrets Manager how to update the secret with the details of the service or database. This value must be one of the following:
- AWS::RDS::DBInstance
- AWS::RDS::DBCluster
- AWS::Redshift::Cluster
- AWS::RedshiftServerless::Namespace
- AWS::DocDB::DBInstance
- AWS::DocDB::DBCluster
- AWS::DocDBElastic::Cluster
- Id string
- Target
Id string - The ID of the database or cluster.
- Target
Type string - A string that defines the type of service or database associated with the secret. This value instructs Secrets Manager how to update the secret with the details of the service or database. This value must be one of the following:
- AWS::RDS::DBInstance
- AWS::RDS::DBCluster
- AWS::Redshift::Cluster
- AWS::RedshiftServerless::Namespace
- AWS::DocDB::DBInstance
- AWS::DocDB::DBCluster
- AWS::DocDBElastic::Cluster
- id String
- target
Id String - The ID of the database or cluster.
- target
Type String - A string that defines the type of service or database associated with the secret. This value instructs Secrets Manager how to update the secret with the details of the service or database. This value must be one of the following:
- AWS::RDS::DBInstance
- AWS::RDS::DBCluster
- AWS::Redshift::Cluster
- AWS::RedshiftServerless::Namespace
- AWS::DocDB::DBInstance
- AWS::DocDB::DBCluster
- AWS::DocDBElastic::Cluster
- id string
- target
Id string - The ID of the database or cluster.
- target
Type string - A string that defines the type of service or database associated with the secret. This value instructs Secrets Manager how to update the secret with the details of the service or database. This value must be one of the following:
- AWS::RDS::DBInstance
- AWS::RDS::DBCluster
- AWS::Redshift::Cluster
- AWS::RedshiftServerless::Namespace
- AWS::DocDB::DBInstance
- AWS::DocDB::DBCluster
- AWS::DocDBElastic::Cluster
- id str
- target_
id str - The ID of the database or cluster.
- target_
type str - A string that defines the type of service or database associated with the secret. This value instructs Secrets Manager how to update the secret with the details of the service or database. This value must be one of the following:
- AWS::RDS::DBInstance
- AWS::RDS::DBCluster
- AWS::Redshift::Cluster
- AWS::RedshiftServerless::Namespace
- AWS::DocDB::DBInstance
- AWS::DocDB::DBCluster
- AWS::DocDBElastic::Cluster
- id String
- target
Id String - The ID of the database or cluster.
- target
Type String - A string that defines the type of service or database associated with the secret. This value instructs Secrets Manager how to update the secret with the details of the service or database. This value must be one of the following:
- AWS::RDS::DBInstance
- AWS::RDS::DBCluster
- AWS::Redshift::Cluster
- AWS::RedshiftServerless::Namespace
- AWS::DocDB::DBInstance
- AWS::DocDB::DBCluster
- AWS::DocDBElastic::Cluster
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi