tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
tencentcloud.getSsmRotationDetail
Start a Neo task
Explain and create a tencentcloud.getSsmRotationDetail resource
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
Use this data source to query detailed information of ssm rotation_detail
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = tencentcloud.getSsmRotationDetail({
secretName: "tf_example",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.get_ssm_rotation_detail(secret_name="tf_example")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.GetSsmRotationDetail(ctx, &tencentcloud.GetSsmRotationDetailArgs{
SecretName: "tf_example",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var example = Tencentcloud.GetSsmRotationDetail.Invoke(new()
{
SecretName = "tf_example",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetSsmRotationDetailArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = TencentcloudFunctions.getSsmRotationDetail(GetSsmRotationDetailArgs.builder()
.secretName("tf_example")
.build());
}
}
variables:
example:
fn::invoke:
function: tencentcloud:getSsmRotationDetail
arguments:
secretName: tf_example
Using getSsmRotationDetail
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 getSsmRotationDetail(args: GetSsmRotationDetailArgs, opts?: InvokeOptions): Promise<GetSsmRotationDetailResult>
function getSsmRotationDetailOutput(args: GetSsmRotationDetailOutputArgs, opts?: InvokeOptions): Output<GetSsmRotationDetailResult>def get_ssm_rotation_detail(id: Optional[str] = None,
result_output_file: Optional[str] = None,
secret_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSsmRotationDetailResult
def get_ssm_rotation_detail_output(id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
secret_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSsmRotationDetailResult]func GetSsmRotationDetail(ctx *Context, args *GetSsmRotationDetailArgs, opts ...InvokeOption) (*GetSsmRotationDetailResult, error)
func GetSsmRotationDetailOutput(ctx *Context, args *GetSsmRotationDetailOutputArgs, opts ...InvokeOption) GetSsmRotationDetailResultOutput> Note: This function is named GetSsmRotationDetail in the Go SDK.
public static class GetSsmRotationDetail
{
public static Task<GetSsmRotationDetailResult> InvokeAsync(GetSsmRotationDetailArgs args, InvokeOptions? opts = null)
public static Output<GetSsmRotationDetailResult> Invoke(GetSsmRotationDetailInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSsmRotationDetailResult> getSsmRotationDetail(GetSsmRotationDetailArgs args, InvokeOptions options)
public static Output<GetSsmRotationDetailResult> getSsmRotationDetail(GetSsmRotationDetailArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getSsmRotationDetail:getSsmRotationDetail
arguments:
# arguments dictionaryThe following arguments are supported:
- Secret
Name string - Secret name.
- Id string
- Result
Output stringFile - Used to save results.
- Secret
Name string - Secret name.
- Id string
- Result
Output stringFile - Used to save results.
- secret
Name String - Secret name.
- id String
- result
Output StringFile - Used to save results.
- secret
Name string - Secret name.
- id string
- result
Output stringFile - Used to save results.
- secret_
name str - Secret name.
- id str
- result_
output_ strfile - Used to save results.
- secret
Name String - Secret name.
- id String
- result
Output StringFile - Used to save results.
getSsmRotationDetail Result
The following output properties are available:
- Enable
Rotation bool - Whether to allow rotation.
- Frequency double
- The rotation frequency, in days, defaults to 1 day.
- Id string
- Latest
Rotate stringTime - Time of last rotation.
- Next
Rotate stringBegin Time - The time to start the next rotation.
- Secret
Name string - Result
Output stringFile
- Enable
Rotation bool - Whether to allow rotation.
- Frequency float64
- The rotation frequency, in days, defaults to 1 day.
- Id string
- Latest
Rotate stringTime - Time of last rotation.
- Next
Rotate stringBegin Time - The time to start the next rotation.
- Secret
Name string - Result
Output stringFile
- enable
Rotation Boolean - Whether to allow rotation.
- frequency Double
- The rotation frequency, in days, defaults to 1 day.
- id String
- latest
Rotate StringTime - Time of last rotation.
- next
Rotate StringBegin Time - The time to start the next rotation.
- secret
Name String - result
Output StringFile
- enable
Rotation boolean - Whether to allow rotation.
- frequency number
- The rotation frequency, in days, defaults to 1 day.
- id string
- latest
Rotate stringTime - Time of last rotation.
- next
Rotate stringBegin Time - The time to start the next rotation.
- secret
Name string - result
Output stringFile
- enable_
rotation bool - Whether to allow rotation.
- frequency float
- The rotation frequency, in days, defaults to 1 day.
- id str
- latest_
rotate_ strtime - Time of last rotation.
- next_
rotate_ strbegin_ time - The time to start the next rotation.
- secret_
name str - result_
output_ strfile
- enable
Rotation Boolean - Whether to allow rotation.
- frequency Number
- The rotation frequency, in days, defaults to 1 day.
- id String
- latest
Rotate StringTime - Time of last rotation.
- next
Rotate StringBegin Time - The time to start the next rotation.
- secret
Name String - result
Output StringFile
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
